[INFO] updating cached repository zrneely/6.857-hw2 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/zrneely/6.857-hw2 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/zrneely/6.857-hw2" "work/ex/beta-1.38-1/sources/1.37.0/gh/zrneely/6.857-hw2"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/zrneely/6.857-hw2'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/zrneely/6.857-hw2" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/zrneely/6.857-hw2"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/zrneely/6.857-hw2'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 58180d9c93c896bd13c47b096d6b762e5be27e75 [INFO] sha for GitHub repo zrneely/6.857-hw2: 58180d9c93c896bd13c47b096d6b762e5be27e75 [INFO] validating manifest of zrneely/6.857-hw2 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 zrneely/6.857-hw2 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 zrneely/6.857-hw2 [INFO] finished frobbing zrneely/6.857-hw2 [INFO] frobbed toml for zrneely/6.857-hw2 written to work/ex/beta-1.38-1/sources/1.37.0/gh/zrneely/6.857-hw2/Cargo.toml [INFO] started frobbing zrneely/6.857-hw2 [INFO] finished frobbing zrneely/6.857-hw2 [INFO] frobbed toml for zrneely/6.857-hw2 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/zrneely/6.857-hw2/Cargo.toml [INFO] crate zrneely/6.857-hw2 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] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/zrneely/6.857-hw2/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 zrneely/6.857-hw2 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-2/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/zrneely/6.857-hw2:/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] dcca5603275432fa1e61fcf971c5f2b71013fd27cbdad5a04a425517226ca095 [INFO] running `"docker" "start" "-a" "dcca5603275432fa1e61fcf971c5f2b71013fd27cbdad5a04a425517226ca095"` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.9 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling 857miner v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range` [INFO] [stderr] --> src/worker.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | use rand::distributions::{IndependentSample, Range}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^ no `Range` in `distributions` [INFO] [stderr] | | [INFO] [stderr] | no `IndependentSample` in `distributions` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stderr] --> src/worker.rs:3:42 [INFO] [stderr] | [INFO] [stderr] 3 | use rand::{thread_rng, Rng, SeedableRng, XorShiftRng}; [INFO] [stderr] | ^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Ok` in crate `hyper` [INFO] [stderr] --> src/main.rs:183:42 [INFO] [stderr] | [INFO] [stderr] 183 | assert_eq!(result.status, hyper::Ok); [INFO] [stderr] | ^^ not found in `hyper` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 11 | use std::prelude::v1::Ok; [INFO] [stderr] | [INFO] [stderr] 11 | use std::result::Result::Ok; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Ok` in crate `hyper` [INFO] [stderr] --> src/main.rs:200:42 [INFO] [stderr] | [INFO] [stderr] 200 | assert_eq!(result.status, hyper::Ok); [INFO] [stderr] | ^^ not found in `hyper` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 11 | use std::prelude::v1::Ok; [INFO] [stderr] | [INFO] [stderr] 11 | use std::result::Result::Ok; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `Body` is private [INFO] [stderr] --> src/main.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | use hyper::client::{Body, Client}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Rng`, `SeedableRng` [INFO] [stderr] --> src/worker.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use rand::{thread_rng, Rng, SeedableRng, XorShiftRng}; [INFO] [stderr] | ^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:180:35 [INFO] [stderr] | [INFO] [stderr] 180 | .get(&format!("{}/next", NODE_URL)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `hyper::Uri`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `hyper::Uri` [INFO] [stderr] found type `&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> src/main.rs:181:31 [INFO] [stderr] | [INFO] [stderr] 181 | .send() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:197:18 [INFO] [stderr] | [INFO] [stderr] 197 | .get("http://6857coin.csail.mit.edu:8080/block/169740d5c4711f3cbbde6b9bfbbe8b3d236879d849d1c137660fce9e7884cae7") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `hyper::Uri`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `hyper::Uri` [INFO] [stderr] found type `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> src/main.rs:198:14 [INFO] [stderr] | [INFO] [stderr] 198 | .send() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `post` found for type `hyper::Client` in the current scope [INFO] [stderr] --> src/main.rs:222:31 [INFO] [stderr] | [INFO] [stderr] 222 | .post(&format!("{}/add", NODE_URL)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `857miner`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "dcca5603275432fa1e61fcf971c5f2b71013fd27cbdad5a04a425517226ca095"` [INFO] running `"docker" "rm" "-f" "dcca5603275432fa1e61fcf971c5f2b71013fd27cbdad5a04a425517226ca095"` [INFO] [stdout] dcca5603275432fa1e61fcf971c5f2b71013fd27cbdad5a04a425517226ca095