[INFO] fetching crate workspace_tools 0.5.0... [INFO] building workspace_tools-0.5.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate workspace_tools 0.5.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate workspace_tools 0.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate workspace_tools 0.5.0 [INFO] tweaked toml for crates.io crate workspace_tools 0.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate workspace_tools 0.5.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate workspace_tools 0.5.0 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded uuid-simd v0.8.0 [INFO] [stderr] Downloaded iso8601 v0.6.3 [INFO] [stderr] Downloaded jsonschema v0.20.0 [INFO] [stderr] Downloaded fancy-regex v0.13.0 [INFO] [stderr] Downloaded fraction v0.15.3 [INFO] [stderr] Downloaded wasi v0.14.4+wasi-0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08d638fcb1f22d43bddb4d5ec7fd950094ef3e6d110632a58353cc42bd5a7338 [INFO] running `Command { std: "docker" "start" "-a" "08d638fcb1f22d43bddb4d5ec7fd950094ef3e6d110632a58353cc42bd5a7338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08d638fcb1f22d43bddb4d5ec7fd950094ef3e6d110632a58353cc42bd5a7338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08d638fcb1f22d43bddb4d5ec7fd950094ef3e6d110632a58353cc42bd5a7338", kill_on_drop: false }` [INFO] [stdout] 08d638fcb1f22d43bddb4d5ec7fd950094ef3e6d110632a58353cc42bd5a7338 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d96372805c4b115d1c9778a0b578dd03c48c30b18ca64f5f03f3983f73432f1e [INFO] running `Command { std: "docker" "start" "-a" "d96372805c4b115d1c9778a0b578dd03c48c30b18ca64f5f03f3983f73432f1e", kill_on_drop: false }` [INFO] [stderr] Compiling camino v1.1.12 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling workspace_tools v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.71s [INFO] running `Command { std: "docker" "inspect" "d96372805c4b115d1c9778a0b578dd03c48c30b18ca64f5f03f3983f73432f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96372805c4b115d1c9778a0b578dd03c48c30b18ca64f5f03f3983f73432f1e", kill_on_drop: false }` [INFO] [stdout] d96372805c4b115d1c9778a0b578dd03c48c30b18ca64f5f03f3983f73432f1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b78c345b5afa3d731f11e3a21716545938d1e8dfa0c0d7f0d81a5e671f1adbf [INFO] running `Command { std: "docker" "start" "-a" "3b78c345b5afa3d731f11e3a21716545938d1e8dfa0c0d7f0d81a5e671f1adbf", kill_on_drop: false }` [INFO] [stderr] Compiling workspace_tools v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `workspace_tools::testing` [INFO] [stdout] --> tests/rulebook_compliance_tests.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | testing ::create_test_workspace_with_structure, [INFO] [stdout] | ^^^^^^^ could not find `testing` in `workspace_tools` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2242:9 [INFO] [stdout] | [INFO] [stdout] 2241 | #[ cfg( feature = "testing" ) ] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 2242 | pub mod testing [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rulebook_compliance_tests.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | let config_path = workspace.join( "config/app.toml" ); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rulebook_compliance_tests.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | workspace.config_dir(), [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rulebook_compliance_tests.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | assert!( dir.exists(), "Directory should exist: {}", dir.display() ); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rulebook_compliance_tests.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | let internal_path = workspace.join( "config/test.toml" ); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rulebook_compliance_tests.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | let config_dir = workspace.config_dir(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> tests/cargo_integration_tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use tempfile ::TempDir; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> tests/workspace_tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tempfile ::TempDir; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `workspace_tools::testing` [INFO] [stdout] --> tests/workspace_tests.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | use workspace_tools ::testing :: { create_test_workspace, create_test_workspace_with_structure }; [INFO] [stdout] | ^^^^^^^ could not find `testing` in `workspace_tools` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2242:9 [INFO] [stdout] | [INFO] [stdout] 2241 | #[ cfg( feature = "testing" ) ] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 2242 | pub mod testing [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/workspace_tests.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | assert!( workspace.root().exists() ); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/workspace_tests.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | assert!( workspace.config_dir().exists() ); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `workspace_tools` (test "cargo_integration_tests") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `workspace_tools` (test "rulebook_compliance_tests") due to 6 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `workspace_tools::testing` [INFO] [stdout] --> tests/secret_directory_verification_test.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | testing ::create_test_workspace_with_structure, [INFO] [stdout] | ^^^^^^^ could not find `testing` in `workspace_tools` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2242:9 [INFO] [stdout] | [INFO] [stdout] 2241 | #[ cfg( feature = "testing" ) ] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 2242 | pub mod testing [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `workspace_tools` (test "workspace_tests") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `workspace_tools` (test "secret_directory_verification_test") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "3b78c345b5afa3d731f11e3a21716545938d1e8dfa0c0d7f0d81a5e671f1adbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b78c345b5afa3d731f11e3a21716545938d1e8dfa0c0d7f0d81a5e671f1adbf", kill_on_drop: false }` [INFO] [stdout] 3b78c345b5afa3d731f11e3a21716545938d1e8dfa0c0d7f0d81a5e671f1adbf