[INFO] cloning repository https://github.com/cruor99/nickelapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cruor99/nickelapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcruor99%2Fnickelapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcruor99%2Fnickelapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4d5bde46897b0ce160c30f53422f23715d6c437 [INFO] checking cruor99/nickelapp against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcruor99%2Fnickelapp" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cruor99/nickelapp on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-14/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15bc58882cc58373ac3a3eef9a3c3b50c563faa34c8cf1c637ba3737f1c80b38 [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" "15bc58882cc58373ac3a3eef9a3c3b50c563faa34c8cf1c637ba3737f1c80b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15bc58882cc58373ac3a3eef9a3c3b50c563faa34c8cf1c637ba3737f1c80b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15bc58882cc58373ac3a3eef9a3c3b50c563faa34c8cf1c637ba3737f1c80b38", kill_on_drop: false }` [INFO] [stdout] 15bc58882cc58373ac3a3eef9a3c3b50c563faa34c8cf1c637ba3737f1c80b38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13041d5e1f089647f96acf4e878869286307182a70e57fe92eede6cfe5d7cc86 [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" "13041d5e1f089647f96acf4e878869286307182a70e57fe92eede6cfe5d7cc86", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking siphasher v0.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking groupable v0.2.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking postgres-protocol v0.6.0 [INFO] [stderr] Checking postgres-types v0.2.0 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking tokio-postgres v0.7.0 [INFO] [stderr] Checking postgres v0.19.0 [INFO] [stderr] Checking 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[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] 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] 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "13041d5e1f089647f96acf4e878869286307182a70e57fe92eede6cfe5d7cc86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13041d5e1f089647f96acf4e878869286307182a70e57fe92eede6cfe5d7cc86", kill_on_drop: false }` [INFO] [stdout] 13041d5e1f089647f96acf4e878869286307182a70e57fe92eede6cfe5d7cc86