[INFO] fetching crate ntex 2.12.4... [INFO] checking ntex-2.12.4 against try#306c6aded24f02440063be828ebe601fe5eb8323 for pr-133502-3 [INFO] extracting crate ntex 2.12.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate ntex 2.12.4 on toolchain 306c6aded24f02440063be828ebe601fe5eb8323 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ntex 2.12.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ntex 2.12.4 [INFO] tweaked toml for crates.io crate ntex 2.12.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate ntex 2.12.4 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" "+306c6aded24f02440063be828ebe601fe5eb8323" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 487f649bf5d6d3c6cd7970bb333d3b49c251a2102d8571b31e4caa4ea4a6f9df [INFO] running `Command { std: "docker" "start" "-a" "487f649bf5d6d3c6cd7970bb333d3b49c251a2102d8571b31e4caa4ea4a6f9df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "487f649bf5d6d3c6cd7970bb333d3b49c251a2102d8571b31e4caa4ea4a6f9df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "487f649bf5d6d3c6cd7970bb333d3b49c251a2102d8571b31e4caa4ea4a6f9df", kill_on_drop: false }` [INFO] [stdout] 487f649bf5d6d3c6cd7970bb333d3b49c251a2102d8571b31e4caa4ea4a6f9df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24cf98eb452e5764299849687d9919b9ea384230f964f17c214bcd4919bd4f4b [INFO] running `Command { std: "docker" "start" "-a" "24cf98eb452e5764299849687d9919b9ea384230f964f17c214bcd4919bd4f4b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling ntex-rt v0.4.29 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking oneshot v0.1.11 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking ntex-service v3.4.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking once_cell v1.21.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking env_logger v0.11.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking deranged v0.4.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking webpki-roots v0.26.8 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking core_affinity v0.8.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking ntex-util v2.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling ntex-macros v0.1.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ntex-bytes v0.1.27 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.13 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking ntex-io v2.11.1 [INFO] [stderr] Checking ntex-net v2.5.9 [INFO] [stderr] Checking ntex-server v2.7.3 [INFO] [stderr] Checking ntex-h2 v1.8.6 [INFO] [stderr] Checking ntex-tls v2.4.0 [INFO] [stderr] Checking ntex v2.12.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `read_body` [INFO] [stdout] --> src/web/app.rs:597:56 [INFO] [stdout] | [INFO] [stdout] 597 | use crate::web::test::{call_service, init_service, read_body, TestRequest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::Bytes` [INFO] [stdout] --> src/web/config.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | use crate::util::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_body` [INFO] [stdout] --> src/web/config.rs:134:56 [INFO] [stdout] | [INFO] [stdout] 134 | use crate::web::test::{call_service, init_service, read_body, TestRequest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/web/config.rs:135:47 [INFO] [stdout] | [INFO] [stdout] 135 | use crate::web::{self, App, DefaultError, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> src/web/httprequest.rs:333:23 [INFO] [stdout] | [INFO] [stdout] 333 | use crate::http::{header, StatusCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::router::ResourceDef` [INFO] [stdout] --> src/web/httprequest.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | use crate::router::ResourceDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_body` [INFO] [stdout] --> src/web/scope.rs:601:56 [INFO] [stdout] | [INFO] [stdout] 601 | use crate::web::test::{call_service, init_service, read_body, TestRequest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> tests/connect.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chain_factory` [INFO] [stdout] --> tests/connect.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use ntex::service::{chain_factory, fn_service, Pipeline, ServiceFactory}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server::build_test_server` [INFO] [stdout] --> tests/connect.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use ntex::{server::build_test_server, server::test_server, time, util::Bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex::web::middleware::Compress` [INFO] [stdout] --> tests/http_awc_client.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ntex::web::middleware::Compress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Compress` in `web::middleware` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/web/middleware/mod.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::compress::Compress; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `compress` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/web/middleware/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "compress")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2` [INFO] [stdout] --> tests/http_awc_client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flate2::{read::GzDecoder, write::GzEncoder, write::ZlibEncoder, Compression}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `coo_kie` [INFO] [stdout] --> tests/http_awc_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use coo_kie::Cookie; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `coo_kie`, use `cargo add coo_kie` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> tests/http_awc_client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use flate2::{read::GzDecoder, write::GzEncoder, write::ZlibEncoder, Compression}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2` [INFO] [stdout] --> tests/http_awc_client.rs:541:54 [INFO] [stdout] | [INFO] [stdout] 541 | let mut e = ZlibEncoder::new(Vec::new(), flate2::Compression::fast()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2` [INFO] [stdout] --> tests/http_awc_client.rs:570:54 [INFO] [stdout] | [INFO] [stdout] 570 | let mut e = ZlibEncoder::new(Vec::new(), flate2::Compression::fast()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2` [INFO] [stdout] --> tests/web_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use flate2::read::GzDecoder; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2` [INFO] [stdout] --> tests/web_server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use flate2::write::{GzEncoder, ZlibDecoder, ZlibEncoder}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex::web::middleware::Compress` [INFO] [stdout] --> tests/web_server.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use ntex::web::{self, middleware::Compress, test}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Compress` in `web::middleware` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/web/middleware/mod.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::compress::Compress; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `compress` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/web/middleware/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "compress")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> tests/web_server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use flate2::Compression; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `flate2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] --> tests/web_server.rs:716:25 [INFO] [stdout] | [INFO] [stdout] 716 | .cookie(coo_kie::Cookie::build(("first", "first_value")).http_only(true)) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `coo_kie`, use `cargo add coo_kie` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `tls_rustls::internal::msgs::handshake::ClientExtension::Cookie`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 716 - .cookie(coo_kie::Cookie::build(("first", "first_value")).http_only(true)) [INFO] [stdout] 716 + .cookie(tls_rustls::internal::msgs::handshake::ClientExtension::build(("first", "first_value")).http_only(true)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] --> tests/web_server.rs:717:25 [INFO] [stdout] | [INFO] [stdout] 717 | .cookie(coo_kie::Cookie::new("second", "first_value")) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `coo_kie`, use `cargo add coo_kie` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `tls_rustls::internal::msgs::handshake::ClientExtension::Cookie`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 717 - .cookie(coo_kie::Cookie::new("second", "first_value")) [INFO] [stdout] 717 + .cookie(tls_rustls::internal::msgs::handshake::ClientExtension::new("second", "first_value")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] --> tests/web_server.rs:718:25 [INFO] [stdout] | [INFO] [stdout] 718 | .cookie(coo_kie::Cookie::new("second", "second_value")) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `coo_kie`, use `cargo add coo_kie` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `tls_rustls::internal::msgs::handshake::ClientExtension::Cookie`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 718 - .cookie(coo_kie::Cookie::new("second", "second_value")) [INFO] [stdout] 718 + .cookie(tls_rustls::internal::msgs::handshake::ClientExtension::new("second", "second_value")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] --> tests/web_server.rs:723:24 [INFO] [stdout] | [INFO] [stdout] 723 | let first_cookie = coo_kie::Cookie::build(("first", "first_value")).http_only(true); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `coo_kie`, use `cargo add coo_kie` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `tls_rustls::internal::msgs::handshake::ClientExtension::Cookie`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 723 - let first_cookie = coo_kie::Cookie::build(("first", "first_value")).http_only(true); [INFO] [stdout] 723 + let first_cookie = tls_rustls::internal::msgs::handshake::ClientExtension::build(("first", "first_value")).http_only(true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] --> tests/web_server.rs:724:25 [INFO] [stdout] | [INFO] [stdout] 724 | let second_cookie = coo_kie::Cookie::new("second", "second_value"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `coo_kie` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `coo_kie`, use `cargo add coo_kie` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `tls_rustls::internal::msgs::handshake::ClientExtension::Cookie`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 724 - let second_cookie = coo_kie::Cookie::new("second", "second_value"); [INFO] [stdout] 724 + let second_cookie = tls_rustls::internal::msgs::handshake::ClientExtension::new("second", "second_value"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ntex::http::HttpMessage` [INFO] [stdout] --> tests/web_server.rs:711:9 [INFO] [stdout] | [INFO] [stdout] 711 | use ntex::http::HttpMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `HttpResponseBuilder` in the current scope [INFO] [stdout] --> tests/web_server.rs:716:18 [INFO] [stdout] | [INFO] [stdout] 715 | / HttpResponse::Ok() [INFO] [stdout] 716 | | .cookie(coo_kie::Cookie::build(("first", "first_value")).http_only(true)) [INFO] [stdout] | | -^^^^^^ method not found in `ResponseBuilder` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookies` found for struct `ClientResponse` in the current scope [INFO] [stdout] --> tests/web_server.rs:729:28 [INFO] [stdout] | [INFO] [stdout] 729 | let cookies = response.cookies().expect("To have cookies"); [INFO] [stdout] | ^^^^^^^ method not found in `ClientResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `HttpRequest` in the current scope [INFO] [stdout] --> tests/http_awc_client.rs:636:26 [INFO] [stdout] | [INFO] [stdout] 635 | let res: Result<(), Error> = req [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 636 | | .cookie("cookie1") [INFO] [stdout] | | -^^^^^^ method not found in `HttpRequest` [INFO] [stdout] | |_________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/http_awc_client.rs:638:36 [INFO] [stdout] | [INFO] [stdout] 638 | .and_then(|c1| { [INFO] [stdout] | ^^ [INFO] [stdout] 639 | if c1.value() == "value1" { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 638 | .and_then(|c1: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `HttpRequest` in the current scope [INFO] [stdout] --> tests/http_awc_client.rs:645:44 [INFO] [stdout] | [INFO] [stdout] 645 | .and_then(|()| req.cookie("cookie2").ok_or(())) [INFO] [stdout] | ^^^^^^ method not found in `HttpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/http_awc_client.rs:646:36 [INFO] [stdout] | [INFO] [stdout] 646 | .and_then(|c2| { [INFO] [stdout] | ^^ [INFO] [stdout] 647 | if c2.value() == "value2" { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 646 | .and_then(|c2: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `HttpResponseBuilder` in the current scope [INFO] [stdout] --> tests/http_awc_client.rs:659:44 [INFO] [stdout] | [INFO] [stdout] 659 | HttpResponse::Ok().cookie(cookie1).cookie(cookie2).finish(), [INFO] [stdout] | ^^^^^^ method not found in `ResponseBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `ClientRequest` in the current scope [INFO] [stdout] --> tests/http_awc_client.rs:666:32 [INFO] [stdout] | [INFO] [stdout] 666 | let request = srv.get("/").cookie(cookie1.clone()).cookie(cookie2.clone()); [INFO] [stdout] | ^^^^^^ method not found in `ClientRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/http_awc_client.rs:667:41 [INFO] [stdout] | [INFO] [stdout] 667 | let response = request.send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> tests/http_awc_client.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use ntex::http::{header, HttpMessage, HttpService}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex` (test "web_server") due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex` (test "http_awc_client") due to 13 previous errors; 1 warning emitted [INFO] [stdout] warning: method `rmap` is never used [INFO] [stdout] --> src/web/test.rs:454:19 [INFO] [stdout] | [INFO] [stdout] 326 | impl TestRequest { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 454 | pub(crate) fn rmap(mut self, rmap: ResourceMap) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "24cf98eb452e5764299849687d9919b9ea384230f964f17c214bcd4919bd4f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24cf98eb452e5764299849687d9919b9ea384230f964f17c214bcd4919bd4f4b", kill_on_drop: false }` [INFO] [stdout] 24cf98eb452e5764299849687d9919b9ea384230f964f17c214bcd4919bd4f4b