[INFO] fetching crate keccak-rust 1.0.2... [INFO] checking keccak-rust-1.0.2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate keccak-rust 1.0.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate keccak-rust 1.0.2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate keccak-rust 1.0.2 [INFO] finished tweaking crates.io crate keccak-rust 1.0.2 [INFO] tweaked toml for crates.io crate keccak-rust 1.0.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22aff82cff32f036f1fbef58c48cafe50d5a59532f526e35df3e7174b3277932 [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" "22aff82cff32f036f1fbef58c48cafe50d5a59532f526e35df3e7174b3277932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22aff82cff32f036f1fbef58c48cafe50d5a59532f526e35df3e7174b3277932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22aff82cff32f036f1fbef58c48cafe50d5a59532f526e35df3e7174b3277932", kill_on_drop: false }` [INFO] [stdout] 22aff82cff32f036f1fbef58c48cafe50d5a59532f526e35df3e7174b3277932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 47146084b0062fbd406e22ae39a80de3fa6594592b3044a1fd1a0d82418adae5 [INFO] running `Command { std: "docker" "start" "-a" "47146084b0062fbd406e22ae39a80de3fa6594592b3044a1fd1a0d82418adae5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking keccak-rust v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | keccak.append(&mut EMPTY_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const EMPTY_INPUT_BYTES: [Byte; 0] = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | keccak.append(&mut SHORT_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const SHORT_INPUT_BYTES: [Byte; 12] = [72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | keccak.append(&mut LONG_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const LONG_INPUT_BYTES: [Byte; 445] = [ [INFO] [stdout] 9 | | 76, 111, 114, 101, 109, 32, 105, 112, 115, 117, 109, 32, 100, 111, 108, 111, 114, 32, 115, 105, [INFO] [stdout] 10 | | 116, 32, 97, 109, 101, 116, 44, 32, 99, 111, 110, 115, 101, 99, 116, 101, 116, 117, 114, 32, [INFO] [stdout] 11 | | 97, 100, 105, 112, 105, 115, 99, 105, 110, 103, 32, 101, 108, 105, 116, 44, 32, 115, 101, 100, [INFO] [stdout] ... | [INFO] [stdout] 31 | | 114, 117, 109, 46, [INFO] [stdout] 32 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | keccak.append(&mut EMPTY_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const EMPTY_INPUT_BYTES: [Byte; 0] = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | keccak.append(&mut SHORT_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const SHORT_INPUT_BYTES: [Byte; 12] = [72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | keccak.append(&mut LONG_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const LONG_INPUT_BYTES: [Byte; 445] = [ [INFO] [stdout] 9 | | 76, 111, 114, 101, 109, 32, 105, 112, 115, 117, 109, 32, 100, 111, 108, 111, 114, 32, 115, 105, [INFO] [stdout] 10 | | 116, 32, 97, 109, 101, 116, 44, 32, 99, 111, 110, 115, 101, 99, 116, 101, 116, 117, 114, 32, [INFO] [stdout] 11 | | 97, 100, 105, 112, 105, 115, 99, 105, 110, 103, 32, 101, 108, 105, 116, 44, 32, 115, 101, 100, [INFO] [stdout] ... | [INFO] [stdout] 31 | | 114, 117, 109, 46, [INFO] [stdout] 32 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | keccak.append(&mut EMPTY_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const EMPTY_INPUT_BYTES: [Byte; 0] = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | keccak.append(&mut SHORT_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const SHORT_INPUT_BYTES: [Byte; 12] = [72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | keccak.append(&mut LONG_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const LONG_INPUT_BYTES: [Byte; 445] = [ [INFO] [stdout] 9 | | 76, 111, 114, 101, 109, 32, 105, 112, 115, 117, 109, 32, 100, 111, 108, 111, 114, 32, 115, 105, [INFO] [stdout] 10 | | 116, 32, 97, 109, 101, 116, 44, 32, 99, 111, 110, 115, 101, 99, 116, 101, 116, 117, 114, 32, [INFO] [stdout] 11 | | 97, 100, 105, 112, 105, 115, 99, 105, 110, 103, 32, 101, 108, 105, 116, 44, 32, 115, 101, 100, [INFO] [stdout] ... | [INFO] [stdout] 31 | | 114, 117, 109, 46, [INFO] [stdout] 32 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | keccak.append(&mut EMPTY_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const EMPTY_INPUT_BYTES: [Byte; 0] = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | keccak.append(&mut SHORT_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | const SHORT_INPUT_BYTES: [Byte; 12] = [72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/tests.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | keccak.append(&mut LONG_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> tests/tests.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const LONG_INPUT_BYTES: [Byte; 445] = [ [INFO] [stdout] 9 | | 76, 111, 114, 101, 109, 32, 105, 112, 115, 117, 109, 32, 100, 111, 108, 111, 114, 32, 115, 105, [INFO] [stdout] 10 | | 116, 32, 97, 109, 101, 116, 44, 32, 99, 111, 110, 115, 101, 99, 116, 101, 116, 117, 114, 32, [INFO] [stdout] 11 | | 97, 100, 105, 112, 105, 115, 99, 105, 110, 103, 32, 101, 108, 105, 116, 44, 32, 115, 101, 100, [INFO] [stdout] ... | [INFO] [stdout] 31 | | 114, 117, 109, 46, [INFO] [stdout] 32 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> benches/benches.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | keccak.append(&mut LONG_INPUT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> benches/benches.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / const LONG_INPUT_BYTES: [Byte; 445] = [ [INFO] [stdout] 7 | | 76, 111, 114, 101, 109, 32, 105, 112, 115, 117, 109, 32, 100, 111, 108, 111, 114, 32, 115, 105, [INFO] [stdout] 8 | | 116, 32, 97, 109, 101, 116, 44, 32, 99, 111, 110, 115, 101, 99, 116, 101, 116, 117, 114, 32, [INFO] [stdout] 9 | | 97, 100, 105, 112, 105, 115, 99, 105, 110, 103, 32, 101, 108, 105, 116, 44, 32, 115, 101, 100, [INFO] [stdout] ... | [INFO] [stdout] 29 | | 114, 117, 109, 46, [INFO] [stdout] 30 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.53s [INFO] running `Command { std: "docker" "inspect" "47146084b0062fbd406e22ae39a80de3fa6594592b3044a1fd1a0d82418adae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47146084b0062fbd406e22ae39a80de3fa6594592b3044a1fd1a0d82418adae5", kill_on_drop: false }` [INFO] [stdout] 47146084b0062fbd406e22ae39a80de3fa6594592b3044a1fd1a0d82418adae5