[INFO] updating cached repository https://github.com/takatori/rust-coin [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 93076f35aca5a0a5c849c8bfcbce0fa0c8c2386e [INFO] testing takatori/rust-coin against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/takatori/rust-coin on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/takatori/rust-coin [INFO] finished tweaking git repo https://github.com/takatori/rust-coin [INFO] tweaked toml for git repo https://github.com/takatori/rust-coin written to work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/takatori/rust-coin already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] b9969fa87d63d0646aec9f292681f08176c75a75cbc4931d74a4afd987ee064d [INFO] running `"docker" "start" "-a" "b9969fa87d63d0646aec9f292681f08176c75a75cbc4931d74a4afd987ee064d"` [INFO] [stderr] Compiling iovec v0.1.0 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling nodrop v0.1.9 [INFO] [stderr] Compiling futures-cpupool v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.3 [INFO] [stderr] Compiling serde_derive_internals v0.16.0 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling mio v0.6.10 [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-io v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.15 [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/rustwide/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" "b9969fa87d63d0646aec9f292681f08176c75a75cbc4931d74a4afd987ee064d"` [INFO] running `"docker" "rm" "-f" "b9969fa87d63d0646aec9f292681f08176c75a75cbc4931d74a4afd987ee064d"` [INFO] [stdout] b9969fa87d63d0646aec9f292681f08176c75a75cbc4931d74a4afd987ee064d