[INFO] fetching crate ntex 2.16.0... [INFO] building ntex-2.16.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate ntex 2.16.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ntex 2.16.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ntex 2.16.0 [INFO] tweaked toml for crates.io crate ntex 2.16.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ntex 2.16.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ntex 2.16.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntex-neon v0.1.35 [INFO] [stderr] Downloaded compio-log v0.1.0 [INFO] [stderr] Downloaded compio-driver v0.8.2 [INFO] [stderr] Downloaded io_uring_buf_ring v0.2.1 [INFO] [stderr] Downloaded compio-buf v0.6.0 [INFO] [stderr] Downloaded ntex-compio v0.4.0 [INFO] [stderr] Downloaded cookie v0.18.1 [INFO] [stderr] Downloaded swap-buffer-queue v0.2.1 [INFO] [stderr] Downloaded compio-io v0.7.0 [INFO] [stderr] Downloaded compio-net v0.8.0 [INFO] [stderr] Downloaded ntex-tokio v0.5.4 [INFO] [stderr] Downloaded compio-runtime v0.8.1 [INFO] [stderr] Downloaded ntex-polling v3.10.0 [INFO] [stderr] Downloaded ntex-io-uring v0.7.12 [INFO] [stderr] Downloaded aligned-array v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3f36e281da53cc94f9480c2761ebac7d7defec38a98a767228616614d6cbfb0 [INFO] running `Command { std: "docker" "start" "-a" "c3f36e281da53cc94f9480c2761ebac7d7defec38a98a767228616614d6cbfb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3f36e281da53cc94f9480c2761ebac7d7defec38a98a767228616614d6cbfb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f36e281da53cc94f9480c2761ebac7d7defec38a98a767228616614d6cbfb0", kill_on_drop: false }` [INFO] [stdout] c3f36e281da53cc94f9480c2761ebac7d7defec38a98a767228616614d6cbfb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 925cf517283e95bc278263503019161417796446aab16d0de5b91546ce179a33 [INFO] running `Command { std: "docker" "start" "-a" "925cf517283e95bc278263503019161417796446aab16d0de5b91546ce179a33", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling ntex-service v3.5.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling ntex-rt v0.4.32 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling core_affinity v0.8.3 [INFO] [stderr] Compiling nanorand v0.8.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling ntex-macros v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling variadics_please v1.1.0 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ntex-bytes v0.1.30 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ntex-util v2.14.0 [INFO] [stderr] Compiling ntex-codec v0.6.2 [INFO] [stderr] Compiling ntex-http v0.1.15 [INFO] [stderr] Compiling ntex-router v0.5.3 [INFO] [stderr] Compiling ntex-io v2.14.0 [INFO] [stderr] Compiling ntex-net v2.8.0 [INFO] [stderr] Compiling ntex-h2 v1.13.0 [INFO] [stderr] Compiling ntex-server v2.8.1 [INFO] [stderr] Compiling ntex-tls v2.6.1 [INFO] [stderr] Compiling ntex v2.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.07s [INFO] running `Command { std: "docker" "inspect" "925cf517283e95bc278263503019161417796446aab16d0de5b91546ce179a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "925cf517283e95bc278263503019161417796446aab16d0de5b91546ce179a33", kill_on_drop: false }` [INFO] [stdout] 925cf517283e95bc278263503019161417796446aab16d0de5b91546ce179a33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85f51b4e200201882dcaca939e43d8954a2c936529fee069f72525198a2dc0b0 [INFO] running `Command { std: "docker" "start" "-a" "85f51b4e200201882dcaca939e43d8954a2c936529fee069f72525198a2dc0b0", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling variadics_please v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ntex-bytes v0.1.30 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ntex-util v2.14.0 [INFO] [stderr] Compiling ntex-codec v0.6.2 [INFO] [stderr] Compiling ntex-http v0.1.15 [INFO] [stderr] Compiling ntex-router v0.5.3 [INFO] [stderr] Compiling ntex-io v2.14.0 [INFO] [stderr] Compiling ntex-net v2.8.0 [INFO] [stderr] Compiling ntex-server v2.8.1 [INFO] [stderr] Compiling ntex-tls v2.6.1 [INFO] [stderr] Compiling ntex-h2 v1.13.0 [INFO] [stderr] Compiling ntex v2.16.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `read_body` [INFO] [stdout] --> src/web/app.rs:598:56 [INFO] [stdout] | [INFO] [stdout] 598 | use crate::web::test::{call_service, init_service, read_body, TestRequest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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] 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::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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 5 | #[cfg(feature = "compress")] [INFO] [stdout] | -------------------- the item is gated behind the `compress` feature [INFO] [stdout] 6 | pub use self::compress::Compress; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> tests/web_server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:717:25 [INFO] [stdout] | [INFO] [stdout] 717 | .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::enums::ExtensionType::Cookie`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 717 - .cookie(coo_kie::Cookie::build(("first", "first_value")).http_only(true)) [INFO] [stdout] 717 + .cookie(tls_rustls::internal::msgs::enums::ExtensionType::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:718:25 [INFO] [stdout] | [INFO] [stdout] 718 | .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::enums::ExtensionType::Cookie`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 718 - .cookie(coo_kie::Cookie::new("second", "first_value")) [INFO] [stdout] 718 + .cookie(tls_rustls::internal::msgs::enums::ExtensionType::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:719:25 [INFO] [stdout] | [INFO] [stdout] 719 | .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::enums::ExtensionType::Cookie`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 719 - .cookie(coo_kie::Cookie::new("second", "second_value")) [INFO] [stdout] 719 + .cookie(tls_rustls::internal::msgs::enums::ExtensionType::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:724:24 [INFO] [stdout] | [INFO] [stdout] 724 | 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::enums::ExtensionType::Cookie`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 724 - let first_cookie = coo_kie::Cookie::build(("first", "first_value")).http_only(true); [INFO] [stdout] 724 + let first_cookie = tls_rustls::internal::msgs::enums::ExtensionType::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:725:25 [INFO] [stdout] | [INFO] [stdout] 725 | 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::enums::ExtensionType::Cookie`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 725 - let second_cookie = coo_kie::Cookie::new("second", "second_value"); [INFO] [stdout] 725 + let second_cookie = tls_rustls::internal::msgs::enums::ExtensionType::new("second", "second_value"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ntex::http::HttpMessage` [INFO] [stdout] --> tests/web_server.rs:712:9 [INFO] [stdout] | [INFO] [stdout] 712 | use ntex::http::HttpMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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:717:18 [INFO] [stdout] | [INFO] [stdout] 716 | / HttpResponse::Ok() [INFO] [stdout] 717 | | .cookie(coo_kie::Cookie::build(("first", "first_value")).http_only(true)) [INFO] [stdout] | | -^^^^^^ method not found in `HttpResponseBuilder` [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:730:28 [INFO] [stdout] | [INFO] [stdout] 730 | let cookies = response.cookies().expect("To have cookies"); [INFO] [stdout] | ^^^^^^^ method not found in `ClientResponse` [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] 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] 5 | #[cfg(feature = "compress")] [INFO] [stdout] | -------------------- the item is gated behind the `compress` feature [INFO] [stdout] 6 | pub use self::compress::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[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[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[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 `HttpResponseBuilder` [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] 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)]` (part of `#[warn(unused)]`) 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 "http_awc_client") due to 10 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "85f51b4e200201882dcaca939e43d8954a2c936529fee069f72525198a2dc0b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85f51b4e200201882dcaca939e43d8954a2c936529fee069f72525198a2dc0b0", kill_on_drop: false }` [INFO] [stdout] 85f51b4e200201882dcaca939e43d8954a2c936529fee069f72525198a2dc0b0