[INFO] cloning repository https://github.com/iamsahu/bitcoin-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamsahu/bitcoin-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamsahu%2Fbitcoin-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamsahu%2Fbitcoin-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6201347fff46c47f84b2eef2377c34b1d27dfbc [INFO] checking iamsahu/bitcoin-rs against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamsahu%2Fbitcoin-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iamsahu/bitcoin-rs [INFO] finished tweaking git repo https://github.com/iamsahu/bitcoin-rs [INFO] tweaked toml for git repo https://github.com/iamsahu/bitcoin-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iamsahu/bitcoin-rs on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iamsahu/bitcoin-rs 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a7af5f25c3bfebf4bc609464796044c170cb5779d0017ad3b179f93db574c093 [INFO] running `Command { std: "docker" "start" "a7af5f25c3bfebf4bc609464796044c170cb5779d0017ad3b179f93db574c093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7af5f25c3bfebf4bc609464796044c170cb5779d0017ad3b179f93db574c093" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7af5f25c3bfebf4bc609464796044c170cb5779d0017ad3b179f93db574c093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7af5f25c3bfebf4bc609464796044c170cb5779d0017ad3b179f93db574c093" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking bitcoin-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `ecc` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod ecc; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `ecc`, create file "src/ecc.rs" or "src/ecc/mod.rs" [INFO] [stdout] = note: if there is a `mod ecc` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::BigInt` [INFO] [stdout] --> src/point.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_bigint::BigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `ecc` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod ecc; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `ecc`, create file "src/ecc.rs" or "src/ecc/mod.rs" [INFO] [stdout] = note: if there is a `mod ecc` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::BigInt` [INFO] [stdout] --> src/point.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_bigint::BigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/field_element.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 161 | (num, prime) => { [INFO] [stdout] | ------------ matches any value [INFO] [stdout] ... [INFO] [stdout] 164 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/point.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/point.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 87 | Point::Point(x, y) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | Point::Infinity => write!(f, "Point(infinity)"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/point.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | Point::Point(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/point.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | Point::Point(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/point.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | for i in 1..(self + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin-rs` (lib) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/field_element.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 161 | (num, prime) => { [INFO] [stdout] | ------------ matches any value [INFO] [stdout] ... [INFO] [stdout] 164 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/point.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/point.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 87 | Point::Point(x, y) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | Point::Infinity => write!(f, "Point(infinity)"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/point.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | Point::Point(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/point.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | Point::Point(x, y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/point.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | for i in 1..(self + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/point.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let p = Point::<5, 7>::new_point( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/point.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let p = Point::<0, 7>::new_point( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin-rs` (lib test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a7af5f25c3bfebf4bc609464796044c170cb5779d0017ad3b179f93db574c093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7af5f25c3bfebf4bc609464796044c170cb5779d0017ad3b179f93db574c093", kill_on_drop: false }` [INFO] [stdout] a7af5f25c3bfebf4bc609464796044c170cb5779d0017ad3b179f93db574c093