[INFO] cloning repository https://github.com/TheReturnOfJan/rust-crypto-bug [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheReturnOfJan/rust-crypto-bug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheReturnOfJan%2Frust-crypto-bug", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheReturnOfJan%2Frust-crypto-bug'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c14eae87aa8b8bd3c534e4c7cab70b855060806 [INFO] building TheReturnOfJan/rust-crypto-bug against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheReturnOfJan%2Frust-crypto-bug" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheReturnOfJan/rust-crypto-bug 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 git repo https://github.com/TheReturnOfJan/rust-crypto-bug [INFO] finished tweaking git repo https://github.com/TheReturnOfJan/rust-crypto-bug [INFO] tweaked toml for git repo https://github.com/TheReturnOfJan/rust-crypto-bug written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TheReturnOfJan/rust-crypto-bug 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded radium v0.4.1 [INFO] [stderr] Downloaded bitvec v0.18.4 [INFO] [stderr] Downloaded k256 v0.7.2 [INFO] [stderr] Downloaded elliptic-curve v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] dc6de263c8b7fb2dc8549d59084818cdf3f3ef0256750b2511bc31490eecb2b6 [INFO] running `Command { std: "docker" "start" "-a" "dc6de263c8b7fb2dc8549d59084818cdf3f3ef0256750b2511bc31490eecb2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc6de263c8b7fb2dc8549d59084818cdf3f3ef0256750b2511bc31490eecb2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc6de263c8b7fb2dc8549d59084818cdf3f3ef0256750b2511bc31490eecb2b6", kill_on_drop: false }` [INFO] [stdout] dc6de263c8b7fb2dc8549d59084818cdf3f3ef0256750b2511bc31490eecb2b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ba5b0658070a00e3bf07596bc38b1dfebf022a52acf63a9682f98d8a691bb894 [INFO] running `Command { std: "docker" "start" "-a" "ba5b0658070a00e3bf07596bc38b1dfebf022a52acf63a9682f98d8a691bb894", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling radium v0.4.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bitvec v0.18.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Compiling elliptic-curve v0.8.4 [INFO] [stderr] Compiling ecdsa v0.10.2 [INFO] [stderr] Compiling k256 v0.7.2 [INFO] [stderr] Compiling rust-secp256k1-bug v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.14s [INFO] running `Command { std: "docker" "inspect" "ba5b0658070a00e3bf07596bc38b1dfebf022a52acf63a9682f98d8a691bb894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba5b0658070a00e3bf07596bc38b1dfebf022a52acf63a9682f98d8a691bb894", kill_on_drop: false }` [INFO] [stdout] ba5b0658070a00e3bf07596bc38b1dfebf022a52acf63a9682f98d8a691bb894 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] aa94a4f132ab6a4f640bdf9abf3a4e5de5c716df1b839889947b2ab851914a1a [INFO] running `Command { std: "docker" "start" "-a" "aa94a4f132ab6a4f640bdf9abf3a4e5de5c716df1b839889947b2ab851914a1a", kill_on_drop: false }` [INFO] [stderr] Compiling rust-secp256k1-bug v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RecoveryId` and `Signature as Sig` [INFO] [stdout] --> tests/test.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use secp256k1::{Message, SecretKey, PublicKey, sign, Signature as Sig, RecoveryId, recover}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromHex` and `encode` [INFO] [stdout] --> tests/test.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use hex::{FromHex, encode}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Signer` and `VerifyingKey` [INFO] [stdout] --> tests/test.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | signature::{Signer, DigestSigner}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | SigningKey, VerifyingKey, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> tests/test.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let (sig1, id) = sign(&message, &secret_key); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | hex::decode_to_slice("e6c09c13a38db68df81c12e599bc2a1b3cbf8f1c225b2c816fbb75bb5d30246a", &mut priv_bytes as &mut [u8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = hex::decode_to_slice("e6c09c13a38db68df81c12e599bc2a1b3cbf8f1c225b2c816fbb75bb5d30246a", &mut priv_bytes as &mut [u8]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | hex::decode_to_slice("bcf48d55045cc3f9add32a7d40e74758e50fbe01e75033bb257dec20ed2e6c27", &mut data as &mut [u8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = hex::decode_to_slice("bcf48d55045cc3f9add32a7d40e74758e50fbe01e75033bb257dec20ed2e6c27", &mut data as &mut [u8]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | hex::decode_to_slice("e6c09c13a38db68df81c12e599bc2a1b3cbf8f1c225b2c816fbb75bb5d30246a", &mut priv_bytes as &mut [u8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = hex::decode_to_slice("e6c09c13a38db68df81c12e599bc2a1b3cbf8f1c225b2c816fbb75bb5d30246a", &mut priv_bytes as &mut [u8]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | hex::decode_to_slice("bcf48d55045cc3f9add32a7d40e74758e50fbe01e75033bb257dec20ed2e6c27", &mut data as &mut [u8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = hex::decode_to_slice("bcf48d55045cc3f9add32a7d40e74758e50fbe01e75033bb257dec20ed2e6c27", &mut data as &mut [u8]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "aa94a4f132ab6a4f640bdf9abf3a4e5de5c716df1b839889947b2ab851914a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa94a4f132ab6a4f640bdf9abf3a4e5de5c716df1b839889947b2ab851914a1a", kill_on_drop: false }` [INFO] [stdout] aa94a4f132ab6a4f640bdf9abf3a4e5de5c716df1b839889947b2ab851914a1a