[INFO] fetching crate win-rmdir-fast 0.1.0... [INFO] testing win-rmdir-fast-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate win-rmdir-fast 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate win-rmdir-fast 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate win-rmdir-fast 0.1.0 [INFO] tweaked toml for crates.io crate win-rmdir-fast 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate win-rmdir-fast 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate win-rmdir-fast 0.1.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cc4b8e2bc7901fbdff7053253d103680f7f4359976ff0052f24f4050c48d1bf [INFO] running `Command { std: "docker" "start" "-a" "0cc4b8e2bc7901fbdff7053253d103680f7f4359976ff0052f24f4050c48d1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cc4b8e2bc7901fbdff7053253d103680f7f4359976ff0052f24f4050c48d1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc4b8e2bc7901fbdff7053253d103680f7f4359976ff0052f24f4050c48d1bf", kill_on_drop: false }` [INFO] [stdout] 0cc4b8e2bc7901fbdff7053253d103680f7f4359976ff0052f24f4050c48d1bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0e0d0b3d9ad6a9dbe74dc82c0bc6d8c297db21d6a1062ab790697de115b8682 [INFO] running `Command { std: "docker" "start" "-a" "f0e0d0b3d9ad6a9dbe74dc82c0bc6d8c297db21d6a1062ab790697de115b8682", kill_on_drop: false }` [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling win-rmdir-fast v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::winapi::delete_file_fast`, `crate::winapi::enumerate_files_fast`, `crate::winapi::remove_dir_fast` [INFO] [stdout] --> src/worker.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::winapi::{delete_file_fast, enumerate_files_fast, remove_dir_fast}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `remove_dir_fast` in `winapi` [INFO] [stdout] | | | [INFO] [stdout] | | no `enumerate_files_fast` in `winapi` [INFO] [stdout] | no `delete_file_fast` in `winapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/winapi.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 35 | pub fn delete_file_fast(path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/winapi.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 110 | pub fn enumerate_files_fast(dir: &Path, mut callback: F) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/winapi.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 87 | pub fn remove_dir_fast(path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `enumerate_files_fast` in module `crate::winapi` [INFO] [stdout] --> src/tree.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | if let Err(e) = crate::winapi::enumerate_files_fast(dir, |path, is_dir| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `crate::winapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/winapi.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 110 | pub fn enumerate_files_fast(dir: &Path, mut callback: F) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/winapi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/winapi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-rmdir-fast` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f0e0d0b3d9ad6a9dbe74dc82c0bc6d8c297db21d6a1062ab790697de115b8682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e0d0b3d9ad6a9dbe74dc82c0bc6d8c297db21d6a1062ab790697de115b8682", kill_on_drop: false }` [INFO] [stdout] f0e0d0b3d9ad6a9dbe74dc82c0bc6d8c297db21d6a1062ab790697de115b8682