[INFO] cloning repository intrepion/brson-httptest-tutorial [INFO] running `"git" "clone" "--bare" "git://github.com/intrepion/brson-httptest-tutorial.git" "work/cache/sources/gh/intrepion/brson-httptest-tutorial"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/intrepion/brson-httptest-tutorial'... [INFO] running `"git" "clone" "work/cache/sources/gh/intrepion/brson-httptest-tutorial" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/intrepion/brson-httptest-tutorial"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/intrepion/brson-httptest-tutorial'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/intrepion/brson-httptest-tutorial" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/intrepion/brson-httptest-tutorial"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/intrepion/brson-httptest-tutorial'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] be3e5db3e92ee159c97eb1b9111dfb195e7766d5 [INFO] sha for GitHub repo intrepion/brson-httptest-tutorial: be3e5db3e92ee159c97eb1b9111dfb195e7766d5 [INFO] validating manifest of intrepion/brson-httptest-tutorial on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of intrepion/brson-httptest-tutorial on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing intrepion/brson-httptest-tutorial [INFO] finished frobbing intrepion/brson-httptest-tutorial [INFO] frobbed toml for intrepion/brson-httptest-tutorial written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/intrepion/brson-httptest-tutorial/Cargo.toml [INFO] started frobbing intrepion/brson-httptest-tutorial [INFO] finished frobbing intrepion/brson-httptest-tutorial [INFO] frobbed toml for intrepion/brson-httptest-tutorial written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/intrepion/brson-httptest-tutorial/Cargo.toml [INFO] crate intrepion/brson-httptest-tutorial already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/intrepion/brson-httptest-tutorial/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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing intrepion/brson-httptest-tutorial against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/intrepion/brson-httptest-tutorial:/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=forbid" "-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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "build" "--frozen"` [INFO] [stdout] 4111c14aad871c2168a6fc5c25b105a0f474340aa0f6e7ac079941f306c7f4d6 [INFO] running `"docker" "start" "-a" "4111c14aad871c2168a6fc5c25b105a0f474340aa0f6e7ac079941f306c7f4d6"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling route-recognizer v0.1.12 [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 rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling tokio-trace-core v0.2.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling typemap v0.3.3 [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.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.21 [INFO] [stderr] Compiling iron v0.6.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling h2 v0.1.23 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling hyper v0.12.29 [INFO] [stderr] Compiling httptest v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | router.get("/", move |r: &mut Request| hello_world(r, &greeting.lock().unwrap())); [INFO] [stderr] | ^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Ok` in module `hyper` [INFO] [stderr] --> src/bin/client.rs:9:35 [INFO] [stderr] | [INFO] [stderr] 9 | assert_eq!(res.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] 3 | use std::prelude::v1::Ok; [INFO] [stderr] | [INFO] [stderr] 3 | use std::result::Result::Ok; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Ok` in module `hyper` [INFO] [stderr] --> src/bin/client.rs:11:35 [INFO] [stderr] | [INFO] [stderr] 11 | assert_eq!(res.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] 3 | use std::prelude::v1::Ok; [INFO] [stderr] | [INFO] [stderr] 3 | use std::result::Result::Ok; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | router.post("/set", move |r: &mut Request| set_greeting(r, &mut greeting_clone.lock().unwrap())); [INFO] [stderr] | ^^^^ expected 3 parameters [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `httptest`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `post` found for type `hyper::Client` in the current scope [INFO] [stderr] --> src/bin/client.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | let res = client.post("http://localhost:3000/set").body(r#"{ "msg": "Just trust the Rust" }"#).send().unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/client.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | let mut res = client.get("http://localhost:3000/").send().unwrap(); [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/bin/client.rs:10:56 [INFO] [stderr] | [INFO] [stderr] 10 | let mut res = client.get("http://localhost:3000/").send().unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/bin/client.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `httptest`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4111c14aad871c2168a6fc5c25b105a0f474340aa0f6e7ac079941f306c7f4d6"` [INFO] running `"docker" "rm" "-f" "4111c14aad871c2168a6fc5c25b105a0f474340aa0f6e7ac079941f306c7f4d6"` [INFO] [stdout] 4111c14aad871c2168a6fc5c25b105a0f474340aa0f6e7ac079941f306c7f4d6