[INFO] fetching crate const-sha1 0.1.1... [INFO] checking const-sha1-0.1.1 against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] extracting crate const-sha1 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate const-sha1 0.1.1 on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate const-sha1 0.1.1 [INFO] finished tweaking crates.io crate const-sha1 0.1.1 [INFO] tweaked toml for crates.io crate const-sha1 0.1.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13f46cc33b5f24b5319019f7534435e6300e0b02063c4ee83a0cdfae6055352b [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" "13f46cc33b5f24b5319019f7534435e6300e0b02063c4ee83a0cdfae6055352b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13f46cc33b5f24b5319019f7534435e6300e0b02063c4ee83a0cdfae6055352b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13f46cc33b5f24b5319019f7534435e6300e0b02063c4ee83a0cdfae6055352b", kill_on_drop: false }` [INFO] [stdout] 13f46cc33b5f24b5319019f7534435e6300e0b02063c4ee83a0cdfae6055352b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e7abc3e1ca338cc5d163f4bb52d592c9dba312a10c4c5b49b0a487fb733b86f [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" "0e7abc3e1ca338cc5d163f4bb52d592c9dba312a10c4c5b49b0a487fb733b86f", kill_on_drop: false }` [INFO] [stderr] Checking const-sha1 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / while i < data.len() { [INFO] [stdout] 73 | | if data.len() - i >= 64 { [INFO] [stdout] 74 | | let chunk_block = as_block(data, i); [INFO] [stdout] 75 | | len = 16 * 4; [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / if data.len() - i >= 64 { [INFO] [stdout] 74 | | let chunk_block = as_block(data, i); [INFO] [stdout] 75 | | len = 16 * 4; [INFO] [stdout] 76 | | state = process_state(state, chunk_block); [INFO] [stdout] ... | [INFO] [stdout] 82 | | break; [INFO] [stdout] 83 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / while i != 16 { [INFO] [stdout] 47 | | let off = offset + (i * 4); [INFO] [stdout] 48 | | result[i] = (input[off + 3] as u32) [INFO] [stdout] 49 | | | ((input[off + 2] as u32) << 8) [INFO] [stdout] ... | [INFO] [stdout] 52 | | i += 1; [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / while i < num_elems { [INFO] [stdout] 65 | | data[i] = slice[offset + i]; [INFO] [stdout] 66 | | i += 1; [INFO] [stdout] 67 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | / if blocklen < 56 { [INFO] [stdout] 239 | | last = clone_slice_128(last, &extra, 56); [INFO] [stdout] 240 | | state = process_state(state, as_block(&last, 0)); [INFO] [stdout] 241 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 244 | | state = process_state(state, as_block(&last, 64)); [INFO] [stdout] 245 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / while i < num_elems { [INFO] [stdout] 192 | | data[i] = slice[offset + i]; [INFO] [stdout] 193 | | i += 1; [INFO] [stdout] 194 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | / while i < slice.len() { [INFO] [stdout] 201 | | data[offset + i] = slice[i]; [INFO] [stdout] 202 | | i += 1; [INFO] [stdout] 203 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | / while i != 16 { [INFO] [stdout] 212 | | let off = offset + (i * 4); [INFO] [stdout] 213 | | result[i] = (input[off + 3] as u32) [INFO] [stdout] 214 | | | ((input[off + 2] as u32) << 8) [INFO] [stdout] ... | [INFO] [stdout] 217 | | i += 1; [INFO] [stdout] 218 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const-sha1`. [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / while i < data.len() { [INFO] [stdout] 73 | | if data.len() - i >= 64 { [INFO] [stdout] 74 | | let chunk_block = as_block(data, i); [INFO] [stdout] 75 | | len = 16 * 4; [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / if data.len() - i >= 64 { [INFO] [stdout] 74 | | let chunk_block = as_block(data, i); [INFO] [stdout] 75 | | len = 16 * 4; [INFO] [stdout] 76 | | state = process_state(state, chunk_block); [INFO] [stdout] ... | [INFO] [stdout] 82 | | break; [INFO] [stdout] 83 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / while i != 16 { [INFO] [stdout] 47 | | let off = offset + (i * 4); [INFO] [stdout] 48 | | result[i] = (input[off + 3] as u32) [INFO] [stdout] 49 | | | ((input[off + 2] as u32) << 8) [INFO] [stdout] ... | [INFO] [stdout] 52 | | i += 1; [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / while i < num_elems { [INFO] [stdout] 65 | | data[i] = slice[offset + i]; [INFO] [stdout] 66 | | i += 1; [INFO] [stdout] 67 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | / if blocklen < 56 { [INFO] [stdout] 239 | | last = clone_slice_128(last, &extra, 56); [INFO] [stdout] 240 | | state = process_state(state, as_block(&last, 0)); [INFO] [stdout] 241 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 244 | | state = process_state(state, as_block(&last, 64)); [INFO] [stdout] 245 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / while i < num_elems { [INFO] [stdout] 192 | | data[i] = slice[offset + i]; [INFO] [stdout] 193 | | i += 1; [INFO] [stdout] 194 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | / while i < slice.len() { [INFO] [stdout] 201 | | data[offset + i] = slice[i]; [INFO] [stdout] 202 | | i += 1; [INFO] [stdout] 203 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `while` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | / while i != 16 { [INFO] [stdout] 212 | | let off = offset + (i * 4); [INFO] [stdout] 213 | | result[i] = (input[off + 3] as u32) [INFO] [stdout] 214 | | | ((input[off + 2] as u32) << 8) [INFO] [stdout] ... | [INFO] [stdout] 217 | | i += 1; [INFO] [stdout] 218 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] = help: add `#![feature(const_loop)]` to the crate attributes to enable [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0e7abc3e1ca338cc5d163f4bb52d592c9dba312a10c4c5b49b0a487fb733b86f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7abc3e1ca338cc5d163f4bb52d592c9dba312a10c4c5b49b0a487fb733b86f", kill_on_drop: false }` [INFO] [stdout] 0e7abc3e1ca338cc5d163f4bb52d592c9dba312a10c4c5b49b0a487fb733b86f