[INFO] cloning repository https://github.com/AlexanderElias/rust-iron-handlebars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexanderElias/rust-iron-handlebars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderElias%2Frust-iron-handlebars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderElias%2Frust-iron-handlebars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee82417986cd0462031eb42ba73fcbc38a785242 [INFO] checking AlexanderElias/rust-iron-handlebars against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderElias%2Frust-iron-handlebars" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlexanderElias/rust-iron-handlebars on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AlexanderElias/rust-iron-handlebars [INFO] finished tweaking git repo https://github.com/AlexanderElias/rust-iron-handlebars [INFO] tweaked toml for git repo https://github.com/AlexanderElias/rust-iron-handlebars written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/AlexanderElias/rust-iron-handlebars already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03b85dcf1713ac3b5dcf3dab8960f1a402fd7f1ae95cf403522a89128768670a [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" "03b85dcf1713ac3b5dcf3dab8960f1a402fd7f1ae95cf403522a89128768670a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03b85dcf1713ac3b5dcf3dab8960f1a402fd7f1ae95cf403522a89128768670a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03b85dcf1713ac3b5dcf3dab8960f1a402fd7f1ae95cf403522a89128768670a", kill_on_drop: false }` [INFO] [stdout] 03b85dcf1713ac3b5dcf3dab8960f1a402fd7f1ae95cf403522a89128768670a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c73f1f03d98127a9035ab6da14af038861dfa7a8989398589d006aac76c5636 [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" "1c73f1f03d98127a9035ab6da14af038861dfa7a8989398589d006aac76c5636", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking sequence_trie v0.3.6 [INFO] [stderr] Checking sendmail v2.0.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking mount v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking staticfile v0.5.0 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Checking urlencoded v0.6.0 [INFO] [stderr] Checking handlebars v3.5.1 [INFO] [stderr] Checking handlebars-iron v0.29.0 [INFO] [stderr] Checking rust-iron-handlebars v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `create` in module `email` [INFO] [stdout] --> src/main.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | email::create( [INFO] [stdout] | ^^^^^^ not found in `email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | router.get("/", index).get("/contact", contact).post("/confirmation", confirmation); [INFO] [stdout] | ^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | router.get("/", index).get("/contact", contact).post("/confirmation", confirmation); [INFO] [stdout] | ^^^ ---------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:82:53 [INFO] [stdout] | [INFO] [stdout] 82 | router.get("/", index).get("/contact", contact).post("/confirmation", confirmation); [INFO] [stdout] | ^^^^ --------------- ------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | chain.link_after(HandlebarsEngine::new("./views/", ".hbs")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---------- ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create` in module `email` [INFO] [stdout] --> src/main.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | email::create( [INFO] [stdout] | ^^^^^^ not found in `email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | router.get("/", index).get("/contact", contact).post("/confirmation", confirmation); [INFO] [stdout] | ^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | router.get("/", index).get("/contact", contact).post("/confirmation", confirmation); [INFO] [stdout] | ^^^ ---------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:82:53 [INFO] [stdout] | [INFO] [stdout] 82 | router.get("/", index).get("/contact", contact).post("/confirmation", confirmation); [INFO] [stdout] | ^^^^ --------------- ------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | chain.link_after(HandlebarsEngine::new("./views/", ".hbs")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---------- ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | res.set_mut(Template::new("index", data)).set_mut(status::Ok); [INFO] [stdout] | ^^^^ the trait `serde::ser::Serialize` is not implemented for `rustc_serialize::json::Json` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-iron-0.29.0/src/middleware.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(name: &str, value: T) -> Template { [INFO] [stdout] | ------ required by this bound in `handlebars_iron::Template::new` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | res.set_mut(Template::new("contact", data)).set_mut(status::Ok); [INFO] [stdout] | ^^^^ the trait `serde::ser::Serialize` is not implemented for `rustc_serialize::json::Json` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-iron-0.29.0/src/middleware.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(name: &str, value: T) -> Template { [INFO] [stdout] | ------ required by this bound in `handlebars_iron::Template::new` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | email::send("alex.steven.elias@gmail.com"); [INFO] [stdout] | ^^^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | res.set_mut(Template::new("confirmation", data)).set_mut(status::Ok); [INFO] [stdout] | ^^^^ the trait `serde::ser::Serialize` is not implemented for `rustc_serialize::json::Json` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-iron-0.29.0/src/middleware.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(name: &str, value: T) -> Template { [INFO] [stdout] | ------ required by this bound in `handlebars_iron::Template::new` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-iron-handlebars` [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]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | res.set_mut(Template::new("index", data)).set_mut(status::Ok); [INFO] [stdout] | ^^^^ the trait `serde::ser::Serialize` is not implemented for `rustc_serialize::json::Json` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-iron-0.29.0/src/middleware.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(name: &str, value: T) -> Template { [INFO] [stdout] | ------ required by this bound in `handlebars_iron::Template::new` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | res.set_mut(Template::new("contact", data)).set_mut(status::Ok); [INFO] [stdout] | ^^^^ the trait `serde::ser::Serialize` is not implemented for `rustc_serialize::json::Json` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-iron-0.29.0/src/middleware.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(name: &str, value: T) -> Template { [INFO] [stdout] | ------ required by this bound in `handlebars_iron::Template::new` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | email::send("alex.steven.elias@gmail.com"); [INFO] [stdout] | ^^^^^^^^^^^ ----------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | res.set_mut(Template::new("confirmation", data)).set_mut(status::Ok); [INFO] [stdout] | ^^^^ the trait `serde::ser::Serialize` is not implemented for `rustc_serialize::json::Json` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-iron-0.29.0/src/middleware.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(name: &str, value: T) -> Template { [INFO] [stdout] | ------ required by this bound in `handlebars_iron::Template::new` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1c73f1f03d98127a9035ab6da14af038861dfa7a8989398589d006aac76c5636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c73f1f03d98127a9035ab6da14af038861dfa7a8989398589d006aac76c5636", kill_on_drop: false }` [INFO] [stdout] 1c73f1f03d98127a9035ab6da14af038861dfa7a8989398589d006aac76c5636