[INFO] fetching crate icube-sdk-sys 0.2.1... [INFO] checking icube-sdk-sys-0.2.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate icube-sdk-sys 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate icube-sdk-sys 0.2.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate icube-sdk-sys 0.2.1 [INFO] tweaked toml for crates.io crate icube-sdk-sys 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate icube-sdk-sys 0.2.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate icube-sdk-sys 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55fff87a0472044901bf934daee5112a68e7ff67006dfb0e717312acdd54b344 [INFO] running `Command { std: "docker" "start" "-a" "55fff87a0472044901bf934daee5112a68e7ff67006dfb0e717312acdd54b344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55fff87a0472044901bf934daee5112a68e7ff67006dfb0e717312acdd54b344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55fff87a0472044901bf934daee5112a68e7ff67006dfb0e717312acdd54b344", kill_on_drop: false }` [INFO] [stdout] 55fff87a0472044901bf934daee5112a68e7ff67006dfb0e717312acdd54b344 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84ba22e4c06c7ecbfb21fb375117332c79f1c30f872bd2413e8b086938c49d52 [INFO] running `Command { std: "docker" "start" "-a" "84ba22e4c06c7ecbfb21fb375117332c79f1c30f872bd2413e8b086938c49d52", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling bindgen v0.69.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling icube-sdk-sys v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `icube_sdk_sys::ffi` [INFO] [stdout] --> examples/list_devices.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use icube_sdk_sys::ffi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `ffi` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 1 - use icube_sdk_sys::ffi; [INFO] [stdout] 1 + use std::ffi; [INFO] [stdout] | [INFO] [stdout] 1 - use icube_sdk_sys::ffi; [INFO] [stdout] 1 + use std::os::unix::ffi; [INFO] [stdout] | [INFO] [stdout] 1 - use icube_sdk_sys::ffi; [INFO] [stdout] 1 + use core::ffi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load` in crate `icube_sdk_sys` [INFO] [stdout] --> examples/list_devices.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | if icube_sdk_sys::load() != ffi::IC_SUCCESS as _ { [INFO] [stdout] | ^^^^ not found in `icube_sdk_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unload` in crate `icube_sdk_sys` [INFO] [stdout] --> examples/list_devices.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | icube_sdk_sys::unload(); [INFO] [stdout] | ^^^^^^ not found in `icube_sdk_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icube-sdk-sys` (example "list_devices") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "84ba22e4c06c7ecbfb21fb375117332c79f1c30f872bd2413e8b086938c49d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84ba22e4c06c7ecbfb21fb375117332c79f1c30f872bd2413e8b086938c49d52", kill_on_drop: false }` [INFO] [stdout] 84ba22e4c06c7ecbfb21fb375117332c79f1c30f872bd2413e8b086938c49d52