[INFO] fetching crate keccak-rust 1.0.2... [INFO] testing keccak-rust-1.0.2 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [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 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a022fd76b62c1e85ba8b76c0a3102121459e268c1094e01759378afa90b7e663 [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" "a022fd76b62c1e85ba8b76c0a3102121459e268c1094e01759378afa90b7e663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a022fd76b62c1e85ba8b76c0a3102121459e268c1094e01759378afa90b7e663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a022fd76b62c1e85ba8b76c0a3102121459e268c1094e01759378afa90b7e663", kill_on_drop: false }` [INFO] [stdout] a022fd76b62c1e85ba8b76c0a3102121459e268c1094e01759378afa90b7e663 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8251434964c0db54605051a5e3237eaa08d1ca9c3890635ceb35196dc601e2f5 [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" "8251434964c0db54605051a5e3237eaa08d1ca9c3890635ceb35196dc601e2f5", 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 2.07s [INFO] running `Command { std: "docker" "inspect" "8251434964c0db54605051a5e3237eaa08d1ca9c3890635ceb35196dc601e2f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8251434964c0db54605051a5e3237eaa08d1ca9c3890635ceb35196dc601e2f5", kill_on_drop: false }` [INFO] [stdout] 8251434964c0db54605051a5e3237eaa08d1ca9c3890635ceb35196dc601e2f5 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--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] ef93410afed329a4472a6f46bde366f44723f6bd4965da08622c8b07e7f9c817 [INFO] running `Command { std: "docker" "start" "-a" "ef93410afed329a4472a6f46bde366f44723f6bd4965da08622c8b07e7f9c817", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.4 [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 1m 38s [INFO] running `Command { std: "docker" "inspect" "ef93410afed329a4472a6f46bde366f44723f6bd4965da08622c8b07e7f9c817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef93410afed329a4472a6f46bde366f44723f6bd4965da08622c8b07e7f9c817", kill_on_drop: false }` [INFO] [stdout] ef93410afed329a4472a6f46bde366f44723f6bd4965da08622c8b07e7f9c817 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f325ca7b93adcce1a6314d0c2db250612b8874e5d43f297c12547c696307fea [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" "8f325ca7b93adcce1a6314d0c2db250612b8874e5d43f297c12547c696307fea", 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: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/keccak_rust-bf515745219e3b2e) [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-b40ae6525c5ee906) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test keccak224_long_input_bytes ... ok [INFO] [stdout] test keccak224_short_input_bytes ... ok [INFO] [stderr] Doc-tests keccak-rust [INFO] [stdout] test keccak384_short_input_bytes ... ok [INFO] [stdout] test keccak512_empty_input_bytes ... ok [INFO] [stdout] test keccak512_short_input_bytes ... ok [INFO] [stdout] test keccak384_empty_input_bytes ... ok [INFO] [stdout] test keccak256_short_input_bytes ... ok [INFO] [stdout] test keccak256_long_input_bytes ... ok [INFO] [stdout] test keccak256_empty_input_bytes ... ok [INFO] [stdout] test keccak512_long_input_bytes ... ok [INFO] [stdout] test keccak384_long_input_bytes ... ok [INFO] [stdout] test keccak224_empty_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] [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.75s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8f325ca7b93adcce1a6314d0c2db250612b8874e5d43f297c12547c696307fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f325ca7b93adcce1a6314d0c2db250612b8874e5d43f297c12547c696307fea", kill_on_drop: false }` [INFO] [stdout] 8f325ca7b93adcce1a6314d0c2db250612b8874e5d43f297c12547c696307fea