[INFO] fetching crate cottak 0.1.1... [INFO] checking cottak-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate cottak 0.1.1 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cottak 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e82ea2920eb47183d3c6cf638be598e2af998158059179430109a9934b28864b [INFO] running `Command { std: "docker" "start" "-a" "e82ea2920eb47183d3c6cf638be598e2af998158059179430109a9934b28864b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e82ea2920eb47183d3c6cf638be598e2af998158059179430109a9934b28864b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e82ea2920eb47183d3c6cf638be598e2af998158059179430109a9934b28864b", kill_on_drop: false }` [INFO] [stdout] e82ea2920eb47183d3c6cf638be598e2af998158059179430109a9934b28864b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd2b3af2463e2d567019deed72073ad5172c4e1086621f40d8a9476bcaa234a8 [INFO] running `Command { std: "docker" "start" "-a" "dd2b3af2463e2d567019deed72073ad5172c4e1086621f40d8a9476bcaa234a8", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cbindgen v0.29.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking zlib-rs v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking xml-rs v0.8.26 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking libz-rs-sys v0.5.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [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 tempfile v3.20.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking liblzma v0.4.2 [INFO] [stderr] Compiling regex v1.11.1 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zip v4.2.0 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Checking toml v0.8.23 [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] running `Command { std: "docker" "inspect" "dd2b3af2463e2d567019deed72073ad5172c4e1086621f40d8a9476bcaa234a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2b3af2463e2d567019deed72073ad5172c4e1086621f40d8a9476bcaa234a8", kill_on_drop: false }` [INFO] [stdout] dd2b3af2463e2d567019deed72073ad5172c4e1086621f40d8a9476bcaa234a8