[INFO] fetching crate keccak-rust 1.0.2... [INFO] testing keccak-rust-1.0.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate keccak-rust 1.0.2 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate keccak-rust 1.0.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 896b3c1e195138b0630c628558134c2a2fe869006fc9a5548a494671606d6166 [INFO] running `Command { std: "docker" "start" "-a" "896b3c1e195138b0630c628558134c2a2fe869006fc9a5548a494671606d6166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "896b3c1e195138b0630c628558134c2a2fe869006fc9a5548a494671606d6166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896b3c1e195138b0630c628558134c2a2fe869006fc9a5548a494671606d6166", kill_on_drop: false }` [INFO] [stdout] 896b3c1e195138b0630c628558134c2a2fe869006fc9a5548a494671606d6166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24746d317869696ba15245f2bba988679ab995c930eceef3a2563df1c5634624 [INFO] running `Command { std: "docker" "start" "-a" "24746d317869696ba15245f2bba988679ab995c930eceef3a2563df1c5634624", kill_on_drop: false }` [INFO] [stderr] Compiling keccak-rust v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "24746d317869696ba15245f2bba988679ab995c930eceef3a2563df1c5634624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24746d317869696ba15245f2bba988679ab995c930eceef3a2563df1c5634624", kill_on_drop: false }` [INFO] [stdout] 24746d317869696ba15245f2bba988679ab995c930eceef3a2563df1c5634624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be8060e9cb6f34729e88df811b2a1d0c6227c81a68958c435e14f38c31f91ae1 [INFO] running `Command { std: "docker" "start" "-a" "be8060e9cb6f34729e88df811b2a1d0c6227c81a68958c435e14f38c31f91ae1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling criterion v0.3.6 [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: 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] = note: `#[warn(const_item_mutation)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.48s [INFO] running `Command { std: "docker" "inspect" "be8060e9cb6f34729e88df811b2a1d0c6227c81a68958c435e14f38c31f91ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be8060e9cb6f34729e88df811b2a1d0c6227c81a68958c435e14f38c31f91ae1", kill_on_drop: false }` [INFO] [stdout] be8060e9cb6f34729e88df811b2a1d0c6227c81a68958c435e14f38c31f91ae1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 835c4ecd88856a2443aef94125cc01b1eed25eaf5e840525a4f18f93b2986cea [INFO] running `Command { std: "docker" "start" "-a" "835c4ecd88856a2443aef94125cc01b1eed25eaf5e840525a4f18f93b2986cea", 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: 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] = note: `#[warn(const_item_mutation)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `keccak-rust` (test "tests") generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/keccak_rust-bf243c974f97fe3f) [INFO] [stdout] [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] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-10ccdaa850237d9f) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test keccak224_long_input_bytes ... ok [INFO] [stdout] test keccak256_short_input_bytes ... ok [INFO] [stdout] test keccak256_empty_input_bytes ... ok [INFO] [stdout] test keccak256_long_input_bytes ... ok [INFO] [stdout] test keccak384_short_input_bytes ... ok [INFO] [stdout] test keccak384_empty_input_bytes ... ok [INFO] [stdout] test keccak224_short_input_bytes ... ok [INFO] [stdout] test keccak224_empty_input_bytes ... ok [INFO] [stdout] test keccak384_long_input_bytes ... ok [INFO] [stdout] test keccak512_short_input_bytes ... ok [INFO] [stdout] test keccak512_empty_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.01s [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.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "835c4ecd88856a2443aef94125cc01b1eed25eaf5e840525a4f18f93b2986cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835c4ecd88856a2443aef94125cc01b1eed25eaf5e840525a4f18f93b2986cea", kill_on_drop: false }` [INFO] [stdout] 835c4ecd88856a2443aef94125cc01b1eed25eaf5e840525a4f18f93b2986cea