[INFO] fetching crate ntex 0.4.0-b.1... [INFO] checking ntex-0.4.0-b.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate ntex 0.4.0-b.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ntex 0.4.0-b.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ntex 0.4.0-b.1 [INFO] finished tweaking crates.io crate ntex 0.4.0-b.1 [INFO] tweaked toml for crates.io crate ntex 0.4.0-b.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate ntex 0.4.0-b.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26d3497f5ca339317efa418049cada2c45e72e9b9ad9d977eff191e00dfc33e3 [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" "26d3497f5ca339317efa418049cada2c45e72e9b9ad9d977eff191e00dfc33e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26d3497f5ca339317efa418049cada2c45e72e9b9ad9d977eff191e00dfc33e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d3497f5ca339317efa418049cada2c45e72e9b9ad9d977eff191e00dfc33e3", kill_on_drop: false }` [INFO] [stdout] 26d3497f5ca339317efa418049cada2c45e72e9b9ad9d977eff191e00dfc33e3 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 798e56a154979a9b195a2e6eaba29ce17b035dbda90573c69d6544bf4cc40020 [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" "798e56a154979a9b195a2e6eaba29ce17b035dbda90573c69d6544bf4cc40020", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking futures-micro v0.5.0 [INFO] [stderr] Checking ntex-bytes v0.1.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking async-oneshot v0.5.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking ntex-util v0.1.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking ntex-service v0.1.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking ntex-codec v0.5.0 [INFO] [stderr] Checking ntex-rt v0.2.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking ntex-router v0.5.0 [INFO] [stderr] Checking ntex v0.4.0-b.1 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [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] error[E0599]: no method named `url_for` found for struct `httprequest::HttpRequest` in the current scope [INFO] [stdout] --> src/web/app.rs:862:33 [INFO] [stdout] | [INFO] [stdout] 862 | ... req.url_for("youtube", &["12345"]).unwrap() [INFO] [stdout] | ^^^^^^^ method not found in `httprequest::HttpRequest` [INFO] [stdout] | [INFO] [stdout] ::: src/web/httprequest.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HttpRequest(pub(crate) Rc); [INFO] [stdout] | -------------------------------------------------------- method `url_for` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `url_for` found for struct `httprequest::HttpRequest` in the current scope [INFO] [stdout] --> src/web/config.rs:169:33 [INFO] [stdout] | [INFO] [stdout] 169 | ... req.url_for("youtube", &["12345"]).unwrap() [INFO] [stdout] | ^^^^^^^ method not found in `httprequest::HttpRequest` [INFO] [stdout] | [INFO] [stdout] ::: src/web/httprequest.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HttpRequest(pub(crate) Rc); [INFO] [stdout] | -------------------------------------------------------- method `url_for` not found for this [INFO] [stdout] [INFO] [stdout] [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: `error` [INFO] [stdout] --> src/web/responder.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | error: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handshake_timeout` [INFO] [stdout] --> src/web/server.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | handshake_timeout: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `url_for` found for struct `httprequest::HttpRequest` in the current scope [INFO] [stdout] --> src/web/scope.rs:1283:33 [INFO] [stdout] | [INFO] [stdout] 1283 | ... req.url_for("youtube", &["xxxxxx"]) [INFO] [stdout] | ^^^^^^^ method not found in `httprequest::HttpRequest` [INFO] [stdout] | [INFO] [stdout] ::: src/web/httprequest.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HttpRequest(pub(crate) Rc); [INFO] [stdout] | -------------------------------------------------------- method `url_for` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `url_for` found for struct `httprequest::HttpRequest` in the current scope [INFO] [stdout] --> src/web/scope.rs:1307:49 [INFO] [stdout] | [INFO] [stdout] 1307 | .body(format!("{}", req.url_for("c", &["12345"]).unwrap())) [INFO] [stdout] | ^^^^^^^ method not found in `httprequest::HttpRequest` [INFO] [stdout] | [INFO] [stdout] ::: src/web/httprequest.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HttpRequest(pub(crate) Rc); [INFO] [stdout] | -------------------------------------------------------- method `url_for` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use flate2::write::{GzEncoder, ZlibDecoder, ZlibEncoder}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex` due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `ntex::web::middleware::Compress` [INFO] [stdout] --> tests/web_server.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | 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:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | 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:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | 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:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | 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:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | 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:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | 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:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | 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:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | 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:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | 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:452:17 [INFO] [stdout] | [INFO] [stdout] 452 | 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:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | 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:494:17 [INFO] [stdout] | [INFO] [stdout] 494 | 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:520:17 [INFO] [stdout] | [INFO] [stdout] 520 | 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:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | 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:576:17 [INFO] [stdout] | [INFO] [stdout] 576 | 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:602:17 [INFO] [stdout] | [INFO] [stdout] 602 | 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:633:17 [INFO] [stdout] | [INFO] [stdout] 633 | 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:659:17 [INFO] [stdout] | [INFO] [stdout] 659 | 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:694:17 [INFO] [stdout] | [INFO] [stdout] 694 | 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:1010:21 [INFO] [stdout] | [INFO] [stdout] 1010 | 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:1014:25 [INFO] [stdout] | [INFO] [stdout] 1014 | .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:1015:25 [INFO] [stdout] | [INFO] [stdout] 1015 | .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:1020:24 [INFO] [stdout] | [INFO] [stdout] 1020 | 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:1023:25 [INFO] [stdout] | [INFO] [stdout] 1023 | 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:1004:9 [INFO] [stdout] | [INFO] [stdout] 1004 | use ntex::http::HttpMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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[E0432]: unresolved import `ntex::web::middleware::Compress` [INFO] [stdout] --> tests/http_awc_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | 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:485:17 [INFO] [stdout] | [INFO] [stdout] 485 | 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:495:25 [INFO] [stdout] | [INFO] [stdout] 495 | 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:518:25 [INFO] [stdout] | [INFO] [stdout] 518 | 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:547:25 [INFO] [stdout] | [INFO] [stdout] 547 | 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:569:25 [INFO] [stdout] | [INFO] [stdout] 569 | 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:597:25 [INFO] [stdout] | [INFO] [stdout] 597 | 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:691:25 [INFO] [stdout] | [INFO] [stdout] 691 | 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:720:25 [INFO] [stdout] | [INFO] [stdout] 720 | 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:691:62 [INFO] [stdout] | [INFO] [stdout] 691 | 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:720:62 [INFO] [stdout] | [INFO] [stdout] 720 | 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 `HttpResponseBuilder` in the current scope [INFO] [stdout] --> tests/web_server.rs:1009:18 [INFO] [stdout] | [INFO] [stdout] 1009 | .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:1028:28 [INFO] [stdout] | [INFO] [stdout] 1028 | 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] error[E0599]: no method named `cookie` found for struct `HttpRequest` in the current scope [INFO] [stdout] --> tests/http_awc_client.rs:787:26 [INFO] [stdout] | [INFO] [stdout] 787 | .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:796:44 [INFO] [stdout] | [INFO] [stdout] 796 | .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:811:48 [INFO] [stdout] | [INFO] [stdout] 811 | ... 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:819:32 [INFO] [stdout] | [INFO] [stdout] 819 | 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:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | 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: build failed [INFO] running `Command { std: "docker" "inspect" "798e56a154979a9b195a2e6eaba29ce17b035dbda90573c69d6544bf4cc40020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "798e56a154979a9b195a2e6eaba29ce17b035dbda90573c69d6544bf4cc40020", kill_on_drop: false }` [INFO] [stdout] 798e56a154979a9b195a2e6eaba29ce17b035dbda90573c69d6544bf4cc40020