[INFO] fetching crate ppcp 0.1.0... [INFO] testing ppcp-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate ppcp 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ppcp 0.1.0 [INFO] finished tweaking crates.io crate ppcp 0.1.0 [INFO] tweaked toml for crates.io crate ppcp 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ppcp 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 ppcp 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] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [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] ef84ad347993f547b7d63ac1419e6919af58a63724dd922543c7f2d90da1216e [INFO] running `Command { std: "docker" "start" "-a" "ef84ad347993f547b7d63ac1419e6919af58a63724dd922543c7f2d90da1216e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef84ad347993f547b7d63ac1419e6919af58a63724dd922543c7f2d90da1216e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef84ad347993f547b7d63ac1419e6919af58a63724dd922543c7f2d90da1216e", kill_on_drop: false }` [INFO] [stdout] ef84ad347993f547b7d63ac1419e6919af58a63724dd922543c7f2d90da1216e [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] 9a6f44910e8dabd799400d6cc35622d2860818cca8f721b72e955e914bb28e44 [INFO] running `Command { std: "docker" "start" "-a" "9a6f44910e8dabd799400d6cc35622d2860818cca8f721b72e955e914bb28e44", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling std_prelude v0.2.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling stfu8 v0.2.4 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling path_abs v0.5.0 [INFO] [stderr] Compiling ppcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path_abs::PathAbs` [INFO] [stdout] --> src/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use path_abs::PathAbs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/copy.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | fn run(dest: PathBuf, tx: Sender<(PathBuf, u32, u64, u64)>, rx: Receiver<(PathBuf, PathBuf, u64)>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OperationStatus` is never used [INFO] [stdout] --> src/copy.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum OperationStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockCopyWorker` is never constructed [INFO] [stdout] --> src/copy.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | struct MockCopyWorker {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/copy.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 211 | impl MockCopyWorker { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 212 | fn run(dest: PathBuf, tx: Sender<(PathBuf, u32, u64, u64)>, rx: Receiver<(PathBuf, PathBuf, u64)>) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/copy.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_OperationError` [INFO] [stdout] 55 | pub enum OperationError { [INFO] [stdout] | -------------- `OperationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/copy.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_OperationError` [INFO] [stdout] 55 | pub enum OperationError { [INFO] [stdout] | -------------- `OperationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.52s [INFO] running `Command { std: "docker" "inspect" "9a6f44910e8dabd799400d6cc35622d2860818cca8f721b72e955e914bb28e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a6f44910e8dabd799400d6cc35622d2860818cca8f721b72e955e914bb28e44", kill_on_drop: false }` [INFO] [stdout] 9a6f44910e8dabd799400d6cc35622d2860818cca8f721b72e955e914bb28e44 [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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36cf4a028373a456c9c3c852fe3bc08c37e9f514a2a6a13a277a2b144aea606b [INFO] running `Command { std: "docker" "start" "-a" "36cf4a028373a456c9c3c852fe3bc08c37e9f514a2a6a13a277a2b144aea606b", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling ppcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path_abs::PathAbs` [INFO] [stdout] --> src/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use path_abs::PathAbs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/copy.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | fn run(dest: PathBuf, tx: Sender<(PathBuf, u32, u64, u64)>, rx: Receiver<(PathBuf, PathBuf, u64)>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OperationStatus` is never used [INFO] [stdout] --> src/copy.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum OperationStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockCopyWorker` is never constructed [INFO] [stdout] --> src/copy.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | struct MockCopyWorker {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/copy.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 211 | impl MockCopyWorker { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 212 | fn run(dest: PathBuf, tx: Sender<(PathBuf, u32, u64, u64)>, rx: Receiver<(PathBuf, PathBuf, u64)>) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/copy.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_OperationError` [INFO] [stdout] 55 | pub enum OperationError { [INFO] [stdout] | -------------- `OperationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/copy.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_OperationError` [INFO] [stdout] 55 | pub enum OperationError { [INFO] [stdout] | -------------- `OperationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "36cf4a028373a456c9c3c852fe3bc08c37e9f514a2a6a13a277a2b144aea606b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36cf4a028373a456c9c3c852fe3bc08c37e9f514a2a6a13a277a2b144aea606b", kill_on_drop: false }` [INFO] [stdout] 36cf4a028373a456c9c3c852fe3bc08c37e9f514a2a6a13a277a2b144aea606b [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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8d24b4ba0c81336e5adec331136f94644bdfff7162e46b21b96d38f78cffc27c [INFO] running `Command { std: "docker" "start" "-a" "8d24b4ba0c81336e5adec331136f94644bdfff7162e46b21b96d38f78cffc27c", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: unused import: `path_abs::PathAbs` [INFO] [stderr] --> src/app.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use path_abs::PathAbs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:16:29 [INFO] [stderr] | [INFO] [stderr] 16 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 | fn main() -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dest` [INFO] [stderr] --> src/copy.rs:212:12 [INFO] [stderr] | [INFO] [stderr] 212 | fn run(dest: PathBuf, tx: Sender<(PathBuf, u32, u64, u64)>, rx: Receiver<(PathBuf, PathBuf, u64)>) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `OperationStatus` is never used [INFO] [stderr] --> src/copy.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | pub enum OperationStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `MockCopyWorker` is never constructed [INFO] [stderr] --> src/copy.rs:209:8 [INFO] [stderr] | [INFO] [stderr] 209 | struct MockCopyWorker {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `run` is never used [INFO] [stderr] --> src/copy.rs:212:8 [INFO] [stderr] | [INFO] [stderr] 211 | impl MockCopyWorker { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 212 | fn run(dest: PathBuf, tx: Sender<(PathBuf, u32, u64, u64)>, rx: Receiver<(PathBuf, PathBuf, u64)>) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/copy.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_OperationError` [INFO] [stderr] 55 | pub enum OperationError { [INFO] [stderr] | -------------- `OperationError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/copy.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_OperationError` [INFO] [stderr] 55 | pub enum OperationError { [INFO] [stderr] | -------------- `OperationError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `ppcp` (bin "ppcp" test) generated 8 warnings (run `cargo fix --bin "ppcp" -p ppcp --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ppcp-7aff17d8d59f215a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8d24b4ba0c81336e5adec331136f94644bdfff7162e46b21b96d38f78cffc27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d24b4ba0c81336e5adec331136f94644bdfff7162e46b21b96d38f78cffc27c", kill_on_drop: false }` [INFO] [stdout] 8d24b4ba0c81336e5adec331136f94644bdfff7162e46b21b96d38f78cffc27c