[INFO] updating cached repository https://github.com/kujenga/peekaboo
[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] f9d877a64e9dab0520d54e1e24b68827efc32d20
[INFO] testing kujenga/peekaboo against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkujenga%2Fpeekaboo" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kujenga/peekaboo 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/kujenga/peekaboo
[INFO] finished tweaking git repo https://github.com/kujenga/peekaboo
[INFO] tweaked toml for git repo https://github.com/kujenga/peekaboo written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/kujenga/peekaboo 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] error: the lock file /workspace/builds/worker-0/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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 49d3ca098aa9d26fecdcba7bea6005cf58b126bfb46949d2cc7066e947657024
[INFO] running `"docker" "start" "-a" "49d3ca098aa9d26fecdcba7bea6005cf58b126bfb46949d2cc7066e947657024"`
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling hashbrown v0.5.0
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling mime_guess v1.8.7
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling iron v0.6.1
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling persistent v0.4.0
[INFO] [stderr]    Compiling router v0.6.0
[INFO] [stderr]    Compiling num v0.2.0
[INFO] [stderr]    Compiling bodyparser v0.8.0
[INFO] [stderr]    Compiling urlencoded v0.6.0
[INFO] [stderr]    Compiling pest_generator v2.1.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling image v0.22.3
[INFO] [stderr]    Compiling handlebars v2.0.2
[INFO] [stderr]    Compiling redis v0.13.0
[INFO] [stderr]    Compiling peekaboo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `ResponseBody` in module `response`
[INFO] [stderr]   --> src/main.rs:76:50
[INFO] [stderr]    |
[INFO] [stderr] 76 |     fn write_body(&mut self, res: &mut response::ResponseBody) -> io::Result<()> {
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^ help: a struct with a similar name exists: `Response`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:35:18
[INFO] [stderr]    |
[INFO] [stderr] 35 |     let client = try!(redis::Client::open("redis://127.0.0.1/"));
[INFO] [stderr]    |                  ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:36:15
[INFO] [stderr]    |
[INFO] [stderr] 36 |     let con = try!(client.get_connection());
[INFO] [stderr]    |               ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:39:22
[INFO] [stderr]    |
[INFO] [stderr] 39 |         let _ : () = try!(con.set(key, cur+1));
[INFO] [stderr]    |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `PrimitiveDateTime::now() - PrimitiveDateTime::unix_epoch()` to get a `Duration` since a known epoch.
[INFO] [stderr]   --> src/main.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use time::precise_time_ns;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `PrimitiveDateTime::now() - PrimitiveDateTime::unix_epoch()` to get a `Duration` since a known epoch.
[INFO] [stderr]   --> src/main.rs:51:47
[INFO] [stderr]    |
[INFO] [stderr] 51 |         req.extensions.insert::<ResponseTime>(precise_time_ns());
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `PrimitiveDateTime::now() - PrimitiveDateTime::unix_epoch()` to get a `Duration` since a known epoch.
[INFO] [stderr]   --> src/main.rs:58:21
[INFO] [stderr]    |
[INFO] [stderr] 58 |         let delta = precise_time_ns() - *req.extensions.get::<ResponseTime>().unwrap();
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied
[INFO] [stderr]   --> src/main.rs:77:45
[INFO] [stderr]    |
[INFO] [stderr] 77 |         image::ImageLuma8(self.img.clone()).save(res, image::PNG)
[INFO] [stderr]    |                                             ^^^^ expected 1 parameter
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied
[INFO] [stderr]    --> src/main.rs:227:12
[INFO] [stderr]     |
[INFO] [stderr] 227 |     router.get("/", handler);
[INFO] [stderr]     |            ^^^ expected 3 parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied
[INFO] [stderr]    --> src/main.rs:228:12
[INFO] [stderr]     |
[INFO] [stderr] 228 |     router.get("/peek/:id", peek_chain);
[INFO] [stderr]     |            ^^^ expected 3 parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied
[INFO] [stderr]    --> src/main.rs:229:12
[INFO] [stderr]     |
[INFO] [stderr] 229 |     router.get("/peek/:id/info", peek_info_handler);
[INFO] [stderr]     |            ^^^ expected 3 parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `rustc_serialize::json::Json: serde::ser::Serialize` is not satisfied
[INFO] [stderr]    --> src/main.rs:157:42
[INFO] [stderr]     |
[INFO] [stderr] 157 |         match handlebars.render("index", &data) {
[INFO] [stderr]     |                                          ^^^^^ the trait `serde::ser::Serialize` is not implemented for `rustc_serialize::json::Json`
[INFO] [stderr]     |
[INFO] [stderr]     = note: required because of the requirements on the impl of `serde::ser::Serialize` for `std::collections::BTreeMap<std::string::String, rustc_serialize::json::Json>`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `Peek: serde::ser::Serialize` is not satisfied
[INFO] [stderr]    --> src/main.rs:216:41
[INFO] [stderr]     |
[INFO] [stderr] 216 |         match handlebars.render("info", &data) {
[INFO] [stderr]     |                                         ^^^^^ the trait `serde::ser::Serialize` is not implemented for `Peek`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0412.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `peekaboo`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "49d3ca098aa9d26fecdcba7bea6005cf58b126bfb46949d2cc7066e947657024"`
[INFO] running `"docker" "rm" "-f" "49d3ca098aa9d26fecdcba7bea6005cf58b126bfb46949d2cc7066e947657024"`
[INFO] [stdout] 49d3ca098aa9d26fecdcba7bea6005cf58b126bfb46949d2cc7066e947657024
