[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#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate supply-chain-trust-example-crate-000094 3.19.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000094 3.19.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding windows-sys v0.59.0 (available: v0.60.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69958349c1ec30cf16a7b266825396c24e5488c7d23ecaba3bece9f9497b84a5 [INFO] running `Command { std: "docker" "start" "-a" "69958349c1ec30cf16a7b266825396c24e5488c7d23ecaba3bece9f9497b84a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69958349c1ec30cf16a7b266825396c24e5488c7d23ecaba3bece9f9497b84a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69958349c1ec30cf16a7b266825396c24e5488c7d23ecaba3bece9f9497b84a5", kill_on_drop: false }` [INFO] [stdout] 69958349c1ec30cf16a7b266825396c24e5488c7d23ecaba3bece9f9497b84a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6673d83cc40c805eb3ba6fab8964a681a5ce5f66460317c671cd559f08d7ec64 [INFO] running `Command { std: "docker" "start" "-a" "6673d83cc40c805eb3ba6fab8964a681a5ce5f66460317c671cd559f08d7ec64", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [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 1.81s [INFO] running `Command { std: "docker" "inspect" "6673d83cc40c805eb3ba6fab8964a681a5ce5f66460317c671cd559f08d7ec64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6673d83cc40c805eb3ba6fab8964a681a5ce5f66460317c671cd559f08d7ec64", kill_on_drop: false }` [INFO] [stdout] 6673d83cc40c805eb3ba6fab8964a681a5ce5f66460317c671cd559f08d7ec64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71dbcf31b5f6b88d72441229ccc93701ae81fe2bf52ba26917e9286e76562c58 [INFO] running `Command { std: "docker" "start" "-a" "71dbcf31b5f6b88d72441229ccc93701ae81fe2bf52ba26917e9286e76562c58", 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/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/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] [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[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] 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: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] [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] [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 "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 "tempdir") 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" "71dbcf31b5f6b88d72441229ccc93701ae81fe2bf52ba26917e9286e76562c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71dbcf31b5f6b88d72441229ccc93701ae81fe2bf52ba26917e9286e76562c58", kill_on_drop: false }` [INFO] [stdout] 71dbcf31b5f6b88d72441229ccc93701ae81fe2bf52ba26917e9286e76562c58