[INFO] fetching crate hash-algorithms 0.1.0... [INFO] checking hash-algorithms-0.1.0 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate hash-algorithms 0.1.0 into /workspace/builds/worker-117/source [INFO] validating manifest of crates.io crate hash-algorithms 0.1.0 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hash-algorithms 0.1.0 [INFO] finished tweaking crates.io crate hash-algorithms 0.1.0 [INFO] tweaked toml for crates.io crate hash-algorithms 0.1.0 written to /workspace/builds/worker-117/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbc84cfd3c9cf98e22fdab974e92d040c3e3acaeb04c00c964d80964f8c2de2d [INFO] running `Command { std: "docker" "start" "-a" "dbc84cfd3c9cf98e22fdab974e92d040c3e3acaeb04c00c964d80964f8c2de2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbc84cfd3c9cf98e22fdab974e92d040c3e3acaeb04c00c964d80964f8c2de2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbc84cfd3c9cf98e22fdab974e92d040c3e3acaeb04c00c964d80964f8c2de2d", kill_on_drop: false }` [INFO] [stdout] dbc84cfd3c9cf98e22fdab974e92d040c3e3acaeb04c00c964d80964f8c2de2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14be962e735838dde6226c98880c49b34cfce740c9eeabd4970d3e31b5d8a475 [INFO] running `Command { std: "docker" "start" "-a" "14be962e735838dde6226c98880c49b34cfce740c9eeabd4970d3e31b5d8a475", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking hash-algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | key ^= (key >> 10); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - key ^= (key >> 10); [INFO] [stdout] 75 + key ^= key >> 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | key += (key << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - key += (key << 3); [INFO] [stdout] 76 + key += key << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | key ^= (key >> 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - key ^= (key >> 6); [INFO] [stdout] 77 + key ^= key >> 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | key ^= (key >> 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - key ^= (key >> 16); [INFO] [stdout] 79 + key ^= key >> 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | hash ^= ((hash << 5) + (*v as i64) + (hash >> 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - hash ^= ((hash << 5) + (*v as i64) + (hash >> 2)); [INFO] [stdout] 98 + hash ^= (hash << 5) + (*v as i64) + (hash >> 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | hash = ((hash ^ (test >> three_quarters)) & (!high_bits)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - hash = ((hash ^ (test >> three_quarters)) & (!high_bits)); [INFO] [stdout] 115 + hash = (hash ^ (test >> three_quarters)) & (!high_bits); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | hash ^= (x >> 24); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - hash ^= (x >> 24); [INFO] [stdout] 129 + hash ^= x >> 24; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | hash &= (!x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - hash &= (!x); [INFO] [stdout] 130 + hash &= !x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | let vv = (*v as i64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - let vv = (*v as i64); [INFO] [stdout] 178 + let vv = *v as i64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | hash ^= ((hash << 7) ^ vv ^ (hash >> 3)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - hash ^= ((hash << 7) ^ vv ^ (hash >> 3)); [INFO] [stdout] 180 + hash ^= (hash << 7) ^ vv ^ (hash >> 3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | hash ^= (!((hash << 11) ^ vv ^ (hash >> 5))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - hash ^= (!((hash << 11) ^ vv ^ (hash >> 5))); [INFO] [stdout] 182 + hash ^= !((hash << 11) ^ vv ^ (hash >> 5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bkdr_hash`, `rs_hash` [INFO] [stdout] --> src/lib.rs:200:85 [INFO] [stdout] | [INFO] [stdout] 200 | use crate::{additive_hash, rotating_hash, one_by_one_hash, bernstein, int_hash, rs_hash, js_hash, pjw_hash, elf_hash, bkdr_hash, sdbm... [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | key ^= (key >> 10); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - key ^= (key >> 10); [INFO] [stdout] 75 + key ^= key >> 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | key += (key << 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - key += (key << 3); [INFO] [stdout] 76 + key += key << 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | key ^= (key >> 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - key ^= (key >> 6); [INFO] [stdout] 77 + key ^= key >> 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | key ^= (key >> 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - key ^= (key >> 16); [INFO] [stdout] 79 + key ^= key >> 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | hash ^= ((hash << 5) + (*v as i64) + (hash >> 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - hash ^= ((hash << 5) + (*v as i64) + (hash >> 2)); [INFO] [stdout] 98 + hash ^= (hash << 5) + (*v as i64) + (hash >> 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | hash = ((hash ^ (test >> three_quarters)) & (!high_bits)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - hash = ((hash ^ (test >> three_quarters)) & (!high_bits)); [INFO] [stdout] 115 + hash = (hash ^ (test >> three_quarters)) & (!high_bits); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | hash ^= (x >> 24); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - hash ^= (x >> 24); [INFO] [stdout] 129 + hash ^= x >> 24; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | hash &= (!x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - hash &= (!x); [INFO] [stdout] 130 + hash &= !x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | let vv = (*v as i64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - let vv = (*v as i64); [INFO] [stdout] 178 + let vv = *v as i64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | hash ^= ((hash << 7) ^ vv ^ (hash >> 3)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - hash ^= ((hash << 7) ^ vv ^ (hash >> 3)); [INFO] [stdout] 180 + hash ^= (hash << 7) ^ vv ^ (hash >> 3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | hash ^= (!((hash << 11) ^ vv ^ (hash >> 5))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - hash ^= (!((hash << 11) ^ vv ^ (hash >> 5))); [INFO] [stdout] 182 + hash ^= !((hash << 11) ^ vv ^ (hash >> 5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `test` is never read [INFO] [stdout] --> src/lib.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut test = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/lib.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut x = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let (mut a, mut b): (i64, i64) = (63689, 378551); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut seed = 131; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `test` is never read [INFO] [stdout] --> src/lib.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut test = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/lib.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut x = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let (mut a, mut b): (i64, i64) = (63689, 378551); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut seed = 131; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "14be962e735838dde6226c98880c49b34cfce740c9eeabd4970d3e31b5d8a475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14be962e735838dde6226c98880c49b34cfce740c9eeabd4970d3e31b5d8a475", kill_on_drop: false }` [INFO] [stdout] 14be962e735838dde6226c98880c49b34cfce740c9eeabd4970d3e31b5d8a475