[INFO] updating cached repository https://github.com/garasubo/nickel-hello
[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] 3ee3a58de642e2e50eeaee4fc49d94b3c5c08aa3
[INFO] testing garasubo/nickel-hello against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarasubo%2Fnickel-hello" "/workspace/builds/worker-10/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/garasubo/nickel-hello on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/garasubo/nickel-hello
[INFO] finished tweaking git repo https://github.com/garasubo/nickel-hello
[INFO] tweaked toml for git repo https://github.com/garasubo/nickel-hello written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/garasubo/nickel-hello already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+1.40.0" "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] e2632b2a060156fbd324e8791473188a6dd49ddf2f5e6f012e70e0a2675fddb0
[INFO] running `"docker" "start" "-a" "e2632b2a060156fbd324e8791473188a6dd49ddf2f5e6f012e70e0a2675fddb0"`
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.0
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling os_info v1.2.0
[INFO] [stderr]    Compiling md5 v0.6.1
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling groupable v0.2.0
[INFO] [stderr]    Compiling hex v0.4.0
[INFO] [stderr]    Compiling ring v0.16.9
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling hostname v0.1.5
[INFO] [stderr]    Compiling socket2 v0.3.11
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling err-derive v0.2.1
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling proc-macro-error v0.2.6
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling resolv-conf v0.6.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling sha2 v0.8.0
[INFO] [stderr]    Compiling md-5 v0.8.0
[INFO] [stderr]    Compiling sha-1 v0.8.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling tokio-reactor v0.1.11
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling tokio-threadpool v0.1.17
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling tokio-udp v0.1.5
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling tokio-fs v0.1.6
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling webpki v0.21.0
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling webpki-roots v0.18.0
[INFO] [stderr]    Compiling rustls v0.16.0
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling enum-as-inner v0.2.1
[INFO] [stderr]    Compiling serde_with_macros v1.0.1
[INFO] [stderr]    Compiling typed-builder v0.3.0
[INFO] [stderr]    Compiling derivative v1.0.3
[INFO] [stderr]    Compiling trust-dns-proto v0.8.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.12.0
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling mustache v0.9.0
[INFO] [stderr]    Compiling serde_with v1.3.1
[INFO] [stderr]    Compiling bson v0.14.0
[INFO] [stderr]    Compiling nickel v0.11.0
[INFO] [stderr]    Compiling mongodb v0.9.0
[INFO] [stderr]    Compiling nickel-hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `mongodb::ThreadedClient`
[INFO] [stderr]   --> src/main.rs:17:23
[INFO] [stderr]    |
[INFO] [stderr] 17 | use mongodb::{Client, ThreadedClient};
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^ no `ThreadedClient` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mongodb::db::ThreadedDatabase`
[INFO] [stderr]   --> src/main.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use mongodb::db::ThreadedDatabase;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadedDatabase` in `db`
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: module `db` is private
[INFO] [stderr]   --> src/main.rs:18:14
[INFO] [stderr]    |
[INFO] [stderr] 18 | use mongodb::db::ThreadedDatabase;
[INFO] [stderr]    |              ^^
[INFO] [stderr] 
[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]    | |_____^ unreachable expression
[INFO] [stderr]    | 
[INFO] [stderr]   ::: <::nickel::macros::middleware::as_block macros>:1:19
[INFO] [stderr]    |
[INFO] [stderr] 1  |   ($ b : block) => ($ b)
[INFO] [stderr]    |                     --- any code following this expression is unreachable
[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[E0599]: no function or associated item named `connect` found for type `mongodb::Client` in the current scope
[INFO] [stderr]   --> src/main.rs:55:30
[INFO] [stderr]    |
[INFO] [stderr] 55 |         let client = Client::connect("localhost", 27017)
[INFO] [stderr]    |                              ^^^^^^^ function or associated item not found in `mongodb::Client`
[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::<User>().unwrap();
[INFO] [stderr]    |                            ^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `User`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `connect` found for type `mongodb::Client` in the current scope
[INFO] [stderr]    --> src/main.rs:100:30
[INFO] [stderr]     |
[INFO] [stderr] 100 |         let client = Client::connect("localhost", 27017)
[INFO] [stderr]     |                              ^^^^^^^ function or associated item not found in `mongodb::Client`
[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 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0432, E0599, E0603.
[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" "e2632b2a060156fbd324e8791473188a6dd49ddf2f5e6f012e70e0a2675fddb0"`
[INFO] running `"docker" "rm" "-f" "e2632b2a060156fbd324e8791473188a6dd49ddf2f5e6f012e70e0a2675fddb0"`
[INFO] [stdout] e2632b2a060156fbd324e8791473188a6dd49ddf2f5e6f012e70e0a2675fddb0
