[INFO] fetching crate ppcp 0.1.0... [INFO] testing ppcp-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ppcp 0.1.0 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ppcp 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.34 [INFO] [stderr] Downloaded path_abs v0.5.0 [INFO] [stderr] Downloaded serde_derive v1.0.98 [INFO] [stderr] Downloaded redox_syscall v0.1.52 [INFO] [stderr] Downloaded stfu8 v0.2.4 [INFO] [stderr] Downloaded encode_unicode v0.3.5 [INFO] [stderr] Downloaded serde v1.0.98 [INFO] [stderr] Downloaded syn v0.15.30 [INFO] [stderr] Downloaded libc v0.2.51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef397516d3da18863b840e3b8f53d852ac7ab44435d8ad7dd84b750188aed804 [INFO] running `Command { std: "docker" "start" "-a" "ef397516d3da18863b840e3b8f53d852ac7ab44435d8ad7dd84b750188aed804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef397516d3da18863b840e3b8f53d852ac7ab44435d8ad7dd84b750188aed804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef397516d3da18863b840e3b8f53d852ac7ab44435d8ad7dd84b750188aed804", kill_on_drop: false }` [INFO] [stdout] ef397516d3da18863b840e3b8f53d852ac7ab44435d8ad7dd84b750188aed804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ba76d1e61836f8c95ef562bff6ba17e74ec5d61dd27da51367a9f47b4daea070 [INFO] running `Command { std: "docker" "start" "-a" "ba76d1e61836f8c95ef562bff6ba17e74ec5d61dd27da51367a9f47b4daea070", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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 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 cfg-if v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling std_prelude v0.2.12 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [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 backtrace-sys v0.1.28 [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 quote v0.6.11 [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)]` 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)]` 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)]` 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: `OperationStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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 9.78s [INFO] running `Command { std: "docker" "inspect" "ba76d1e61836f8c95ef562bff6ba17e74ec5d61dd27da51367a9f47b4daea070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba76d1e61836f8c95ef562bff6ba17e74ec5d61dd27da51367a9f47b4daea070", kill_on_drop: false }` [INFO] [stdout] ba76d1e61836f8c95ef562bff6ba17e74ec5d61dd27da51367a9f47b4daea070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9380b8aece2f3e6582225c97fc2c1be0c369a7ea710efa4e5c4b1a85bc5b8ae4 [INFO] running `Command { std: "docker" "start" "-a" "9380b8aece2f3e6582225c97fc2c1be0c369a7ea710efa4e5c4b1a85bc5b8ae4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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)]` 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)]` 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)]` 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: `OperationStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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.49s [INFO] running `Command { std: "docker" "inspect" "9380b8aece2f3e6582225c97fc2c1be0c369a7ea710efa4e5c4b1a85bc5b8ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9380b8aece2f3e6582225c97fc2c1be0c369a7ea710efa4e5c4b1a85bc5b8ae4", kill_on_drop: false }` [INFO] [stdout] 9380b8aece2f3e6582225c97fc2c1be0c369a7ea710efa4e5c4b1a85bc5b8ae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 51ac9e758e58b38701a153cd35f4faa3eb9a278e41e21ce515dc8a48f1c0ffa1 [INFO] running `Command { std: "docker" "start" "-a" "51ac9e758e58b38701a153cd35f4faa3eb9a278e41e21ce515dc8a48f1c0ffa1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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)]` 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)]` 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)]` 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: `OperationStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` 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" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ppcp-e99ac4d0d0e5bb24) [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" "51ac9e758e58b38701a153cd35f4faa3eb9a278e41e21ce515dc8a48f1c0ffa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51ac9e758e58b38701a153cd35f4faa3eb9a278e41e21ce515dc8a48f1c0ffa1", kill_on_drop: false }` [INFO] [stdout] 51ac9e758e58b38701a153cd35f4faa3eb9a278e41e21ce515dc8a48f1c0ffa1