[INFO] fetching crate trezor-crypto-sys 0.1.2... [INFO] checking trezor-crypto-sys-0.1.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate trezor-crypto-sys 0.1.2 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trezor-crypto-sys 0.1.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.59.2 (available: v0.72.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 196f85eac1ca813c1fb06b4f71df45dea598f9d132ae04c87a5ad0922d5bbb62 [INFO] running `Command { std: "docker" "start" "-a" "196f85eac1ca813c1fb06b4f71df45dea598f9d132ae04c87a5ad0922d5bbb62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "196f85eac1ca813c1fb06b4f71df45dea598f9d132ae04c87a5ad0922d5bbb62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "196f85eac1ca813c1fb06b4f71df45dea598f9d132ae04c87a5ad0922d5bbb62", kill_on_drop: false }` [INFO] [stdout] 196f85eac1ca813c1fb06b4f71df45dea598f9d132ae04c87a5ad0922d5bbb62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ace45abc15b6622f55499587e322ebf589d9656c68bf6684199ea66db5e56d9 [INFO] running `Command { std: "docker" "start" "-a" "0ace45abc15b6622f55499587e322ebf589d9656c68bf6684199ea66db5e56d9", kill_on_drop: false }` [INFO] [stderr] Compiling trezor-crypto-sys v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking hex v0.4.3 [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.05s [INFO] running `Command { std: "docker" "inspect" "0ace45abc15b6622f55499587e322ebf589d9656c68bf6684199ea66db5e56d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ace45abc15b6622f55499587e322ebf589d9656c68bf6684199ea66db5e56d9", kill_on_drop: false }` [INFO] [stdout] 0ace45abc15b6622f55499587e322ebf589d9656c68bf6684199ea66db5e56d9