[INFO] fetching crate dir_tools 0.1.2... [INFO] testing dir_tools-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate dir_tools 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate dir_tools 0.1.2 [INFO] finished tweaking crates.io crate dir_tools 0.1.2 [INFO] tweaked toml for crates.io crate dir_tools 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dir_tools 0.1.2 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 dir_tools 0.1.2 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4ab375609feec05096b081087c9cfbdbe263f6142535ac6076c3071ccb602fb4 [INFO] running `Command { std: "docker" "start" "-a" "4ab375609feec05096b081087c9cfbdbe263f6142535ac6076c3071ccb602fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ab375609feec05096b081087c9cfbdbe263f6142535ac6076c3071ccb602fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab375609feec05096b081087c9cfbdbe263f6142535ac6076c3071ccb602fb4", kill_on_drop: false }` [INFO] [stdout] 4ab375609feec05096b081087c9cfbdbe263f6142535ac6076c3071ccb602fb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4cf9555b2baf5f6f4b323d6b0a0e4b08dfbc332a263af9f874aff5e260285ae1 [INFO] running `Command { std: "docker" "start" "-a" "4cf9555b2baf5f6f4b323d6b0a0e4b08dfbc332a263af9f874aff5e260285ae1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling is-docker v0.2.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling is-wsl v0.4.0 [INFO] [stderr] Compiling pathdiff v0.2.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling open v5.3.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling dir_tools v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crossterm::ansi_support` [INFO] [stdout] --> src/file_ops/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use crossterm::ansi_support::supports_ansi; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `ansi_support` in `crossterm` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossterm-0.28.1/src/lib.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 247 | #[cfg(windows)] [INFO] [stdout] | ------- the item is gated here [INFO] [stdout] 248 | /// A module that exposes one function to check if the current terminal supports ANSI sequences. [INFO] [stdout] 249 | pub mod ansi_support; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressBar` [INFO] [stdout] --> src/file_ops/expose.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | let current_file_pb = mp.add(ProgressBar::new(0)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProgressBar` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::file_ops::ProgressBar; [INFO] [stdout] | [INFO] [stdout] 1 + use indicatif::ProgressBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressStyle` [INFO] [stdout] --> src/file_ops/expose.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | ProgressStyle::default_spinner() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ProgressStyle` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::file_ops::ProgressStyle; [INFO] [stdout] | [INFO] [stdout] 1 + use indicatif::ProgressStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressBar` [INFO] [stdout] --> src/file_ops/expose.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | let pb = mp.add(ProgressBar::new(file_count)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProgressBar` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::file_ops::ProgressBar; [INFO] [stdout] | [INFO] [stdout] 1 + use indicatif::ProgressBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressStyle` [INFO] [stdout] --> src/file_ops/expose.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | ProgressStyle::default_bar() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ProgressStyle` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::file_ops::ProgressStyle; [INFO] [stdout] | [INFO] [stdout] 1 + use indicatif::ProgressStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROGRESS_CHARS` in this scope [INFO] [stdout] --> src/file_ops/expose.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | .progress_chars(PROGRESS_CHARS), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::PROGRESS_CHARS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> src/file_ops/expose.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | let handle_pb_state = thread::spawn(move || { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> src/file_ops/expose.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | thread::sleep(TICK_DURATION); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> src/file_ops/expose.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicUsize, Ordering}; [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 imports: `CustomStyle` and `create_progressbar` [INFO] [stdout] --> src/file_ops/expose.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::file_ops::{create_progressbar, files_from, CustomStyle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/file_ops/expose.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | rename_hidden_files(directory); [INFO] [stdout] | ------------------- ^^^^^^^^^ expected `&str`, found `&Path` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Path` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/platform/unix.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn rename_hidden_files(directory: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/file_ops/expose.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | print_unix_warning(directory); [INFO] [stdout] | ------------------ ^^^^^^^^^ expected `&str`, found `&Path` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Path` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/platform/unix.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn print_unix_warning(directory: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/file_ops/expose.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dir_tools` (bin "dirt") due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4cf9555b2baf5f6f4b323d6b0a0e4b08dfbc332a263af9f874aff5e260285ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf9555b2baf5f6f4b323d6b0a0e4b08dfbc332a263af9f874aff5e260285ae1", kill_on_drop: false }` [INFO] [stdout] 4cf9555b2baf5f6f4b323d6b0a0e4b08dfbc332a263af9f874aff5e260285ae1