[INFO] cloning repository https://github.com/mapmeld/rust-experiment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mapmeld/rust-experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmapmeld%2Frust-experiment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmapmeld%2Frust-experiment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f0590445d07ddf2c06b92dc84b99fd226c77ac1 [INFO] checking mapmeld/rust-experiment against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmapmeld%2Frust-experiment" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mapmeld/rust-experiment on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mapmeld/rust-experiment [INFO] finished tweaking git repo https://github.com/mapmeld/rust-experiment [INFO] tweaked toml for git repo https://github.com/mapmeld/rust-experiment written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/mapmeld/rust-experiment already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-3/source/src/hello.rs` was erroneously implicitly accepted for binary `hello`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Updating git repository `https://github.com/iron/router.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/iron/router.git` [INFO] [stderr] Updating git repository `https://github.com/iron/iron` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-3/source/src/hello.rs` was erroneously implicitly accepted for binary `hello`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mount v0.2.1 [INFO] [stderr] Downloaded walkdir v0.1.8 [INFO] [stderr] Downloaded hyper v0.12.36 [INFO] [stderr] Downloaded sequence_trie v0.0.13 [INFO] [stderr] Downloaded staticfile v0.3.1 [INFO] [stderr] Downloaded handlebars v0.20.5 [INFO] [stderr] Downloaded handlebars-iron v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e5176f8e942b272f7ad7023bd57e9e8ae68df2ae329d902c5a704b2d03b2663 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4e5176f8e942b272f7ad7023bd57e9e8ae68df2ae329d902c5a704b2d03b2663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e5176f8e942b272f7ad7023bd57e9e8ae68df2ae329d902c5a704b2d03b2663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e5176f8e942b272f7ad7023bd57e9e8ae68df2ae329d902c5a704b2d03b2663", kill_on_drop: false }` [INFO] [stdout] 4e5176f8e942b272f7ad7023bd57e9e8ae68df2ae329d902c5a704b2d03b2663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d0f289c44be5a3b89a1ba7712bf3dd5bf41947756ffcc437f75b45fe284440ba [INFO] running `Command { std: "docker" "start" "-a" "d0f289c44be5a3b89a1ba7712bf3dd5bf41947756ffcc437f75b45fe284440ba", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/hello.rs` was erroneously implicitly accepted for binary `hello`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking traitobject v0.0.1 [INFO] [stderr] Checking sequence_trie v0.0.13 [INFO] [stderr] Checking pest v0.3.3 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking conduit-mime-types v0.7.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Checking cookie v0.2.5 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking handlebars v0.20.5 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking hyper v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [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 http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking iron v0.6.0 (https://github.com/iron/iron?branch=master#cde77e5e) [INFO] [stderr] Checking router v0.7.0-pre1 (https://github.com/iron/router.git#ec2c7890) [INFO] [stderr] Checking etherbotanist v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MemorySource` [INFO] [stdout] --> src/hello.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | use hbs::{Template, HandlebarsEngine, DirectorySource, MemorySource}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemorySource` [INFO] [stdout] --> src/hello.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | use hbs::{Template, HandlebarsEngine, DirectorySource, MemorySource}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/hello.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn hello(_: &mut Request) -> IronResult { [INFO] [stdout] | ------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> _` [INFO] [stdout] ... [INFO] [stdout] 62 | router.get("/", hello, "index"); [INFO] [stdout] | ^^^ expected signature of `for<'r> fn(&'r mut iron::request::Request) -> _` [INFO] [stdout] | [INFO] [stdout] = 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>) -> Result {hello}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/hello.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn hello(_: &mut Request) -> IronResult { [INFO] [stdout] | ------------------------------------------------- found signature of `for<'r, 's, 't0> fn(&'r mut iron::Request<'s, 't0>) -> _` [INFO] [stdout] ... [INFO] [stdout] 62 | router.get("/", hello, "index"); [INFO] [stdout] | ^^^ expected signature of `for<'r> fn(&'r mut iron::request::Request) -> _` [INFO] [stdout] | [INFO] [stdout] = 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>) -> Result {hello}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stdout] --> src/hello.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | router.get("/name/:name", hello_chain, "name"); [INFO] [stdout] | ^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r> Fn<(&'r mut iron::request::Request,)>` is not implemented for `iron::Chain` [INFO] [stdout] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `iron::Chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `Router` [INFO] [stdout] --> src/hello.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | mount.mount("/", router) [INFO] [stdout] | ^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `Router` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 's, 't0> Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `Router` [INFO] [stdout] = note: required because of the requirements on the impl of `Handler` for `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `etherbotanist` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: expected a `Fn<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stdout] --> src/hello.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | router.get("/name/:name", hello_chain, "name"); [INFO] [stdout] | ^^^ expected an `Fn<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r> Fn<(&'r mut iron::request::Request,)>` is not implemented for `iron::Chain` [INFO] [stdout] = note: required because of the requirements on the impl of `iron::middleware::Handler` for `iron::Chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `Router` [INFO] [stdout] --> src/hello.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | mount.mount("/", router) [INFO] [stdout] | ^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `Router` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 's, 't0> Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `Router` [INFO] [stdout] = note: required because of the requirements on the impl of `Handler` for `Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d0f289c44be5a3b89a1ba7712bf3dd5bf41947756ffcc437f75b45fe284440ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f289c44be5a3b89a1ba7712bf3dd5bf41947756ffcc437f75b45fe284440ba", kill_on_drop: false }` [INFO] [stdout] d0f289c44be5a3b89a1ba7712bf3dd5bf41947756ffcc437f75b45fe284440ba