[INFO] updating cached repository https://github.com/cruor99/nickelapp [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d4d5bde46897b0ce160c30f53422f23715d6c437 [INFO] checking cruor99/nickelapp against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcruor99%2Fnickelapp" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cruor99/nickelapp on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/cruor99/nickelapp [INFO] finished tweaking git repo https://github.com/cruor99/nickelapp [INFO] tweaked toml for git repo https://github.com/cruor99/nickelapp written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/cruor99/nickelapp already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "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] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a1c5536eaf54cd0c4323b0f4a5cd2cf6537f0c0b2ddf433c43b03391eaf290d [INFO] running `"docker" "start" "-a" "7a1c5536eaf54cd0c4323b0f4a5cd2cf6537f0c0b2ddf433c43b03391eaf290d"` [INFO] [stderr] Checking postgres-protocol v0.3.2 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking postgres-shared v0.4.2 [INFO] [stderr] Checking postgres v0.15.2 [INFO] [stderr] Checking nickel-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `postgres::SslMode` [INFO] [stderr] --> src/main.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | use postgres::{Connection, SslMode}; [INFO] [stderr] | ^^^^^^^ no `SslMode` in the root [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Person: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/main.rs:122:30 [INFO] [stderr] | [INFO] [stderr] 122 | let person = request.json_as::().unwrap(); [INFO] [stderr] | ^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Person` [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:130:31 [INFO] [stderr] | [INFO] [stderr] 130 | server.get("/createpost", middleware!{ |_, res| [INFO] [stderr] | _______________________________^ [INFO] [stderr] 131 | | let mut data = HashMap::new(); [INFO] [stderr] 132 | | data.insert("title", "Create blog post"); [INFO] [stderr] 133 | | [INFO] [stderr] 134 | | return res.render("app/views/createpost.html", &data) [INFO] [stderr] | | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stderr] 135 | | }); [INFO] [stderr] | |_____^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:137:34 [INFO] [stderr] | [INFO] [stderr] 137 | server.post("/confirmation", middleware!{|req, res| [INFO] [stderr] | __________________________________^ [INFO] [stderr] 138 | | let mut form_data = String::new(); [INFO] [stderr] 139 | | req.origin.read_to_string(&mut form_data).unwrap(); [INFO] [stderr] 140 | | [INFO] [stderr] ... | [INFO] [stderr] 147 | | return res.render("app/views/confirmation.html", &data) [INFO] [stderr] | | ------------------------------------------------------- any code following this expression is unreachable [INFO] [stderr] 148 | | }); [INFO] [stderr] | |_____^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `nickel-app`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `postgres::SslMode` [INFO] [stderr] --> src/main.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | use postgres::{Connection, SslMode}; [INFO] [stderr] | ^^^^^^^ no `SslMode` in the root [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Person: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/main.rs:122:30 [INFO] [stderr] | [INFO] [stderr] 122 | let person = request.json_as::().unwrap(); [INFO] [stderr] | ^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Person` [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:130:31 [INFO] [stderr] | [INFO] [stderr] 130 | server.get("/createpost", middleware!{ |_, res| [INFO] [stderr] | _______________________________^ [INFO] [stderr] 131 | | let mut data = HashMap::new(); [INFO] [stderr] 132 | | data.insert("title", "Create blog post"); [INFO] [stderr] 133 | | [INFO] [stderr] 134 | | return res.render("app/views/createpost.html", &data) [INFO] [stderr] | | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stderr] 135 | | }); [INFO] [stderr] | |_____^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:137:34 [INFO] [stderr] | [INFO] [stderr] 137 | server.post("/confirmation", middleware!{|req, res| [INFO] [stderr] | __________________________________^ [INFO] [stderr] 138 | | let mut form_data = String::new(); [INFO] [stderr] 139 | | req.origin.read_to_string(&mut form_data).unwrap(); [INFO] [stderr] 140 | | [INFO] [stderr] ... | [INFO] [stderr] 147 | | return res.render("app/views/confirmation.html", &data) [INFO] [stderr] | | ------------------------------------------------------- any code following this expression is unreachable [INFO] [stderr] 148 | | }); [INFO] [stderr] | |_____^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `nickel-app`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7a1c5536eaf54cd0c4323b0f4a5cd2cf6537f0c0b2ddf433c43b03391eaf290d"` [INFO] running `"docker" "rm" "-f" "7a1c5536eaf54cd0c4323b0f4a5cd2cf6537f0c0b2ddf433c43b03391eaf290d"` [INFO] [stdout] 7a1c5536eaf54cd0c4323b0f4a5cd2cf6537f0c0b2ddf433c43b03391eaf290d