[INFO] fetching crate dir_tools 0.1.2... [INFO] checking dir_tools-0.1.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate dir_tools 0.1.2 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dir_tools 0.1.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a70280997e087fc31a1918e9edb5a6ae28aacb6c182b6a4b84ba936c00bf1e0 [INFO] running `Command { std: "docker" "start" "-a" "3a70280997e087fc31a1918e9edb5a6ae28aacb6c182b6a4b84ba936c00bf1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a70280997e087fc31a1918e9edb5a6ae28aacb6c182b6a4b84ba936c00bf1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a70280997e087fc31a1918e9edb5a6ae28aacb6c182b6a4b84ba936c00bf1e0", kill_on_drop: false }` [INFO] [stdout] 3a70280997e087fc31a1918e9edb5a6ae28aacb6c182b6a4b84ba936c00bf1e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cad03feb790c060b3341bac7d8f97d6d713f17d77bae5884b0165aaf1bada49 [INFO] running `Command { std: "docker" "start" "-a" "5cad03feb790c060b3341bac7d8f97d6d713f17d77bae5884b0165aaf1bada49", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking pathdiff v0.2.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.31 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking open v5.3.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking 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] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking clap v4.5.31 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking 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)]` 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] 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] 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] 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)]` 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] 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" test) due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "5cad03feb790c060b3341bac7d8f97d6d713f17d77bae5884b0165aaf1bada49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cad03feb790c060b3341bac7d8f97d6d713f17d77bae5884b0165aaf1bada49", kill_on_drop: false }` [INFO] [stdout] 5cad03feb790c060b3341bac7d8f97d6d713f17d77bae5884b0165aaf1bada49