[INFO] updating cached repository dschneider/rust-web-service
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/dschneider/rust-web-service
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/dschneider/rust-web-service" "work/ex/beta-1.37-6/sources/1.36.0/gh/dschneider/rust-web-service"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/dschneider/rust-web-service'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/dschneider/rust-web-service" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/dschneider/rust-web-service"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/dschneider/rust-web-service'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 855b2355f32520cb7228932e5c39cf0ef145c8d6
[INFO] sha for GitHub repo dschneider/rust-web-service: 855b2355f32520cb7228932e5c39cf0ef145c8d6
[INFO] validating manifest of dschneider/rust-web-service on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of dschneider/rust-web-service on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing dschneider/rust-web-service
[INFO] finished frobbing dschneider/rust-web-service
[INFO] frobbed toml for dschneider/rust-web-service written to work/ex/beta-1.37-6/sources/1.36.0/gh/dschneider/rust-web-service/Cargo.toml
[INFO] started frobbing dschneider/rust-web-service
[INFO] finished frobbing dschneider/rust-web-service
[INFO] frobbed toml for dschneider/rust-web-service written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/dschneider/rust-web-service/Cargo.toml
[INFO] crate dschneider/rust-web-service already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/dschneider/rust-web-service/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.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/iron/router.git`
[INFO] [stderr]     Updating git repository `https://github.com/iron/iron`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/iron/router.git`
[INFO] [stderr]     Updating git repository `https://github.com/iron/iron`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing dschneider/rust-web-service against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/dschneider/rust-web-service:/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" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] 161b5889ad410f947f9c962d4fa2d9de7302b0273739a146b9fa607772569cbd
[INFO] running `"docker" "start" "-a" "161b5889ad410f947f9c962d4fa2d9de7302b0273739a146b9fa607772569cbd"`
[INFO] [stderr]    Compiling iron v0.6.0 (https://github.com/iron/iron#562a9251)
[INFO] [stderr]    Compiling router v0.7.0-pre1 (https://github.com/iron/router.git#15949442)
[INFO] [stderr]    Compiling test v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] warning: unused import: `std::net::SocketAddr`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::net::SocketAddr;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: #[warn(unused_imports)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::str::FromStr`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::str::FromStr;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied
[INFO] [stderr]   --> src/main.rs:25:10
[INFO] [stderr]    |
[INFO] [stderr] 25 |   router.get("/api/health", health_handler);
[INFO] [stderr]    |          ^^^ expected 3 parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/main.rs:29:13
[INFO] [stderr]    |
[INFO] [stderr] 29 |       match Iron::new(router).http(&*format!("0.0.0.0:{}", port_num)) {
[INFO] [stderr]    |             ^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `for<'r, 's, 't0> std::ops::Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::Handler` for `router::Router`
[INFO] [stderr]    = note: required by `iron::Iron::<H>::new`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router`
[INFO] [stderr]   --> src/main.rs:29:13
[INFO] [stderr]    |
[INFO] [stderr] 29 |       match Iron::new(router).http(&*format!("0.0.0.0:{}", port_num)) {
[INFO] [stderr]    |             ^^^^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` is not implemented for `router::Router`
[INFO] [stderr]    = note: required because of the requirements on the impl of `iron::Handler` for `router::Router`
[INFO] [stderr]    = note: required by `iron::Iron::<H>::new`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `http` found for type `iron::Iron<router::Router>` in the current scope
[INFO] [stderr]   --> src/main.rs:29:31
[INFO] [stderr]    |
[INFO] [stderr] 29 |       match Iron::new(router).http(&*format!("0.0.0.0:{}", port_num)) {
[INFO] [stderr]    |                               ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the method `http` exists but the following trait bounds were not satisfied:
[INFO] [stderr]            `router::Router : iron::Handler`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: Could not compile `test`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "161b5889ad410f947f9c962d4fa2d9de7302b0273739a146b9fa607772569cbd"`
[INFO] running `"docker" "rm" "-f" "161b5889ad410f947f9c962d4fa2d9de7302b0273739a146b9fa607772569cbd"`
[INFO] [stdout] 161b5889ad410f947f9c962d4fa2d9de7302b0273739a146b9fa607772569cbd
