[INFO] fetching crate supply-chain-trust-example-crate-000006 0.1.0... [INFO] building supply-chain-trust-example-crate-000006-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate supply-chain-trust-example-crate-000006 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate supply-chain-trust-example-crate-000006 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate supply-chain-trust-example-crate-000006 0.1.0 [INFO] tweaked toml for crates.io crate supply-chain-trust-example-crate-000006 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000006 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-std-workspace-core v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f7461607d22374b37a38879c7b03b697a0a2459a2112f895de06ad10409d0c [INFO] running `Command { std: "docker" "start" "-a" "58f7461607d22374b37a38879c7b03b697a0a2459a2112f895de06ad10409d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f7461607d22374b37a38879c7b03b697a0a2459a2112f895de06ad10409d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f7461607d22374b37a38879c7b03b697a0a2459a2112f895de06ad10409d0c", kill_on_drop: false }` [INFO] [stdout] 58f7461607d22374b37a38879c7b03b697a0a2459a2112f895de06ad10409d0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3f04920da45254a0b20e5b7d241c65102baa5df0f18b93702e039654722fe49 [INFO] running `Command { std: "docker" "start" "-a" "c3f04920da45254a0b20e5b7d241c65102baa5df0f18b93702e039654722fe49", kill_on_drop: false }` [INFO] [stderr] Compiling supply-chain-trust-example-crate-000006 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "c3f04920da45254a0b20e5b7d241c65102baa5df0f18b93702e039654722fe49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f04920da45254a0b20e5b7d241c65102baa5df0f18b93702e039654722fe49", kill_on_drop: false }` [INFO] [stdout] c3f04920da45254a0b20e5b7d241c65102baa5df0f18b93702e039654722fe49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34141b42edb4e81743076ef1fe2092ba0b397921557bd533936c96f9e288fded [INFO] running `Command { std: "docker" "start" "-a" "34141b42edb4e81743076ef1fe2092ba0b397921557bd533936c96f9e288fded", kill_on_drop: false }` [INFO] [stderr] Compiling supply-chain-trust-example-crate-000006 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> tests/const_fn.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | const _FOO: libc::c_uint = unsafe { libc::CMSG_SPACE(1) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc` [INFO] [stdout] --> tests/const_fn.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | const _FOO: libc::c_uint = unsafe { libc::CMSG_SPACE(1) }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `libc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000006` (test "const_fn") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "34141b42edb4e81743076ef1fe2092ba0b397921557bd533936c96f9e288fded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34141b42edb4e81743076ef1fe2092ba0b397921557bd533936c96f9e288fded", kill_on_drop: false }` [INFO] [stdout] 34141b42edb4e81743076ef1fe2092ba0b397921557bd533936c96f9e288fded