[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f0590445d07ddf2c06b92dc84b99fd226c77ac1 [INFO] testing mapmeld/rust-experiment against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmapmeld%2Frust-experiment" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mapmeld/rust-experiment on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-0/source/src/hello.rs` was erroneously implicitly accepted for binary `hello`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+1.45.2" "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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-0/source/src/hello.rs` was erroneously implicitly accepted for binary `hello`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", 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] 5530198e90468d33d20d97dce751910e6437c79e8de6c2b6f3cf974360179244 [INFO] running `Command { std: "docker" "start" "-a" "5530198e90468d33d20d97dce751910e6437c79e8de6c2b6f3cf974360179244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5530198e90468d33d20d97dce751910e6437c79e8de6c2b6f3cf974360179244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5530198e90468d33d20d97dce751910e6437c79e8de6c2b6f3cf974360179244", kill_on_drop: false }` [INFO] [stdout] 5530198e90468d33d20d97dce751910e6437c79e8de6c2b6f3cf974360179244 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f57440d47a6af22b2d3986b1afc65a2f920261f80edd3513a8a85ad7b74c55d [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" "1f57440d47a6af22b2d3986b1afc65a2f920261f80edd3513a8a85ad7b74c55d", 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 sequence_trie v0.0.13 [INFO] [stderr] Compiling pest v0.3.3 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling cookie v0.2.5 [INFO] [stderr] Compiling handlebars v0.20.5 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling hyper v0.9.18 [INFO] [stderr] Compiling iron v0.4.0 [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 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] 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>) -> std::result::Result {hello}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `std::ops::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> std::ops::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 `std::ops::FnOnce<(&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 `FnOnce<(&mut iron::request::Request,)>` closure, found `iron::Chain` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::FnOnce<(&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 `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `router::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::Router` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 's, 't0> std::ops::Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `router::Router` [INFO] [stdout] = note: required because of the requirements on the impl of `iron::Handler` for `router::Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router` [INFO] [stdout] --> src/hello.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | mount.mount("/", router) [INFO] [stdout] | ^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` is not implemented for `router::Router` [INFO] [stdout] = note: required because of the requirements on the impl of `iron::Handler` for `router::Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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] running `Command { std: "docker" "inspect" "1f57440d47a6af22b2d3986b1afc65a2f920261f80edd3513a8a85ad7b74c55d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f57440d47a6af22b2d3986b1afc65a2f920261f80edd3513a8a85ad7b74c55d", kill_on_drop: false }` [INFO] [stdout] 1f57440d47a6af22b2d3986b1afc65a2f920261f80edd3513a8a85ad7b74c55d