[INFO] fetching crate trezor-crypto-sys 0.1.2... [INFO] checking trezor-crypto-sys-0.1.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate trezor-crypto-sys 0.1.2 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trezor-crypto-sys 0.1.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3270f37a0fe1bcdad81b51132a6d31126d3bb3244539030997ee28a408fad04f [INFO] running `Command { std: "docker" "start" "-a" "3270f37a0fe1bcdad81b51132a6d31126d3bb3244539030997ee28a408fad04f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3270f37a0fe1bcdad81b51132a6d31126d3bb3244539030997ee28a408fad04f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3270f37a0fe1bcdad81b51132a6d31126d3bb3244539030997ee28a408fad04f", kill_on_drop: false }` [INFO] [stdout] 3270f37a0fe1bcdad81b51132a6d31126d3bb3244539030997ee28a408fad04f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dd84292aa56d0c510813acee0c302d1f9fe4c82f61b4b88da768f0970102862 [INFO] running `Command { std: "docker" "start" "-a" "7dd84292aa56d0c510813acee0c302d1f9fe4c82f61b4b88da768f0970102862", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling cc v1.2.34 [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 17.89s [INFO] running `Command { std: "docker" "inspect" "7dd84292aa56d0c510813acee0c302d1f9fe4c82f61b4b88da768f0970102862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dd84292aa56d0c510813acee0c302d1f9fe4c82f61b4b88da768f0970102862", kill_on_drop: false }` [INFO] [stdout] 7dd84292aa56d0c510813acee0c302d1f9fe4c82f61b4b88da768f0970102862