[INFO] cloning repository dschneider/rust-web-service [INFO] running `"git" "clone" "--bare" "git://github.com/dschneider/rust-web-service.git" "work/cache/sources/gh/dschneider/rust-web-service"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/dschneider/rust-web-service'... [INFO] running `"git" "clone" "work/cache/sources/gh/dschneider/rust-web-service" "work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/dschneider/rust-web-service"` [INFO] [stderr] Cloning into 'work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/dschneider/rust-web-service'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dschneider/rust-web-service" "work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/dschneider/rust-web-service"` [INFO] [stderr] Cloning into 'work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/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 master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of dschneider/rust-web-service on toolchain try#8f81d0bf6baf07b92f1246696722485c4ca0b049 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "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/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/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/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/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/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/ec2-user/crater/work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/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/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "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/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "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/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking dschneider/rust-web-service against master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 for pr-62008 [INFO] running `"docker" "create" "-v" "/mnt/big/ec2-user/crater/work/local/target-dirs/pr-62008/worker-5/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1:/opt/crater/target:rw,Z" "-v" "/mnt/big/ec2-user/crater/work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/dschneider/rust-web-service:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/ec2-user/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/ec2-user/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" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 25f25afc80d6ef319d64bf0a724b05509c570219baa3a726571680c40ed797b7 [INFO] running `"docker" "start" "-a" "25f25afc80d6ef319d64bf0a724b05509c570219baa3a726571680c40ed797b7"` [INFO] [stderr] Checking 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::::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::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `http` found for type `iron::Iron` 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] warning: build failed, waiting for other jobs to finish... [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::::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::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `http` found for type `iron::Iron` 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" "25f25afc80d6ef319d64bf0a724b05509c570219baa3a726571680c40ed797b7"` [INFO] running `"docker" "rm" "-f" "25f25afc80d6ef319d64bf0a724b05509c570219baa3a726571680c40ed797b7"` [INFO] [stdout] 25f25afc80d6ef319d64bf0a724b05509c570219baa3a726571680c40ed797b7