[INFO] cloning repository https://github.com/sankar-boro/hacking-with-rust-web-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sankar-boro/hacking-with-rust-web-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankar-boro%2Fhacking-with-rust-web-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankar-boro%2Fhacking-with-rust-web-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 654a1343adcbc08a0273e09115aa9c2005637aa3 [INFO] testing sankar-boro/hacking-with-rust-web-server against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankar-boro%2Fhacking-with-rust-web-server" "/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/sankar-boro/hacking-with-rust-web-server on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sankar-boro/hacking-with-rust-web-server [INFO] finished tweaking git repo https://github.com/sankar-boro/hacking-with-rust-web-server [INFO] tweaked toml for git repo https://github.com/sankar-boro/hacking-with-rust-web-server written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/sankar-boro/hacking-with-rust-web-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 98cf7a4df0d95d82b9b5d4e2bd5a261ada286593ef1cb89f23e6ad0ee2249d84 [INFO] running `Command { std: "docker" "start" "-a" "98cf7a4df0d95d82b9b5d4e2bd5a261ada286593ef1cb89f23e6ad0ee2249d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98cf7a4df0d95d82b9b5d4e2bd5a261ada286593ef1cb89f23e6ad0ee2249d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98cf7a4df0d95d82b9b5d4e2bd5a261ada286593ef1cb89f23e6ad0ee2249d84", kill_on_drop: false }` [INFO] [stdout] 98cf7a4df0d95d82b9b5d4e2bd5a261ada286593ef1cb89f23e6ad0ee2249d84 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc12698935b89877d6fab5bcee312ee08dee13b110f2a1c02bb1a6d3c5d42b94 [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" "dc12698935b89877d6fab5bcee312ee08dee13b110f2a1c02bb1a6d3c5d42b94", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-futures` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-practise` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-test` which is missing a lib target [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling histogram v0.6.9 [INFO] [stderr] Compiling s4nk4r-http v0.1.0 (/opt/rustwide/workdir/s4nk4r-http) [INFO] [stderr] Compiling s4nk4r-macro v0.1.0 (/opt/rustwide/workdir/s4nk4r-macro) [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling nb-connect v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling bigdecimal v0.2.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling ctor v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling scylla-macros v0.1.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling compress v0.2.1 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling s4nk4r-service v0.1.0 (/opt/rustwide/workdir/s4nk4r-service) [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling scylla v0.1.0 [INFO] [stderr] Compiling http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `config::ServiceConfig` [INFO] [stdout] --> src/server.rs:4:65 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{App, app_service::AppHttpService, builder::Builder, config::ServiceConfig, connection::Connection, extensions::Extensions, re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ser` [INFO] [stdout] --> src/http_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let ser = fac.new_service(()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 08s [INFO] running `Command { std: "docker" "inspect" "dc12698935b89877d6fab5bcee312ee08dee13b110f2a1c02bb1a6d3c5d42b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc12698935b89877d6fab5bcee312ee08dee13b110f2a1c02bb1a6d3c5d42b94", kill_on_drop: false }` [INFO] [stdout] dc12698935b89877d6fab5bcee312ee08dee13b110f2a1c02bb1a6d3c5d42b94 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 679a20047ff1abae6cc038e8da2a0d95d4ce4702b40fd4fc67bbcab29c1d7849 [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" "679a20047ff1abae6cc038e8da2a0d95d4ce4702b40fd4fc67bbcab29c1d7849", kill_on_drop: false }` [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-futures` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-practise` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-test` which is missing a lib target [INFO] [stderr] Compiling http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `config::ServiceConfig` [INFO] [stdout] --> src/server.rs:4:65 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{App, app_service::AppHttpService, builder::Builder, config::ServiceConfig, connection::Connection, extensions::Extensions, re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureExt`, `executor::block_on` [INFO] [stdout] --> src/route.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 160 | use futures::{FutureExt, executor::block_on}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::request::HttpRequest` [INFO] [stdout] --> src/route.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | use crate::request::HttpRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/route.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ser` [INFO] [stdout] --> src/http_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let ser = fac.new_service(()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.37s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/http_server-c6d9818927e63e4d) [INFO] running `Command { std: "docker" "inspect" "679a20047ff1abae6cc038e8da2a0d95d4ce4702b40fd4fc67bbcab29c1d7849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679a20047ff1abae6cc038e8da2a0d95d4ce4702b40fd4fc67bbcab29c1d7849", kill_on_drop: false }` [INFO] [stdout] 679a20047ff1abae6cc038e8da2a0d95d4ce4702b40fd4fc67bbcab29c1d7849 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0033ee6c66a3e3ebabb86998bdbe17fa0ac4273d24d761b932aa53baf55adb02 [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" "0033ee6c66a3e3ebabb86998bdbe17fa0ac4273d24d761b932aa53baf55adb02", kill_on_drop: false }` [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-futures` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-practise` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-test` which is missing a lib target [INFO] [stderr] warning: unused import: `config::ServiceConfig` [INFO] [stderr] --> src/server.rs:4:65 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{App, app_service::AppHttpService, builder::Builder, config::ServiceConfig, connection::Connection, extensions::Extensions, re... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FutureExt`, `executor::block_on` [INFO] [stderr] --> src/route.rs:160:19 [INFO] [stderr] | [INFO] [stderr] 160 | use futures::{FutureExt, executor::block_on}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::request::HttpRequest` [INFO] [stderr] --> src/route.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | use crate::request::HttpRequest; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/route.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ser` [INFO] [stderr] --> src/http_service.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let ser = fac.new_service(()); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ser` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `http-server` (bin "http-server" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/http_server-c6d9818927e63e4d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test route::tests::route ... ok [INFO] [stdout] test resource::tests::resource ... ok [INFO] [stdout] test app::tests::app ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- app::tests::app stdout ---- [INFO] [stdout] thread 'app::tests::app' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `3`, [INFO] [stdout] right: `1`', src/app.rs:94:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55c52dfae52d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55c52dfae52d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55c52dfae52d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55c52dfae52d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55c52dfd10fc - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55c52dfaabe1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55c52dfb0355 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55c52dfb0355 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55c52dfb0355 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55c52dfb0044 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55c52dfb08a2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55c52dfb0787 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55c52dfae9e4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55c52dfb04b9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55c52dd5c943 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55c52dfcfc88 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x55c52debfc9a - core::panicking::assert_failed::h35d7ea307231e67b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x55c52dd92e62 - http_server::app::tests::app::hbeb1ccabc45bcc1f [INFO] [stdout] at /opt/rustwide/workdir/src/app.rs:94:9 [INFO] [stdout] 18: 0x55c52dd92d2a - http_server::app::tests::app::{{closure}}::h40ef72fe5119ff7d [INFO] [stdout] at /opt/rustwide/workdir/src/app.rs:82:5 [INFO] [stdout] 19: 0x55c52dd9350e - core::ops::function::FnOnce::call_once::h669164b2fa8829d1 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55c52ddd5ba3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55c52ddd5ba3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x55c52ddd4959 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x55c52ddd4959 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55c52ddd4959 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55c52ddd4959 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55c52ddd4959 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55c52ddd4959 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x55c52ddd4959 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x55c52dda0b0e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x55c52dda0b0e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55c52dda6078 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55c52dda6078 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55c52dda6078 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55c52dda6078 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55c52dda6078 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55c52dda6078 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55c52dda6078 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55c52dfb5213 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x55c52dfb5213 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x55c52dfb5213 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f73a84a1609 - start_thread [INFO] [stdout] 42: 0x7f73a8271163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] app::tests::app [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin http-server' [INFO] running `Command { std: "docker" "inspect" "0033ee6c66a3e3ebabb86998bdbe17fa0ac4273d24d761b932aa53baf55adb02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0033ee6c66a3e3ebabb86998bdbe17fa0ac4273d24d761b932aa53baf55adb02", kill_on_drop: false }` [INFO] [stdout] 0033ee6c66a3e3ebabb86998bdbe17fa0ac4273d24d761b932aa53baf55adb02