[INFO] cloning repository mapmeld/rust-experiment [INFO] running `"git" "clone" "--bare" "git://github.com/mapmeld/rust-experiment.git" "work/cache/sources/gh/mapmeld/rust-experiment"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/mapmeld/rust-experiment'... [INFO] running `"git" "clone" "work/cache/sources/gh/mapmeld/rust-experiment" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/mapmeld/rust-experiment"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/mapmeld/rust-experiment'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mapmeld/rust-experiment" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/mapmeld/rust-experiment"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mapmeld/rust-experiment 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 mapmeld/rust-experiment [INFO] finished frobbing mapmeld/rust-experiment [INFO] frobbed toml for mapmeld/rust-experiment written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/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-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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" "+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/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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-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" "+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 mapmeld/rust-experiment against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] 08e2b9f23593a88990a7ada52c77c9dff3c6736a0827be9aed54885411fb443d [INFO] running `"docker" "start" "-a" "08e2b9f23593a88990a7ada52c77c9dff3c6736a0827be9aed54885411fb443d"` [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] Compiling cookie v0.2.5 [INFO] [stderr] Compiling handlebars v0.20.5 [INFO] [stderr] Compiling tokio v0.1.21 [INFO] [stderr] Compiling hyper v0.9.18 [INFO] [stderr] Compiling hyper v0.12.29 [INFO] [stderr] Compiling iron v0.4.0 [INFO] [stderr] Compiling iron v0.6.0 (https://github.com/iron/iron#562a9251) [INFO] [stderr] Compiling mount v0.2.1 [INFO] [stderr] Compiling handlebars-iron v0.18.0 [INFO] [stderr] Compiling staticfile v0.3.1 [INFO] [stderr] Compiling router v0.7.0-pre1 (https://github.com/iron/router.git#15949442) [INFO] [stderr] Compiling 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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "08e2b9f23593a88990a7ada52c77c9dff3c6736a0827be9aed54885411fb443d"` [INFO] running `"docker" "rm" "-f" "08e2b9f23593a88990a7ada52c77c9dff3c6736a0827be9aed54885411fb443d"` [INFO] [stdout] 08e2b9f23593a88990a7ada52c77c9dff3c6736a0827be9aed54885411fb443d