[INFO] updating cached repository mapmeld/rust-experiment [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mapmeld/rust-experiment [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mapmeld/rust-experiment" "work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/mapmeld/rust-experiment"` [INFO] [stderr] Cloning into 'work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/mapmeld/rust-experiment'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mapmeld/rust-experiment" "work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/gh/mapmeld/rust-experiment"` [INFO] [stderr] Cloning into 'work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/gh/mapmeld/rust-experiment'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3f0590445d07ddf2c06b92dc84b99fd226c77ac1 [INFO] sha for GitHub repo mapmeld/rust-experiment: 3f0590445d07ddf2c06b92dc84b99fd226c77ac1 [INFO] validating manifest of mapmeld/rust-experiment on toolchain master#c43d03a19f326f4a323569328cc501e86eb6d22e [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mapmeld/rust-experiment on toolchain try#75eff020d0923c035c2fe220db4a0465cd847048 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing mapmeld/rust-experiment [INFO] finished frobbing mapmeld/rust-experiment [INFO] frobbed toml for mapmeld/rust-experiment written to work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/mapmeld/rust-experiment/Cargo.toml [INFO] started frobbing mapmeld/rust-experiment [INFO] finished frobbing mapmeld/rust-experiment [INFO] frobbed toml for mapmeld/rust-experiment written to work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/gh/mapmeld/rust-experiment/Cargo.toml [INFO] crate mapmeld/rust-experiment already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/mapmeld/rust-experiment/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" "+c43d03a19f326f4a323569328cc501e86eb6d22e-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/crater/work/local/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking mapmeld/rust-experiment against master#c43d03a19f326f4a323569328cc501e86eb6d22e for pr-63565 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63565/worker-3/master#c43d03a19f326f4a323569328cc501e86eb6d22e:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/mapmeld/rust-experiment:/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" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c7cadbe81633527749e5cb22b50922ffd6bb1fdfe029f52b010344f810f2d8fa [INFO] running `"docker" "start" "-a" "c7cadbe81633527749e5cb22b50922ffd6bb1fdfe029f52b010344f810f2d8fa"` [INFO] [stderr] warning: path `/opt/crater/workdir/src/hello.rs` was erroneously implicitly accepted for binary `hello`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Checking hyper v0.9.18 [INFO] [stderr] Checking handlebars v0.20.5 [INFO] [stderr] Checking router v0.7.0-pre1 (https://github.com/iron/router.git#ec2c7890) [INFO] [stderr] Checking iron v0.4.0 [INFO] [stderr] Checking mount v0.2.1 [INFO] [stderr] Checking handlebars-iron v0.18.0 [INFO] [stderr] Checking staticfile v0.3.1 [INFO] [stderr] Checking etherbotanist v1.0.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `MemorySource` [INFO] [stderr] --> src/hello.rs:15:56 [INFO] [stderr] | [INFO] [stderr] 15 | use hbs::{Template, HandlebarsEngine, DirectorySource, MemorySource}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/hello.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 20 | fn hello(_: &mut Request) -> IronResult { [INFO] [stderr] | ------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> _` [INFO] [stderr] ... [INFO] [stderr] 62 | router.get("/", hello, "index"); [INFO] [stderr] | ^^^ expected signature of `for<'r> fn(&'r mut iron::request::Request) -> _` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> std::result::Result {hello}` [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/hello.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 20 | fn hello(_: &mut Request) -> IronResult { [INFO] [stderr] | ------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> _` [INFO] [stderr] ... [INFO] [stderr] 62 | router.get("/", hello, "index"); [INFO] [stderr] | ^^^ expected signature of `fn(&mut iron::request::Request) -> _` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> std::result::Result {hello}` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stderr] --> src/hello.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | router.get("/name/:name", hello_chain, "name"); [INFO] [stderr] | ^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `iron::Chain` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `iron::Chain` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stderr] --> src/hello.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | router.get("/name/:name", hello_chain, "name"); [INFO] [stderr] | ^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `iron::Chain` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `iron::Chain` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router` [INFO] [stderr] --> src/hello.rs:67:11 [INFO] [stderr] | [INFO] [stderr] 67 | mount.mount("/", router) [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] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router` [INFO] [stderr] --> src/hello.rs:67:11 [INFO] [stderr] | [INFO] [stderr] 67 | mount.mount("/", router) [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] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `etherbotanist`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `MemorySource` [INFO] [stderr] --> src/hello.rs:15:56 [INFO] [stderr] | [INFO] [stderr] 15 | use hbs::{Template, HandlebarsEngine, DirectorySource, MemorySource}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/hello.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 20 | fn hello(_: &mut Request) -> IronResult { [INFO] [stderr] | ------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> _` [INFO] [stderr] ... [INFO] [stderr] 62 | router.get("/", hello, "index"); [INFO] [stderr] | ^^^ expected signature of `for<'r> fn(&'r mut iron::request::Request) -> _` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> std::result::Result {hello}` [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/hello.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 20 | fn hello(_: &mut Request) -> IronResult { [INFO] [stderr] | ------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> _` [INFO] [stderr] ... [INFO] [stderr] 62 | router.get("/", hello, "index"); [INFO] [stderr] | ^^^ expected signature of `fn(&mut iron::request::Request) -> _` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> std::result::Result {hello}` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stderr] --> src/hello.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | router.get("/name/:name", hello_chain, "name"); [INFO] [stderr] | ^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r> std::ops::Fn<(&'r mut iron::request::Request,)>` is not implemented for `iron::Chain` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `iron::Chain` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stderr] --> src/hello.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | router.get("/name/:name", hello_chain, "name"); [INFO] [stderr] | ^^^ expected an `FnOnce<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::request::Request,)>` is not implemented for `iron::Chain` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `iron::Chain` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router` [INFO] [stderr] --> src/hello.rs:67:11 [INFO] [stderr] | [INFO] [stderr] 67 | mount.mount("/", router) [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] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router` [INFO] [stderr] --> src/hello.rs:67:11 [INFO] [stderr] | [INFO] [stderr] 67 | mount.mount("/", router) [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] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `etherbotanist`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c7cadbe81633527749e5cb22b50922ffd6bb1fdfe029f52b010344f810f2d8fa"` [INFO] running `"docker" "rm" "-f" "c7cadbe81633527749e5cb22b50922ffd6bb1fdfe029f52b010344f810f2d8fa"` [INFO] [stdout] c7cadbe81633527749e5cb22b50922ffd6bb1fdfe029f52b010344f810f2d8fa