young_flash
08/09/2023, 6:59 AMcargo clippy for oay , I tried cargo clippy --workspace --package oay but got the following error, which seems unrelated to oay, any suggestion?
txt
error: failed to run custom build command for `ocaml-sys v0.22.3`
Caused by:
process didn't exit successfully: `/home/flash/projects/opendal/target/debug/build/ocaml-sys-a4322dc780af93dd/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=OCAMLOPT
cargo:rerun-if-env-changed=OCAML_VERSION
cargo:rerun-if-env-changed=OCAML_WHERE_PATH
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/flash/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ocaml-sys-0.22.3/build.rs:143:11
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `ocaml-boxroot-sys v0.2.0`
Caused by:
process didn't exit successfully: `/home/flash/projects/opendal/target/debug/build/ocaml-boxroot-sys-d78018cce8ac0c70/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=vendor/boxroot/boxroot.c
cargo:rerun-if-changed=vendor/boxroot/boxroot.h
cargo:rerun-if-env-changed=OCAMLOPT
cargo:rerun-if-env-changed=OCAML_WHERE_PATH
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/flash/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ocaml-boxroot-sys-0.2.0/build.rs:108:26Xuanwo
08/09/2023, 7:00 AMXuanwo
08/09/2023, 7:00 AMyoung_flash
08/09/2023, 7:01 AMoay, also need ocaml?Xuanwo
08/09/2023, 7:02 AM--workspace here.young_flash
08/09/2023, 7:02 AMcargo clippy, it doesn't check oayXuanwo
08/09/2023, 7:02 AMcd bin/oay and running cargo clippy.Xuanwo
08/09/2023, 7:03 AMcargo clippy -p oayyoung_flash
08/09/2023, 7:03 AM