[INFO] updating cached repository garasubo/nickel-hello [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/garasubo/nickel-hello [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/garasubo/nickel-hello" "work/ex/beta-1.38-1/sources/1.37.0/gh/garasubo/nickel-hello"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/garasubo/nickel-hello'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/garasubo/nickel-hello" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/garasubo/nickel-hello"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/garasubo/nickel-hello'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3ee3a58de642e2e50eeaee4fc49d94b3c5c08aa3 [INFO] sha for GitHub repo garasubo/nickel-hello: 3ee3a58de642e2e50eeaee4fc49d94b3c5c08aa3 [INFO] validating manifest of garasubo/nickel-hello 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 garasubo/nickel-hello 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 garasubo/nickel-hello [INFO] finished frobbing garasubo/nickel-hello [INFO] frobbed toml for garasubo/nickel-hello written to work/ex/beta-1.38-1/sources/1.37.0/gh/garasubo/nickel-hello/Cargo.toml [INFO] started frobbing garasubo/nickel-hello [INFO] finished frobbing garasubo/nickel-hello [INFO] frobbed toml for garasubo/nickel-hello written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/garasubo/nickel-hello/Cargo.toml [INFO] crate garasubo/nickel-hello 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/garasubo/nickel-hello/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 garasubo/nickel-hello against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/garasubo/nickel-hello:/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] da48a2440ab028efbb2e52b75bab686304a0b3889d7d92f14ec1ad4e195baec7 [INFO] running `"docker" "start" "-a" "da48a2440ab028efbb2e52b75bab686304a0b3889d7d92f14ec1ad4e195baec7"` [INFO] [stderr] Compiling try_from v0.2.2 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling md-5 v0.7.0 [INFO] [stderr] Compiling scan_fmt v0.1.3 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling bson v0.13.0 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling mongodb v0.3.12 [INFO] [stderr] Compiling nickel-hello v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `bson::oid::ObjectId` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use bson::oid::ObjectId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'bson::Bson::to_json': use bson.clone().into() instead [INFO] [stderr] --> src/main.rs:37:43 [INFO] [stderr] | [INFO] [stderr] 37 | Ok(doc) => Ok(Bson::Document(doc).to_json()), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:37:23 [INFO] [stderr] | [INFO] [stderr] 37 | Ok(doc) => Ok(Bson::Document(doc).to_json()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `rustc_serialize::json::Json`, found enum `serde_json::value::Value` [INFO] [stderr] | [INFO] [stderr] = note: expected type `rustc_serialize::json::Json` [INFO] [stderr] found type `serde_json::value::Value` [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | router.get("/", middleware! {|_, response| [INFO] [stderr] | _____________________^ [INFO] [stderr] 47 | | let mut data = HashMap::new(); [INFO] [stderr] 48 | | data.insert("color", "Green"); [INFO] [stderr] 49 | | data.insert("name", "California Apple"); [INFO] [stderr] 50 | | data.insert("price", "2.50"); [INFO] [stderr] 51 | | return response.render("assets/hello.tpl", &data); [INFO] [stderr] 52 | | }); [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] error[E0277]: the trait bound `User: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/main.rs:94:28 [INFO] [stderr] | [INFO] [stderr] 94 | let user = request.json_as::().unwrap(); [INFO] [stderr] | ^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `User` [INFO] [stderr] [INFO] [stderr] warning: unused import: `ToJson` [INFO] [stderr] --> src/main.rs:26:35 [INFO] [stderr] | [INFO] [stderr] 26 | use rustc_serialize::json::{Json, ToJson}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `nickel-hello`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "da48a2440ab028efbb2e52b75bab686304a0b3889d7d92f14ec1ad4e195baec7"` [INFO] running `"docker" "rm" "-f" "da48a2440ab028efbb2e52b75bab686304a0b3889d7d92f14ec1ad4e195baec7"` [INFO] [stdout] da48a2440ab028efbb2e52b75bab686304a0b3889d7d92f14ec1ad4e195baec7