[INFO] fetching crate axol-http 0.1.6... [INFO] testing axol-http-0.1.6 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate axol-http 0.1.6 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate axol-http 0.1.6 [INFO] finished tweaking crates.io crate axol-http 0.1.6 [INFO] tweaked toml for crates.io crate axol-http 0.1.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axol-http 0.1.6 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding headers v0.3.9 (available: v0.4.1) [INFO] [stderr] Adding http v0.2.9 (available: v0.2.12) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding opentelemetry_api v0.19.0 (available: v0.20.0) [INFO] [stderr] Adding strum v0.25.0 (available: v0.27.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6a005160007e81dab6d11a479dd6fd3e102bd3412e99daa5d85227763ce046f [INFO] running `Command { std: "docker" "start" "-a" "b6a005160007e81dab6d11a479dd6fd3e102bd3412e99daa5d85227763ce046f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6a005160007e81dab6d11a479dd6fd3e102bd3412e99daa5d85227763ce046f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a005160007e81dab6d11a479dd6fd3e102bd3412e99daa5d85227763ce046f", kill_on_drop: false }` [INFO] [stdout] b6a005160007e81dab6d11a479dd6fd3e102bd3412e99daa5d85227763ce046f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8a71d3fdd1b96b8953503627ad1b9efea8c3dc6a62a81e569dcb09ce186ed38 [INFO] running `Command { std: "docker" "start" "-a" "f8a71d3fdd1b96b8953503627ad1b9efea8c3dc6a62a81e569dcb09ce186ed38", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling opentelemetry_api v0.19.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axol-http v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.81s [INFO] running `Command { std: "docker" "inspect" "f8a71d3fdd1b96b8953503627ad1b9efea8c3dc6a62a81e569dcb09ce186ed38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a71d3fdd1b96b8953503627ad1b9efea8c3dc6a62a81e569dcb09ce186ed38", kill_on_drop: false }` [INFO] [stdout] f8a71d3fdd1b96b8953503627ad1b9efea8c3dc6a62a81e569dcb09ce186ed38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f17173664ef863b1bc250b6586807d0571b5e152325978f91fd6a70bc15a2c4c [INFO] running `Command { std: "docker" "start" "-a" "f17173664ef863b1bc250b6586807d0571b5e152325978f91fd6a70bc15a2c4c", kill_on_drop: false }` [INFO] [stderr] Compiling axol-http v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "f17173664ef863b1bc250b6586807d0571b5e152325978f91fd6a70bc15a2c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f17173664ef863b1bc250b6586807d0571b5e152325978f91fd6a70bc15a2c4c", kill_on_drop: false }` [INFO] [stdout] f17173664ef863b1bc250b6586807d0571b5e152325978f91fd6a70bc15a2c4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfa13d2bc1d614327f7308bb640c2b9a46f1cf38338edefbfc13db29d0626bac [INFO] running `Command { std: "docker" "start" "-a" "bfa13d2bc1d614327f7308bb640c2b9a46f1cf38338edefbfc13db29d0626bac", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axol_http-8cbe40f68926f9cb) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test header::names::tests::test_caseless_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests axol_http [INFO] [stdout] [INFO] [stdout] running 75 tests [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::get_mut (line 545) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::insert (line 289) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::insert_typed (line 369) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::get (line 421) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::insert_static (line 328) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::get_all (line 479) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::clear (line 131) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::append (line 201) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::append_static (line 229) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::iter (line 599) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::is_empty (line 149) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::get_all_typed (line 514) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::reserve (line 115) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::capacity (line 86) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::get_typed (line 454) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::append_typed (line 257) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::new (line 44) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::with_capacity (line 66) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::header (line 655) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::contains_key (line 400) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::remove (line 568) ... FAILED [INFO] [stdout] test src/header/map.rs - header::map::HeaderMap::len (line 172) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::headers_ref (line 677) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::extensions (line 743) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::extension (line 716) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::method_ref (line 544) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::headers_mut (line 696) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::new (line 502) ... FAILED [INFO] [stdout] test src/request.rs - request::Request (line 41) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::builder (line 201) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::method (line 523) ... FAILED [INFO] [stdout] test src/request.rs - request::Request (line 61) ... FAILED [INFO] [stdout] test src/request.rs - request::Request (line 16) - compile ... FAILED [INFO] [stdout] test src/request.rs - request::Request::into_parts (line 458) ... FAILED [INFO] [stdout] test src/request.rs - request::Request (line 81) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::options (line 309) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::body (line 771) ... ok [INFO] [stdout] test src/request.rs - request::Request::from_parts (line 435) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::uri_ref (line 591) ... ok [INFO] [stdout] test src/request.rs - request::Request::delete (line 287) ... ok [INFO] [stdout] test src/request.rs - request::Builder::uri (line 566) ... ok [INFO] [stdout] test src/request.rs - request::Request::get (line 221) ... ok [INFO] [stdout] test src/request.rs - request::Request::new (line 420) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::connect (line 354) ... ok [INFO] [stdout] test src/request.rs - request::Builder::version_ref (line 634) ... ok [INFO] [stdout] test src/request.rs - request::Request::post (line 265) ... ok [INFO] [stdout] test src/response.rs - response::Builder::headers_mut (line 426) ... FAILED [INFO] [stdout] test src/response.rs - response::Builder::headers_ref (line 407) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::trace (line 398) ... ok [INFO] [stdout] test src/response.rs - response::Builder::body (line 517) ... ok [INFO] [stdout] test src/response.rs - response::Builder::extension (line 448) ... FAILED [INFO] [stdout] test src/request.rs - request::Builder::version (line 613) ... ok [INFO] [stdout] test src/response.rs - response::Response (line 96) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::patch (line 376) ... ok [INFO] [stdout] test src/response.rs - response::Response (line 76) ... FAILED [INFO] [stdout] test src/response.rs - response::Builder::header (line 383) ... FAILED [INFO] [stdout] test src/response.rs - response::Response (line 40) ... FAILED [INFO] [stdout] test src/response.rs - response::Response (line 22) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::head (line 332) ... ok [INFO] [stdout] test src/status.rs - status::StatusCode::canonical_reason (line 424) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::into_parts (line 280) ... FAILED [INFO] [stdout] test src/status.rs - status::StatusCode::from_u16 (line 348) ... FAILED [INFO] [stdout] test src/response.rs - response::Response (line 52) - compile ... FAILED [INFO] [stdout] test src/response.rs - response::Builder::extensions_mut (line 492) ... ok [INFO] [stdout] test src/response.rs - response::Response::new (line 240) ... FAILED [INFO] [stdout] test src/response.rs - response::Builder::status (line 332) ... ok [INFO] [stdout] test src/response.rs - response::Response::from_parts (line 255) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::put (line 243) ... ok [INFO] [stdout] test src/response.rs - response::Builder::version (line 360) ... ok [INFO] [stdout] test src/response.rs - response::Response::builder (line 221) ... ok [INFO] [stdout] test src/response.rs - response::Builder::new (line 311) ... ok [INFO] [stdout] test src/status.rs - status::StatusCode (line 29) ... ok [INFO] [stdout] test src/response.rs - response::Builder::extensions_ref (line 475) ... ok [INFO] [stdout] test src/status.rs - status::StatusCode::as_str (line 397) ... ok [INFO] [stdout] test src/status.rs - status::StatusCode::as_u16 (line 379) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::get_mut (line 545) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:547:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::insert (line 289) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::insert_typed (line 369) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::get (line 421) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::insert_static (line 328) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::get_all (line 479) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::clear (line 131) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::append (line 201) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::append_static (line 229) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::iter (line 599) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::is_empty (line 149) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::get_all_typed (line 514) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::reserve (line 115) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::capacity (line 86) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::get_typed (line 454) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Host` in this scope [INFO] [stdout] --> src/header/map.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(map.get::().is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use headers::Host; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Host` in this scope [INFO] [stdout] --> src/header/map.rs:462:22 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(map.get::().unwrap(), &"hello"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use headers::Host; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Host` in this scope [INFO] [stdout] --> src/header/map.rs:465:22 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(map.get::().unwrap(), &"hello"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use headers::Host; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::append_typed (line 257) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::new (line 44) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::with_capacity (line 66) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Builder::header (line 655) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::header::HeaderValue` [INFO] [stdout] --> src/request.rs:658:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axol_http::header::HeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `HeaderValue` in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 6 - use axol_http::header::HeaderValue; [INFO] [stdout] 6 + use headers::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 6 - use axol_http::header::HeaderValue; [INFO] [stdout] 6 + use http::HeaderValue; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::contains_key (line 400) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::remove (line 568) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/map.rs - header::map::HeaderMap::len (line 172) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::HeaderMap` [INFO] [stdout] --> src/header/map.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `HeaderMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::header::HeaderMap; [INFO] [stdout] | ++++++++ [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 5 - use axol_http::HeaderMap; [INFO] [stdout] 5 + use http::HeaderMap; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Builder::headers_ref (line 677) stdout ---- [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> src/request.rs:684:1 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!( headers["Accept"], "text/html" ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> src/request.rs:685:1 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!( headers["X-Custom-Foo"], "bar" ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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 E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Builder::extensions (line 743) stdout ---- [INFO] [stdout] error[E0599]: no method named `extensions_ref` found for struct `axol_http::request::Builder` in the current scope [INFO] [stdout] --> src/request.rs:747:22 [INFO] [stdout] | [INFO] [stdout] 7 | let extensions = req.extensions_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `extensions` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - let extensions = req.extensions_ref().unwrap(); [INFO] [stdout] 7 + let extensions = req.extensions().unwrap(); [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Builder::extension (line 716) stdout ---- [INFO] [stdout] error[E0599]: no method named `extensions` found for struct `axol_http::Request` in the current scope [INFO] [stdout] --> src/request.rs:725:16 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(req.extensions().get::<&'static str>(), [INFO] [stdout] | ^^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Builder::method_ref (line 544) stdout ---- [INFO] [stdout] error[E0599]: no variant or associated item named `GET` found for enum `axol_http::Method` in the current scope [INFO] [stdout] --> src/request.rs:549:43 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(req.method_ref(),Some(&Method::GET)); [INFO] [stdout] | ^^^ variant or associated item not found in `axol_http::Method` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(req.method_ref(),Some(&Method::GET)); [INFO] [stdout] 8 + assert_eq!(req.method_ref(),Some(&Method::Get)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:551:18 [INFO] [stdout] | [INFO] [stdout] 10 | req = req.method("POST"); [INFO] [stdout] | ------ ^^^^^^ expected `Method`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn method(self, method: Method) -> Builder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `POST` found for enum `axol_http::Method` in the current scope [INFO] [stdout] --> src/request.rs:552:43 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(req.method_ref(),Some(&Method::POST)); [INFO] [stdout] | ^^^^ variant or associated item not found in `axol_http::Method` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - assert_eq!(req.method_ref(),Some(&Method::POST)); [INFO] [stdout] 11 + assert_eq!(req.method_ref(),Some(&Method::Post)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Builder::headers_mut (line 696) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::header::HeaderValue` [INFO] [stdout] --> src/request.rs:698:17 [INFO] [stdout] | [INFO] [stdout] 5 | use axol_http::{header::HeaderValue, Request}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `HeaderValue` in `header` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] headers::HeaderValue [INFO] [stdout] http::HeaderValue [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> src/request.rs:706:1 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!( headers["Accept"], "text/html" ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> src/request.rs:707:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!( headers["X-Custom-Foo"], "bar" ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Builder::new (line 502) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 8 | .method("POST") [INFO] [stdout] | ------ ^^^^^^ expected `Method`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn method(self, method: Method) -> Builder { [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 E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request (line 41) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `axol_http` [INFO] [stdout] --> src/request.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 7 | fn respond_to(req: Request<()>) -> axol_http::Result> { [INFO] [stdout] | ^^^^^^ not found in `axol_http` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - fn respond_to(req: Request<()>) -> axol_http::Result> { [INFO] [stdout] 7 + fn respond_to(req: Request<()>) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/request.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn respond_to(req: Request<()>) -> axol_http::Result> { [INFO] [stdout] | ^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `uri` found for struct `axol_http::Request` in the current scope [INFO] [stdout] --> src/request.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 8 | if req.uri() != "/awesome-url" { [INFO] [stdout] | ^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `NOT_FOUND` found for enum `axol_http::StatusCode` in the current scope [INFO] [stdout] --> src/request.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 10 | .status(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `axol_http::StatusCode` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `headers` found for struct `axol_http::Request` in the current scope [INFO] [stdout] --> src/request.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 14 | let has_awesome_header = req.headers().contains_key("Awesome"); [INFO] [stdout] | ^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body` found for struct `axol_http::Request` in the current scope [INFO] [stdout] --> src/request.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 15 | let body = req.body(); [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::builder (line 201) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 7 | .method("GET") [INFO] [stdout] | ------ ^^^^^ expected `Method`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn method(self, method: Method) -> Builder { [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 E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Builder::method (line 523) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 8 | .method("POST") [INFO] [stdout] | ------ ^^^^^^ expected `Method`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn method(self, method: Method) -> Builder { [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 E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request (line 61) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_json` [INFO] [stdout] --> src/request.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/request.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn deserialize(req: Request>) -> serde_json::Result> [INFO] [stdout] | ^^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request (line 16) stdout ---- [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/request.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 21 | fn send(req: Request<()>) -> Response<()> { [INFO] [stdout] | ^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/request.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn send(req: Request<()>) -> Response<()> { [INFO] [stdout] | ^^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/response.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::into_parts (line 458) stdout ---- [INFO] [stdout] error[E0599]: no variant or associated item named `GET` found for enum `axol_http::Method` in the current scope [INFO] [stdout] --> src/request.rs:463:34 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(parts.method, Method::GET); [INFO] [stdout] | ^^^ variant or associated item not found in `axol_http::Method` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(parts.method, Method::GET); [INFO] [stdout] 8 + assert_eq!(parts.method, Method::Get); [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request (line 81) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_json` [INFO] [stdout] --> src/request.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/request.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn serialize(req: Request) -> serde_json::Result>> [INFO] [stdout] | ^^^^^^^--- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::options (line 309) stdout ---- [INFO] [stdout] error[E0599]: no method named `method` found for struct `axol_http::Request` in the current scope [INFO] [stdout] --> src/request.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(*request.method(), Method::OPTIONS); [INFO] [stdout] | ^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `OPTIONS` found for enum `axol_http::Method` in the current scope [INFO] [stdout] --> src/request.rs:316:39 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(*request.method(), Method::OPTIONS); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `axol_http::Method` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(*request.method(), Method::OPTIONS); [INFO] [stdout] 10 + assert_eq!(*request.method(), Method::Options); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::from_parts (line 435) stdout ---- [INFO] [stdout] error[E0599]: no variant or associated item named `POST` found for enum `axol_http::Method` in the current scope [INFO] [stdout] --> src/request.rs:440:24 [INFO] [stdout] | [INFO] [stdout] 8 | parts.method = Method::POST; [INFO] [stdout] | ^^^^ variant or associated item not found in `axol_http::Method` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - parts.method = Method::POST; [INFO] [stdout] 8 + parts.method = Method::Post; [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::new (line 420) stdout ---- [INFO] [stdout] error[E0599]: no method named `method` found for struct `axol_http::Request` in the current scope [INFO] [stdout] --> src/request.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(*request.method(), Method::GET); [INFO] [stdout] | ^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `GET` found for enum `axol_http::Method` in the current scope [INFO] [stdout] --> src/request.rs:425:39 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(*request.method(), Method::GET); [INFO] [stdout] | ^^^ variant or associated item not found in `axol_http::Method` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(*request.method(), Method::GET); [INFO] [stdout] 8 + assert_eq!(*request.method(), Method::Get); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body` found for struct `axol_http::Request` in the current scope [INFO] [stdout] --> src/request.rs:426:21 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(*request.body(), "hello world"); [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Builder::headers_mut (line 426) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::header::HeaderValue` [INFO] [stdout] --> src/response.rs:429:5 [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] 6 | use axol_http::header::HeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `HeaderValue` in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 6 - use axol_http::header::HeaderValue; [INFO] [stdout] 6 + use headers::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 6 - use axol_http::header::HeaderValue; [INFO] [stdout] 6 + use http::HeaderValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> src/response.rs:438:1 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!( headers["Accept"], "text/html" ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> src/response.rs:439:1 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!( headers["X-Custom-Foo"], "bar" ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Builder::headers_ref (line 407) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::header::HeaderValue` [INFO] [stdout] --> src/response.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axol_http::header::HeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `HeaderValue` in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 6 - use axol_http::header::HeaderValue; [INFO] [stdout] 6 + use headers::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 6 - use axol_http::header::HeaderValue; [INFO] [stdout] 6 + use http::HeaderValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> src/response.rs:415:1 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!( headers["Accept"], "text/html" ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> src/response.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!( headers["X-Custom-Foo"], "bar" ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Builder::extension (line 448) stdout ---- [INFO] [stdout] error[E0599]: no method named `extensions` found for struct `axol_http::Response` in the current scope [INFO] [stdout] --> src/response.rs:457:21 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(response.extensions().get::<&'static str>(), [INFO] [stdout] | ^^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response (line 96) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_json` [INFO] [stdout] --> src/response.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/response.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn serialize(res: Response) -> serde_json::Result>> [INFO] [stdout] | ^^^^^^^^--- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/response.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response (line 76) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_json` [INFO] [stdout] --> src/response.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/response.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn deserialize(res: Response>) -> serde_json::Result> [INFO] [stdout] | ^^^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/response.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Builder::header (line 383) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axol_http::header::HeaderValue` [INFO] [stdout] --> src/response.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axol_http::header::HeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `HeaderValue` in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 6 - use axol_http::header::HeaderValue; [INFO] [stdout] 6 + use headers::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 6 - use axol_http::header::HeaderValue; [INFO] [stdout] 6 + use http::HeaderValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: From<{integer}>` is not satisfied [INFO] [stdout] --> src/response.rs:391:31 [INFO] [stdout] | [INFO] [stdout] 11 | .header("content-length", 0) [INFO] [stdout] | ------ ^ the trait `From<{integer}>` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `String` implements `From<&String>` [INFO] [stdout] `String` implements `From<&mut str>` [INFO] [stdout] `String` implements `From<&str>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From` [INFO] [stdout] `String` implements `From` [INFO] [stdout] `String` implements `From` [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] note: required by a bound in `axol_http::response::Builder::header` [INFO] [stdout] --> /opt/rustwide/workdir/src/response.rs:394:60 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn header(self, name: impl AsRef, value: impl Into) -> Builder { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Builder::header` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response (line 40) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `axol_http` [INFO] [stdout] --> src/response.rs:44:47 [INFO] [stdout] | [INFO] [stdout] 7 | fn not_found(_req: Request<()>) -> axol_http::Result> { [INFO] [stdout] | ^^^^^^ not found in `axol_http` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - fn not_found(_req: Request<()>) -> axol_http::Result> { [INFO] [stdout] 7 + fn not_found(_req: Request<()>) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/response.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn not_found(_req: Request<()>) -> axol_http::Result> { [INFO] [stdout] | ^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `NOT_FOUND` found for enum `axol_http::StatusCode` in the current scope [INFO] [stdout] --> src/response.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 9 | .status(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `axol_http::StatusCode` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response (line 22) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `axol_http` [INFO] [stdout] --> src/response.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 7 | fn respond_to(req: Request<()>) -> axol_http::Result> { [INFO] [stdout] | ^^^^^^ not found in `axol_http` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - fn respond_to(req: Request<()>) -> axol_http::Result> { [INFO] [stdout] 7 + fn respond_to(req: Request<()>) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/response.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn respond_to(req: Request<()>) -> axol_http::Result> { [INFO] [stdout] | ^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `OK` found for enum `axol_http::StatusCode` in the current scope [INFO] [stdout] --> src/response.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 10 | .status(StatusCode::OK); [INFO] [stdout] | ^^ variant or associated item not found in `axol_http::StatusCode` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 10 - .status(StatusCode::OK); [INFO] [stdout] 10 + .status(StatusCode::Ok); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `headers` found for struct `axol_http::Request` in the current scope [INFO] [stdout] --> src/response.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 12 | if req.headers().contains_key("Another-Header") { [INFO] [stdout] | ^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/status.rs - status::StatusCode::canonical_reason (line 424) stdout ---- [INFO] [stdout] error[E0599]: no variant or associated item named `OK` found for enum `axol_http::StatusCode` in the current scope [INFO] [stdout] --> src/status.rs:426:37 [INFO] [stdout] | [INFO] [stdout] 5 | let status = axol_http::StatusCode::OK; [INFO] [stdout] | ^^ variant or associated item not found in `axol_http::StatusCode` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 5 - let status = axol_http::StatusCode::OK; [INFO] [stdout] 5 + let status = axol_http::StatusCode::Ok; [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::into_parts (line 280) stdout ---- [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/response.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 6 | let response: Response<()> = Response::default(); [INFO] [stdout] | ^^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/response.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `OK` found for enum `axol_http::StatusCode` in the current scope [INFO] [stdout] --> src/response.rs:285:38 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(parts.status, StatusCode::OK); [INFO] [stdout] | ^^ variant or associated item not found in `axol_http::StatusCode` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(parts.status, StatusCode::OK); [INFO] [stdout] 8 + assert_eq!(parts.status, StatusCode::Ok); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/status.rs - status::StatusCode::from_u16 (line 348) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/status.rs:355:23 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(matches!(ok, StatusCode::Ok); [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 7 | assert!(err.is_err()); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response (line 52) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `axol_http` [INFO] [stdout] --> src/response.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 7 | fn get(url: &str) -> axol_http::Result> { [INFO] [stdout] | ^^^^^^ not found in `axol_http` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - fn get(url: &str) -> axol_http::Result> { [INFO] [stdout] 7 + fn get(url: &str) -> Result> { [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 E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::new (line 240) stdout ---- [INFO] [stdout] error[E0599]: no method named `status` found for struct `axol_http::Response` in the current scope [INFO] [stdout] --> src/response.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(response.status(), StatusCode::OK); [INFO] [stdout] | ^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] help: there is a method `with_status` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/response.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn with_status(mut self, status: StatusCode) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `OK` found for enum `axol_http::StatusCode` in the current scope [INFO] [stdout] --> src/response.rs:245:43 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(response.status(), StatusCode::OK); [INFO] [stdout] | ^^ variant or associated item not found in `axol_http::StatusCode` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(response.status(), StatusCode::OK); [INFO] [stdout] 8 + assert_eq!(response.status(), StatusCode::Ok); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body` found for struct `axol_http::Response` in the current scope [INFO] [stdout] --> src/response.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(*response.body(), "hello world"); [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::from_parts (line 255) stdout ---- [INFO] [stdout] error[E0599]: no variant or associated item named `BAD_REQUEST` found for enum `axol_http::StatusCode` in the current scope [INFO] [stdout] --> src/response.rs:261:28 [INFO] [stdout] | [INFO] [stdout] 9 | parts.status = StatusCode::BAD_REQUEST; [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `axol_http::StatusCode` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `status` found for struct `axol_http::Response` in the current scope [INFO] [stdout] --> src/response.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(response.status(), StatusCode::BAD_REQUEST); [INFO] [stdout] | ^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] help: there is a method `with_status` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/response.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn with_status(mut self, status: StatusCode) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `BAD_REQUEST` found for enum `axol_http::StatusCode` in the current scope [INFO] [stdout] --> src/response.rs:264:43 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(response.status(), StatusCode::BAD_REQUEST); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `axol_http::StatusCode` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body` found for struct `axol_http::Response` in the current scope [INFO] [stdout] --> src/response.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(*response.body(), "hello world"); [INFO] [stdout] | ^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::append (line 201) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::append_static (line 229) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::append_typed (line 257) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::capacity (line 86) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::clear (line 131) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::contains_key (line 400) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::get (line 421) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::get_all (line 479) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::get_all_typed (line 514) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::get_mut (line 545) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::get_typed (line 454) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::insert (line 289) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::insert_static (line 328) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::insert_typed (line 369) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::is_empty (line 149) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::iter (line 599) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::len (line 172) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::new (line 44) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::remove (line 568) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::reserve (line 115) [INFO] [stdout] src/header/map.rs - header::map::HeaderMap::with_capacity (line 66) [INFO] [stdout] src/request.rs - request::Builder::extension (line 716) [INFO] [stdout] src/request.rs - request::Builder::extensions (line 743) [INFO] [stdout] src/request.rs - request::Builder::header (line 655) [INFO] [stdout] src/request.rs - request::Builder::headers_mut (line 696) [INFO] [stdout] src/request.rs - request::Builder::headers_ref (line 677) [INFO] [stdout] src/request.rs - request::Builder::method (line 523) [INFO] [stdout] src/request.rs - request::Builder::method_ref (line 544) [INFO] [stdout] src/request.rs - request::Builder::new (line 502) [INFO] [stdout] src/request.rs - request::Request (line 16) [INFO] [stdout] src/request.rs - request::Request (line 41) [INFO] [stdout] src/request.rs - request::Request (line 61) [INFO] [stdout] src/request.rs - request::Request (line 81) [INFO] [stdout] src/request.rs - request::Request::builder (line 201) [INFO] [stdout] src/request.rs - request::Request::from_parts (line 435) [INFO] [stdout] src/request.rs - request::Request::into_parts (line 458) [INFO] [stdout] src/request.rs - request::Request::new (line 420) [INFO] [stdout] src/request.rs - request::Request::options (line 309) [INFO] [stdout] src/response.rs - response::Builder::extension (line 448) [INFO] [stdout] src/response.rs - response::Builder::header (line 383) [INFO] [stdout] src/response.rs - response::Builder::headers_mut (line 426) [INFO] [stdout] src/response.rs - response::Builder::headers_ref (line 407) [INFO] [stdout] src/response.rs - response::Response (line 22) [INFO] [stdout] src/response.rs - response::Response (line 40) [INFO] [stdout] src/response.rs - response::Response (line 52) [INFO] [stdout] src/response.rs - response::Response (line 76) [INFO] [stdout] src/response.rs - response::Response (line 96) [INFO] [stdout] src/response.rs - response::Response::from_parts (line 255) [INFO] [stdout] src/response.rs - response::Response::into_parts (line 280) [INFO] [stdout] src/response.rs - response::Response::new (line 240) [INFO] [stdout] src/status.rs - status::StatusCode::canonical_reason (line 424) [INFO] [stdout] src/status.rs - status::StatusCode::from_u16 (line 348) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 23 passed; 52 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.76s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bfa13d2bc1d614327f7308bb640c2b9a46f1cf38338edefbfc13db29d0626bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa13d2bc1d614327f7308bb640c2b9a46f1cf38338edefbfc13db29d0626bac", kill_on_drop: false }` [INFO] [stdout] bfa13d2bc1d614327f7308bb640c2b9a46f1cf38338edefbfc13db29d0626bac