[INFO] updating cached repository takatori/rust-coin [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/takatori/rust-coin [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/takatori/rust-coin" "work/ex/beta-1.38-1/sources/1.37.0/gh/takatori/rust-coin"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/takatori/rust-coin'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/takatori/rust-coin" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/takatori/rust-coin"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/takatori/rust-coin'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 93076f35aca5a0a5c849c8bfcbce0fa0c8c2386e [INFO] sha for GitHub repo takatori/rust-coin: 93076f35aca5a0a5c849c8bfcbce0fa0c8c2386e [INFO] validating manifest of takatori/rust-coin 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 takatori/rust-coin 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 takatori/rust-coin [INFO] finished frobbing takatori/rust-coin [INFO] frobbed toml for takatori/rust-coin written to work/ex/beta-1.38-1/sources/1.37.0/gh/takatori/rust-coin/Cargo.toml [INFO] started frobbing takatori/rust-coin [INFO] finished frobbing takatori/rust-coin [INFO] frobbed toml for takatori/rust-coin written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/takatori/rust-coin/Cargo.toml [INFO] crate takatori/rust-coin 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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing takatori/rust-coin 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-3/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/takatori/rust-coin:/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] 21f390bfb6018d0aa59366216afb21aa408d4a5b7c59003d0a05c0ebf7d58a64 [INFO] running `"docker" "start" "-a" "21f390bfb6018d0aa59366216afb21aa408d4a5b7c59003d0a05c0ebf7d58a64"` [INFO] [stderr] Compiling odds v0.2.25 [INFO] [stderr] Compiling iovec v0.1.0 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.6 [INFO] [stderr] Compiling mime v0.3.3 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling mio v0.6.10 [INFO] [stderr] Compiling nodrop v0.1.9 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling tokio-io v0.1.3 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling tokio-core v0.1.9 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.2 [INFO] [stderr] Compiling rust-coin v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `sha2::Sha256` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use sha2::Sha256; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `digest::Input` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use digest::Input; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hyper::header::ContentLength` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use hyper::header::ContentLength; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Http` [INFO] [stderr] --> src/main.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | use hyper::server::{Http, Request, Response, Service}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/main.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 94 | let mut sha256 = Digest::new(); [INFO] [stderr] | ---------- consider giving `sha256` a type [INFO] [stderr] 95 | sha256.input_str(seed); [INFO] [stderr] | ^^^^^^ cannot infer type [INFO] [stderr] | [INFO] [stderr] = note: type must be known at this point [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:153:23 [INFO] [stderr] | [INFO] [stderr] 153 | block_chain = new_blocks; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::vec::Vec`, found &[Block] [INFO] [stderr] | help: try using a conversion method: `new_blocks.to_vec()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec` [INFO] [stderr] found type `&[Block]` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:161:57 [INFO] [stderr] | [INFO] [stderr] 161 | fn is_valid_chain(block_chain_to_validate: &[Block]) -> bool { [INFO] [stderr] | -------------- ^^^^ expected bool, found () [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] | [INFO] [stderr] = note: expected type `bool` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error: Could not compile `rust-coin`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "21f390bfb6018d0aa59366216afb21aa408d4a5b7c59003d0a05c0ebf7d58a64"` [INFO] running `"docker" "rm" "-f" "21f390bfb6018d0aa59366216afb21aa408d4a5b7c59003d0a05c0ebf7d58a64"` [INFO] [stdout] 21f390bfb6018d0aa59366216afb21aa408d4a5b7c59003d0a05c0ebf7d58a64