[INFO] fetching crate keccak-rust 1.0.2... [INFO] testing keccak-rust-1.0.2 against 1.55.0 for beta-1.56-1 [INFO] extracting crate keccak-rust 1.0.2 into /workspace/builds/worker-35/source [INFO] validating manifest of crates.io crate keccak-rust 1.0.2 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-35/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92614592632facf8f307a29e369d41d9eb84c396437b532af4de90b8efef154b [INFO] running `Command { std: "docker" "start" "-a" "92614592632facf8f307a29e369d41d9eb84c396437b532af4de90b8efef154b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92614592632facf8f307a29e369d41d9eb84c396437b532af4de90b8efef154b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92614592632facf8f307a29e369d41d9eb84c396437b532af4de90b8efef154b", kill_on_drop: false }` [INFO] [stdout] 92614592632facf8f307a29e369d41d9eb84c396437b532af4de90b8efef154b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cd387629cf0aaa5dbc92d3a9ae2a32112d8f57a963ef06e01968735b1e978d9 [INFO] running `Command { std: "docker" "start" "-a" "7cd387629cf0aaa5dbc92d3a9ae2a32112d8f57a963ef06e01968735b1e978d9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 1.64s [INFO] running `Command { std: "docker" "inspect" "7cd387629cf0aaa5dbc92d3a9ae2a32112d8f57a963ef06e01968735b1e978d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd387629cf0aaa5dbc92d3a9ae2a32112d8f57a963ef06e01968735b1e978d9", kill_on_drop: false }` [INFO] [stdout] 7cd387629cf0aaa5dbc92d3a9ae2a32112d8f57a963ef06e01968735b1e978d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a853187f9c4fed3cb883d7202e61eeb751c39fe48a9df3069ed4d3d40a04ef32 [INFO] running `Command { std: "docker" "start" "-a" "a853187f9c4fed3cb883d7202e61eeb751c39fe48a9df3069ed4d3d40a04ef32", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling bstr v0.2.16 [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 28.19s [INFO] running `Command { std: "docker" "inspect" "a853187f9c4fed3cb883d7202e61eeb751c39fe48a9df3069ed4d3d40a04ef32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a853187f9c4fed3cb883d7202e61eeb751c39fe48a9df3069ed4d3d40a04ef32", kill_on_drop: false }` [INFO] [stdout] a853187f9c4fed3cb883d7202e61eeb751c39fe48a9df3069ed4d3d40a04ef32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97af6726ea5a1591a7bbc438173a207ca98cb49c95e56f6a819e5b62aa03d674 [INFO] running `Command { std: "docker" "start" "-a" "97af6726ea5a1591a7bbc438173a207ca98cb49c95e56f6a819e5b62aa03d674", 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.49s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/keccak_rust-5f3ca5ade554e35a) [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-59ab7fc749d1f333) [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 keccak224_short_input_bytes ... ok [INFO] [stdout] test keccak224_long_input_bytes ... ok [INFO] [stdout] test keccak256_empty_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 keccak384_empty_input_bytes ... ok [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] [stderr] Doc-tests keccak-rust [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.17s [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.82s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "97af6726ea5a1591a7bbc438173a207ca98cb49c95e56f6a819e5b62aa03d674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97af6726ea5a1591a7bbc438173a207ca98cb49c95e56f6a819e5b62aa03d674", kill_on_drop: false }` [INFO] [stdout] 97af6726ea5a1591a7bbc438173a207ca98cb49c95e56f6a819e5b62aa03d674