[INFO] fetching crate keccak-rust 1.0.2... [INFO] testing keccak-rust-1.0.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate keccak-rust 1.0.2 into /workspace/builds/worker-54/source [INFO] validating manifest of crates.io crate keccak-rust 1.0.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-54/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bf6d6d270b91e929d60fe76c42a0568cfab1e9586e81fcbd50467b307224f23 [INFO] running `Command { std: "docker" "start" "-a" "8bf6d6d270b91e929d60fe76c42a0568cfab1e9586e81fcbd50467b307224f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bf6d6d270b91e929d60fe76c42a0568cfab1e9586e81fcbd50467b307224f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bf6d6d270b91e929d60fe76c42a0568cfab1e9586e81fcbd50467b307224f23", kill_on_drop: false }` [INFO] [stdout] 8bf6d6d270b91e929d60fe76c42a0568cfab1e9586e81fcbd50467b307224f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95faf9530e382934a01cb5c1db46fa206ba0cb81e7ec6b1725d229ac1150206f [INFO] running `Command { std: "docker" "start" "-a" "95faf9530e382934a01cb5c1db46fa206ba0cb81e7ec6b1725d229ac1150206f", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling keccak-rust v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.55s [INFO] running `Command { std: "docker" "inspect" "95faf9530e382934a01cb5c1db46fa206ba0cb81e7ec6b1725d229ac1150206f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95faf9530e382934a01cb5c1db46fa206ba0cb81e7ec6b1725d229ac1150206f", kill_on_drop: false }` [INFO] [stdout] 95faf9530e382934a01cb5c1db46fa206ba0cb81e7ec6b1725d229ac1150206f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 602033f27e1ca0a6fc57b5fbcebb65b00877d3f78e9a1557bf84368add096f17 [INFO] running `Command { std: "docker" "start" "-a" "602033f27e1ca0a6fc57b5fbcebb65b00877d3f78e9a1557bf84368add096f17", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling keccak-rust v1.0.2 (/opt/rustwide/workdir) [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.34s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/keccak_rust-e52c255454b222e0) [INFO] [stderr] Executable tests/tests.rs (/opt/rustwide/target/debug/deps/tests-61ba40ae1e83c192) [INFO] running `Command { std: "docker" "inspect" "602033f27e1ca0a6fc57b5fbcebb65b00877d3f78e9a1557bf84368add096f17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "602033f27e1ca0a6fc57b5fbcebb65b00877d3f78e9a1557bf84368add096f17", kill_on_drop: false }` [INFO] [stdout] 602033f27e1ca0a6fc57b5fbcebb65b00877d3f78e9a1557bf84368add096f17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54d3a904fe3d1e9fdbaac97d20761c0a4984682dd6bf31e8d45b493366fdd7bd [INFO] running `Command { std: "docker" "start" "-a" "54d3a904fe3d1e9fdbaac97d20761c0a4984682dd6bf31e8d45b493366fdd7bd", kill_on_drop: false }` [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:115:19 [INFO] [stderr] | [INFO] [stderr] 115 | keccak.append(&mut EMPTY_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const EMPTY_INPUT_BYTES: [Byte; 0] = []; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:122:19 [INFO] [stderr] | [INFO] [stderr] 122 | keccak.append(&mut SHORT_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | const SHORT_INPUT_BYTES: [Byte; 12] = [72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:129:19 [INFO] [stderr] | [INFO] [stderr] 129 | keccak.append(&mut LONG_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / const LONG_INPUT_BYTES: [Byte; 445] = [ [INFO] [stderr] 9 | | 76, 111, 114, 101, 109, 32, 105, 112, 115, 117, 109, 32, 100, 111, 108, 111, 114, 32, 115, 105, [INFO] [stderr] 10 | | 116, 32, 97, 109, 101, 116, 44, 32, 99, 111, 110, 115, 101, 99, 116, 101, 116, 117, 114, 32, [INFO] [stderr] 11 | | 97, 100, 105, 112, 105, 115, 99, 105, 110, 103, 32, 101, 108, 105, 116, 44, 32, 115, 101, 100, [INFO] [stderr] ... | [INFO] [stderr] 31 | | 114, 117, 109, 46, [INFO] [stderr] 32 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:136:19 [INFO] [stderr] | [INFO] [stderr] 136 | keccak.append(&mut EMPTY_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const EMPTY_INPUT_BYTES: [Byte; 0] = []; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:143:19 [INFO] [stderr] | [INFO] [stderr] 143 | keccak.append(&mut SHORT_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | const SHORT_INPUT_BYTES: [Byte; 12] = [72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:150:19 [INFO] [stderr] | [INFO] [stderr] 150 | keccak.append(&mut LONG_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / const LONG_INPUT_BYTES: [Byte; 445] = [ [INFO] [stderr] 9 | | 76, 111, 114, 101, 109, 32, 105, 112, 115, 117, 109, 32, 100, 111, 108, 111, 114, 32, 115, 105, [INFO] [stderr] 10 | | 116, 32, 97, 109, 101, 116, 44, 32, 99, 111, 110, 115, 101, 99, 116, 101, 116, 117, 114, 32, [INFO] [stderr] 11 | | 97, 100, 105, 112, 105, 115, 99, 105, 110, 103, 32, 101, 108, 105, 116, 44, 32, 115, 101, 100, [INFO] [stderr] ... | [INFO] [stderr] 31 | | 114, 117, 109, 46, [INFO] [stderr] 32 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:157:19 [INFO] [stderr] | [INFO] [stderr] 157 | keccak.append(&mut EMPTY_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const EMPTY_INPUT_BYTES: [Byte; 0] = []; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:164:19 [INFO] [stderr] | [INFO] [stderr] 164 | keccak.append(&mut SHORT_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | const SHORT_INPUT_BYTES: [Byte; 12] = [72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:171:19 [INFO] [stderr] | [INFO] [stderr] 171 | keccak.append(&mut LONG_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / const LONG_INPUT_BYTES: [Byte; 445] = [ [INFO] [stderr] 9 | | 76, 111, 114, 101, 109, 32, 105, 112, 115, 117, 109, 32, 100, 111, 108, 111, 114, 32, 115, 105, [INFO] [stderr] 10 | | 116, 32, 97, 109, 101, 116, 44, 32, 99, 111, 110, 115, 101, 99, 116, 101, 116, 117, 114, 32, [INFO] [stderr] 11 | | 97, 100, 105, 112, 105, 115, 99, 105, 110, 103, 32, 101, 108, 105, 116, 44, 32, 115, 101, 100, [INFO] [stderr] ... | [INFO] [stderr] 31 | | 114, 117, 109, 46, [INFO] [stderr] 32 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:178:19 [INFO] [stderr] | [INFO] [stderr] 178 | keccak.append(&mut EMPTY_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const EMPTY_INPUT_BYTES: [Byte; 0] = []; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:185:19 [INFO] [stderr] | [INFO] [stderr] 185 | keccak.append(&mut SHORT_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | const SHORT_INPUT_BYTES: [Byte; 12] = [72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> tests/tests.rs:192:19 [INFO] [stderr] | [INFO] [stderr] 192 | keccak.append(&mut LONG_INPUT_BYTES); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> tests/tests.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / const LONG_INPUT_BYTES: [Byte; 445] = [ [INFO] [stderr] 9 | | 76, 111, 114, 101, 109, 32, 105, 112, 115, 117, 109, 32, 100, 111, 108, 111, 114, 32, 115, 105, [INFO] [stderr] 10 | | 116, 32, 97, 109, 101, 116, 44, 32, 99, 111, 110, 115, 101, 99, 116, 101, 116, 117, 114, 32, [INFO] [stderr] 11 | | 97, 100, 105, 112, 105, 115, 99, 105, 110, 103, 32, 101, 108, 105, 116, 44, 32, 115, 101, 100, [INFO] [stderr] ... | [INFO] [stderr] 31 | | 114, 117, 109, 46, [INFO] [stderr] 32 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: `keccak-rust` (test "tests") generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/keccak_rust-e52c255454b222e0) [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-61ba40ae1e83c192) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test keccak224_empty_input_bytes ... ok [INFO] [stdout] test keccak256_empty_input_bytes ... ok [INFO] [stdout] test keccak224_short_input_bytes ... ok [INFO] [stdout] test keccak256_long_input_bytes ... ok [INFO] [stdout] test keccak384_long_input_bytes ... ok [INFO] [stdout] test keccak256_short_input_bytes ... ok [INFO] [stdout] test keccak224_long_input_bytes ... ok [INFO] [stdout] test keccak512_empty_input_bytes ... ok [INFO] [stdout] test keccak384_empty_input_bytes ... ok [INFO] [stdout] test keccak512_short_input_bytes ... ok [INFO] [stdout] test keccak384_short_input_bytes ... ok [INFO] [stdout] test keccak512_long_input_bytes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests keccak-rust [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - Keccak (line 93) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "54d3a904fe3d1e9fdbaac97d20761c0a4984682dd6bf31e8d45b493366fdd7bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d3a904fe3d1e9fdbaac97d20761c0a4984682dd6bf31e8d45b493366fdd7bd", kill_on_drop: false }` [INFO] [stdout] 54d3a904fe3d1e9fdbaac97d20761c0a4984682dd6bf31e8d45b493366fdd7bd