[INFO] fetching crate cottak 0.1.1... [INFO] checking cottak-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate cottak 0.1.1 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cottak 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libz-rs-sys v0.5.1 [INFO] [stderr] Downloaded prost-derive v0.14.1 [INFO] [stderr] Downloaded prost v0.14.1 [INFO] [stderr] Downloaded liblzma v0.4.2 [INFO] [stderr] Downloaded prost-types v0.14.1 [INFO] [stderr] Downloaded prost-build v0.14.1 [INFO] [stderr] Downloaded zip v4.2.0 [INFO] [stderr] Downloaded zlib-rs v0.5.1 [INFO] [stderr] Downloaded cbindgen v0.29.0 [INFO] [stderr] Downloaded liblzma-sys v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51146ed3b8a9f952a7469c21c2721385560486a8aa36ff35093133e2645e6e4b [INFO] running `Command { std: "docker" "start" "-a" "51146ed3b8a9f952a7469c21c2721385560486a8aa36ff35093133e2645e6e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51146ed3b8a9f952a7469c21c2721385560486a8aa36ff35093133e2645e6e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51146ed3b8a9f952a7469c21c2721385560486a8aa36ff35093133e2645e6e4b", kill_on_drop: false }` [INFO] [stdout] 51146ed3b8a9f952a7469c21c2721385560486a8aa36ff35093133e2645e6e4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfbab052e9a4973a820b457f09e562e62118cbaeb280c1683161890804b3af8d [INFO] running `Command { std: "docker" "start" "-a" "bfbab052e9a4973a820b457f09e562e62118cbaeb280c1683161890804b3af8d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cbindgen v0.29.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Checking zlib-rs v0.5.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking libz-rs-sys v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking xml-rs v0.8.26 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking liblzma v0.4.2 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking protobuf-support v3.7.2 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zip v4.2.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking 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" "bfbab052e9a4973a820b457f09e562e62118cbaeb280c1683161890804b3af8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfbab052e9a4973a820b457f09e562e62118cbaeb280c1683161890804b3af8d", kill_on_drop: false }` [INFO] [stdout] bfbab052e9a4973a820b457f09e562e62118cbaeb280c1683161890804b3af8d