[INFO] cloning repository PEshwar/toy_blockchain [INFO] running `"git" "clone" "--bare" "git://github.com/PEshwar/toy_blockchain.git" "work/cache/sources/gh/PEshwar/toy_blockchain"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/PEshwar/toy_blockchain'... [INFO] running `"git" "clone" "work/cache/sources/gh/PEshwar/toy_blockchain" "work/ex/beta-1.37-6/sources/1.36.0/gh/PEshwar/toy_blockchain"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/PEshwar/toy_blockchain'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/PEshwar/toy_blockchain" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/PEshwar/toy_blockchain"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/PEshwar/toy_blockchain'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c3f9d29fea64ac54da7ebb46da5a04e995585d22 [INFO] sha for GitHub repo PEshwar/toy_blockchain: c3f9d29fea64ac54da7ebb46da5a04e995585d22 [INFO] validating manifest of PEshwar/toy_blockchain on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of PEshwar/toy_blockchain on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing PEshwar/toy_blockchain [INFO] finished frobbing PEshwar/toy_blockchain [INFO] frobbed toml for PEshwar/toy_blockchain written to work/ex/beta-1.37-6/sources/1.36.0/gh/PEshwar/toy_blockchain/Cargo.toml [INFO] started frobbing PEshwar/toy_blockchain [INFO] finished frobbing PEshwar/toy_blockchain [INFO] frobbed toml for PEshwar/toy_blockchain written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/PEshwar/toy_blockchain/Cargo.toml [INFO] crate PEshwar/toy_blockchain already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing PEshwar/toy_blockchain against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/PEshwar/toy_blockchain:/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.36.0" "build" "--frozen"` [INFO] [stdout] 790125d49dbb8009ea0df446c59377362de7956008348f0ce0c63667f52df412 [INFO] running `"docker" "start" "-a" "790125d49dbb8009ea0df446c59377362de7956008348f0ce0c63667f52df412"` [INFO] [stderr] Compiling openssl-sys v0.9.47 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Compiling crypto-hash v0.3.3 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling peblock v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/main.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn new(timestamp: u64, transactions: Vec, previous_block: &Block) -> Block { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `genesis` [INFO] [stderr] --> src/main.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn genesis() -> Block { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_json` [INFO] [stderr] --> src/main.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn to_json(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `hash` [INFO] [stderr] --> src/main.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn hash(block: &Block) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_valid` [INFO] [stderr] --> src/main.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn is_valid(hash: &str, prefix: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `mine_next_block` [INFO] [stderr] --> src/main.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | fn mine_next_block(candidate_block: &mut Block, prefix: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Blockchain` [INFO] [stderr] --> src/main.rs:80:1 [INFO] [stderr] | [INFO] [stderr] 80 | struct Blockchain { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.02s [INFO] running `"docker" "inspect" "790125d49dbb8009ea0df446c59377362de7956008348f0ce0c63667f52df412"` [INFO] running `"docker" "rm" "-f" "790125d49dbb8009ea0df446c59377362de7956008348f0ce0c63667f52df412"` [INFO] [stdout] 790125d49dbb8009ea0df446c59377362de7956008348f0ce0c63667f52df412 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/PEshwar/toy_blockchain:/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.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 4933d3e14362b317deaaded4582b8d13adab6b782957336949650a9f8617c0d9 [INFO] running `"docker" "start" "-a" "4933d3e14362b317deaaded4582b8d13adab6b782957336949650a9f8617c0d9"` [INFO] [stderr] Compiling peblock v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/main.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn new(timestamp: u64, transactions: Vec, previous_block: &Block) -> Block { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `genesis` [INFO] [stderr] --> src/main.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn genesis() -> Block { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_json` [INFO] [stderr] --> src/main.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn to_json(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `hash` [INFO] [stderr] --> src/main.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn hash(block: &Block) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_valid` [INFO] [stderr] --> src/main.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn is_valid(hash: &str, prefix: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `mine_next_block` [INFO] [stderr] --> src/main.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | fn mine_next_block(candidate_block: &mut Block, prefix: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Blockchain` [INFO] [stderr] --> src/main.rs:80:1 [INFO] [stderr] | [INFO] [stderr] 80 | struct Blockchain { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `"docker" "inspect" "4933d3e14362b317deaaded4582b8d13adab6b782957336949650a9f8617c0d9"` [INFO] running `"docker" "rm" "-f" "4933d3e14362b317deaaded4582b8d13adab6b782957336949650a9f8617c0d9"` [INFO] [stdout] 4933d3e14362b317deaaded4582b8d13adab6b782957336949650a9f8617c0d9 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/PEshwar/toy_blockchain:/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.36.0" "test" "--frozen"` [INFO] [stdout] e934b06d5c09cb2dd7a4f1afa7ed3683e6c9254f4c9df6c2914656b203b2d83a [INFO] running `"docker" "start" "-a" "e934b06d5c09cb2dd7a4f1afa7ed3683e6c9254f4c9df6c2914656b203b2d83a"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/peblock-103cad19bcdf66aa [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "e934b06d5c09cb2dd7a4f1afa7ed3683e6c9254f4c9df6c2914656b203b2d83a"` [INFO] running `"docker" "rm" "-f" "e934b06d5c09cb2dd7a4f1afa7ed3683e6c9254f4c9df6c2914656b203b2d83a"` [INFO] [stdout] e934b06d5c09cb2dd7a4f1afa7ed3683e6c9254f4c9df6c2914656b203b2d83a