[INFO] updating cached repository cruor99/nickelapp [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/cruor99/nickelapp [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/cruor99/nickelapp" "work/ex/beta-1.38-1/sources/1.37.0/gh/cruor99/nickelapp"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/cruor99/nickelapp'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cruor99/nickelapp" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/cruor99/nickelapp"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/cruor99/nickelapp'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d4d5bde46897b0ce160c30f53422f23715d6c437 [INFO] sha for GitHub repo cruor99/nickelapp: d4d5bde46897b0ce160c30f53422f23715d6c437 [INFO] validating manifest of cruor99/nickelapp on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cruor99/nickelapp on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing cruor99/nickelapp [INFO] finished frobbing cruor99/nickelapp [INFO] frobbed toml for cruor99/nickelapp written to work/ex/beta-1.38-1/sources/1.37.0/gh/cruor99/nickelapp/Cargo.toml [INFO] started frobbing cruor99/nickelapp [INFO] finished frobbing cruor99/nickelapp [INFO] frobbed toml for cruor99/nickelapp written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/cruor99/nickelapp/Cargo.toml [INFO] crate cruor99/nickelapp already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/cruor99/nickelapp/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing cruor99/nickelapp against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/cruor99/nickelapp:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] d3a3c0af3d87f16e759e1b7ce7279d07dcbbf23e97ede095f1b2ee73204aaa92 [INFO] running `"docker" "start" "-a" "d3a3c0af3d87f16e759e1b7ce7279d07dcbbf23e97ede095f1b2ee73204aaa92"` [INFO] [stderr] Compiling constant_time_eq v0.1.4 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling nickel-app v0.1.0 (/opt/crater/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] 135 | | }); [INFO] [stderr] | |_____^ [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] 148 | | }); [INFO] [stderr] | |_____^ [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" "d3a3c0af3d87f16e759e1b7ce7279d07dcbbf23e97ede095f1b2ee73204aaa92"` [INFO] running `"docker" "rm" "-f" "d3a3c0af3d87f16e759e1b7ce7279d07dcbbf23e97ede095f1b2ee73204aaa92"` [INFO] [stdout] d3a3c0af3d87f16e759e1b7ce7279d07dcbbf23e97ede095f1b2ee73204aaa92