[INFO] cloning repository https://github.com/mothsmap/programmingbtc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mothsmap/programmingbtc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmothsmap%2Fprogrammingbtc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmothsmap%2Fprogrammingbtc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d69b681d4936d42b6d11c346aecadc4e8ec5a4ea [INFO] checking mothsmap/programmingbtc against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmothsmap%2Fprogrammingbtc" "/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/mothsmap/programmingbtc on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mothsmap/programmingbtc [INFO] finished tweaking git repo https://github.com/mothsmap/programmingbtc [INFO] tweaked toml for git repo https://github.com/mothsmap/programmingbtc written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mothsmap/programmingbtc 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.76 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9da45b925458b5bc6325cedcd3fc2e970ee2111d4a4f896e776b54a26f35efdf [INFO] running `Command { std: "docker" "start" "-a" "9da45b925458b5bc6325cedcd3fc2e970ee2111d4a4f896e776b54a26f35efdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9da45b925458b5bc6325cedcd3fc2e970ee2111d4a4f896e776b54a26f35efdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da45b925458b5bc6325cedcd3fc2e970ee2111d4a4f896e776b54a26f35efdf", kill_on_drop: false }` [INFO] [stdout] 9da45b925458b5bc6325cedcd3fc2e970ee2111d4a4f896e776b54a26f35efdf [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5a9f29fb406db463e3442259668b80ccda29cf0f0e0d8a07b11ec2db0aa9584 [INFO] running `Command { std: "docker" "start" "-a" "c5a9f29fb406db463e3442259668b80ccda29cf0f0e0d8a07b11ec2db0aa9584", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking murmur3 v0.5.2 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking programmingbtc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Euclid` is imported redundantly [INFO] [stdout] --> src/finite_cyclic_group.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | use super::*; [INFO] [stdout] | -------- the item `Euclid` is already imported here [INFO] [stdout] 90 | use crate::utils::Hex; [INFO] [stdout] 91 | use num::traits::Euclid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hash256` is imported redundantly [INFO] [stdout] --> src/private_key.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | use crate::utils::{decode_hex, hash256, Hex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 185 | [INFO] [stdout] 186 | use super::*; [INFO] [stdout] | -------- the item `hash256` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Cursor` is imported redundantly [INFO] [stdout] --> src/utils.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 459 | use super::*; [INFO] [stdout] | -------- the item `Cursor` is already imported here [INFO] [stdout] 460 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | let mut data = bytes.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | let mut data = bytes.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.05s [INFO] running `Command { std: "docker" "inspect" "c5a9f29fb406db463e3442259668b80ccda29cf0f0e0d8a07b11ec2db0aa9584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a9f29fb406db463e3442259668b80ccda29cf0f0e0d8a07b11ec2db0aa9584", kill_on_drop: false }` [INFO] [stdout] c5a9f29fb406db463e3442259668b80ccda29cf0f0e0d8a07b11ec2db0aa9584