[INFO] fetching crate icube-sdk-sys 0.2.1... [INFO] testing icube-sdk-sys-0.2.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate icube-sdk-sys 0.2.1 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate icube-sdk-sys 0.2.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0910cd7fce6c115d52bd036a37eeae3c7322613288a38dbba61b26f249ad0ab [INFO] running `Command { std: "docker" "start" "-a" "f0910cd7fce6c115d52bd036a37eeae3c7322613288a38dbba61b26f249ad0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0910cd7fce6c115d52bd036a37eeae3c7322613288a38dbba61b26f249ad0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0910cd7fce6c115d52bd036a37eeae3c7322613288a38dbba61b26f249ad0ab", kill_on_drop: false }` [INFO] [stdout] f0910cd7fce6c115d52bd036a37eeae3c7322613288a38dbba61b26f249ad0ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c408f96d2ce550472dcc7220406a750686287716a0b911dfb4095d1e535e17c [INFO] running `Command { std: "docker" "start" "-a" "6c408f96d2ce550472dcc7220406a750686287716a0b911dfb4095d1e535e17c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling bindgen v0.69.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling icube-sdk-sys v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.86s [INFO] running `Command { std: "docker" "inspect" "6c408f96d2ce550472dcc7220406a750686287716a0b911dfb4095d1e535e17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c408f96d2ce550472dcc7220406a750686287716a0b911dfb4095d1e535e17c", kill_on_drop: false }` [INFO] [stdout] 6c408f96d2ce550472dcc7220406a750686287716a0b911dfb4095d1e535e17c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2eed0c32f77dd5ece698fa11a4de9f326d8c576f60710263aa95d187584d33f [INFO] running `Command { std: "docker" "start" "-a" "a2eed0c32f77dd5ece698fa11a4de9f326d8c576f60710263aa95d187584d33f", kill_on_drop: false }` [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a2eed0c32f77dd5ece698fa11a4de9f326d8c576f60710263aa95d187584d33f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2eed0c32f77dd5ece698fa11a4de9f326d8c576f60710263aa95d187584d33f", kill_on_drop: false }` [INFO] [stdout] a2eed0c32f77dd5ece698fa11a4de9f326d8c576f60710263aa95d187584d33f