[INFO] fetching crate supply-chain-trust-example-crate-000094 3.19.1... [INFO] testing supply-chain-trust-example-crate-000094-3.19.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate supply-chain-trust-example-crate-000094 3.19.1 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000094 3.19.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 545a85da6d5e9b4f7b4b255be1deacbd96decf537c14ed83b44cd1595e99c746 [INFO] running `Command { std: "docker" "start" "-a" "545a85da6d5e9b4f7b4b255be1deacbd96decf537c14ed83b44cd1595e99c746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "545a85da6d5e9b4f7b4b255be1deacbd96decf537c14ed83b44cd1595e99c746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "545a85da6d5e9b4f7b4b255be1deacbd96decf537c14ed83b44cd1595e99c746", kill_on_drop: false }` [INFO] [stdout] 545a85da6d5e9b4f7b4b255be1deacbd96decf537c14ed83b44cd1595e99c746 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bad52931976f2f6624bf5a48c385c12e2c7f21e561ca0897c83c66b34f79aee3 [INFO] running `Command { std: "docker" "start" "-a" "bad52931976f2f6624bf5a48c385c12e2c7f21e561ca0897c83c66b34f79aee3", 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.04s [INFO] running `Command { std: "docker" "inspect" "bad52931976f2f6624bf5a48c385c12e2c7f21e561ca0897c83c66b34f79aee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad52931976f2f6624bf5a48c385c12e2c7f21e561ca0897c83c66b34f79aee3", kill_on_drop: false }` [INFO] [stdout] bad52931976f2f6624bf5a48c385c12e2c7f21e561ca0897c83c66b34f79aee3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edb5aef082c34283467f56978154d395e9d15b83f3d4ab06826c6115404fcf7b [INFO] running `Command { std: "docker" "start" "-a" "edb5aef082c34283467f56978154d395e9d15b83f3d4ab06826c6115404fcf7b", 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] 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 "env") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] 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] [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 E0432`. [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 "tempdir") due to 1 previous error [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000094` (test "tempfile") due to 5 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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 "namedtempfile") due to 1 previous error [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000094` (test "spooled") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "edb5aef082c34283467f56978154d395e9d15b83f3d4ab06826c6115404fcf7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb5aef082c34283467f56978154d395e9d15b83f3d4ab06826c6115404fcf7b", kill_on_drop: false }` [INFO] [stdout] edb5aef082c34283467f56978154d395e9d15b83f3d4ab06826c6115404fcf7b