[INFO] cloning repository https://github.com/thor314/sha2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thor314/sha2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthor314%2Fsha2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthor314%2Fsha2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71425bac595e2312712fbf09f63bb3621dae270d [INFO] testing thor314/sha2 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthor314%2Fsha2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thor314/sha2 [INFO] finished tweaking git repo https://github.com/thor314/sha2 [INFO] tweaked toml for git repo https://github.com/thor314/sha2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thor314/sha2 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thor314/sha2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing thor314/sha2 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthor314%2Fsha2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thor314/sha2 [INFO] finished tweaking git repo https://github.com/thor314/sha2 [INFO] tweaked toml for git repo https://github.com/thor314/sha2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thor314/sha2 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thor314/sha2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blobby v0.3.1 [INFO] [stderr] Downloaded hex-literal-impl v0.2.3 [INFO] [stderr] Downloaded sha2-asm v0.6.2 [INFO] [stderr] Downloaded hex-literal v0.2.2 [INFO] [stderr] Downloaded libc v0.2.122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a667c747be90d9b15205c95fc304bebd7ddea7b09cbb6c846061520c4b610615 [INFO] running `Command { std: "docker" "start" "-a" "a667c747be90d9b15205c95fc304bebd7ddea7b09cbb6c846061520c4b610615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a667c747be90d9b15205c95fc304bebd7ddea7b09cbb6c846061520c4b610615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a667c747be90d9b15205c95fc304bebd7ddea7b09cbb6c846061520c4b610615", kill_on_drop: false }` [INFO] [stdout] a667c747be90d9b15205c95fc304bebd7ddea7b09cbb6c846061520c4b610615 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b803d6e50fe0fadd6a8dcc562c9523c4ccd8a083eb0e8359094c4cab44506cf [INFO] running `Command { std: "docker" "start" "-a" "6b803d6e50fe0fadd6a8dcc562c9523c4ccd8a083eb0e8359094c4cab44506cf", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `force-soft` [INFO] [stdout] --> src/sha256.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | if #[cfg(feature = "force-soft")] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `force-soft` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/sha256.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(feature = "asm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/sha256.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "asm")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/sha256.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | } else if #[cfg(all(feature = "asm", target_arch = "aarch64"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATE_LEN` is never used [INFO] [stdout] --> src/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const STATE_LEN: usize = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_LEN` is never used [INFO] [stdout] --> src/consts.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BLOCK_LEN: usize = 16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `State256` is never used [INFO] [stdout] --> src/consts.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type State256 = [u32; STATE_LEN]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `State512` is never used [INFO] [stdout] --> src/consts.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type State512 = [u64; STATE_LEN]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K32` is never used [INFO] [stdout] --> src/consts.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const K32: [u32; 64] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K32X4` is never used [INFO] [stdout] --> src/consts.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const K32X4: [[u32; 4]; 16] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K64` is never used [INFO] [stdout] --> src/consts.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const K64: [u64; 80] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K64X2` is never used [INFO] [stdout] --> src/consts.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | pub const K64X2: [[u64; 2]; 40] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H256_224` is never used [INFO] [stdout] --> src/consts.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | pub const H256_224: State256 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H256_256` is never used [INFO] [stdout] --> src/consts.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | pub const H256_256: State256 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H512_224` is never used [INFO] [stdout] --> src/consts.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | pub const H512_224: State512 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H512_256` is never used [INFO] [stdout] --> src/consts.rs:186:11 [INFO] [stdout] | [INFO] [stdout] 186 | pub const H512_256: State512 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H512_384` is never used [INFO] [stdout] --> src/consts.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | pub const H512_384: State512 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H512_512` is never used [INFO] [stdout] --> src/consts.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 208 | pub const H512_512: State512 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sha256VarCore` is never constructed [INFO] [stdout] --> src/core_api.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Sha256VarCore { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress256` is never used [INFO] [stdout] --> src/sha256.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn compress256(state: &mut [u32; 8], blocks: &[GenericArray]){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shl` is never used [INFO] [stdout] --> src/sha256/soft.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn shl(v: [u32; 4], o: u32) -> [u32; 4] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shr` is never used [INFO] [stdout] --> src/sha256/soft.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn shr(v: [u32; 4], o: u32) -> [u32; 4] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/sha256/soft.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn or(a: [u32; 4], b: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor` is never used [INFO] [stdout] --> src/sha256/soft.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn xor(a: [u32; 4], b: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/sha256/soft.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn add(a: [u32; 4], b: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256load` is never used [INFO] [stdout] --> src/sha256/soft.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn sha256load(v2: [u32; 4], v3: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256swap` is never used [INFO] [stdout] --> src/sha256/soft.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn sha256swap(v0: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256msg1` is never used [INFO] [stdout] --> src/sha256/soft.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn sha256msg1(v0: [u32; 4], v1: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256msg2` is never used [INFO] [stdout] --> src/sha256/soft.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn sha256msg2(v4: [u32; 4], v3: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256_digest_round_x2` is never used [INFO] [stdout] --> src/sha256/soft.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn sha256_digest_round_x2(cdgh: [u32; 4], abef: [u32; 4], wk: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schedule` is never used [INFO] [stdout] --> src/sha256/soft.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn schedule(v0: [u32; 4], v1: [u32; 4], v2: [u32; 4], v3: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256_digest_block_u32` is never used [INFO] [stdout] --> src/sha256/soft.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn sha256_digest_block_u32(state: &mut [u32; 8], block: &[u32; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress` is never used [INFO] [stdout] --> src/sha256/soft.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn compress(state: &mut [u32; 8], blocks: &[[u8; 64]]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schedule` is never used [INFO] [stdout] --> src/sha256/x86.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn schedule(v0: __m128i, v1: __m128i, v2: __m128i, v3: __m128i) -> __m128i { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `digest_blocks` is never used [INFO] [stdout] --> src/sha256/x86.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe fn digest_blocks(state: &mut [u32; 8], blocks: &[[u8; 64]]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress` is never used [INFO] [stdout] --> src/sha256/x86.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn compress(state: &mut [u32; 8], blocks: &[[u8; 64]]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.46s [INFO] running `Command { std: "docker" "inspect" "6b803d6e50fe0fadd6a8dcc562c9523c4ccd8a083eb0e8359094c4cab44506cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b803d6e50fe0fadd6a8dcc562c9523c4ccd8a083eb0e8359094c4cab44506cf", kill_on_drop: false }` [INFO] [stdout] 6b803d6e50fe0fadd6a8dcc562c9523c4ccd8a083eb0e8359094c4cab44506cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e471eebd6e80f90f3c24c499e200a5fff8d1b6d45d2856fbc6cad2e8d5aa8fd [INFO] running `Command { std: "docker" "start" "-a" "6e471eebd6e80f90f3c24c499e200a5fff8d1b6d45d2856fbc6cad2e8d5aa8fd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling blobby v0.3.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `force-soft` [INFO] [stdout] --> src/sha256.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | if #[cfg(feature = "force-soft")] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `force-soft` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/sha256.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(feature = "asm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/sha256.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "asm")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/sha256.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | } else if #[cfg(all(feature = "asm", target_arch = "aarch64"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATE_LEN` is never used [INFO] [stdout] --> src/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const STATE_LEN: usize = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_LEN` is never used [INFO] [stdout] --> src/consts.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BLOCK_LEN: usize = 16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `State256` is never used [INFO] [stdout] --> src/consts.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type State256 = [u32; STATE_LEN]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `State512` is never used [INFO] [stdout] --> src/consts.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type State512 = [u64; STATE_LEN]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K32` is never used [INFO] [stdout] --> src/consts.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const K32: [u32; 64] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K32X4` is never used [INFO] [stdout] --> src/consts.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const K32X4: [[u32; 4]; 16] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K64` is never used [INFO] [stdout] --> src/consts.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const K64: [u64; 80] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K64X2` is never used [INFO] [stdout] --> src/consts.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | pub const K64X2: [[u64; 2]; 40] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H256_224` is never used [INFO] [stdout] --> src/consts.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | pub const H256_224: State256 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H256_256` is never used [INFO] [stdout] --> src/consts.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | pub const H256_256: State256 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H512_224` is never used [INFO] [stdout] --> src/consts.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | pub const H512_224: State512 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H512_256` is never used [INFO] [stdout] --> src/consts.rs:186:11 [INFO] [stdout] | [INFO] [stdout] 186 | pub const H512_256: State512 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H512_384` is never used [INFO] [stdout] --> src/consts.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | pub const H512_384: State512 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H512_512` is never used [INFO] [stdout] --> src/consts.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 208 | pub const H512_512: State512 = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sha256VarCore` is never constructed [INFO] [stdout] --> src/core_api.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Sha256VarCore { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress256` is never used [INFO] [stdout] --> src/sha256.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn compress256(state: &mut [u32; 8], blocks: &[GenericArray]){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shl` is never used [INFO] [stdout] --> src/sha256/soft.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn shl(v: [u32; 4], o: u32) -> [u32; 4] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shr` is never used [INFO] [stdout] --> src/sha256/soft.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn shr(v: [u32; 4], o: u32) -> [u32; 4] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/sha256/soft.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn or(a: [u32; 4], b: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor` is never used [INFO] [stdout] --> src/sha256/soft.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn xor(a: [u32; 4], b: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/sha256/soft.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn add(a: [u32; 4], b: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256load` is never used [INFO] [stdout] --> src/sha256/soft.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn sha256load(v2: [u32; 4], v3: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256swap` is never used [INFO] [stdout] --> src/sha256/soft.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn sha256swap(v0: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256msg1` is never used [INFO] [stdout] --> src/sha256/soft.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn sha256msg1(v0: [u32; 4], v1: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256msg2` is never used [INFO] [stdout] --> src/sha256/soft.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn sha256msg2(v4: [u32; 4], v3: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256_digest_round_x2` is never used [INFO] [stdout] --> src/sha256/soft.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn sha256_digest_round_x2(cdgh: [u32; 4], abef: [u32; 4], wk: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schedule` is never used [INFO] [stdout] --> src/sha256/soft.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn schedule(v0: [u32; 4], v1: [u32; 4], v2: [u32; 4], v3: [u32; 4]) -> [u32; 4] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256_digest_block_u32` is never used [INFO] [stdout] --> src/sha256/soft.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn sha256_digest_block_u32(state: &mut [u32; 8], block: &[u32; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress` is never used [INFO] [stdout] --> src/sha256/soft.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn compress(state: &mut [u32; 8], blocks: &[[u8; 64]]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schedule` is never used [INFO] [stdout] --> src/sha256/x86.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe fn schedule(v0: __m128i, v1: __m128i, v2: __m128i, v3: __m128i) -> __m128i { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `digest_blocks` is never used [INFO] [stdout] --> src/sha256/x86.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe fn digest_blocks(state: &mut [u32; 8], blocks: &[[u8; 64]]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress` is never used [INFO] [stdout] --> src/sha256/x86.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn compress(state: &mut [u32; 8], blocks: &[[u8; 64]]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hex-literal-impl v0.2.3 [INFO] [stderr] Compiling hex-literal v0.2.2 [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `force-soft` [INFO] [stdout] --> src/sha256.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | if #[cfg(feature = "force-soft")] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `force-soft` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/sha256.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(feature = "asm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/sha256.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "asm")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/sha256.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | } else if #[cfg(all(feature = "asm", target_arch = "aarch64"))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `sha2-asm` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sha256` [INFO] [stdout] --> src/lib.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let mut hasher = Sha256::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Sha256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sha2` (lib test) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e471eebd6e80f90f3c24c499e200a5fff8d1b6d45d2856fbc6cad2e8d5aa8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e471eebd6e80f90f3c24c499e200a5fff8d1b6d45d2856fbc6cad2e8d5aa8fd", kill_on_drop: false }` [INFO] [stdout] 6e471eebd6e80f90f3c24c499e200a5fff8d1b6d45d2856fbc6cad2e8d5aa8fd