[INFO] cloning repository https://github.com/VuHoang19/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/VuHoang19/rust-web-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVuHoang19%2Frust-web-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVuHoang19%2Frust-web-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9087acb37c790f3d2a8436148fbe8bb11898ab7c [INFO] testing VuHoang19/rust-web-api against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVuHoang19%2Frust-web-api" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VuHoang19/rust-web-api on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VuHoang19/rust-web-api [INFO] finished tweaking git repo https://github.com/VuHoang19/rust-web-api [INFO] tweaked toml for git repo https://github.com/VuHoang19/rust-web-api written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/VuHoang19/rust-web-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded route-recognizer v0.1.13 [INFO] [stderr] Downloaded logger v0.4.0 [INFO] [stderr] Downloaded router v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b2c77207d21df7468b189bbd3886a2786ae4e6dc0d3014e277861f6ff5db7108 [INFO] running `Command { std: "docker" "start" "-a" "b2c77207d21df7468b189bbd3886a2786ae4e6dc0d3014e277861f6ff5db7108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2c77207d21df7468b189bbd3886a2786ae4e6dc0d3014e277861f6ff5db7108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c77207d21df7468b189bbd3886a2786ae4e6dc0d3014e277861f6ff5db7108", kill_on_drop: false }` [INFO] [stdout] b2c77207d21df7468b189bbd3886a2786ae4e6dc0d3014e277861f6ff5db7108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4571e921546e5ab697ae73d17c195548a34de804f44f4854b04e222d4652229 [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" "a4571e921546e5ab697ae73d17c195548a34de804f44f4854b04e222d4652229", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling 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] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling logger v0.4.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling rust-web-api 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 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 `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 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 `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 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 `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 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 `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 the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.44s [INFO] running `Command { std: "docker" "inspect" "a4571e921546e5ab697ae73d17c195548a34de804f44f4854b04e222d4652229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4571e921546e5ab697ae73d17c195548a34de804f44f4854b04e222d4652229", kill_on_drop: false }` [INFO] [stdout] a4571e921546e5ab697ae73d17c195548a34de804f44f4854b04e222d4652229 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa56e4dc5b61cbe13938fa1d14f3f9e72a765d665359d0a18f4cc5c392079323 [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" "aa56e4dc5b61cbe13938fa1d14f3f9e72a765d665359d0a18f4cc5c392079323", kill_on_drop: false }` [INFO] [stderr] Compiling rust-web-api 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 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 `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 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 `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 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 `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 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 `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 the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "aa56e4dc5b61cbe13938fa1d14f3f9e72a765d665359d0a18f4cc5c392079323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa56e4dc5b61cbe13938fa1d14f3f9e72a765d665359d0a18f4cc5c392079323", kill_on_drop: false }` [INFO] [stdout] aa56e4dc5b61cbe13938fa1d14f3f9e72a765d665359d0a18f4cc5c392079323 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 98a088a905e1fdd0902caba8e0a1754db03bf8a2e512a89f2388ab4e40b0ddb2 [INFO] running `Command { std: "docker" "start" "-a" "98a088a905e1fdd0902caba8e0a1754db03bf8a2e512a89f2388ab4e40b0ddb2", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | let payload = try_handler!(serde_json::to_string(lock!(self.database).posts())); [INFO] [stderr] | ----------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:27:59 [INFO] [stderr] | [INFO] [stderr] 27 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | let post = try_handler!(serde_json::from_str(payload.as_str()), status::BadRequest); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:27:59 [INFO] [stderr] | [INFO] [stderr] 27 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | let id = try_handler!(Uuid::parse_str(post_id), status::BadRequest); [INFO] [stderr] | ---------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/handlers.rs:27:59 [INFO] [stderr] | [INFO] [stderr] 27 | Err(e) => return Ok(Response::with(($error, e.description()))), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | let payload = try_handler!(serde_json::to_string(&post), status::InternalServerError); [INFO] [stderr] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | Iron::new(chain).http("localhost:8000"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `rust-web-api` (bin "rust-web-api" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_web_api-16d8a66d36b4a74c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "98a088a905e1fdd0902caba8e0a1754db03bf8a2e512a89f2388ab4e40b0ddb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a088a905e1fdd0902caba8e0a1754db03bf8a2e512a89f2388ab4e40b0ddb2", kill_on_drop: false }` [INFO] [stdout] 98a088a905e1fdd0902caba8e0a1754db03bf8a2e512a89f2388ab4e40b0ddb2