[INFO] fetching crate win-rmdir-fast 0.1.0... [INFO] testing win-rmdir-fast-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate win-rmdir-fast 0.1.0 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate win-rmdir-fast 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f5164deb983bf12d8e077150b4f43f9b0996dc2e961b0e0f47719759b6e1786 [INFO] running `Command { std: "docker" "start" "-a" "8f5164deb983bf12d8e077150b4f43f9b0996dc2e961b0e0f47719759b6e1786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f5164deb983bf12d8e077150b4f43f9b0996dc2e961b0e0f47719759b6e1786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f5164deb983bf12d8e077150b4f43f9b0996dc2e961b0e0f47719759b6e1786", kill_on_drop: false }` [INFO] [stdout] 8f5164deb983bf12d8e077150b4f43f9b0996dc2e961b0e0f47719759b6e1786 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc834e1d6bec6e4082aa21edd2afa56ec8ef65c7e03d673a105d711dcbbcb15b [INFO] running `Command { std: "docker" "start" "-a" "dc834e1d6bec6e4082aa21edd2afa56ec8ef65c7e03d673a105d711dcbbcb15b", kill_on_drop: false }` [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling anstream v0.6.21 [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] error[E0282]: type annotations needed [INFO] [stdout] --> src/tree.rs:66:63 [INFO] [stdout] | [INFO] [stdout] 66 | if let Err(e) = crate::winapi::enumerate_files_fast(dir, |path, is_dir| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | if is_dir { [INFO] [stdout] 68 | child_dirs.push(path.to_path_buf()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 66 | if let Err(e) = crate::winapi::enumerate_files_fast(dir, |path: /* Type */, is_dir| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/worker.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | enumerate_files_fast(dir, |path, is_dir| { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | eprintln!("Warning: Failed to delete {}: {}", path.display(), e); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | enumerate_files_fast(dir, |path: /* Type */, is_dir| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-rmdir-fast` (lib) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dc834e1d6bec6e4082aa21edd2afa56ec8ef65c7e03d673a105d711dcbbcb15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc834e1d6bec6e4082aa21edd2afa56ec8ef65c7e03d673a105d711dcbbcb15b", kill_on_drop: false }` [INFO] [stdout] dc834e1d6bec6e4082aa21edd2afa56ec8ef65c7e03d673a105d711dcbbcb15b