[INFO] cloning repository https://github.com/dinhostork/rust-rest-api-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dinhostork/rust-rest-api-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinhostork%2Frust-rest-api-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinhostork%2Frust-rest-api-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3e995196100c27ca37e2905e1341211e08c4f45 [INFO] checking dinhostork/rust-rest-api-example against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinhostork%2Frust-rest-api-example" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dinhostork/rust-rest-api-example on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dinhostork/rust-rest-api-example [INFO] finished tweaking git repo https://github.com/dinhostork/rust-rest-api-example [INFO] tweaked toml for git repo https://github.com/dinhostork/rust-rest-api-example written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/dinhostork/rust-rest-api-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9140e39af376b6b36237bfc8f87ef79c5712b6b029bcac7b5f8c9c2bbf07630 [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" "f9140e39af376b6b36237bfc8f87ef79c5712b6b029bcac7b5f8c9c2bbf07630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9140e39af376b6b36237bfc8f87ef79c5712b6b029bcac7b5f8c9c2bbf07630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9140e39af376b6b36237bfc8f87ef79c5712b6b029bcac7b5f8c9c2bbf07630", kill_on_drop: false }` [INFO] [stdout] f9140e39af376b6b36237bfc8f87ef79c5712b6b029bcac7b5f8c9c2bbf07630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb8c823472d3e224ea707c13967a3cb5e65d4ddc85354717f6be4366b6b9861e [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" "fb8c823472d3e224ea707c13967a3cb5e65d4ddc85354717f6be4366b6b9861e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking thread_local v1.0.1 [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_pcg v0.1.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking hyper v0.10.16 [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 iron v0.6.1 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking rust-rest-api-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | let payload = try_handler!(serde_json::to_string(lock!(self.database).posts())); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | let post = try_handler!(serde_json::from_str(payload.as_str()), status::BadRequest); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | 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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | let payload = try_handler!(serde_json::to_string(&post), status::InternalServerError); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | let payload = try_handler!(serde_json::to_string(lock!(self.database).posts())); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | let post = try_handler!(serde_json::from_str(payload.as_str()), status::BadRequest); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | 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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/handlers.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | let payload = try_handler!(serde_json::to_string(&post), status::InternalServerError); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Iron::new(chain).http("localhost:8000"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Iron::new(chain).http("localhost:8000"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.09s [INFO] running `Command { std: "docker" "inspect" "fb8c823472d3e224ea707c13967a3cb5e65d4ddc85354717f6be4366b6b9861e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8c823472d3e224ea707c13967a3cb5e65d4ddc85354717f6be4366b6b9861e", kill_on_drop: false }` [INFO] [stdout] fb8c823472d3e224ea707c13967a3cb5e65d4ddc85354717f6be4366b6b9861e