[INFO] fetching crate supply-chain-trust-example-crate-000094 3.19.1... [INFO] testing supply-chain-trust-example-crate-000094-3.19.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate supply-chain-trust-example-crate-000094 3.19.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate supply-chain-trust-example-crate-000094 3.19.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate supply-chain-trust-example-crate-000094 3.19.1 [INFO] tweaked toml for crates.io crate supply-chain-trust-example-crate-000094 3.19.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000094 3.19.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding windows-sys v0.59.0 (available: v0.61.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 695281cd707cf2936e74471721e8b3f864a7c45e1d5ff033f5aea0de0baad59e [INFO] running `Command { std: "docker" "start" "-a" "695281cd707cf2936e74471721e8b3f864a7c45e1d5ff033f5aea0de0baad59e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "695281cd707cf2936e74471721e8b3f864a7c45e1d5ff033f5aea0de0baad59e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "695281cd707cf2936e74471721e8b3f864a7c45e1d5ff033f5aea0de0baad59e", kill_on_drop: false }` [INFO] [stdout] 695281cd707cf2936e74471721e8b3f864a7c45e1d5ff033f5aea0de0baad59e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ea8df7653b573bcbe2430066bc1f38b287e7704ef09a79acaf0454ce0db1899 [INFO] running `Command { std: "docker" "start" "-a" "3ea8df7653b573bcbe2430066bc1f38b287e7704ef09a79acaf0454ce0db1899", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling supply-chain-trust-example-crate-000094 v3.19.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.00s [INFO] running `Command { std: "docker" "inspect" "3ea8df7653b573bcbe2430066bc1f38b287e7704ef09a79acaf0454ce0db1899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ea8df7653b573bcbe2430066bc1f38b287e7704ef09a79acaf0454ce0db1899", kill_on_drop: false }` [INFO] [stdout] 3ea8df7653b573bcbe2430066bc1f38b287e7704ef09a79acaf0454ce0db1899 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95b0281393f28ac8663ef66b62f11c37e6b94e4b7dfd22aee3785f49ec1aa2ac [INFO] running `Command { std: "docker" "start" "-a" "95b0281393f28ac8663ef66b62f11c37e6b94e4b7dfd22aee3785f49ec1aa2ac", kill_on_drop: false }` [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling supply-chain-trust-example-crate-000094 v3.19.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> tests/tempdir.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tempfile::{Builder, TempDir}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 13 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/env.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(tempfile::env::temp_dir(), std::env::temp_dir()); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 3 + use std::env; [INFO] [stdout] | [INFO] [stdout] 3 + use supply_chain_trust_example_crate_000094::env; [INFO] [stdout] | [INFO] [stdout] help: if you import `env`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(tempfile::env::temp_dir(), std::env::temp_dir()); [INFO] [stdout] 7 + assert_eq!(env::temp_dir(), std::env::temp_dir()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/env.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | tempfile::env::override_temp_dir(new_tmp).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use supply_chain_trust_example_crate_000094::env; [INFO] [stdout] | [INFO] [stdout] help: if you import `env`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - tempfile::env::override_temp_dir(new_tmp).unwrap(); [INFO] [stdout] 10 + env::override_temp_dir(new_tmp).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/env.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(tempfile::env::temp_dir(), new_tmp); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 3 + use std::env; [INFO] [stdout] | [INFO] [stdout] 3 + use supply_chain_trust_example_crate_000094::env; [INFO] [stdout] | [INFO] [stdout] help: if you import `env`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - assert_eq!(tempfile::env::temp_dir(), new_tmp); [INFO] [stdout] 11 + assert_eq!(env::temp_dir(), new_tmp); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/env.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | tempfile::env::override_temp_dir(new_tmp2).expect_err("override should only be possible once"); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use supply_chain_trust_example_crate_000094::env; [INFO] [stdout] | [INFO] [stdout] help: if you import `env`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - tempfile::env::override_temp_dir(new_tmp2).expect_err("override should only be possible once"); [INFO] [stdout] 14 + env::override_temp_dir(new_tmp2).expect_err("override should only be possible once"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> tests/spooled.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tempfile::{spooled_tempfile, SpooledTempFile}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> tests/namedtempfile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tempfile::{env, tempdir, Builder, NamedTempFile, TempPath}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000094` (test "env") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000094` (test "tempdir") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000094` (test "spooled") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/tempfile.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let mut tmpfile = tempfile::tempfile().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/tempfile.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let tmpdir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/tempfile.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let mut tmpfile = tempfile::tempfile_in(&tmpdir).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/tempfile.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let tmpdir = tempfile::tempdir().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000094` (test "namedtempfile") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/tempfile.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | let mut tmpfile = tempfile::tempfile_in(&tmpdir).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/tempfile.rs, use `mod tempfile` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod tempfile; [INFO] [stdout] | [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-000094` (test "tempfile") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "95b0281393f28ac8663ef66b62f11c37e6b94e4b7dfd22aee3785f49ec1aa2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b0281393f28ac8663ef66b62f11c37e6b94e4b7dfd22aee3785f49ec1aa2ac", kill_on_drop: false }` [INFO] [stdout] 95b0281393f28ac8663ef66b62f11c37e6b94e4b7dfd22aee3785f49ec1aa2ac