[INFO] cloning repository https://github.com/Vawheter/SimpleZKCP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vawheter/SimpleZKCP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVawheter%2FSimpleZKCP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVawheter%2FSimpleZKCP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96aa4a1c2b0e1e7d432510a48ef6f6a635b70463 [INFO] checking Vawheter/SimpleZKCP against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVawheter%2FSimpleZKCP" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vawheter/SimpleZKCP on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Vawheter/SimpleZKCP [INFO] finished tweaking git repo https://github.com/Vawheter/SimpleZKCP [INFO] tweaked toml for git repo https://github.com/Vawheter/SimpleZKCP written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Vawheter/SimpleZKCP already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded advapi32-sys v0.1.2 [INFO] [stderr] Downloaded thread-scoped v1.0.1 [INFO] [stderr] Downloaded rand v0.3.12 [INFO] [stderr] Downloaded fixedbitset v0.1.0 [INFO] [stderr] Downloaded hex v0.1.0 [INFO] [stderr] Downloaded gcc v0.3.21 [INFO] [stderr] Downloaded encoding v0.2.32 [INFO] [stderr] Downloaded rust-crypto v0.2.34 [INFO] [stderr] Downloaded winapi v0.2.5 [INFO] [stderr] Downloaded whiteread v0.2.0 [INFO] [stderr] Downloaded bzip2 v0.2.3 [INFO] [stderr] Downloaded flate2 v0.2.11 [INFO] [stderr] Downloaded serde v0.6.6 [INFO] [stderr] Downloaded num v0.1.28 [INFO] [stderr] Downloaded bincode v0.4.0 [INFO] [stderr] Downloaded strason v0.3.3 [INFO] [stderr] Downloaded bzip2-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0aec27ed1807652771234e31df97e04661c63110527653fb67e863ed76bf13f [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" "e0aec27ed1807652771234e31df97e04661c63110527653fb67e863ed76bf13f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0aec27ed1807652771234e31df97e04661c63110527653fb67e863ed76bf13f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0aec27ed1807652771234e31df97e04661c63110527653fb67e863ed76bf13f", kill_on_drop: false }` [INFO] [stdout] e0aec27ed1807652771234e31df97e04661c63110527653fb67e863ed76bf13f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da91deec9a2d7ac1c5b69e011cee4dc36c147a2e8f8dbbdd7a74ec559e508523 [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" "da91deec9a2d7ac1c5b69e011cee4dc36c147a2e8f8dbbdd7a74ec559e508523", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling gcc v0.3.21 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking byteorder v0.3.13 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking fixedbitset v0.1.0 [INFO] [stderr] Checking hex v0.1.0 [INFO] [stderr] Checking whiteread v0.2.0 [INFO] [stderr] Checking thread-scoped v1.0.1 [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling miniz-sys v0.1.7 [INFO] [stderr] Compiling bzip2-sys v0.1.3 [INFO] [stderr] Compiling rust-crypto v0.2.34 [INFO] [stderr] Checking encoding v0.2.32 [INFO] [stderr] Checking rand v0.3.12 [INFO] [stderr] Checking time v0.1.34 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking bzip2 v0.2.3 [INFO] [stderr] Checking flate2 v0.2.11 [INFO] [stderr] Checking num v0.1.28 [INFO] [stderr] Checking serde v0.6.6 [INFO] [stderr] Checking bincode v0.4.0 [INFO] [stderr] Checking strason v0.3.3 [INFO] [stderr] Checking pay-to-sudoku v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ffi.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | 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:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | 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:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | 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:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | 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:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | 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:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | 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:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | 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:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | 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: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:46:59 [INFO] [stdout] | [INFO] [stdout] 46 | extern "C" fn handle_proof_callback(cb: *mut c_void, len: uint32_t, encrypted_solution: *const uint8_t, proof: *const c_char, proof_len: ... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:46:96 [INFO] [stdout] | [INFO] [stdout] 46 | extern "C" fn handle_proof_callback(cb: *mut c_void, len: uint32_t, encrypted_solution: *const uint8_t, proof: *const c_char, proof_len: ... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:46:138 [INFO] [stdout] | [INFO] [stdout] 46 | ...ted_solution: *const uint8_t, proof: *const c_char, proof_len: int32_t)//n [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:143:78 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe { snark_verify(ctx.keypair, len as u32, &proof[0], proof.len() as int32_t, &h_of_key[0], &encrypted_solution[0]) } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | fn gen_keypair(len: uint32_t, h: *mut c_void, cb: extern fn(*mut c_void, *const c_char, size_t, *const c_char, size_t));//n [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | fn load_keypair(pk_s: *const c_char, pk_l: int32_t, vk_s: *const c_char, vk_l: int32_t) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:23:84 [INFO] [stdout] | [INFO] [stdout] 23 | fn load_keypair(pk_s: *const c_char, pk_l: int32_t, vk_s: *const c_char, vk_l: int32_t) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:26:62 [INFO] [stdout] | [INFO] [stdout] 26 | cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:26:86 [INFO] [stdout] | [INFO] [stdout] 26 | cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | len: uint32_t, solution: *const uint8_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:46:59 [INFO] [stdout] | [INFO] [stdout] 46 | extern "C" fn handle_proof_callback(cb: *mut c_void, len: uint32_t, encrypted_solution: *const uint8_t, proof: *const c_char, proof_len: ... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | len: uint32_t, solution: *const uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | key: *const uint8_t, h_of_key: *const uint8_t) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:46:96 [INFO] [stdout] | [INFO] [stdout] 46 | extern "C" fn handle_proof_callback(cb: *mut c_void, len: uint32_t, encrypted_solution: *const uint8_t, proof: *const c_char, proof_len: ... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | key: *const uint8_t, h_of_key: *const uint8_t) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:46:138 [INFO] [stdout] | [INFO] [stdout] 46 | ...ted_solution: *const uint8_t, proof: *const c_char, proof_len: int32_t)//n [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:30:69 [INFO] [stdout] | [INFO] [stdout] 30 | fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:143:78 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe { snark_verify(ctx.keypair, len as u32, &proof[0], proof.len() as int32_t, &h_of_key[0], &encrypted_solution[0]) } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | fn gen_keypair(len: uint32_t, h: *mut c_void, cb: extern fn(*mut c_void, *const c_char, size_t, *const c_char, size_t));//n [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | fn load_keypair(pk_s: *const c_char, pk_l: int32_t, vk_s: *const c_char, vk_l: int32_t) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:23:84 [INFO] [stdout] | [INFO] [stdout] 23 | fn load_keypair(pk_s: *const c_char, pk_l: int32_t, vk_s: *const c_char, vk_l: int32_t) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | len: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | proof: *const uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | proof_len: int32_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | h_of_key: *const uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | enc_solution: *const uint8_t [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:26:62 [INFO] [stdout] | [INFO] [stdout] 26 | cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:26:86 [INFO] [stdout] | [INFO] [stdout] 26 | cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | len: uint32_t, solution: *const uint8_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | len: uint32_t, solution: *const uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | key: *const uint8_t, h_of_key: *const uint8_t) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | key: *const uint8_t, h_of_key: *const uint8_t) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:30:69 [INFO] [stdout] | [INFO] [stdout] 30 | fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | len: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | proof: *const uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/ffi.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | proof_len: int32_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | h_of_key: *const uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | enc_solution: *const uint8_t [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | fn from(a: bincode::serde::SerializeError) -> ProtoError { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | 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: `solution` [INFO] [stdout] --> src/sudoku.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | let solution = Sudoku::import_and_solve(8, &puzzle); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | |mut encrypted_solution, proof| { [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/sudoku.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut grid = Sudoku::new(n); [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: associated function is never used: `clearsome` [INFO] [stdout] --> src/sudoku.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn clearsome(&mut self, rng: &mut R) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prompt` [INFO] [stdout] --> src/util.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn prompt(prompt: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | fn from(a: bincode::serde::SerializeError) -> ProtoError { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | |mut encrypted_solution, proof| { [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/sudoku.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut grid = Sudoku::new(n); [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: 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: `#[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: `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:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn 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: 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] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `import_and_solve` [INFO] [stdout] --> src/sudoku.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn import_and_solve(n: usize, puzzle: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inject` [INFO] [stdout] --> src/sudoku.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn inject(&self, other: &[u8]) { [INFO] [stdout] | ^^^^^^ [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] [INFO] [stdout] warning: associated function is never used: `clearsome` [INFO] [stdout] --> src/sudoku.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn clearsome(&mut self, rng: &mut R) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prompt` [INFO] [stdout] --> src/util.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn prompt(prompt: &str) -> Option { [INFO] [stdout] | ^^^^^^ [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: `#[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: `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:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn 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: 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] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.02s [INFO] running `Command { std: "docker" "inspect" "da91deec9a2d7ac1c5b69e011cee4dc36c147a2e8f8dbbdd7a74ec559e508523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da91deec9a2d7ac1c5b69e011cee4dc36c147a2e8f8dbbdd7a74ec559e508523", kill_on_drop: false }` [INFO] [stdout] da91deec9a2d7ac1c5b69e011cee4dc36c147a2e8f8dbbdd7a74ec559e508523