[INFO] updating cached repository https://github.com/takatori/rust-coin
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/takatori/rust-coin on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "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 /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/takatori/rust-coin already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "+1.40.0" "build" "--frozen"`
[INFO] [stdout] c448001a918fce5896c9aeb40298039eaf28c07df62113012e7befb52744bc63
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "c448001a918fce5896c9aeb40298039eaf28c07df62113012e7befb52744bc63"`
[INFO] [stderr]    Compiling typenum v1.9.0
[INFO] [stderr]    Compiling odds v0.2.25
[INFO] [stderr]    Compiling iovec v0.1.0
[INFO] [stderr]    Compiling time v0.1.38
[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 serde_json v1.0.3
[INFO] [stderr]    Compiling unicase v2.0.0
[INFO] [stderr]    Compiling bytes v0.4.5
[INFO] [stderr]    Compiling serde_derive v1.0.15
[INFO] [stderr]    Compiling nodrop v0.1.9
[INFO] [stderr]    Compiling mio v0.6.10
[INFO] [stderr]    Compiling mime v0.3.3
[INFO] [stderr]    Compiling tokio-io v0.1.3
[INFO] [stderr]    Compiling tokio-core v0.1.9
[INFO] [stderr]    Compiling generic-array v0.8.3
[INFO] [stderr]    Compiling block-buffer v0.2.0
[INFO] [stderr]    Compiling digest v0.6.2
[INFO] [stderr]    Compiling sha2 v0.6.0
[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<Block>`
[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" "c448001a918fce5896c9aeb40298039eaf28c07df62113012e7befb52744bc63"`
[INFO] running `"docker" "rm" "-f" "c448001a918fce5896c9aeb40298039eaf28c07df62113012e7befb52744bc63"`
[INFO] [stdout] c448001a918fce5896c9aeb40298039eaf28c07df62113012e7befb52744bc63
