[INFO] fetching crate derpy 0.1.0... [INFO] checking derpy-0.1.0 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate derpy 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate derpy 0.1.0 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate derpy 0.1.0 [INFO] finished tweaking crates.io crate derpy 0.1.0 [INFO] tweaked toml for crates.io crate derpy 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.26) [INFO] [stderr] Adding strfmt v0.1.6 (available: v0.2.4) [INFO] [stderr] Adding subprocess v0.1.20 (available: v0.2.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9e790a52a86a6a4a4b6b58521171e54b9847c424ec9db1b7fdb54b6e8d1c8df [INFO] running `Command { std: "docker" "start" "-a" "a9e790a52a86a6a4a4b6b58521171e54b9847c424ec9db1b7fdb54b6e8d1c8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9e790a52a86a6a4a4b6b58521171e54b9847c424ec9db1b7fdb54b6e8d1c8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9e790a52a86a6a4a4b6b58521171e54b9847c424ec9db1b7fdb54b6e8d1c8df", kill_on_drop: false }` [INFO] [stdout] a9e790a52a86a6a4a4b6b58521171e54b9847c424ec9db1b7fdb54b6e8d1c8df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21479946318c7e3e0913e2993d5e0d3c831dd49a06e2df4f55efde3cf0eb6a50 [INFO] running `Command { std: "docker" "start" "-a" "21479946318c7e3e0913e2993d5e0d3c831dd49a06e2df4f55efde3cf0eb6a50", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strfmt v0.1.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking subprocess v0.1.20 [INFO] [stderr] Checking serde_json v1.0.135 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking derpy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/acquire.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | None => return Err(DerpyError::UnknownVcs { name: dep.vcs.clone() }.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/acquire.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | Err(DerpyError::NonsenseAcquireMode { [INFO] [stdout] | _________________^ [INFO] [stdout] 95 | | dependency: dep.name.clone(), [INFO] [stdout] 96 | | acquire_mode, [INFO] [stdout] 97 | | }.into()) [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/cmds/init.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | return Err(DerpyError::AlreadyInitialised.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::string::String` to `std::string::String` [INFO] [stdout] --> src/cmds/add.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | None => return Err(DerpyError::UnknownVcs { name: vcs.into() }.into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/cmds/add.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | None => return Err(DerpyError::UnknownVcs { name: vcs.into() }.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::string::String` to `std::string::String` [INFO] [stdout] --> src/cmds/add.rs:56:64 [INFO] [stdout] | [INFO] [stdout] 56 | return Err(DerpyError::DependencyAlreadyExists { name: name.into() }.into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/cmds/add.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | return Err(DerpyError::DependencyAlreadyExists { name: name.into() }.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/vcs.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | return Err(DerpyError::VcsCommandFailed { cmd: cmd.clone(), return_code, stdout, stderr }.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | Err(DerpyError::InvalidArguments { [INFO] [stdout] | _________________^ [INFO] [stdout] 99 | | reason: "no subcommand was used".into(), [INFO] [stdout] 100 | | }.into()) [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/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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_DerpyError` [INFO] [stdout] 11 | pub enum DerpyError { [INFO] [stdout] | ---------- `DerpyError` 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/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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_DerpyError` [INFO] [stdout] 11 | pub enum DerpyError { [INFO] [stdout] | ---------- `DerpyError` 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] error: could not compile `derpy` (bin "derpy") due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/acquire.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | None => return Err(DerpyError::UnknownVcs { name: dep.vcs.clone() }.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/acquire.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | Err(DerpyError::NonsenseAcquireMode { [INFO] [stdout] | _________________^ [INFO] [stdout] 95 | | dependency: dep.name.clone(), [INFO] [stdout] 96 | | acquire_mode, [INFO] [stdout] 97 | | }.into()) [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/cmds/init.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | return Err(DerpyError::AlreadyInitialised.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::string::String` to `std::string::String` [INFO] [stdout] --> src/cmds/add.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | None => return Err(DerpyError::UnknownVcs { name: vcs.into() }.into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/cmds/add.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | None => return Err(DerpyError::UnknownVcs { name: vcs.into() }.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::string::String` to `std::string::String` [INFO] [stdout] --> src/cmds/add.rs:56:64 [INFO] [stdout] | [INFO] [stdout] 56 | return Err(DerpyError::DependencyAlreadyExists { name: name.into() }.into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/cmds/add.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | return Err(DerpyError::DependencyAlreadyExists { name: name.into() }.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/vcs.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | return Err(DerpyError::VcsCommandFailed { cmd: cmd.clone(), return_code, stdout, stderr }.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `DerpyError` to `DerpyError` [INFO] [stdout] --> src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | Err(DerpyError::InvalidArguments { [INFO] [stdout] | _________________^ [INFO] [stdout] 99 | | reason: "no subcommand was used".into(), [INFO] [stdout] 100 | | }.into()) [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/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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_DerpyError` [INFO] [stdout] 11 | pub enum DerpyError { [INFO] [stdout] | ---------- `DerpyError` 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/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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_DerpyError` [INFO] [stdout] 11 | pub enum DerpyError { [INFO] [stdout] | ---------- `DerpyError` 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] error: could not compile `derpy` (bin "derpy" test) due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "21479946318c7e3e0913e2993d5e0d3c831dd49a06e2df4f55efde3cf0eb6a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21479946318c7e3e0913e2993d5e0d3c831dd49a06e2df4f55efde3cf0eb6a50", kill_on_drop: false }` [INFO] [stdout] 21479946318c7e3e0913e2993d5e0d3c831dd49a06e2df4f55efde3cf0eb6a50