[INFO] fetching crate ntex 0.1.20... [INFO] checking ntex-0.1.20 against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] extracting crate ntex 0.1.20 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ntex 0.1.20 on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ntex 0.1.20 [INFO] finished tweaking crates.io crate ntex 0.1.20 [INFO] tweaked toml for crates.io crate ntex 0.1.20 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate ntex 0.1.20 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 05586046e70eabb32d8fc4e04d7dcdf4e1f7ecaa97c9bb168942aca1f604e6cb [INFO] running `Command { std: "docker" "start" "-a" "05586046e70eabb32d8fc4e04d7dcdf4e1f7ecaa97c9bb168942aca1f604e6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05586046e70eabb32d8fc4e04d7dcdf4e1f7ecaa97c9bb168942aca1f604e6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05586046e70eabb32d8fc4e04d7dcdf4e1f7ecaa97c9bb168942aca1f604e6cb", kill_on_drop: false }` [INFO] [stdout] 05586046e70eabb32d8fc4e04d7dcdf4e1f7ecaa97c9bb168942aca1f604e6cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b607645329b0ba9f8b253411c38a1980e0868e54f5c92cacf47d7babf767cf10 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b607645329b0ba9f8b253411c38a1980e0868e54f5c92cacf47d7babf767cf10", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking ntex v0.1.20 (/opt/rustwide/workdir) [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stdout] warning: use of deprecated item 'framed::handshake::Handshake' [INFO] [stdout] --> src/framed/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Connect = Handshake; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'framed::handshake::HandshakeResult' [INFO] [stdout] --> src/framed/mod.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | pub type ConnectResult = HandshakeResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `brotli2` [INFO] [stdout] --> tests/web_server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use brotli2::write::{BrotliDecoder, BrotliEncoder}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `brotli2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `flate2` [INFO] [stdout] --> tests/web_server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use flate2::read::GzDecoder; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `flate2` [INFO] [stdout] --> tests/web_server.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use flate2::write::{GzEncoder, ZlibDecoder, ZlibEncoder}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex::web::middleware::Compress` [INFO] [stdout] --> tests/web_server.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use ntex::web::middleware::Compress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Compress` in `web::middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> tests/web_server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use flate2::Compression; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/web_server.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/web_server.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibDecoder` [INFO] [stdout] --> tests/web_server.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibDecoder` [INFO] [stdout] --> tests/web_server.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/web_server.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/web_server.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/web_server.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BrotliDecoder` [INFO] [stdout] --> tests/web_server.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let mut e = BrotliDecoder::new(Vec::with_capacity(2048)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `BrotliDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibDecoder` [INFO] [stdout] --> tests/web_server.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BrotliDecoder` [INFO] [stdout] --> tests/web_server.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | let mut e = BrotliDecoder::new(Vec::with_capacity(2048)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `BrotliDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/web_server.rs:467:17 [INFO] [stdout] | [INFO] [stdout] 467 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/web_server.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/web_server.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 518 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/web_server.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 548 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibEncoder` [INFO] [stdout] --> tests/web_server.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibEncoder` [INFO] [stdout] --> tests/web_server.rs:599:17 [INFO] [stdout] | [INFO] [stdout] 599 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibEncoder` [INFO] [stdout] --> tests/web_server.rs:629:17 [INFO] [stdout] | [INFO] [stdout] 629 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BrotliEncoder` [INFO] [stdout] --> tests/web_server.rs:655:17 [INFO] [stdout] | [INFO] [stdout] 655 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BrotliEncoder` [INFO] [stdout] --> tests/web_server.rs:689:17 [INFO] [stdout] | [INFO] [stdout] 689 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `coo_kie` [INFO] [stdout] --> tests/web_server.rs:1002:21 [INFO] [stdout] | [INFO] [stdout] 1002 | coo_kie::CookieBuilder::new("first", "first_value") [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `coo_kie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `coo_kie` [INFO] [stdout] --> tests/web_server.rs:1006:25 [INFO] [stdout] | [INFO] [stdout] 1006 | .cookie(coo_kie::Cookie::new("second", "first_value")) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `coo_kie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `coo_kie` [INFO] [stdout] --> tests/web_server.rs:1007:25 [INFO] [stdout] | [INFO] [stdout] 1007 | .cookie(coo_kie::Cookie::new("second", "second_value")) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `coo_kie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `coo_kie` [INFO] [stdout] --> tests/web_server.rs:1012:24 [INFO] [stdout] | [INFO] [stdout] 1012 | let first_cookie = coo_kie::CookieBuilder::new("first", "first_value") [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `coo_kie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `coo_kie` [INFO] [stdout] --> tests/web_server.rs:1015:25 [INFO] [stdout] | [INFO] [stdout] 1015 | let second_cookie = coo_kie::Cookie::new("second", "second_value"); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `coo_kie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/web_server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ntex::http::HttpMessage` [INFO] [stdout] --> tests/web_server.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | use ntex::http::HttpMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `ntex::http::ResponseBuilder` in the current scope [INFO] [stdout] --> tests/web_server.rs:1001:18 [INFO] [stdout] | [INFO] [stdout] 1001 | .cookie( [INFO] [stdout] | ^^^^^^ method not found in `ntex::http::ResponseBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookies` found for struct `ntex::http::client::ClientResponse>>>>` in the current scope [INFO] [stdout] --> tests/web_server.rs:1020:28 [INFO] [stdout] | [INFO] [stdout] 1020 | let cookies = response.cookies().expect("To have cookies"); [INFO] [stdout] | ^^^^^^^ method not found in `ntex::http::client::ClientResponse>>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors; 2 warnings emitted [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated item 'ntex::framed::Builder' [INFO] [stdout] --> tests/framed_server.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use ntex::framed::{Builder, FactoryBuilder, Handshake}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::FactoryBuilder' [INFO] [stdout] --> tests/framed_server.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use ntex::framed::{Builder, FactoryBuilder, Handshake}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::Handshake' [INFO] [stdout] --> tests/framed_server.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | use ntex::framed::{Builder, FactoryBuilder, Handshake}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::FactoryBuilder' [INFO] [stdout] --> tests/framed_server.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | FactoryBuilder::new(fn_service(|conn: Handshake<_, _>| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::Handshake' [INFO] [stdout] --> tests/framed_server.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | FactoryBuilder::new(fn_service(|conn: Handshake<_, _>| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::Builder' [INFO] [stdout] --> tests/framed_server.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let client = Builder::new(fn_service(move |conn: Handshake<_, _>| async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::Handshake' [INFO] [stdout] --> tests/framed_server.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 33 | let client = Builder::new(fn_service(move |conn: Handshake<_, _>| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::FactoryBuilder::::new' [INFO] [stdout] --> tests/framed_server.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | FactoryBuilder::new(fn_service(|conn: Handshake<_, _>| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::Handshake::::codec' [INFO] [stdout] --> tests/framed_server.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(conn.codec(BytesCodec).state(State(None))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::HandshakeResult::::state' [INFO] [stdout] --> tests/framed_server.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(conn.codec(BytesCodec).state(State(None))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::FactoryBuilder::::disconnect_timeout' [INFO] [stdout] --> tests/framed_server.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | .disconnect_timeout(3000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::FactoryBuilder::::build' [INFO] [stdout] --> tests/framed_server.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | .build(fn_service(|t: BytesMut| ok(Some(t.freeze())))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::Builder::::new' [INFO] [stdout] --> tests/framed_server.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let client = Builder::new(fn_service(move |conn: Handshake<_, _>| async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::Handshake::::codec' [INFO] [stdout] --> tests/framed_server.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(conn.codec(BytesCodec).out(rx).state(State(Some(tx)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::HandshakeResult::::out' [INFO] [stdout] --> tests/framed_server.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(conn.codec(BytesCodec).out(rx).state(State(Some(tx)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::HandshakeResult::::state' [INFO] [stdout] --> tests/framed_server.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(conn.codec(BytesCodec).out(rx).state(State(Some(tx)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::Builder::::disconnect_timeout' [INFO] [stdout] --> tests/framed_server.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | .disconnect_timeout(3000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'ntex::framed::Builder::::build' [INFO] [stdout] --> tests/framed_server.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | .build(fn_factory_with_config(move |cfg: State| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `brotli2` [INFO] [stdout] --> tests/http_awc_client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use brotli2::write::BrotliEncoder; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `brotli2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex::web::middleware::Compress` [INFO] [stdout] --> tests/http_awc_client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use ntex::web::middleware::Compress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Compress` in `web::middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `flate2` [INFO] [stdout] --> tests/http_awc_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use flate2::{read::GzDecoder, write::GzEncoder, write::ZlibEncoder, Compression}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `coo_kie` [INFO] [stdout] --> tests/http_awc_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use coo_kie::Cookie; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `coo_kie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> tests/http_awc_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use flate2::{read::GzDecoder, write::GzEncoder, write::ZlibEncoder, Compression}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/http_awc_client.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/http_awc_client.rs:486:17 [INFO] [stdout] | [INFO] [stdout] 486 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:496:25 [INFO] [stdout] | [INFO] [stdout] 496 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:519:25 [INFO] [stdout] | [INFO] [stdout] 519 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:547:25 [INFO] [stdout] | [INFO] [stdout] 547 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BrotliEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:569:25 [INFO] [stdout] | [INFO] [stdout] 569 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BrotliEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:596:25 [INFO] [stdout] | [INFO] [stdout] 596 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:690:25 [INFO] [stdout] | [INFO] [stdout] 690 | let mut e = ZlibEncoder::new(Vec::new(), flate2::Compression::fast()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:718:25 [INFO] [stdout] | [INFO] [stdout] 718 | let mut e = ZlibEncoder::new(Vec::new(), flate2::Compression::fast()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `flate2` [INFO] [stdout] --> tests/http_awc_client.rs:690:62 [INFO] [stdout] | [INFO] [stdout] 690 | let mut e = ZlibEncoder::new(Vec::new(), flate2::Compression::fast()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `flate2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use rust_tls::internal::msgs::enums::Compression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `flate2` [INFO] [stdout] --> tests/http_awc_client.rs:718:62 [INFO] [stdout] | [INFO] [stdout] 718 | let mut e = ZlibEncoder::new(Vec::new(), flate2::Compression::fast()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `flate2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use rust_tls::internal::msgs::enums::Compression; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `ntex::web::HttpRequest` in the current scope [INFO] [stdout] --> tests/http_awc_client.rs:785:26 [INFO] [stdout] | [INFO] [stdout] 785 | .cookie("cookie1") [INFO] [stdout] | ^^^^^^ method not found in `ntex::web::HttpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `ntex::web::HttpRequest` in the current scope [INFO] [stdout] --> tests/http_awc_client.rs:794:44 [INFO] [stdout] | [INFO] [stdout] 794 | .and_then(|()| req.cookie("cookie2").ok_or(())) [INFO] [stdout] | ^^^^^^ method not found in `ntex::web::HttpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `ntex::http::ResponseBuilder` in the current scope [INFO] [stdout] --> tests/http_awc_client.rs:809:48 [INFO] [stdout] | [INFO] [stdout] 809 | ... HttpResponse::Ok().cookie(cookie1).cookie(cookie2).finish(), [INFO] [stdout] | ^^^^^^ method not found in `ntex::http::ResponseBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `ntex::http::client::ClientRequest` in the current scope [INFO] [stdout] --> tests/http_awc_client.rs:817:32 [INFO] [stdout] | [INFO] [stdout] 817 | let request = srv.get("/").cookie(cookie1.clone()).cookie(cookie2.clone()); [INFO] [stdout] | ^^^^^^ method not found in `ntex::http::client::ClientRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> tests/http_awc_client.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | 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] error: aborting due to 20 previous errors; 1 warning emitted [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] [stdout] warning: use of deprecated item 'framed::handshake::tests::test_result' [INFO] [stdout] --> src/framed/handshake.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | #[ntex_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'framed::handshake::Handshake' [INFO] [stdout] --> src/framed/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Connect = Handshake; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'framed::handshake::HandshakeResult' [INFO] [stdout] --> src/framed/mod.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | pub type ConnectResult = HandshakeResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b607645329b0ba9f8b253411c38a1980e0868e54f5c92cacf47d7babf767cf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b607645329b0ba9f8b253411c38a1980e0868e54f5c92cacf47d7babf767cf10", kill_on_drop: false }` [INFO] [stdout] b607645329b0ba9f8b253411c38a1980e0868e54f5c92cacf47d7babf767cf10