[INFO] updating cached repository zcash-hackworks/pay-to-sudoku [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/zcash-hackworks/pay-to-sudoku [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/zcash-hackworks/pay-to-sudoku" "work/ex/beta-1.38-1/sources/1.37.0/gh/zcash-hackworks/pay-to-sudoku"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/zcash-hackworks/pay-to-sudoku'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/zcash-hackworks/pay-to-sudoku" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/zcash-hackworks/pay-to-sudoku"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/zcash-hackworks/pay-to-sudoku'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e80e165ab50495606c59edded993e193dc506dc0 [INFO] sha for GitHub repo zcash-hackworks/pay-to-sudoku: e80e165ab50495606c59edded993e193dc506dc0 [INFO] validating manifest of zcash-hackworks/pay-to-sudoku on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of zcash-hackworks/pay-to-sudoku on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing zcash-hackworks/pay-to-sudoku [INFO] finished frobbing zcash-hackworks/pay-to-sudoku [INFO] frobbed toml for zcash-hackworks/pay-to-sudoku written to work/ex/beta-1.38-1/sources/1.37.0/gh/zcash-hackworks/pay-to-sudoku/Cargo.toml [INFO] started frobbing zcash-hackworks/pay-to-sudoku [INFO] finished frobbing zcash-hackworks/pay-to-sudoku [INFO] frobbed toml for zcash-hackworks/pay-to-sudoku written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/zcash-hackworks/pay-to-sudoku/Cargo.toml [INFO] crate zcash-hackworks/pay-to-sudoku already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/zcash-hackworks/pay-to-sudoku/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing zcash-hackworks/pay-to-sudoku against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/zcash-hackworks/pay-to-sudoku:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 992f811312059d576520597a51b266a118fc0ce5ed8f122c639ac7bacf1d9792 [INFO] running `"docker" "start" "-a" "992f811312059d576520597a51b266a118fc0ce5ed8f122c639ac7bacf1d9792"` [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling language-tags v0.0.7 [INFO] [stderr] Compiling vec_map v0.4.0 [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling strsim v0.4.1 [INFO] [stderr] Compiling hex v0.1.0 [INFO] [stderr] Compiling whiteread v0.2.0 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling clap v1.5.6 [INFO] [stderr] Compiling uuid v0.1.18 [INFO] [stderr] Compiling url v0.2.38 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling cookie v0.1.21 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling bzip2 v0.2.4 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling serde v0.6.15 [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/crater/workdir) [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(test)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #[macro_use] extern crate jsonrpc; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Read`, `Write`, `self` [INFO] [stderr] --> src/main.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | use std::io::{self, Read, Write}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FromHex` [INFO] [stderr] --> src/main.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | use hex::{ToHex, FromHex}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::Sudoku` [INFO] [stderr] --> src/sudoku.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | use super::Sudoku; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `test::Bencher` [INFO] [stderr] --> src/sudoku.rs:243:9 [INFO] [stderr] | [INFO] [stderr] 243 | use test::Bencher; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ffi.rs:50:32 [INFO] [stderr] | [INFO] [stderr] 50 | let closure: &mut &mut for<'a> FnMut(&'a [u8], &'a [i8]) = mem::transmute(cb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> FnMut(&'a [u8], &'a [i8])` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ffi.rs:62:32 [INFO] [stderr] | [INFO] [stderr] 62 | let closure: &mut &mut for<'a> FnMut(&'a [i8], &'a [i8]) = mem::transmute(cb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> FnMut(&'a [i8], &'a [i8])` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ffi.rs:69:22 [INFO] [stderr] | [INFO] [stderr] 69 | let mut cb: &mut for<'a> FnMut(&'a [u8], &'a [u8]) = &mut f; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> FnMut(&'a [u8], &'a [u8])` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ffi.rs:93:22 [INFO] [stderr] | [INFO] [stderr] 93 | let mut cb: &mut for<'a> FnMut(&'a [u8], &'a [u8]) = &mut f; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> FnMut(&'a [u8], &'a [u8])` [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde` [INFO] [stderr] --> src/bitcoin.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use serde; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ToHex` [INFO] [stderr] --> src/bitcoin.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | use hex::{ToHex, FromHex}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:310:28 [INFO] [stderr] | [INFO] [stderr] 310 | if (rx.lock().unwrap().try_recv().is_ok()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/ffi.rs:8:37 [INFO] [stderr] | [INFO] [stderr] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/ffi.rs:8:47 [INFO] [stderr] | [INFO] [stderr] 8 | use libc::{size_t, c_char, uint8_t, uint32_t, int32_t, c_void}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/ffi.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | fn gen_keypair(n: uint32_t, h: *mut c_void, cb: extern fn(*mut c_void, *const c_char, size_t, *const c_char, size_t)); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/ffi.rs:23:48 [INFO] [stderr] | [INFO] [stderr] 23 | fn load_keypair(pk_s: *const c_char, pk_l: int32_t, vk_s: *const c_char, vk_l: int32_t) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/ffi.rs:23:84 [INFO] [stderr] | [INFO] [stderr] 23 | fn load_keypair(pk_s: *const c_char, pk_l: int32_t, vk_s: *const c_char, vk_l: int32_t) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/ffi.rs:26:45 [INFO] [stderr] | [INFO] [stderr] 26 | cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:26:62 [INFO] [stderr] | [INFO] [stderr] 26 | cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/ffi.rs:26:86 [INFO] [stderr] | [INFO] [stderr] 26 | cb: extern fn(*mut c_void, uint32_t, *const uint8_t, *const c_char, int32_t), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/ffi.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | n: uint32_t, puzzle: *const uint8_t, solution: *const uint8_t, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:27:46 [INFO] [stderr] | [INFO] [stderr] 27 | n: uint32_t, puzzle: *const uint8_t, solution: *const uint8_t, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:27:72 [INFO] [stderr] | [INFO] [stderr] 27 | n: uint32_t, puzzle: *const uint8_t, solution: *const uint8_t, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | key: *const uint8_t, h_of_key: *const uint8_t) -> bool; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:28:56 [INFO] [stderr] | [INFO] [stderr] 28 | key: *const uint8_t, h_of_key: *const uint8_t) -> bool; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/ffi.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:29:48 [INFO] [stderr] | [INFO] [stderr] 29 | fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:29:69 [INFO] [stderr] | [INFO] [stderr] 29 | fn decrypt_solution(n: uint32_t, enc: *mut uint8_t, key: *const uint8_t); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/ffi.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 31 | n: uint32_t, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:32:35 [INFO] [stderr] | [INFO] [stderr] 32 | proof: *const uint8_t, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/ffi.rs:33:32 [INFO] [stderr] | [INFO] [stderr] 33 | proof_len: int32_t, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:34:36 [INFO] [stderr] | [INFO] [stderr] 34 | puzzle: *const uint8_t, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:35:38 [INFO] [stderr] | [INFO] [stderr] 35 | h_of_key: *const uint8_t, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:36:42 [INFO] [stderr] | [INFO] [stderr] 36 | enc_solution: *const uint8_t [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/ffi.rs:44:57 [INFO] [stderr] | [INFO] [stderr] 44 | extern "C" fn handle_proof_callback(cb: *mut c_void, n: uint32_t, encrypted_solution: *const uint8_t, proof: *const c_char, proof_len: int32_t) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/ffi.rs:44:94 [INFO] [stderr] | [INFO] [stderr] 44 | extern "C" fn handle_proof_callback(cb: *mut c_void, n: uint32_t, encrypted_solution: *const uint8_t, proof: *const c_char, proof_len: int32_t) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/ffi.rs:44:136 [INFO] [stderr] | [INFO] [stderr] 44 | extern "C" fn handle_proof_callback(cb: *mut c_void, n: uint32_t, encrypted_solution: *const uint8_t, proof: *const c_char, proof_len: int32_t) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/ffi.rs:119:80 [INFO] [stderr] | [INFO] [stderr] 119 | unsafe { snark_verify(ctx.keypair, ctx.n as u32, &proof[0], proof.len() as int32_t, &puzzle[0], &h_of_key[0], &encrypted_solution[0]) } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `pay-to-sudoku`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "992f811312059d576520597a51b266a118fc0ce5ed8f122c639ac7bacf1d9792"` [INFO] running `"docker" "rm" "-f" "992f811312059d576520597a51b266a118fc0ce5ed8f122c639ac7bacf1d9792"` [INFO] [stdout] 992f811312059d576520597a51b266a118fc0ce5ed8f122c639ac7bacf1d9792