[INFO] fetching crate ntex 0.4.0... [INFO] checking ntex-0.4.0 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate ntex 0.4.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate ntex 0.4.0 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ntex 0.4.0 [INFO] finished tweaking crates.io crate ntex 0.4.0 [INFO] tweaked toml for crates.io crate ntex 0.4.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate ntex 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded brotli2 v0.3.2 [INFO] [stderr] Downloaded cookie v0.15.1 [INFO] [stderr] Downloaded brotli-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c7337b30a99ea8e13fedab9ee25313841df11d20da5ac6d310f0ef79da2eb38 [INFO] running `Command { std: "docker" "start" "-a" "0c7337b30a99ea8e13fedab9ee25313841df11d20da5ac6d310f0ef79da2eb38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c7337b30a99ea8e13fedab9ee25313841df11d20da5ac6d310f0ef79da2eb38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7337b30a99ea8e13fedab9ee25313841df11d20da5ac6d310f0ef79da2eb38", kill_on_drop: false }` [INFO] [stdout] 0c7337b30a99ea8e13fedab9ee25313841df11d20da5ac6d310f0ef79da2eb38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7bb33d05c08389c27158188b700a5a1a39148ac78cbc4c791e0dffdf9c61ff5 [INFO] running `Command { std: "docker" "start" "-a" "d7bb33d05c08389c27158188b700a5a1a39148ac78cbc4c791e0dffdf9c61ff5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking nanorand v0.5.2 [INFO] [stderr] Checking futures-micro v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking ntex-util v0.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking async-oneshot v0.5.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking ntex-service v0.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.27 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking ntex-rt v0.3.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking ntex-bytes v0.1.4 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking ntex-router v0.5.1 [INFO] [stderr] Checking ntex-codec v0.5.1 [INFO] [stderr] Checking ntex v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/web/app.rs:631:23 [INFO] [stdout] | [INFO] [stdout] 631 | use crate::util::{Bytes, Ready}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_body` [INFO] [stdout] --> src/web/app.rs:632:56 [INFO] [stdout] | [INFO] [stdout] 632 | use crate::web::test::{call_service, init_service, read_body, TestRequest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_body` [INFO] [stdout] --> src/web/config.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | 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:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | use crate::web::{self, App, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::Bytes` [INFO] [stdout] --> src/web/config.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | use crate::{util::Bytes, Service}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> src/web/httprequest.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | 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:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | use crate::router::ResourceDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::web::dev::ResourceMap` [INFO] [stdout] --> src/web/httprequest.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | use crate::web::dev::ResourceMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_body` [INFO] [stdout] --> src/web/scope.rs:700:56 [INFO] [stdout] | [INFO] [stdout] 700 | use crate::web::test::{call_service, init_service, read_body, TestRequest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offs` [INFO] [stdout] --> src/time/wheel.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | offs: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root` [INFO] [stdout] --> src/web/rmap.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | root: ResourceDef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use brotli2::write::BrotliEncoder; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `brotli2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntex::web::middleware::Compress` [INFO] [stdout] --> tests/http_awc_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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/http_awc_client.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | 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/http_awc_client.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | 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/http_awc_client.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | 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:507:25 [INFO] [stdout] | [INFO] [stdout] 507 | 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:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | 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:558:25 [INFO] [stdout] | [INFO] [stdout] 558 | 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/http_awc_client.rs:586:25 [INFO] [stdout] | [INFO] [stdout] 586 | 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/http_awc_client.rs:672:25 [INFO] [stdout] | [INFO] [stdout] 672 | 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/http_awc_client.rs:701:25 [INFO] [stdout] | [INFO] [stdout] 701 | 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:672:62 [INFO] [stdout] | [INFO] [stdout] 672 | 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:701:62 [INFO] [stdout] | [INFO] [stdout] 701 | 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 `brotli2` [INFO] [stdout] --> tests/web_server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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 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[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 `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 `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/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/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 `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 `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/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/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: `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] = note: `#[warn(unused_imports)]` on by default [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:768:26 [INFO] [stdout] | [INFO] [stdout] 768 | .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:777:44 [INFO] [stdout] | [INFO] [stdout] 777 | .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:792:48 [INFO] [stdout] | [INFO] [stdout] 792 | ... 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:800:32 [INFO] [stdout] | [INFO] [stdout] 800 | 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:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | 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` due to 21 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `cookie` found for struct `ResponseBuilder` in the current scope [INFO] [stdout] --> tests/web_server.rs:1008:18 [INFO] [stdout] | [INFO] [stdout] 1008 | .cookie( [INFO] [stdout] | ^^^^^^ method not found in `ResponseBuilder` [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; 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: field is never read: `offs` [INFO] [stdout] --> src/time/wheel.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | offs: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root` [INFO] [stdout] --> src/web/rmap.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | root: ResourceDef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rmap` [INFO] [stdout] --> src/web/test.rs:461:19 [INFO] [stdout] | [INFO] [stdout] 461 | pub(crate) fn rmap(mut self, rmap: ResourceMap) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d7bb33d05c08389c27158188b700a5a1a39148ac78cbc4c791e0dffdf9c61ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7bb33d05c08389c27158188b700a5a1a39148ac78cbc4c791e0dffdf9c61ff5", kill_on_drop: false }` [INFO] [stdout] d7bb33d05c08389c27158188b700a5a1a39148ac78cbc4c791e0dffdf9c61ff5