[INFO] fetching crate snx 0.0.5... [INFO] testing snx-0.0.5 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate snx 0.0.5 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate snx 0.0.5 [INFO] finished tweaking crates.io crate snx 0.0.5 [INFO] tweaked toml for crates.io crate snx 0.0.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate snx 0.0.5 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate snx 0.0.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jiff-tzdb-platform v0.1.2 [INFO] [stderr] Downloaded zerofrom v0.1.4 [INFO] [stderr] Downloaded yoke-derive v0.7.4 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Downloaded zerofrom-derive v0.1.4 [INFO] [stderr] Downloaded dsl_auto_type v0.1.3 [INFO] [stderr] Downloaded jiff-diesel v0.1.0 [INFO] [stderr] Downloaded jiff-tzdb v0.1.2 [INFO] [stderr] Downloaded matchit v0.8.6 [INFO] [stderr] Downloaded litemap v0.7.3 [INFO] [stderr] Downloaded yoke v0.7.4 [INFO] [stderr] Downloaded diesel_derives v2.2.3 [INFO] [stderr] Downloaded pq-sys v0.7.0 [INFO] [stderr] Downloaded winnow v0.6.25 [INFO] [stderr] Downloaded mysqlclient-sys v0.4.2 [INFO] [stderr] Downloaded diesel v2.2.7 [INFO] [stderr] Downloaded jiff v0.2.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 451a61184baa0f18e1075d5fb31f2d7afdf823ea7431e3fc6fca58e2fc697f98 [INFO] running `Command { std: "docker" "start" "-a" "451a61184baa0f18e1075d5fb31f2d7afdf823ea7431e3fc6fca58e2fc697f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "451a61184baa0f18e1075d5fb31f2d7afdf823ea7431e3fc6fca58e2fc697f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "451a61184baa0f18e1075d5fb31f2d7afdf823ea7431e3fc6fca58e2fc697f98", kill_on_drop: false }` [INFO] [stdout] 451a61184baa0f18e1075d5fb31f2d7afdf823ea7431e3fc6fca58e2fc697f98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c899e7740b00b09d1ef7db727d322077820fde8d2af252a4f3ffdb335c12568 [INFO] running `Command { std: "docker" "start" "-a" "9c899e7740b00b09d1ef7db727d322077820fde8d2af252a4f3ffdb335c12568", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling winnow v0.6.25 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling matchit v0.8.6 [INFO] [stderr] Compiling jiff v0.2.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling snx v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseConfig` is never constructed [INFO] [stdout] --> src/config.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DatabaseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `params` is never read [INFO] [stdout] --> src/http/request.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct Builder { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 208 | params: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/router.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn at(&self, method: &Method, host: &str, path: &str) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn at(&self, method: &Method, host: &str, path: &str) -> Result, RouterError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.87s [INFO] running `Command { std: "docker" "inspect" "9c899e7740b00b09d1ef7db727d322077820fde8d2af252a4f3ffdb335c12568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c899e7740b00b09d1ef7db727d322077820fde8d2af252a4f3ffdb335c12568", kill_on_drop: false }` [INFO] [stdout] 9c899e7740b00b09d1ef7db727d322077820fde8d2af252a4f3ffdb335c12568 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8382b0aadbb2badc1b3bf9f738e7be6d05f80e1b0cf40f21aa5fe664eeeb843 [INFO] running `Command { std: "docker" "start" "-a" "d8382b0aadbb2badc1b3bf9f738e7be6d05f80e1b0cf40f21aa5fe664eeeb843", kill_on_drop: false }` [INFO] [stderr] Compiling snx v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseConfig` is never constructed [INFO] [stdout] --> src/config.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DatabaseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `params` is never read [INFO] [stdout] --> src/http/request.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct Builder { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 208 | params: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/router.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn at(&self, method: &Method, host: &str, path: &str) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn at(&self, method: &Method, host: &str, path: &str) -> Result, RouterError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseConfig` is never constructed [INFO] [stdout] --> src/config.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DatabaseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `params` is never read [INFO] [stdout] --> src/http/request.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct Builder { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 208 | params: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/router.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn at(&self, method: &Method, host: &str, path: &str) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn at(&self, method: &Method, host: &str, path: &str) -> Result, RouterError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "d8382b0aadbb2badc1b3bf9f738e7be6d05f80e1b0cf40f21aa5fe664eeeb843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8382b0aadbb2badc1b3bf9f738e7be6d05f80e1b0cf40f21aa5fe664eeeb843", kill_on_drop: false }` [INFO] [stdout] d8382b0aadbb2badc1b3bf9f738e7be6d05f80e1b0cf40f21aa5fe664eeeb843 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4d9544fb9e1bebb5f3dac4bacb16010014542269c7ab2e403f3d8b17a15f5ca [INFO] running `Command { std: "docker" "start" "-a" "d4d9544fb9e1bebb5f3dac4bacb16010014542269c7ab2e403f3d8b17a15f5ca", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/context.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `DatabaseConfig` is never constructed [INFO] [stderr] --> src/config.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct DatabaseConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `params` is never read [INFO] [stderr] --> src/http/request.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 202 | pub struct Builder { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 208 | params: Option>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/http/router.rs:116:15 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn at(&self, method: &Method, host: &str, path: &str) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 116 | pub fn at(&self, method: &Method, host: &str, path: &str) -> Result, RouterError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `snx` (lib) generated 4 warnings (run `cargo fix --lib -p snx` to apply 2 suggestions) [INFO] [stderr] warning: `snx` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/snx-f0cee62ab89fd9b9) [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] [stderr] Doc-tests snx [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test src/config.rs - config::Config::try_from_fs (line 49) - compile ... ok [INFO] [stdout] test src/http/header.rs - http::header::HeaderMap::insert (line 17) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Builder::build (line 295) ... ok [INFO] [stdout] test src/http/header.rs - http::header::HeaderMap::get_all (line 48) ... ok [INFO] [stdout] test src/http/header.rs - http::header::HeaderMap::get (line 34) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Builder::header (line 264) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Builder::method (line 225) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Builder::body (line 251) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Builder::path (line 238) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Builder::peer_addr (line 277) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Request::bytes (line 97) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Builder::new (line 214) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Request::method (line 42) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Request::path (line 54) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Request::string (line 116) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Request::builder (line 26) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Request::headers (line 66) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Request::peer_addr (line 78) ... ok [INFO] [stdout] test src/http/request.rs - http::request::Request::try_parse_from_bytes (line 140) ... ok [INFO] [stdout] test src/http/response/mod.rs - http::response::Response::body (line 89) ... ok [INFO] [stdout] test src/http/router.rs - http::router::Builder::middleware (line 263) ... FAILED [INFO] [stdout] test src/http/router.rs - http::router::Builder::host (line 240) ... FAILED [INFO] [stdout] test src/http/response/mod.rs - http::response::Response::new (line 27) ... ok [INFO] [stdout] test src/http/response/mod.rs - http::response::Response::headers_mut (line 77) ... ok [INFO] [stdout] test src/http/response/mod.rs - http::response::Response::headers (line 65) ... ok [INFO] [stdout] test src/http/router.rs - http::router::Route::path (line 31) ... FAILED [INFO] [stdout] test src/http/router.rs - http::router::Builder::prefix (line 210) ... FAILED [INFO] [stdout] test src/http/router.rs - http::router::Route::middleware (line 67) ... FAILED [INFO] [stdout] test src/http/router.rs - http::router::Route::handler (line 49) ... FAILED [INFO] [stdout] test src/http/response/mod.rs - http::response::Response::serialize_to_raw_http_response (line 101) ... ok [INFO] [stdout] test src/http/response/mod.rs - http::response::Response::status (line 41) ... ok [INFO] [stdout] test src/server.rs - server::Server::num_threads (line 93) ... FAILED [INFO] [stdout] test src/http/router.rs - http::router::Router::at (line 105) ... FAILED [INFO] [stdout] test src/server.rs - server::Server::try_bind (line 37) ... FAILED [INFO] [stdout] test src/server.rs - server::Server::serve (line 63) - compile ... FAILED [INFO] [stdout] test src/http/response/mod.rs - http::response::Response::status_mut (line 53) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/http/router.rs - http::router::Builder::middleware (line 263) stdout ---- [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/http/router.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 7 | fn my_middleware(_req: Request, next: Box Response>) -> Box { [INFO] [stdout] | ----------------------------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 14 | .middleware(&[my_middleware], |router| { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `snx::router::Builder::middleware` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn middleware( [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 280 | mut self, [INFO] [stdout] 281 | middleware: &'static [impl Fn(Context, Request, Box Response>) -> Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::middleware` [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:275:16 [INFO] [stdout] | [INFO] [stdout] 15 | router.get("/", |_| "hello world!") [INFO] [stdout] | ^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:15:25: 15:28}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | define_route_method!(get, Get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::get` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http/router.rs - http::router::Builder::host (line 240) stdout ---- [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:246:16 [INFO] [stdout] | [INFO] [stdout] 9 | router.get("/", |_| "tenant home page here") [INFO] [stdout] | ^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:9:25: 9:28}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | define_route_method!(get, Get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::get` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http/router.rs - http::router::Route::path (line 31) stdout ---- [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 9 | .get("/", |_| "hello world!") [INFO] [stdout] | ^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:9:15: 9:18}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | define_route_method!(get, Get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::get` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http/router.rs - http::router::Builder::prefix (line 210) stdout ---- [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 10 | .post("/", |_| "creates a post") [INFO] [stdout] | ^^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:10:24: 10:27}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::post` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | define_route_method!(post, Post); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::post` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 11 | .get("/", |_| "returns a list of posts") [INFO] [stdout] | ^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:11:23: 11:26}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | define_route_method!(get, Get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::get` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 12 | .get("/{id}", |_| "returns a single post") [INFO] [stdout] | ^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:12:27: 12:30}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | define_route_method!(get, Get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::get` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 13 | .put("/{id}", |_| "updates a post") [INFO] [stdout] | ^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:13:27: 13:30}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::put` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | define_route_method!(put, Put); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::put` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 14 | .delete("/{id}", |_| "deletes a post") [INFO] [stdout] | ^^^^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:14:30: 14:33}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::delete` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | define_route_method!(delete, Delete); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::delete` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http/router.rs - http::router::Route::middleware (line 67) stdout ---- [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 8 | .get("/", |_| "hello world!") [INFO] [stdout] | ^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:8:15: 8:18}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | define_route_method!(get, Get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::get` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http/router.rs - http::router::Route::handler (line 49) stdout ---- [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 9 | .get("/", |_| "hello world!") [INFO] [stdout] | ^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:9:15: 9:18}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | define_route_method!(get, Get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::get` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server::num_threads (line 93) stdout ---- [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/server.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 8 | let server = Server::try_bind("127.0.0.1:2002", router, vec![]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------ argument #3 of type `snx::Context` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn try_bind( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | let server = Server::try_bind("127.0.0.1:2002", router, /* snx::Context */, vec![]) [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http/router.rs - http::router::Router::at (line 105) stdout ---- [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/http/router.rs:110:6 [INFO] [stdout] | [INFO] [stdout] 8 | .get("/", |_| "hello, world!") [INFO] [stdout] | ^^^ --- takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `{closure@src/http/router.rs:8:15: 8:18}` to implement `snx::http::handler::Handler` [INFO] [stdout] note: required by a bound in `snx::router::Builder::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/http/router.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | define_route_method!(get, Get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `Builder::get` [INFO] [stdout] = note: this error originates in the macro `define_route_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server::try_bind (line 37) stdout ---- [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/server.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 9 | let server = Server::try_bind("127.0.0.1:2002", router, global_middleware).expect("failed to bind listener"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- argument #3 of type `snx::Context` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn try_bind( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 9 | let server = Server::try_bind("127.0.0.1:2002", router, /* snx::Context */, global_middleware).expect("failed to bind listener"); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server::serve (line 63) stdout ---- [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/server.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 8 | Server::try_bind("127.0.0.1:2002", router, vec![]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------ argument #3 of type `snx::Context` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn try_bind( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | Server::try_bind("127.0.0.1:2002", router, /* snx::Context */, vec![]) [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/http/router.rs - http::router::Builder::host (line 240) [INFO] [stdout] src/http/router.rs - http::router::Builder::middleware (line 263) [INFO] [stdout] src/http/router.rs - http::router::Builder::prefix (line 210) [INFO] [stdout] src/http/router.rs - http::router::Route::handler (line 49) [INFO] [stdout] src/http/router.rs - http::router::Route::middleware (line 67) [INFO] [stdout] src/http/router.rs - http::router::Route::path (line 31) [INFO] [stdout] src/http/router.rs - http::router::Router::at (line 105) [INFO] [stdout] src/server.rs - server::Server::num_threads (line 93) [INFO] [stdout] src/server.rs - server::Server::serve (line 63) [INFO] [stdout] src/server.rs - server::Server::try_bind (line 37) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 26 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.40s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d4d9544fb9e1bebb5f3dac4bacb16010014542269c7ab2e403f3d8b17a15f5ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d9544fb9e1bebb5f3dac4bacb16010014542269c7ab2e403f3d8b17a15f5ca", kill_on_drop: false }` [INFO] [stdout] d4d9544fb9e1bebb5f3dac4bacb16010014542269c7ab2e403f3d8b17a15f5ca