[INFO] updating cached repository jamescapuder/rblock [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jamescapuder/rblock [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jamescapuder/rblock" "work/ex/beta-1.38-1/sources/1.37.0/gh/jamescapuder/rblock"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/jamescapuder/rblock'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jamescapuder/rblock" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jamescapuder/rblock"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jamescapuder/rblock'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 59b08ea3c98b20b4be3e9976be264c1884a00dec [INFO] sha for GitHub repo jamescapuder/rblock: 59b08ea3c98b20b4be3e9976be264c1884a00dec [INFO] validating manifest of jamescapuder/rblock 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 jamescapuder/rblock 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 jamescapuder/rblock [INFO] finished frobbing jamescapuder/rblock [INFO] frobbed toml for jamescapuder/rblock written to work/ex/beta-1.38-1/sources/1.37.0/gh/jamescapuder/rblock/Cargo.toml [INFO] started frobbing jamescapuder/rblock [INFO] finished frobbing jamescapuder/rblock [INFO] frobbed toml for jamescapuder/rblock written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jamescapuder/rblock/Cargo.toml [INFO] crate jamescapuder/rblock 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing jamescapuder/rblock against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jamescapuder/rblock:/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] fb075945f3daf8e02a04466a8683df189ae0eb756ca3902a8f95a6677d259b6e [INFO] running `"docker" "start" "-a" "fb075945f3daf8e02a04466a8683df189ae0eb756ca3902a8f95a6677d259b6e"` [INFO] [stderr] Compiling rblock v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/blockchain.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | for i in (1..100){ [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/blockchain.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn new(n: i32, d: String, prevh: u64)->Block{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `prevHash` should have a snake case name [INFO] [stderr] --> src/blockchain.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | prevHash: u64, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `prev_hash` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `dataStr` should have a snake case name [INFO] [stderr] --> src/blockchain.rs:84:36 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn insert_block(&mut self, dataStr: String){ [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `data_str` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `"docker" "inspect" "fb075945f3daf8e02a04466a8683df189ae0eb756ca3902a8f95a6677d259b6e"` [INFO] running `"docker" "rm" "-f" "fb075945f3daf8e02a04466a8683df189ae0eb756ca3902a8f95a6677d259b6e"` [INFO] [stdout] fb075945f3daf8e02a04466a8683df189ae0eb756ca3902a8f95a6677d259b6e [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jamescapuder/rblock:/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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 2e0a9c5c506bb06a56be45d1f84b3580eed3f0de4f003c69f8cfea69491237f9 [INFO] running `"docker" "start" "-a" "2e0a9c5c506bb06a56be45d1f84b3580eed3f0de4f003c69f8cfea69491237f9"` [INFO] [stderr] Compiling rblock v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/blockchain.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | for i in (1..100){ [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `time` in initializer of `blockchain::Block` [INFO] [stderr] --> src/blockchain.rs:137:18 [INFO] [stderr] | [INFO] [stderr] 137 | let b1 = Block{num: 0, data: "lala".to_string(), prevHash: 0}; [INFO] [stderr] | ^^^^^ missing `time` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `time` in initializer of `blockchain::Block` [INFO] [stderr] --> src/blockchain.rs:138:18 [INFO] [stderr] | [INFO] [stderr] 138 | let b2 = Block{num: 1, data: "lolo".to_string(), prevHash: b1.get_hash()}; [INFO] [stderr] | ^^^^^ missing `time` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0063`. [INFO] [stderr] error: Could not compile `rblock`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2e0a9c5c506bb06a56be45d1f84b3580eed3f0de4f003c69f8cfea69491237f9"` [INFO] running `"docker" "rm" "-f" "2e0a9c5c506bb06a56be45d1f84b3580eed3f0de4f003c69f8cfea69491237f9"` [INFO] [stdout] 2e0a9c5c506bb06a56be45d1f84b3580eed3f0de4f003c69f8cfea69491237f9