[INFO] fetching crate earth_codec 0.0.1... [INFO] checking earth_codec-0.0.1 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate earth_codec 0.0.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate earth_codec 0.0.1 [INFO] finished tweaking crates.io crate earth_codec 0.0.1 [INFO] tweaked toml for crates.io crate earth_codec 0.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate earth_codec 0.0.1 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] crate crates.io crate earth_codec 0.0.1 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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5717c7031291a70b6d80c30e1c7085bf1c5f2dd7dc1bc9be7d4d51f7438401d8 [INFO] running `Command { std: "docker" "start" "5717c7031291a70b6d80c30e1c7085bf1c5f2dd7dc1bc9be7d4d51f7438401d8", 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" "5717c7031291a70b6d80c30e1c7085bf1c5f2dd7dc1bc9be7d4d51f7438401d8" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5717c7031291a70b6d80c30e1c7085bf1c5f2dd7dc1bc9be7d4d51f7438401d8", 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" "5717c7031291a70b6d80c30e1c7085bf1c5f2dd7dc1bc9be7d4d51f7438401d8" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking once_cell v0.1.8 [INFO] [stderr] Checking console v0.9.1 [INFO] [stderr] Checking better-panic v0.2.0 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking bitcoin_hashes v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking keyphrase v0.0.1 [INFO] [stderr] Checking earth_codec v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | _ => return Err(EarthError::InvalidLength(length).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | return Err(EarthError::NoPrefix.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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | _ => return Err(EarthError::InvalidPrefix(prefix.to_string()).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | return Err(EarthError::MixedCase.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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | return Err(EarthError::MixedCase.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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | return Err(EarthError::InvalidLength(0).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | return Err(EarthError::ChecksumFailed(checksum).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | return Err(EarthError::InvalidLength(body_len).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | _ => return Err(EarthError::InvalidLength(length).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:258:24 [INFO] [stdout] | [INFO] [stdout] 258 | return Err(EarthError::InvalidVersion(version).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | return Err(EarthError::NoPrefix.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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | _ => return Err(EarthError::InvalidPrefix(prefix.to_string()).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | return Err(EarthError::MixedCase.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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | return Err(EarthError::MixedCase.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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | return Err(EarthError::InvalidLength(0).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | return Err(EarthError::ChecksumFailed(checksum).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | return Err(EarthError::InvalidLength(body_len).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: `earth_errors::EarthError` [INFO] [stdout] --> src/earth.rs:258:24 [INFO] [stdout] | [INFO] [stdout] 258 | return Err(EarthError::InvalidVersion(version).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 `earth_codec` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `earth_codec` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "5717c7031291a70b6d80c30e1c7085bf1c5f2dd7dc1bc9be7d4d51f7438401d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5717c7031291a70b6d80c30e1c7085bf1c5f2dd7dc1bc9be7d4d51f7438401d8", kill_on_drop: false }` [INFO] [stdout] 5717c7031291a70b6d80c30e1c7085bf1c5f2dd7dc1bc9be7d4d51f7438401d8