[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 1.45.2 for beta-1.46-1 [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 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99a33343d0fcc043b4ca432bfcf3d6c73715e96730c3c38f54efbf59ecdab7c4 [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" "99a33343d0fcc043b4ca432bfcf3d6c73715e96730c3c38f54efbf59ecdab7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99a33343d0fcc043b4ca432bfcf3d6c73715e96730c3c38f54efbf59ecdab7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a33343d0fcc043b4ca432bfcf3d6c73715e96730c3c38f54efbf59ecdab7c4", kill_on_drop: false }` [INFO] [stdout] 99a33343d0fcc043b4ca432bfcf3d6c73715e96730c3c38f54efbf59ecdab7c4 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbb70987956c56d699face6827c6d4a0c06a27ad0b8398de0b53462fa951ac5e [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" "fbb70987956c56d699face6827c6d4a0c06a27ad0b8398de0b53462fa951ac5e", kill_on_drop: false }` [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 httparse v1.2.2 [INFO] [stderr] Compiling strsim v0.4.1 [INFO] [stderr] Compiling vec_map v0.4.0 [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling whiteread v0.2.0 [INFO] [stderr] Compiling fixedbitset v0.1.6 [INFO] [stderr] Compiling thread-scoped v1.0.1 [INFO] [stderr] Compiling hex v0.1.0 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling clap v1.5.6 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.34 [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 encoding v0.2.33 [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: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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: 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: 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 `ffi::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 `ffi::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 `ffi::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 `ffi::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" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.pay_to_sudoku.kl7opjcs-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d" "/opt/rustwide/target/debug/deps/pay_to_sudoku-a73fceee9ed9069d.2xp5heohhd7s1uf5.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-9a5dabb992219ff3/out" "-L" "/opt/rustwide/target/debug/build/miniz-sys-9917d30733db89df/out" "-L" "/opt/rustwide/target/debug/build/rust-crypto-e6999589089f55ac/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lmysnark" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libjsonrpc-b7b1e5f8d836c749.rlib" "/opt/rustwide/target/debug/deps/libhyper-d8fd752f771e59ca.rlib" "/opt/rustwide/target/debug/deps/libmime-8e8561c8ee2a827c.rlib" "/opt/rustwide/target/debug/deps/liblanguage_tags-bd88e64fcec2184e.rlib" "/opt/rustwide/target/debug/deps/libsolicit-8ad417116d1cfc62.rlib" "/opt/rustwide/target/debug/deps/libhpack-8275d199f088de1d.rlib" "/opt/rustwide/target/debug/deps/liblog-2c04540ef6250c38.rlib" "/opt/rustwide/target/debug/deps/libtypeable-73da98dcfa8cf9fe.rlib" "/opt/rustwide/target/debug/deps/libtraitobject-6284df6a2628e824.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-bc0195d6f4d94d7e.rlib" "/opt/rustwide/target/debug/deps/libhttparse-14903f0741306db4.rlib" "/opt/rustwide/target/debug/deps/libunicase-b7f35177ab038f04.rlib" "/opt/rustwide/target/debug/deps/libcookie-d9d8b54775c4ac58.rlib" "/opt/rustwide/target/debug/deps/liburl-f8421ba1a9d07f55.rlib" "/opt/rustwide/target/debug/deps/libmatches-84d310b48dac5577.rlib" "/opt/rustwide/target/debug/deps/libuuid-c07fa22d000cb874.rlib" "/opt/rustwide/target/debug/deps/libcrypto-cc09343fd5ebb5ae.rlib" "/opt/rustwide/target/debug/deps/libtime-3737c3d73eb77e80.rlib" "/opt/rustwide/target/debug/deps/libstrason-5ea000f3a8af4446.rlib" "/opt/rustwide/target/debug/deps/libencoding-7c0f663a589627b7.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_tradchinese-6f97670dc5b9693a.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_simpchinese-64031e1204bea815.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_japanese-c7185957968e00d5.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_korean-0c81e10e23550d27.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_singlebyte-f0e48f96bf5dea00.rlib" "/opt/rustwide/target/debug/deps/libflate2-49596b32fe7ffd6c.rlib" "/opt/rustwide/target/debug/deps/libminiz_sys-f0f5e1dc8be65d06.rlib" "/opt/rustwide/target/debug/deps/libclap-2ae6b5730c82ee31.rlib" "/opt/rustwide/target/debug/deps/libvec_map-2663649165298c01.rlib" "/opt/rustwide/target/debug/deps/libbitflags-502e36cbe8397e5a.rlib" "/opt/rustwide/target/debug/deps/libansi_term-d8a9bb9e5e14c788.rlib" "/opt/rustwide/target/debug/deps/libstrsim-5a8796c4ec37c164.rlib" "/opt/rustwide/target/debug/deps/libhex-d1ad2bddf49d8e65.rlib" "/opt/rustwide/target/debug/deps/libthread_scoped-c17f8043c01b5ea2.rlib" "/opt/rustwide/target/debug/deps/libbincode-1b340e8a6abab17a.rlib" "/opt/rustwide/target/debug/deps/libserde-aeb8c1699ba771a5.rlib" "/opt/rustwide/target/debug/deps/libnum-935d391406853699.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-51810508785a58ce.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-8f2c52dfe2155141.rlib" "/opt/rustwide/target/debug/deps/librand-e4de1354f48604a1.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-02268e5fe3fbc81e.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-58d74760eff83853.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-6e4eaf514ca0fae2.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-d34dad9f0057ed16.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-6861104fc39d1386.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-1e2b6427e7459c6c.rlib" "/opt/rustwide/target/debug/deps/liblibc-48aed97d0381cd6d.rlib" "/opt/rustwide/target/debug/deps/libwhiteread-4ac1eb5a6575e6c0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bb11f807a7b6b4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ca8087507780d964.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-259c92b387c1c166.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-16e0a2fbbb8e14b3.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-8a1651b8e23d2aaf.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-23bdd98b0574083e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-855a92055ec33e2e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-24c70dd44fbacdfb.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b326273841bae587.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac3c1f0e16507051.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5729542b65954aa.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9a787681bfbeaf61.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5a0398ee67f74664.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [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" "fbb70987956c56d699face6827c6d4a0c06a27ad0b8398de0b53462fa951ac5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb70987956c56d699face6827c6d4a0c06a27ad0b8398de0b53462fa951ac5e", kill_on_drop: false }` [INFO] [stdout] fbb70987956c56d699face6827c6d4a0c06a27ad0b8398de0b53462fa951ac5e