[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] testing cruor99/nickelapp against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcruor99%2Fnickelapp" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cruor99/nickelapp on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-8/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a71d0d3add4553ab37176acd4ea024d09a9e4f773c2d9a7e6ed0f2495eea4b98 [INFO] running `"docker" "start" "-a" "a71d0d3add4553ab37176acd4ea024d09a9e4f773c2d9a7e6ed0f2495eea4b98"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling postgres-protocol v0.5.1 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling postgres-types v0.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.33 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-postgres v0.5.4 [INFO] [stderr] Compiling postgres v0.17.3 [INFO] [stderr] Compiling nickel-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode` [INFO] [stderr] --> src/main.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | use postgres::{Connection, SslMode}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^ no `SslMode` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Connection` in the root [INFO] [stderr] | help: a similar name exists in the module (notice the capitalization): `connection` [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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 2 warnings emitted [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" "a71d0d3add4553ab37176acd4ea024d09a9e4f773c2d9a7e6ed0f2495eea4b98"` [INFO] running `"docker" "rm" "-f" "a71d0d3add4553ab37176acd4ea024d09a9e4f773c2d9a7e6ed0f2495eea4b98"` [INFO] [stdout] a71d0d3add4553ab37176acd4ea024d09a9e4f773c2d9a7e6ed0f2495eea4b98