[INFO] cloning repository https://github.com/narikazu/mywebapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/narikazu/mywebapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarikazu%2Fmywebapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarikazu%2Fmywebapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 436990577fddb678f0a55922a683887f70165515 [INFO] checking narikazu/mywebapi against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarikazu%2Fmywebapi" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/narikazu/mywebapi on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/narikazu/mywebapi [INFO] finished tweaking git repo https://github.com/narikazu/mywebapi [INFO] tweaked toml for git repo https://github.com/narikazu/mywebapi written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/narikazu/mywebapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded router v0.4.0 [INFO] [stderr] Downloaded env_logger v0.3.5 [INFO] [stderr] Downloaded conduit-mime-types v0.7.3 [INFO] [stderr] Downloaded iron v0.4.0 [INFO] [stderr] Downloaded uuid v0.2.3 [INFO] [stderr] Downloaded hyper v0.9.18 [INFO] [stderr] Downloaded error v0.1.9 [INFO] [stderr] Downloaded logger v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e63879d733ea924e37f63a05cd7eb946d41446b0ce3044705c80438cf57f357 [INFO] running `Command { std: "docker" "start" "-a" "0e63879d733ea924e37f63a05cd7eb946d41446b0ce3044705c80438cf57f357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e63879d733ea924e37f63a05cd7eb946d41446b0ce3044705c80438cf57f357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e63879d733ea924e37f63a05cd7eb946d41446b0ce3044705c80438cf57f357", kill_on_drop: false }` [INFO] [stdout] 0e63879d733ea924e37f63a05cd7eb946d41446b0ce3044705c80438cf57f357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b02eb7cff76af059b33458533322f078930bdf1104958b2f328ffd144a683eb [INFO] running `Command { std: "docker" "start" "-a" "2b02eb7cff76af059b33458533322f078930bdf1104958b2f328ffd144a683eb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking traitobject v0.0.1 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking route-recognizer v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking conduit-mime-types v0.7.3 [INFO] [stderr] Checking uuid v0.2.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking cookie v0.2.5 [INFO] [stderr] Checking hyper v0.9.18 [INFO] [stderr] Checking iron v0.4.0 [INFO] [stderr] Checking logger v0.2.0 [INFO] [stderr] Checking router v0.4.0 [INFO] [stderr] Checking mywebapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/model.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/model.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/model.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/model.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/model.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/model.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/model.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/model.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:16:80 [INFO] [stdout] | [INFO] [stdout] 16 | Err(e) => return Ok(Response::with((status::InternalServerError, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | let payload = try_handler!(json::encode(lock!(self.database).posts())); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:16:80 [INFO] [stdout] | [INFO] [stdout] 16 | Err(e) => return Ok(Response::with((status::InternalServerError, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => return Ok(Response::with(($error, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | let post = try_handler!(json::decode(&payload), status::BadRequest); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => return Ok(Response::with(($error, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | let id = try_handler!(Uuid::parse_str(post_id), status::BadRequest); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => return Ok(Response::with(($error, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | let payload = try_handler!(json::encode(&post), status::InternalServerError); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:16:80 [INFO] [stdout] | [INFO] [stdout] 16 | Err(e) => return Ok(Response::with((status::InternalServerError, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | let payload = try_handler!(json::encode(lock!(self.database).posts())); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:16:80 [INFO] [stdout] | [INFO] [stdout] 16 | Err(e) => return Ok(Response::with((status::InternalServerError, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => return Ok(Response::with(($error, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | let post = try_handler!(json::decode(&payload), status::BadRequest); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => return Ok(Response::with(($error, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | let id = try_handler!(Uuid::parse_str(post_id), status::BadRequest); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => return Ok(Response::with(($error, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | let payload = try_handler!(json::encode(&post), status::InternalServerError); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.16s [INFO] running `Command { std: "docker" "inspect" "2b02eb7cff76af059b33458533322f078930bdf1104958b2f328ffd144a683eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b02eb7cff76af059b33458533322f078930bdf1104958b2f328ffd144a683eb", kill_on_drop: false }` [INFO] [stdout] 2b02eb7cff76af059b33458533322f078930bdf1104958b2f328ffd144a683eb