[INFO] updating cached repository https://github.com/cruor99/nickelapp [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] d4d5bde46897b0ce160c30f53422f23715d6c437 [INFO] testing cruor99/nickelapp against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcruor99%2Fnickelapp" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cruor99/nickelapp 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/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-5/source/Cargo.toml [INFO] crate git repo https://github.com/cruor99/nickelapp 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] error: the lock file /workspace/builds/worker-5/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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 01fb3c484ffdcd2de2f547197c27fb083f48a2b07e5040fbe44584ec8e7d27cf [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" "01fb3c484ffdcd2de2f547197c27fb083f48a2b07e5040fbe44584ec8e7d27cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01fb3c484ffdcd2de2f547197c27fb083f48a2b07e5040fbe44584ec8e7d27cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01fb3c484ffdcd2de2f547197c27fb083f48a2b07e5040fbe44584ec8e7d27cf", kill_on_drop: false }` [INFO] [stdout] 01fb3c484ffdcd2de2f547197c27fb083f48a2b07e5040fbe44584ec8e7d27cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] d03081b6e7c1b05528cffbf9e1201db13325d4575408feafdb88245152fc8e5d [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" "d03081b6e7c1b05528cffbf9e1201db13325d4575408feafdb88245152fc8e5d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling postgres-protocol v0.5.2 [INFO] [stderr] Compiling postgres-types v0.1.2 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling pin-project v0.4.23 [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.5 [INFO] [stderr] Compiling postgres v0.17.5 [INFO] [stderr] Compiling nickel-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use postgres::{Connection, SslMode}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ no `SslMode` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Connection` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | let person = request.json_as::().unwrap(); [INFO] [stdout] | ^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 130 | server.get("/createpost", middleware!{ |_, res| [INFO] [stdout] | _______________________________^ [INFO] [stdout] 131 | | let mut data = HashMap::new(); [INFO] [stdout] 132 | | data.insert("title", "Create blog post"); [INFO] [stdout] 133 | | [INFO] [stdout] 134 | | return res.render("app/views/createpost.html", &data) [INFO] [stdout] | | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 135 | | }); [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | server.post("/confirmation", middleware!{|req, res| [INFO] [stdout] | __________________________________^ [INFO] [stdout] 138 | | let mut form_data = String::new(); [INFO] [stdout] 139 | | req.origin.read_to_string(&mut form_data).unwrap(); [INFO] [stdout] 140 | | [INFO] [stdout] ... | [INFO] [stdout] 147 | | return res.render("app/views/confirmation.html", &data) [INFO] [stdout] | | ------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 148 | | }); [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nickel-app`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d03081b6e7c1b05528cffbf9e1201db13325d4575408feafdb88245152fc8e5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d03081b6e7c1b05528cffbf9e1201db13325d4575408feafdb88245152fc8e5d", kill_on_drop: false }` [INFO] [stdout] d03081b6e7c1b05528cffbf9e1201db13325d4575408feafdb88245152fc8e5d