[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 beta-2021-09-08 for beta-1.56-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatteocam%2Fpay-to-sudoku-attack" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/matteocam/pay-to-sudoku-attack on toolchain beta-2021-09-08
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-13/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fixedbitset v0.1.6
[INFO] [stderr]   Downloaded hyper v0.6.16
[INFO] [stderr]   Downloaded bincode v0.4.1
[INFO] [stderr]   Downloaded whiteread v0.2.0
[INFO] [stderr]   Downloaded strason v0.3.4
[INFO] [stderr]   Downloaded bzip2 v0.2.4
[INFO] [stderr]   Downloaded hex v0.1.0
[INFO] [stderr]   Downloaded jsonrpc v0.7.6
[INFO] [stderr]   Downloaded clap v1.5.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d1540784d945c1a82ffc6feb306a0146082790f9dbe611950fac7f0f0942986b
[INFO] running `Command { std: "docker" "start" "-a" "d1540784d945c1a82ffc6feb306a0146082790f9dbe611950fac7f0f0942986b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d1540784d945c1a82ffc6feb306a0146082790f9dbe611950fac7f0f0942986b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1540784d945c1a82ffc6feb306a0146082790f9dbe611950fac7f0f0942986b", kill_on_drop: false }`
[INFO] [stdout] d1540784d945c1a82ffc6feb306a0146082790f9dbe611950fac7f0f0942986b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 28c9391387143f70d719007bd98e5c7b1784f6d4485c73947f9a9be7a207d5ea
[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" "28c9391387143f70d719007bd98e5c7b1784f6d4485c73947f9a9be7a207d5ea", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.21
[INFO] [stderr]    Compiling rustc-serialize v0.3.23
[INFO] [stderr]    Compiling gcc v0.3.45
[INFO] [stderr]    Compiling matches v0.1.4
[INFO] [stderr]    Compiling language-tags v0.0.7
[INFO] [stderr]    Compiling httparse v1.2.2
[INFO] [stderr]    Compiling ansi_term v0.7.5
[INFO] [stderr]    Compiling thread-scoped v1.0.1
[INFO] [stderr]    Compiling hex v0.1.0
[INFO] [stderr]    Compiling fixedbitset v0.1.6
[INFO] [stderr]    Compiling whiteread v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling hpack v0.2.0
[INFO] [stderr]    Compiling clap v1.5.6
[INFO] [stderr]    Compiling unicase v1.4.0
[INFO] [stderr]    Compiling solicit v0.4.4
[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 bzip2-sys v0.1.5
[INFO] [stderr]    Compiling miniz-sys v0.1.9
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[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]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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<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: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/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]    = 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:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let mut h_of_key: Vec<u8> = try!(deserialize_from(stream, Infinite));
[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: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: 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<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `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 `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 `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 `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 `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 `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 `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 `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 `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 status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.pay_to_sudoku.17bdba00-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19.1yi5b30ep7kko4az.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/bzip2-sys-ac7be52f1f5fbe65/out" "-L" "/opt/rustwide/target/debug/build/miniz-sys-f81a5eb58a964655/out" "-L" "/opt/rustwide/target/debug/build/rust-crypto-af9af02bf19ceb44/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lmysnark" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libjsonrpc-6a812a5cdb9e3e41.rlib" "/opt/rustwide/target/debug/deps/libhyper-b3d9ed90fa3d5a3e.rlib" "/opt/rustwide/target/debug/deps/libmime-6acfc9e5a3cb3175.rlib" "/opt/rustwide/target/debug/deps/liblanguage_tags-5cedba0759314091.rlib" "/opt/rustwide/target/debug/deps/libsolicit-604b94f5217f7ec5.rlib" "/opt/rustwide/target/debug/deps/libhpack-2cc0a67488ed7e6a.rlib" "/opt/rustwide/target/debug/deps/liblog-41716ccc954a6d79.rlib" "/opt/rustwide/target/debug/deps/libtypeable-61eca76ed0485390.rlib" "/opt/rustwide/target/debug/deps/libtraitobject-f2cc31be5fec5a7c.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-5b50f1dabb10b011.rlib" "/opt/rustwide/target/debug/deps/libhttparse-30aefa2ce9089663.rlib" "/opt/rustwide/target/debug/deps/libunicase-b280f683b4339f58.rlib" "/opt/rustwide/target/debug/deps/libcookie-9bac33b120ede3e9.rlib" "/opt/rustwide/target/debug/deps/liburl-2a9d768cb0da11f6.rlib" "/opt/rustwide/target/debug/deps/libmatches-ff09418c5224e44b.rlib" "/opt/rustwide/target/debug/deps/libuuid-204012f00a93311e.rlib" "/opt/rustwide/target/debug/deps/libcrypto-d2eec1269d86fa14.rlib" "/opt/rustwide/target/debug/deps/libtime-ac95b98fae80b5c2.rlib" "/opt/rustwide/target/debug/deps/libstrason-45a35156a3af1379.rlib" "/opt/rustwide/target/debug/deps/libencoding-7d20ebc0240b578f.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_tradchinese-cd507f5ba7cce56a.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_simpchinese-e60ac44802791d01.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_japanese-a01cf758b2321964.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_korean-50c2a8e818368a21.rlib" "/opt/rustwide/target/debug/deps/libencoding_index_singlebyte-eb954e74fa6117d3.rlib" "/opt/rustwide/target/debug/deps/libflate2-da8570c3db6e3612.rlib" "/opt/rustwide/target/debug/deps/libminiz_sys-6064e683d4e5d2a6.rlib" "/opt/rustwide/target/debug/deps/libclap-46e061cbd586971b.rlib" "/opt/rustwide/target/debug/deps/libvec_map-170389b913abab69.rlib" "/opt/rustwide/target/debug/deps/libbitflags-ac6a24f7645a4690.rlib" "/opt/rustwide/target/debug/deps/libansi_term-6d803544786cbed9.rlib" "/opt/rustwide/target/debug/deps/libstrsim-4f267a052358ac72.rlib" "/opt/rustwide/target/debug/deps/libhex-4d1711aba8cf57c7.rlib" "/opt/rustwide/target/debug/deps/libthread_scoped-71c5ff76e8f4f325.rlib" "/opt/rustwide/target/debug/deps/libbincode-f8e16455cc9a677a.rlib" "/opt/rustwide/target/debug/deps/libserde-2c00cb902abc9eb2.rlib" "/opt/rustwide/target/debug/deps/libnum-e93439263edf54c2.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-bff3974e69222e1a.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-e6b98e9eaf43ba60.rlib" "/opt/rustwide/target/debug/deps/librand-da0e39f9b5f1f31c.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-43504cfcaf9ac527.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-0e3595ed2167723b.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f7830b45c23547b0.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-e7225526a2039825.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-f657388845ebce98.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-9a623923a015c322.rlib" "/opt/rustwide/target/debug/deps/liblibc-c5f4c02db8140c00.rlib" "/opt/rustwide/target/debug/deps/libwhiteread-0b048b9f21e791a7.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9a950938f3668a37.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3b1b529ec96b3df7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-ac333df4e6839cea.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-22a9ff9d2be6d427.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5decbb94c7d60860.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-29a9663b62a1cd00.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6f0cee0dbab2d3f8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-f5dc7d1d28c5c249.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d19bda9ef557e755.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-82a955fd13db2399.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-44f3e7c1b7cc17ef.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-3ee6f750c5f3c2cf.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ae5e1795dcba83e8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8d545d8592f2b534.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-c4c222675f83fd37.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c1e9c53e75e301ed.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-beea7d9617fe25c5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8ef7dd43fc671f88.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-80a2b295510dd038.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/pay_to_sudoku-2005c0e7b40f3d19" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
[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` due to 2 previous errors; 46 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "28c9391387143f70d719007bd98e5c7b1784f6d4485c73947f9a9be7a207d5ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28c9391387143f70d719007bd98e5c7b1784f6d4485c73947f9a9be7a207d5ea", kill_on_drop: false }`
[INFO] [stdout] 28c9391387143f70d719007bd98e5c7b1784f6d4485c73947f9a9be7a207d5ea
