[INFO] fetching crate cargo-fel4 0.7.2... [INFO] checking cargo-fel4-0.7.2 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate cargo-fel4 0.7.2 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate cargo-fel4 0.7.2 [INFO] finished tweaking crates.io crate cargo-fel4 0.7.2 [INFO] tweaked toml for crates.io crate cargo-fel4 0.7.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-fel4 0.7.2 on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 97 packages to latest compatible versions [INFO] [stderr] Adding cargo_metadata v0.5.8 (available: v0.23.1) [INFO] [stderr] Adding colored v1.9.4 (available: v3.1.1) [INFO] [stderr] Adding proptest v0.8.7 (available: v1.11.0) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `cargo-fel4` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2e46d543b9869993d86f0992fb47100cfcd11375fa20f30c9dc53c9549feda17 [INFO] running `Command { std: "docker" "start" "2e46d543b9869993d86f0992fb47100cfcd11375fa20f30c9dc53c9549feda17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2e46d543b9869993d86f0992fb47100cfcd11375fa20f30c9dc53c9549feda17" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e46d543b9869993d86f0992fb47100cfcd11375fa20f30c9dc53c9549feda17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2e46d543b9869993d86f0992fb47100cfcd11375fa20f30c9dc53c9549feda17" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `cargo-fel4` (manifest) generated 1 warning [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Compiling unicode-segmentation v1.13.3 [INFO] [stderr] Checking find-msvc-tools v0.1.9 [INFO] [stderr] Checking shlex v2.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking multimap v0.4.0 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking proc-macro2 v0.3.8 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking cc v1.2.64 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking quote v0.5.2 [INFO] [stderr] Checking syn v0.13.11 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking cmake v0.1.58 [INFO] [stderr] Checking proptest v0.8.7 [INFO] [stderr] Checking fel4-config v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking regex v1.12.4 [INFO] [stderr] Checking cmake_config v0.1.1 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking cargo_metadata v0.5.8 [INFO] [stderr] Checking cargo-fel4 v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/build_cmd.rs:290:83 [INFO] [stdout] | [INFO] [stdout] 290 | fn handle_arm_edge_case<'c, 'f>(&'c mut self, target: &'f SupportedTarget) -> &mut Self { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'c` [INFO] [stdout] | [INFO] [stdout] 290 | fn handle_arm_edge_case<'c, 'f>(&'c mut self, target: &'f SupportedTarget) -> &'c mut Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/command_ext.rs:34:79 [INFO] [stdout] | [INFO] [stdout] 34 | fn add_loudness_args<'c, 'f>(&'c mut self, loudness: &'f LoudnessOpts) -> &mut Self { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'c` [INFO] [stdout] | [INFO] [stdout] 34 | fn add_loudness_args<'c, 'f>(&'c mut self, loudness: &'f LoudnessOpts) -> &'c mut Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/build_cmd.rs:290:83 [INFO] [stdout] | [INFO] [stdout] 290 | fn handle_arm_edge_case<'c, 'f>(&'c mut self, target: &'f SupportedTarget) -> &mut Self { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'c` [INFO] [stdout] | [INFO] [stdout] 290 | fn handle_arm_edge_case<'c, 'f>(&'c mut self, target: &'f SupportedTarget) -> &'c mut Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/command_ext.rs:34:79 [INFO] [stdout] | [INFO] [stdout] 34 | fn add_loudness_args<'c, 'f>(&'c mut self, loudness: &'f LoudnessOpts) -> &mut Self { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'c` [INFO] [stdout] | [INFO] [stdout] 34 | fn add_loudness_args<'c, 'f>(&'c mut self, loudness: &'f LoudnessOpts) -> &'c mut Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PathBuf` [INFO] [stdout] --> tests/basic_integration.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | let target_dir: PathBuf = d.path().join("bar").into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PathBuf` [INFO] [stdout] --> tests/basic_integration.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | let target_dir: PathBuf = d.path().join("bar").into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PathBuf` [INFO] [stdout] --> tests/basic_integration.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | let target_dir: PathBuf = d.path().join("armv7").into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-fel4` (test "basic_integration") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "2e46d543b9869993d86f0992fb47100cfcd11375fa20f30c9dc53c9549feda17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e46d543b9869993d86f0992fb47100cfcd11375fa20f30c9dc53c9549feda17", kill_on_drop: false }` [INFO] [stdout] 2e46d543b9869993d86f0992fb47100cfcd11375fa20f30c9dc53c9549feda17