[INFO] fetching crate cottak 0.1.1... [INFO] testing cottak-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cottak 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cottak 0.1.1 [INFO] finished tweaking crates.io crate cottak 0.1.1 [INFO] tweaked toml for crates.io crate cottak 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cottak 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cottak 0.1.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be7bd36d4cb9a1b844805a86b269e8a3b8e83134dba775078696c80aedc87837 [INFO] running `Command { std: "docker" "start" "-a" "be7bd36d4cb9a1b844805a86b269e8a3b8e83134dba775078696c80aedc87837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be7bd36d4cb9a1b844805a86b269e8a3b8e83134dba775078696c80aedc87837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be7bd36d4cb9a1b844805a86b269e8a3b8e83134dba775078696c80aedc87837", kill_on_drop: false }` [INFO] [stdout] be7bd36d4cb9a1b844805a86b269e8a3b8e83134dba775078696c80aedc87837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d61a9c8ea4bfc9dce09c2ebda37a41702ccacb85169cdbe7362f39e229226322 [INFO] running `Command { std: "docker" "start" "-a" "d61a9c8ea4bfc9dce09c2ebda37a41702ccacb85169cdbe7362f39e229226322", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling cbindgen v0.29.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling zlib-rs v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling hostname v0.4.1 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling libz-rs-sys v0.5.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling liblzma v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Compiling zip v4.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling cottak v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.35s [INFO] running `Command { std: "docker" "inspect" "d61a9c8ea4bfc9dce09c2ebda37a41702ccacb85169cdbe7362f39e229226322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d61a9c8ea4bfc9dce09c2ebda37a41702ccacb85169cdbe7362f39e229226322", kill_on_drop: false }` [INFO] [stdout] d61a9c8ea4bfc9dce09c2ebda37a41702ccacb85169cdbe7362f39e229226322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93082fff5a3a163d1fb63f6721b07e1b7ef3cfe663e8b07baad31aa186ce951e [INFO] running `Command { std: "docker" "start" "-a" "93082fff5a3a163d1fb63f6721b07e1b7ef3cfe663e8b07baad31aa186ce951e", kill_on_drop: false }` [INFO] [stderr] Compiling cottak v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tests.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let path = Path::new("LICENSE"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/tests.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | let license = fs::read_to_string(path).expect("Unable to read file"); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 15 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 15 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tests.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let path = Path::new("config.toml"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/tests.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | let config = fs::read_to_string(path).expect("Unable to read file"); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 15 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 15 + use tokio::fs; [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 `cottak` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "93082fff5a3a163d1fb63f6721b07e1b7ef3cfe663e8b07baad31aa186ce951e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93082fff5a3a163d1fb63f6721b07e1b7ef3cfe663e8b07baad31aa186ce951e", kill_on_drop: false }` [INFO] [stdout] 93082fff5a3a163d1fb63f6721b07e1b7ef3cfe663e8b07baad31aa186ce951e