[INFO] fetching crate ntex 0.2.0-b.11... [INFO] checking ntex-0.2.0-b.11 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate ntex 0.2.0-b.11 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ntex 0.2.0-b.11 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ntex 0.2.0-b.11 [INFO] finished tweaking crates.io crate ntex 0.2.0-b.11 [INFO] tweaked toml for crates.io crate ntex 0.2.0-b.11 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate ntex 0.2.0-b.11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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] 85c160f58e6e12a2a11fbc40983ceaae1979fc7b88a3adcd2f2f6b07f0a177ea [INFO] running `Command { std: "docker" "start" "-a" "85c160f58e6e12a2a11fbc40983ceaae1979fc7b88a3adcd2f2f6b07f0a177ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85c160f58e6e12a2a11fbc40983ceaae1979fc7b88a3adcd2f2f6b07f0a177ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c160f58e6e12a2a11fbc40983ceaae1979fc7b88a3adcd2f2f6b07f0a177ea", kill_on_drop: false }` [INFO] [stdout] 85c160f58e6e12a2a11fbc40983ceaae1979fc7b88a3adcd2f2f6b07f0a177ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34159be24fa1c9ea5c8eb7eb7bc7e2460eacfb97f234b54b578b66a1234832f2 [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" "34159be24fa1c9ea5c8eb7eb7bc7e2460eacfb97f234b54b578b66a1234832f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.0 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking sha-1 v0.9.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking ntex-codec v0.3.0-b.1 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling ntex-rt-macros v0.1.0 [INFO] [stderr] Compiling ntex-macros v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking ntex-service v0.1.5 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking ntex-rt v0.1.2 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking ntex-router v0.3.8 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking ntex v0.2.0-b.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `default_headers` [INFO] [stdout] --> src/http/client/builder.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | default_headers: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `allow_redirects` [INFO] [stdout] --> src/http/client/builder.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | allow_redirects: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_redirects` [INFO] [stdout] --> src/http/client/builder.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | max_redirects: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shutdown` [INFO] [stdout] --> src/http/client/pool.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | shutdown: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/web/responder.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | error: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handshake_timeout` [INFO] [stdout] --> src/web/server.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | handshake_timeout: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `brotli2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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 crate or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `brotli2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GzDecoder` [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 crate 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 crate 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 crate 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 crate or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/web_server.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/web_server.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliDecoder` [INFO] [stdout] --> tests/web_server.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let mut e = BrotliDecoder::new(Vec::with_capacity(2048)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibDecoder` [INFO] [stdout] --> tests/web_server.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliDecoder` [INFO] [stdout] --> tests/web_server.rs:451:17 [INFO] [stdout] | [INFO] [stdout] 451 | let mut e = BrotliDecoder::new(Vec::with_capacity(2048)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/web_server.rs:468:17 [INFO] [stdout] | [INFO] [stdout] 468 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/web_server.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:548:25 [INFO] [stdout] | [INFO] [stdout] 548 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/web_server.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:570:25 [INFO] [stdout] | [INFO] [stdout] 570 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/web_server.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:598:25 [INFO] [stdout] | [INFO] [stdout] 598 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibEncoder` [INFO] [stdout] --> tests/web_server.rs:575:17 [INFO] [stdout] | [INFO] [stdout] 575 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:692:25 [INFO] [stdout] | [INFO] [stdout] 692 | let mut e = ZlibEncoder::new(Vec::new(), flate2::Compression::fast()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibEncoder` [INFO] [stdout] --> tests/web_server.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibEncoder` [INFO] [stdout] --> tests/http_awc_client.rs:721:25 [INFO] [stdout] | [INFO] [stdout] 721 | let mut e = ZlibEncoder::new(Vec::new(), flate2::Compression::fast()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `flate2` [INFO] [stdout] --> tests/http_awc_client.rs:692:62 [INFO] [stdout] | [INFO] [stdout] 692 | 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 crate or module `flate2` [INFO] [stdout] --> tests/http_awc_client.rs:721:62 [INFO] [stdout] | [INFO] [stdout] 721 | 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 `ZlibEncoder` [INFO] [stdout] --> tests/web_server.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 632 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliEncoder` [INFO] [stdout] --> tests/web_server.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliEncoder` [INFO] [stdout] --> tests/web_server.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `coo_kie` [INFO] [stdout] --> tests/web_server.rs:1009:21 [INFO] [stdout] | [INFO] [stdout] 1009 | coo_kie::CookieBuilder::new("first", "first_value") [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `coo_kie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `coo_kie` [INFO] [stdout] --> tests/web_server.rs:1013:25 [INFO] [stdout] | [INFO] [stdout] 1013 | .cookie(coo_kie::Cookie::new("second", "first_value")) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `coo_kie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `coo_kie` [INFO] [stdout] --> tests/web_server.rs:1014:25 [INFO] [stdout] | [INFO] [stdout] 1014 | .cookie(coo_kie::Cookie::new("second", "second_value")) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `coo_kie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `coo_kie` [INFO] [stdout] --> tests/web_server.rs:1019:24 [INFO] [stdout] | [INFO] [stdout] 1019 | let first_cookie = coo_kie::CookieBuilder::new("first", "first_value") [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `coo_kie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `coo_kie` [INFO] [stdout] --> tests/web_server.rs:1022:25 [INFO] [stdout] | [INFO] [stdout] 1022 | let second_cookie = coo_kie::Cookie::new("second", "second_value"); [INFO] [stdout] | ^^^^^^^ use of undeclared crate 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:1003:9 [INFO] [stdout] | [INFO] [stdout] 1003 | use ntex::http::HttpMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/http_server.rs:134:42 [INFO] [stdout] | [INFO] [stdout] 134 | Err(e) => panic!(format!("Error reading payload: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/http_server.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | None => panic!(format!("Failed to find size in HTTP Response: {}", data)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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:788:26 [INFO] [stdout] | [INFO] [stdout] 788 | .cookie("cookie1") [INFO] [stdout] | ^^^^^^ method not found in `HttpRequest` [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:797:44 [INFO] [stdout] | [INFO] [stdout] 797 | .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 `ResponseBuilder` in the current scope [INFO] [stdout] --> tests/http_awc_client.rs:812:48 [INFO] [stdout] | [INFO] [stdout] 812 | ... 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:820:32 [INFO] [stdout] | [INFO] [stdout] 820 | 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: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] [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] error[E0599]: no method named `cookie` found for struct `HttpResponseBuilder` in the current scope [INFO] [stdout] --> tests/web_server.rs:1008:18 [INFO] [stdout] | [INFO] [stdout] 1008 | .cookie( [INFO] [stdout] | ^^^^^^ method not found in `HttpResponseBuilder` [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:1027:28 [INFO] [stdout] | [INFO] [stdout] 1027 | let cookies = response.cookies().expect("To have cookies"); [INFO] [stdout] | ^^^^^^^ method not found in `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] [stdout] warning: field is never read: `shutdown` [INFO] [stdout] --> src/http/client/pool.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | shutdown: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/web/responder.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | error: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handshake_timeout` [INFO] [stdout] --> src/web/server.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | handshake_timeout: u16, [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" "34159be24fa1c9ea5c8eb7eb7bc7e2460eacfb97f234b54b578b66a1234832f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34159be24fa1c9ea5c8eb7eb7bc7e2460eacfb97f234b54b578b66a1234832f2", kill_on_drop: false }` [INFO] [stdout] 34159be24fa1c9ea5c8eb7eb7bc7e2460eacfb97f234b54b578b66a1234832f2