[INFO] updating cached 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" "-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] ee82417986cd0462031eb42ba73fcbc38a785242 [INFO] testing AlexanderElias/rust-iron-handlebars against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderElias%2Frust-iron-handlebars" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 98% (179/181) Checking out files: 99% (180/181) Checking out files: 100% (181/181) Checking out files: 100% (181/181), done. [INFO] validating manifest of git repo https://github.com/AlexanderElias/rust-iron-handlebars 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/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-13/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" "+1.45.2" "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-13/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] [stdout] 0b301aef6089480331e224f7855203aa8b3aaec0173a3e5fb06fff02f1e58e05 [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" "0b301aef6089480331e224f7855203aa8b3aaec0173a3e5fb06fff02f1e58e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b301aef6089480331e224f7855203aa8b3aaec0173a3e5fb06fff02f1e58e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b301aef6089480331e224f7855203aa8b3aaec0173a3e5fb06fff02f1e58e05", kill_on_drop: false }` [INFO] [stdout] 0b301aef6089480331e224f7855203aa8b3aaec0173a3e5fb06fff02f1e58e05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] b1997e5aa1df874a380b3a056adfc55dd3ac239c81c8291fc43f3ecbaaa2ad57 [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" "b1997e5aa1df874a380b3a056adfc55dd3ac239c81c8291fc43f3ecbaaa2ad57", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling sendmail v2.0.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling pest_meta v2.1.3 [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] Compiling iron v0.6.1 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling staticfile v0.5.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling handlebars v3.3.0 [INFO] [stderr] Compiling handlebars-iron v0.29.0 [INFO] [stderr] Compiling 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[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 `std::collections::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 `std::collections::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 `std::collections::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] running `Command { std: "docker" "inspect" "b1997e5aa1df874a380b3a056adfc55dd3ac239c81c8291fc43f3ecbaaa2ad57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1997e5aa1df874a380b3a056adfc55dd3ac239c81c8291fc43f3ecbaaa2ad57", kill_on_drop: false }` [INFO] [stdout] b1997e5aa1df874a380b3a056adfc55dd3ac239c81c8291fc43f3ecbaaa2ad57