[INFO] cloning repository https://github.com/MrConstantinne/rust-web-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrConstantinne/rust-web-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrConstantinne%2Frust-web-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrConstantinne%2Frust-web-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1f178cc863c42e5122e8674d3393224f86c4e315
[INFO] testing MrConstantinne/rust-web-api against 1.55.0 for beta-1.56-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrConstantinne%2Frust-web-api" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/MrConstantinne/rust-web-api on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/MrConstantinne/rust-web-api
[INFO] finished tweaking git repo https://github.com/MrConstantinne/rust-web-api
[INFO] tweaked toml for git repo https://github.com/MrConstantinne/rust-web-api written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/MrConstantinne/rust-web-api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded router v0.6.0
[INFO] [stderr]   Downloaded logger v0.4.0
[INFO] [stderr]   Downloaded iron v0.6.1
[INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c06b94bba8762148001786f4cdb60aa9fc5514001ee6546130bd28922c8ec26a
[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" "c06b94bba8762148001786f4cdb60aa9fc5514001ee6546130bd28922c8ec26a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c06b94bba8762148001786f4cdb60aa9fc5514001ee6546130bd28922c8ec26a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c06b94bba8762148001786f4cdb60aa9fc5514001ee6546130bd28922c8ec26a", kill_on_drop: false }`
[INFO] [stdout] c06b94bba8762148001786f4cdb60aa9fc5514001ee6546130bd28922c8ec26a
[INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7597fd1b5bba285f26656dea9e08de20fc023b65960ba7ab1a291ab812da24a7
[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" "7597fd1b5bba285f26656dea9e08de20fc023b65960ba7ab1a291ab812da24a7", kill_on_drop: false }`
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling uuid v0.2.3
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling router v0.6.0
[INFO] [stderr]    Compiling logger v0.4.0
[INFO] [stderr]    Compiling chrono v0.2.25
[INFO] [stderr]    Compiling web_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/handlers.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::std::error::Error;
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            unresolved import
[INFO] [stdout]    |            help: a similar path exists: `crate::std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `model`, `crate::std::error::Error`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use model::*;
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/handlers.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `e` in this scope
[INFO] [stdout]   --> src/handlers.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 |     ($e:expr) => {e.lock().unwrap()};
[INFO] [stdout]    |                   ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 75 |         let payload = try_handler!(json::encode(lock!(self.database).posts()));
[INFO] [stdout]    |                                                 -------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `e` in this scope
[INFO] [stdout]   --> src/handlers.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 |     ($e:expr) => {e.lock().unwrap()};
[INFO] [stdout]    |                   ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 97 |         lock!(self.database).add_post(post);
[INFO] [stdout]    |         -------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `e` in this scope
[INFO] [stdout]    --> src/handlers.rs:29:19
[INFO] [stdout]     |
[INFO] [stdout] 29  |     ($e:expr) => {e.lock().unwrap()};
[INFO] [stdout]     |                   ^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 112 |         let locked = lock!(self.database);
[INFO] [stdout]     |                      -------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> src/models.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> src/models.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IronError`
[INFO] [stdout]  --> src/handlers.rs:3:77
[INFO] [stdout]   |
[INFO] [stdout] 3 | use iron::{status, AfterMiddleware, Handler, IronResult, Request, Response, IronError};
[INFO] [stdout]   |                                                                             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/handlers.rs:127:31
[INFO] [stdout]     |
[INFO] [stdout] 127 |             Ok(Response::with((status::NotFound)))
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope
[INFO] [stdout]   --> src/main.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |     env_logger::init().unwrap();
[INFO] [stdout]    |                        ^^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Uuid: Encodable` is not satisfied
[INFO] [stdout]    --> src/models.rs:5:24
[INFO] [stdout]     |
[INFO] [stdout] 5   | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `Uuid`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:853:15
[INFO] [stdout]     |
[INFO] [stdout] 853 |     fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>;
[INFO] [stdout]     |               - required by this bound in `rustc_serialize::Encodable::encode`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the derive macro `RustcEncodable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Uuid: Decodable` is not satisfied
[INFO] [stdout]    --> src/models.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout] 5   | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]     |                                        -------------- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 11  |     uuid: Uuid,
[INFO] [stdout]     |     ^^^^^^^^^^ the trait `Decodable` is not implemented for `Uuid`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:902:1
[INFO] [stdout]     |
[INFO] [stdout] 902 | pub trait Decodable: Sized {
[INFO] [stdout]     | -------------------------- required by this bound in `Decodable`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the derive macro `RustcDecodable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Uuid: Decodable` is not satisfied
[INFO] [stdout]    --> src/models.rs:5:40
[INFO] [stdout]     |
[INFO] [stdout] 5   | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `Uuid`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:904:18
[INFO] [stdout]     |
[INFO] [stdout] 904 |     fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>;
[INFO] [stdout]     |                  ------- required by this bound in `rustc_serialize::Decodable::decode`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the derive macro `RustcDecodable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `description` found for enum `EncoderError` in the current scope
[INFO] [stdout]    --> src/handlers.rs:17:80
[INFO] [stdout]     |
[INFO] [stdout] 17  |             Err(e) => return Ok(Response::with((status::InternalServerError, e.description())))
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^ method not found in `EncoderError`
[INFO] [stdout] ...
[INFO] [stdout] 75  |         let payload = try_handler!(json::encode(lock!(self.database).posts()));
[INFO] [stdout]     |                       -------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use crate::iron::Error;`
[INFO] [stdout]     = note: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `description` found for struct `std::io::Error` in the current scope
[INFO] [stdout]    --> src/handlers.rs:17:80
[INFO] [stdout]     |
[INFO] [stdout] 17  |             Err(e) => return Ok(Response::with((status::InternalServerError, e.description())))
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^ method not found in `std::io::Error`
[INFO] [stdout] ...
[INFO] [stdout] 93  |         try_handler!(req.body.read_to_string(&mut payload));
[INFO] [stdout]     |         ---------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use crate::iron::Error;`
[INFO] [stdout]     = note: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `description` found for enum `DecoderError` in the current scope
[INFO] [stdout]    --> src/handlers.rs:23:59
[INFO] [stdout]     |
[INFO] [stdout] 23  |             Err(e) => return Ok(Response::with(($error, e.description())))
[INFO] [stdout]     |                                                           ^^^^^^^^^^^ method not found in `DecoderError`
[INFO] [stdout] ...
[INFO] [stdout] 95  |         let post = try_handler!(json::decode(&payload), status::BadRequest);
[INFO] [stdout]     |                    -------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use crate::iron::Error;`
[INFO] [stdout]     = note: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `description` found for enum `uuid::ParseError` in the current scope
[INFO] [stdout]    --> src/handlers.rs:23:59
[INFO] [stdout]     |
[INFO] [stdout] 23  |             Err(e) => return Ok(Response::with(($error, e.description())))
[INFO] [stdout]     |                                                           ^^^^^^^^^^^ method not found in `uuid::ParseError`
[INFO] [stdout] ...
[INFO] [stdout] 121 |         let id = try_handler!(Uuid::parse_str(post_id), status::BadRequest);
[INFO] [stdout]     |                  ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use crate::iron::Error;`
[INFO] [stdout]     = note: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `description` found for enum `EncoderError` in the current scope
[INFO] [stdout]    --> src/handlers.rs:23:59
[INFO] [stdout]     |
[INFO] [stdout] 23  |             Err(e) => return Ok(Response::with(($error, e.description())))
[INFO] [stdout]     |                                                           ^^^^^^^^^^^ method not found in `EncoderError`
[INFO] [stdout] ...
[INFO] [stdout] 124 |             let payload = try_handler!(json::encode(&post), status::InternalServerError);
[INFO] [stdout]     |                           -------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use crate::iron::Error;`
[INFO] [stdout]     = note: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web_api` due to 15 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7597fd1b5bba285f26656dea9e08de20fc023b65960ba7ab1a291ab812da24a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7597fd1b5bba285f26656dea9e08de20fc023b65960ba7ab1a291ab812da24a7", kill_on_drop: false }`
[INFO] [stdout] 7597fd1b5bba285f26656dea9e08de20fc023b65960ba7ab1a291ab812da24a7
