[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] checking MrConstantinne/rust-web-api against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrConstantinne%2Frust-web-api" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrConstantinne/rust-web-api on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-1/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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8497826bdb5fa027ba2924a83f4f2e78ddd1a9f462c23a689d2f992cd77b3e4a [INFO] running `Command { std: "docker" "start" "-a" "8497826bdb5fa027ba2924a83f4f2e78ddd1a9f462c23a689d2f992cd77b3e4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8497826bdb5fa027ba2924a83f4f2e78ddd1a9f462c23a689d2f992cd77b3e4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8497826bdb5fa027ba2924a83f4f2e78ddd1a9f462c23a689d2f992cd77b3e4a", kill_on_drop: false }` [INFO] [stdout] 8497826bdb5fa027ba2924a83f4f2e78ddd1a9f462c23a689d2f992cd77b3e4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=forbid" "-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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45332b1242b5b15ff2b703f23076b2681d91f1ad7e3dc37e37daa1e990842351 [INFO] running `Command { std: "docker" "start" "-a" "45332b1242b5b15ff2b703f23076b2681d91f1ad7e3dc37e37daa1e990842351", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking serde v0.7.15 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking uuid v0.2.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - Ok(Response::with((status::NotFound))) [INFO] [stdout] 127 + Ok(Response::with(status::NotFound)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - Ok(Response::with((status::NotFound))) [INFO] [stdout] 127 + Ok(Response::with(status::NotFound)) [INFO] [stdout] | [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: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::iron::Error; [INFO] [stdout] | [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: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::iron::Error; [INFO] [stdout] | [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: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::iron::Error; [INFO] [stdout] | [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: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::iron::Error; [INFO] [stdout] | [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: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::iron::Error; [INFO] [stdout] | [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: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::iron::Error; [INFO] [stdout] | [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: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::iron::Error; [INFO] [stdout] | [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: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::iron::Error; [INFO] [stdout] | [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: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::iron::Error; [INFO] [stdout] | [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: this error originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::iron::Error; [INFO] [stdout] | [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[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] note: required by a bound in `rustc_serialize::Encodable::encode` [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(&self, s: &mut S) -> Result<(), S::Error>; [INFO] [stdout] | ^ required by this bound in `rustc_serialize::Encodable::encode` [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: 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] note: required by a bound in `rustc_serialize::Encodable::encode` [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(&self, s: &mut S) -> Result<(), S::Error>; [INFO] [stdout] | ^ required by this bound in `rustc_serialize::Encodable::encode` [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] note: required by a bound in `Decodable` [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] 903 | | /// Deserialize a value using a `Decoder`. [INFO] [stdout] 904 | | fn decode(d: &mut D) -> Result; [INFO] [stdout] 905 | | } [INFO] [stdout] | |_^ required by this bound in `Decodable` [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: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] note: required by a bound in `Decodable` [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] 903 | | /// Deserialize a value using a `Decoder`. [INFO] [stdout] 904 | | fn decode(d: &mut D) -> Result; [INFO] [stdout] 905 | | } [INFO] [stdout] | |_^ required by this bound in `Decodable` [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] note: required by a bound in `rustc_serialize::Decodable::decode` [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: &mut D) -> Result; [INFO] [stdout] | ^^^^^^^ required by this bound in `rustc_serialize::Decodable::decode` [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] note: required by a bound in `rustc_serialize::Decodable::decode` [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: &mut D) -> Result; [INFO] [stdout] | ^^^^^^^ required by this bound in `rustc_serialize::Decodable::decode` [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: aborting due to 14 previous errors; 4 warnings emitted [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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "45332b1242b5b15ff2b703f23076b2681d91f1ad7e3dc37e37daa1e990842351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45332b1242b5b15ff2b703f23076b2681d91f1ad7e3dc37e37daa1e990842351", kill_on_drop: false }` [INFO] [stdout] 45332b1242b5b15ff2b703f23076b2681d91f1ad7e3dc37e37daa1e990842351