[INFO] fetching crate trezor-crypto-sys 0.1.2... [INFO] building trezor-crypto-sys-0.1.2 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate trezor-crypto-sys 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate trezor-crypto-sys 0.1.2 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.59.2 (available: v0.71.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 225574ac976680d215ccbfbccf4b08ee846859c03ad5af76b7bf570430311ad2 [INFO] running `Command { std: "docker" "start" "-a" "225574ac976680d215ccbfbccf4b08ee846859c03ad5af76b7bf570430311ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "225574ac976680d215ccbfbccf4b08ee846859c03ad5af76b7bf570430311ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225574ac976680d215ccbfbccf4b08ee846859c03ad5af76b7bf570430311ad2", kill_on_drop: false }` [INFO] [stdout] 225574ac976680d215ccbfbccf4b08ee846859c03ad5af76b7bf570430311ad2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa6d09a18cf1f8204e42b5746611f9e62d26439fbea4e2957ce7daad74c868a3 [INFO] running `Command { std: "docker" "start" "-a" "aa6d09a18cf1f8204e42b5746611f9e62d26439fbea4e2957ce7daad74c868a3", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.31 [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: In file included from trezor-firmware/crypto/sha2.c:33: [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: In file included from trezor-firmware/crypto/sha2.c:33: [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: In file included from trezor-firmware/crypto/sha2.c:33: [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: In file included from trezor-firmware/crypto/sha2.c:33: [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: In file included from trezor-firmware/crypto/sha2.c:33: [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.09s [INFO] running `Command { std: "docker" "inspect" "aa6d09a18cf1f8204e42b5746611f9e62d26439fbea4e2957ce7daad74c868a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa6d09a18cf1f8204e42b5746611f9e62d26439fbea4e2957ce7daad74c868a3", kill_on_drop: false }` [INFO] [stdout] aa6d09a18cf1f8204e42b5746611f9e62d26439fbea4e2957ce7daad74c868a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af1776f80c1d24ce5832f25a1c690fd74aa1f22218ccedfad9856ce614f716cd [INFO] running `Command { std: "docker" "start" "-a" "af1776f80c1d24ce5832f25a1c690fd74aa1f22218ccedfad9856ce614f716cd", kill_on_drop: false }` [INFO] [stderr] Compiling 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: In file included from trezor-firmware/crypto/sha2.c:33: [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: In file included from trezor-firmware/crypto/sha2.c:33: [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: In file included from trezor-firmware/crypto/sha2.c:33: [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: In file included from trezor-firmware/crypto/sha2.c:33: [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: In file included from trezor-firmware/crypto/sha2.c:33: [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] Compiling trezor-crypto-sys v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "af1776f80c1d24ce5832f25a1c690fd74aa1f22218ccedfad9856ce614f716cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af1776f80c1d24ce5832f25a1c690fd74aa1f22218ccedfad9856ce614f716cd", kill_on_drop: false }` [INFO] [stdout] af1776f80c1d24ce5832f25a1c690fd74aa1f22218ccedfad9856ce614f716cd