[INFO] fetching crate hash-algorithms 0.1.0... [INFO] checking hash-algorithms-0.1.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate hash-algorithms 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate hash-algorithms 0.1.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c19b3b1d4174a40be27de946fa8b4a36b58a616c839a6c6a35661585180b48ee [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c19b3b1d4174a40be27de946fa8b4a36b58a616c839a6c6a35661585180b48ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c19b3b1d4174a40be27de946fa8b4a36b58a616c839a6c6a35661585180b48ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c19b3b1d4174a40be27de946fa8b4a36b58a616c839a6c6a35661585180b48ee", kill_on_drop: false }` [INFO] [stdout] c19b3b1d4174a40be27de946fa8b4a36b58a616c839a6c6a35661585180b48ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 421e379ff3f6c3b2b94905e8b30fdc40a2693f95ef3cebcf83a450eb4357c21b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "421e379ff3f6c3b2b94905e8b30fdc40a2693f95ef3cebcf83a450eb4357c21b", kill_on_drop: false }` [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: 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: 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "421e379ff3f6c3b2b94905e8b30fdc40a2693f95ef3cebcf83a450eb4357c21b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421e379ff3f6c3b2b94905e8b30fdc40a2693f95ef3cebcf83a450eb4357c21b", kill_on_drop: false }` [INFO] [stdout] 421e379ff3f6c3b2b94905e8b30fdc40a2693f95ef3cebcf83a450eb4357c21b