[INFO] fetching crate trezor-crypto-sys 0.1.2... [INFO] building trezor-crypto-sys-0.1.2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate trezor-crypto-sys 0.1.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate trezor-crypto-sys 0.1.2 [INFO] finished tweaking crates.io crate trezor-crypto-sys 0.1.2 [INFO] tweaked toml for crates.io crate trezor-crypto-sys 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trezor-crypto-sys 0.1.2 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.59.2 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9bec8449f902f9fffc87d756029b0080bb46cf8ddadac204785352c5ee44011 [INFO] running `Command { std: "docker" "start" "-a" "b9bec8449f902f9fffc87d756029b0080bb46cf8ddadac204785352c5ee44011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9bec8449f902f9fffc87d756029b0080bb46cf8ddadac204785352c5ee44011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9bec8449f902f9fffc87d756029b0080bb46cf8ddadac204785352c5ee44011", kill_on_drop: false }` [INFO] [stdout] b9bec8449f902f9fffc87d756029b0080bb46cf8ddadac204785352c5ee44011 [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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92c002c579ce9006708dfcdc73edc1a2f7c4e42f431864a227421523a6b68af1 [INFO] running `Command { std: "docker" "start" "-a" "92c002c579ce9006708dfcdc73edc1a2f7c4e42f431864a227421523a6b68af1", kill_on_drop: false }` [INFO] [stderr] Compiling trezor-crypto-sys v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/rand.c:28:9: note: '#pragma message: NOT SUITABLE FOR PRODUCTION USE! Replace random32() function with your own secure code.' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 28 | #pragma message( \ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:580:46: warning: argument 2 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 580 | void sha1_Final(SHA1_CTX* context, sha2_byte digest[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: In file included from trezor-firmware/crypto/sha2.c:33: [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:95:28: note: previously declared as 'uint8_t[20]' {aka 'unsigned char[20]'} [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 95 | void sha1_Final(SHA1_CTX*, uint8_t[SHA1_DIGEST_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:634:40: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 634 | char *sha1_End(SHA1_CTX* context, char buffer[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:96:27: note: previously declared as 'char[41]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 96 | char* sha1_End(SHA1_CTX*, char[SHA1_DIGEST_STRING_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:887:50: warning: argument 2 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 887 | void sha256_Final(SHA256_CTX* context, sha2_byte digest[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:103:32: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 103 | void sha256_Final(SHA256_CTX*, uint8_t[SHA256_DIGEST_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:941:44: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 941 | char *sha256_End(SHA256_CTX* context, char buffer[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:104:31: note: previously declared as 'char[65]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 104 | char* sha256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:1231:50: warning: argument 2 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 1231 | void sha512_Final(SHA512_CTX* context, sha2_byte digest[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:111:32: note: previously declared as 'uint8_t[64]' {aka 'unsigned char[64]'} [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 111 | void sha512_Final(SHA512_CTX*, uint8_t[SHA512_DIGEST_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:1250:44: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 1250 | char *sha512_End(SHA512_CTX* context, char buffer[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:112:31: note: previously declared as 'char[129]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 112 | char* sha512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c: In function 'ed25519_cosi_sign': [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: warning: 'ed25519_hram' reading 64 bytes from a region of size 32 [-Wstringop-overread] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 86 | ed25519_hram(hram, R, pk, m, mlen); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 2 of type 'const unsigned char[64]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 3 of type 'const unsigned char[32]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:34:1: note: in a call to function 'ed25519_hram' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 34 | ed25519_hram(hash_512bits hram, const ed25519_signature RS, const ed25519_public_key pk, const unsigned char *m, size_t mlen) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: In file included from trezor-firmware/crypto/ed25519-donna/ed25519-sha3.c:8: [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c: In function 'ed25519_cosi_sign_sha3': [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: warning: 'ed25519_hram' reading 64 bytes from a region of size 32 [-Wstringop-overread] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 86 | ed25519_hram(hram, R, pk, m, mlen); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 2 of type 'const unsigned char[64]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 3 of type 'const unsigned char[32]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:34:1: note: in a call to function 'ed25519_hram' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 34 | ed25519_hram(hash_512bits hram, const ed25519_signature RS, const ed25519_public_key pk, const unsigned char *m, size_t mlen) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: In file included from trezor-firmware/crypto/ed25519-donna/ed25519-keccak.c:8: [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c: In function 'ed25519_cosi_sign_keccak': [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: warning: 'ed25519_hram' reading 64 bytes from a region of size 32 [-Wstringop-overread] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 86 | ed25519_hram(hram, R, pk, m, mlen); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 2 of type 'const unsigned char[64]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 3 of type 'const unsigned char[32]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:34:1: note: in a call to function 'ed25519_hram' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 34 | ed25519_hram(hash_512bits hram, const ed25519_signature RS, const ed25519_public_key pk, const unsigned char *m, size_t mlen) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.40s [INFO] running `Command { std: "docker" "inspect" "92c002c579ce9006708dfcdc73edc1a2f7c4e42f431864a227421523a6b68af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c002c579ce9006708dfcdc73edc1a2f7c4e42f431864a227421523a6b68af1", kill_on_drop: false }` [INFO] [stdout] 92c002c579ce9006708dfcdc73edc1a2f7c4e42f431864a227421523a6b68af1 [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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0be9a58cc7f72550f3d33ea13aaac7b162389b5858058b06fa4da48b50400eb1 [INFO] running `Command { std: "docker" "start" "-a" "0be9a58cc7f72550f3d33ea13aaac7b162389b5858058b06fa4da48b50400eb1", kill_on_drop: false }` [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/rand.c:28:9: note: '#pragma message: NOT SUITABLE FOR PRODUCTION USE! Replace random32() function with your own secure code.' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 28 | #pragma message( \ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:580:46: warning: argument 2 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 580 | void sha1_Final(SHA1_CTX* context, sha2_byte digest[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: In file included from trezor-firmware/crypto/sha2.c:33: [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:95:28: note: previously declared as 'uint8_t[20]' {aka 'unsigned char[20]'} [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 95 | void sha1_Final(SHA1_CTX*, uint8_t[SHA1_DIGEST_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:634:40: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 634 | char *sha1_End(SHA1_CTX* context, char buffer[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:96:27: note: previously declared as 'char[41]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 96 | char* sha1_End(SHA1_CTX*, char[SHA1_DIGEST_STRING_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:887:50: warning: argument 2 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 887 | void sha256_Final(SHA256_CTX* context, sha2_byte digest[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:103:32: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 103 | void sha256_Final(SHA256_CTX*, uint8_t[SHA256_DIGEST_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:941:44: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 941 | char *sha256_End(SHA256_CTX* context, char buffer[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:104:31: note: previously declared as 'char[65]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 104 | char* sha256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:1231:50: warning: argument 2 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 1231 | void sha512_Final(SHA512_CTX* context, sha2_byte digest[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:111:32: note: previously declared as 'uint8_t[64]' {aka 'unsigned char[64]'} [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 111 | void sha512_Final(SHA512_CTX*, uint8_t[SHA512_DIGEST_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.c:1250:44: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 1250 | char *sha512_End(SHA512_CTX* context, char buffer[]) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ~~~~~^~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/sha2.h:112:31: note: previously declared as 'char[129]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 112 | char* sha512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c: In function 'ed25519_cosi_sign': [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: warning: 'ed25519_hram' reading 64 bytes from a region of size 32 [-Wstringop-overread] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 86 | ed25519_hram(hram, R, pk, m, mlen); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 2 of type 'const unsigned char[64]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 3 of type 'const unsigned char[32]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:34:1: note: in a call to function 'ed25519_hram' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 34 | ed25519_hram(hash_512bits hram, const ed25519_signature RS, const ed25519_public_key pk, const unsigned char *m, size_t mlen) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: In file included from trezor-firmware/crypto/ed25519-donna/ed25519-sha3.c:8: [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c: In function 'ed25519_cosi_sign_sha3': [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: warning: 'ed25519_hram' reading 64 bytes from a region of size 32 [-Wstringop-overread] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 86 | ed25519_hram(hram, R, pk, m, mlen); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 2 of type 'const unsigned char[64]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 3 of type 'const unsigned char[32]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:34:1: note: in a call to function 'ed25519_hram' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 34 | ed25519_hram(hash_512bits hram, const ed25519_signature RS, const ed25519_public_key pk, const unsigned char *m, size_t mlen) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: In file included from trezor-firmware/crypto/ed25519-donna/ed25519-keccak.c:8: [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c: In function 'ed25519_cosi_sign_keccak': [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: warning: 'ed25519_hram' reading 64 bytes from a region of size 32 [-Wstringop-overread] [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 86 | ed25519_hram(hram, R, pk, m, mlen); [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 2 of type 'const unsigned char[64]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:86:9: note: referencing argument 3 of type 'const unsigned char[32]' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: trezor-firmware/crypto/ed25519-donna/ed25519.c:34:1: note: in a call to function 'ed25519_hram' [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: 34 | ed25519_hram(hash_512bits hram, const ed25519_signature RS, const ed25519_public_key pk, const unsigned char *m, size_t mlen) { [INFO] [stderr] warning: trezor-crypto-sys@0.1.2: | ^~~~~~~~~~~~ [INFO] [stderr] Compiling trezor-crypto-sys v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "0be9a58cc7f72550f3d33ea13aaac7b162389b5858058b06fa4da48b50400eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be9a58cc7f72550f3d33ea13aaac7b162389b5858058b06fa4da48b50400eb1", kill_on_drop: false }` [INFO] [stdout] 0be9a58cc7f72550f3d33ea13aaac7b162389b5858058b06fa4da48b50400eb1