[INFO] cloning repository https://github.com/matteocam/pay-to-sudoku-attack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matteocam/pay-to-sudoku-attack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatteocam%2Fpay-to-sudoku-attack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatteocam%2Fpay-to-sudoku-attack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfc072fcdc17e10916185308edbdd232be808ad4 [INFO] testing matteocam/pay-to-sudoku-attack against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatteocam%2Fpay-to-sudoku-attack" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matteocam/pay-to-sudoku-attack on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matteocam/pay-to-sudoku-attack [INFO] finished tweaking git repo https://github.com/matteocam/pay-to-sudoku-attack [INFO] tweaked toml for git repo https://github.com/matteocam/pay-to-sudoku-attack written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/matteocam/pay-to-sudoku-attack already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bbdedbf1589d2936ba66af7dee2ea61f0288e74626fbb8ddcace0e4ba00b1bf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9bbdedbf1589d2936ba66af7dee2ea61f0288e74626fbb8ddcace0e4ba00b1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bbdedbf1589d2936ba66af7dee2ea61f0288e74626fbb8ddcace0e4ba00b1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bbdedbf1589d2936ba66af7dee2ea61f0288e74626fbb8ddcace0e4ba00b1bf", kill_on_drop: false }` [INFO] [stdout] 9bbdedbf1589d2936ba66af7dee2ea61f0288e74626fbb8ddcace0e4ba00b1bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a667092666355dbf9d864983dd14c0a74f82c7b6121508b6b5d1c94e7ff051ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a667092666355dbf9d864983dd14c0a74f82c7b6121508b6b5d1c94e7ff051ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling rustc-serialize v0.3.23 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling language-tags v0.0.7 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.0.1 [INFO] [stderr] Compiling httparse v1.2.2 [INFO] [stderr] Compiling strsim v0.4.1 [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling vec_map v0.4.0 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling whiteread v0.2.0 [INFO] [stderr] Compiling thread-scoped v1.0.1 [INFO] [stderr] Compiling fixedbitset v0.1.6 [INFO] [stderr] Compiling hex v0.1.0 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling clap v1.5.6 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Compiling bzip2-sys v0.1.5 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling unicase v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling flate2 v0.2.19 [INFO] [stderr] Compiling bzip2 v0.2.4 [INFO] [stderr] Compiling num-bigint v0.1.37 [INFO] [stderr] Compiling num-complex v0.1.37 [INFO] [stderr] Compiling uuid v0.1.18 [INFO] [stderr] Compiling url v0.2.38 [INFO] [stderr] Compiling num-rational v0.1.36 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling serde v0.6.15 [INFO] [stderr] Compiling cookie v0.1.21 [INFO] [stderr] Compiling mime v0.1.3 [INFO] [stderr] Compiling strason v0.3.4 [INFO] [stderr] Compiling bincode v0.4.1 [INFO] [stderr] Compiling hyper v0.6.16 [INFO] [stderr] Compiling jsonrpc v0.7.6 [INFO] [stderr] Compiling pay-to-sudoku v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] extern crate jsonrpc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, `self` [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromHex` [INFO] [stdout] --> src/main.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use hex::{ToHex, FromHex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | let closure: &mut &mut for<'a> FnMut(&'a [u8], &'a [i8]) = mem::transmute(cb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> FnMut(&'a [u8], &'a [i8])` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | let closure: &mut &mut for<'a> FnMut(&'a [i8], &'a [i8]) = mem::transmute(cb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> FnMut(&'a [i8], &'a [i8])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | let mut cb: &mut for<'a> FnMut(&'a [u8], &'a [u8]) = &mut f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> FnMut(&'a [u8], &'a [u8])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let mut cb: &mut for<'a> FnMut(&'a [u8], &'a [u8]) = &mut f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> FnMut(&'a [u8], &'a [u8])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let mut cb: &mut for<'a> FnMut(&'a [u8], &'a [u8]) = &mut f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> FnMut(&'a [u8], &'a [u8])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/bitcoin.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToHex` [INFO] [stdout] --> src/bitcoin.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use hex::{ToHex, FromHex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | try!(serialize_into(stream, &puzzle, Infinite)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | let proof: Cow<[u8]> = try!(deserialize_from(stream, Infinite)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | let encrypted_solution: Cow<[u8]> = try!(deserialize_from(stream, Infinite)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:201:33 [INFO] [stdout] | [INFO] [stdout] 201 | let mut h_of_key: Vec = try!(deserialize_from(stream, Infinite)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | try!(serialize_into(stream, &redeem_pubkey, Infinite)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | try!(serialize_into(stream, &cltv_height, Infinite)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:217:38 [INFO] [stdout] | [INFO] [stdout] 217 | let solving_pubkey: String = try!(deserialize_from(stream, Infinite)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 311 | if (rx.lock().unwrap().try_recv().is_ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encrypted_solution` [INFO] [stdout] --> src/main.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | |encrypted_solution, proof| {})); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encrypted_solution` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proof` [INFO] [stdout] --> src/main.rs:179:36 [INFO] [stdout] | [INFO] [stdout] 179 | |encrypted_solution, proof| {})); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | fn from(a: bincode::serde::SerializeError) -> ProtoError { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | fn from(a: bincode::serde::DeserializeError) -> ProtoError { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dimension` [INFO] [stdout] --> src/sudoku.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(dimension: usize) -> Possible { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dimension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `undo` [INFO] [stdout] --> src/sudoku.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | let undo = cell.set(candidate); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_undo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/bitcoin.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let res = client.send_request(&request).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/bitcoin.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let res = client.send_request(&request).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/bitcoin.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let res = client.send_request(&request).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let mut h_of_key: Vec = try!(deserialize_from(stream, Infinite)); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let mut txid; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let mut vout; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sudoku.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut grid = Sudoku::new(n); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/sudoku.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_sudoku_from_stdin` [INFO] [stdout] --> src/util.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_sudoku_from_stdin(dimension: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | handle_server(&mut stream, &ctx, n, &mut rpc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | handle_client(&mut stream, &ctx, n, &mut rpc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | serialize_into(stream, &proof, Infinite); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | serialize_into(stream, &encrypted_solution, Infinite); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | serialize_into(stream, &h_of_key, Infinite); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | serialize_into(stream, &solving_pubkey, Infinite); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | tx.send(()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/sudoku.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | grid.solve(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Keypair`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | -> *const Keypair; [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Keypair; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Keypair`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | fn gen_proof(keypair: *const Keypair, h: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Keypair; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Keypair`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | fn malicious_snark_verify(keypair: *const Keypair, [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Keypair; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Keypair`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | fn prove_malicious_verify(keypair: *const Keypair, h: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Keypair; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/util.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | decoder.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.pay_to_sudoku.4fbuaq29-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2057af5078fee89b.854bwtb392edxl2.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/bzip2-sys-ad692686b62adb6e/out" "-L" "/opt/rustwide/target/debug/build/miniz-sys-7ee3ed563c037039/out" "-L" "/opt/rustwide/target/debug/build/rust-crypto-fcaabd971332a211/out" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lmysnark" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libjsonrpc-f9c28c2233298a66.rlib" "/opt/rustwide/target/debug/deps/libhyper-eac14ac084f7ddc6.rlib" "/opt/rustwide/target/debug/deps/libmime-370231941c0cbc36.rlib" "/opt/rustwide/target/debug/deps/liblanguage_tags-91c8f11c5df2a6df.rlib" "/opt/rustwide/target/debug/deps/libsolicit-677eb732dae6b58c.rlib" "/opt/rustwide/target/debug/deps/libhpack-73f19bddaaa3d6b8.rlib" "/opt/rustwide/target/debug/deps/liblog-a7f56dce86297001.rlib" "/opt/rustwide/target/debug/deps/libtypeable-6e97b32755d7437e.rlib" "/opt/rustwide/target/debug/deps/libtraitobject-68ca3a19532ff10e.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-4b71156c62cc42f1.rlib" "/opt/rustwide/target/debug/deps/libhttparse-ef790714f1b0acac.rlib" "/opt/rustwide/target/debug/deps/libunicase-895ec92faabd2999.rlib" "/opt/rustwide/target/debug/deps/libcookie-c461ccebb4f06c36.rlib" "/opt/rustwide/target/debug/deps/liburl-ebe93c10628dd4c1.rlib" "/opt/rustwide/target/debug/deps/libmatches-607fe1e8277e6ab4.rlib" "/opt/rustwide/target/debug/deps/libuuid-b055879b30886d3e.rlib" "/opt/rustwide/target/debug/deps/libcrypto-af094602a0f6d7f7.rlib" "/opt/rustwide/target/debug/deps/libtime-ef39ab9b2f72b477.rlib" "/opt/rustwide/target/debug/deps/libstrason-e1c5c1f02fc35d13.rlib" "/opt/rustwide/target/debug/deps/libencoding-78256f290bff46f2.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_tradchinese-263f0a767e761df0.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_simpchinese-aca95187c86cf1dd.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_japanese-a2300af342155c6c.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_korean-52c71da10f0ca7de.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_singlebyte-ad5b3d8866fc801a.rlib" "/opt/rustwide/target/debug/deps/libflate2-2ca3d15d3abc7185.rlib" "/opt/rustwide/target/debug/deps/libminiz_sys-6c162aa796da9302.rlib" "/opt/rustwide/target/debug/deps/libclap-d32aa7a52d39d2b7.rlib" "/opt/rustwide/target/debug/deps/libvec_map-3c0571bd09d6f870.rlib" "/opt/rustwide/target/debug/deps/libbitflags-a6f692fa80552602.rlib" "/opt/rustwide/target/debug/deps/libansi_term-3211c4b0debc1df0.rlib" "/opt/rustwide/target/debug/deps/libstrsim-d1a5776a1c662c7c.rlib" "/opt/rustwide/target/debug/deps/libhex-52ab53f32e2c70c8.rlib" "/opt/rustwide/target/debug/deps/libthread_scoped-5fd65ab241d560e6.rlib" "/opt/rustwide/target/debug/deps/libbincode-c88c87ac6642cc69.rlib" "/opt/rustwide/target/debug/deps/libserde-37d2411e38ecf3d7.rlib" "/opt/rustwide/target/debug/deps/libnum-6fa168d88bae69a6.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-0cecd9d3109f9b81.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-334b0797313e1b47.rlib" "/opt/rustwide/target/debug/deps/librand-68bbe57a3ab599b2.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-29688f1b64afd461.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-6c74b21cbb668c9c.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-41bb465f24c0c522.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-e9bb22ce34f0cbb0.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-6237c6dcd62147e1.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-52a0dad08cdb15c0.rlib" "/opt/rustwide/target/debug/deps/liblibc-5f1d5d1fcc41d165.rlib" "/opt/rustwide/target/debug/deps/libwhiteread-a3aa45476edbc378.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c659455244c9d2ca.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-448643d99e633b5d.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c7c3d631a525883a.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d7659a11bb201e01.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-9aceb6f83a33a9b6.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-876c3057c8a2a7c2.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-2f02aa3e24d2aa49.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1d4694108f8cb543.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-79eaa6e630880f50.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-0df1a4ec96f80cf7.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bba9b0f0f4d77257.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f848f9c987265235.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d5ea4f2d39b8e27.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c22053fa5fc00a3b.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c52e5d6301e1bd59.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-2675a9a46b5cec89.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-6e3d052afeb9f711.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lmysnark [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pay-to-sudoku` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a667092666355dbf9d864983dd14c0a74f82c7b6121508b6b5d1c94e7ff051ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a667092666355dbf9d864983dd14c0a74f82c7b6121508b6b5d1c94e7ff051ed", kill_on_drop: false }` [INFO] [stdout] a667092666355dbf9d864983dd14c0a74f82c7b6121508b6b5d1c94e7ff051ed