[INFO] fetching crate ntex 0.3.15... [INFO] checking ntex-0.3.15 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate ntex 0.3.15 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ntex 0.3.15 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ntex 0.3.15 [INFO] finished tweaking crates.io crate ntex 0.3.15 [INFO] tweaked toml for crates.io crate ntex 0.3.15 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate ntex 0.3.15 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded brotli-sys v0.3.2 [INFO] [stderr] Downloaded brotli2 v0.3.2 [INFO] [stderr] Downloaded httparse v1.3.6 [INFO] [stderr] Downloaded cookie v0.15.0 [INFO] [stderr] Downloaded const_fn v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dc63ff5e82fbbb393eb72ccaf0486c00cde3573bc34a8e0ce5eb931156d1725 [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" "9dc63ff5e82fbbb393eb72ccaf0486c00cde3573bc34a8e0ce5eb931156d1725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dc63ff5e82fbbb393eb72ccaf0486c00cde3573bc34a8e0ce5eb931156d1725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc63ff5e82fbbb393eb72ccaf0486c00cde3573bc34a8e0ce5eb931156d1725", kill_on_drop: false }` [INFO] [stdout] 9dc63ff5e82fbbb393eb72ccaf0486c00cde3573bc34a8e0ce5eb931156d1725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] a0096b13c103badf1c9a50c2f99f08e1a8f5a6b404b878c542a21d7f9b31953a [INFO] running `Command { std: "docker" "start" "-a" "a0096b13c103badf1c9a50c2f99f08e1a8f5a6b404b878c542a21d7f9b31953a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking nanorand v0.5.2 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking ntex-util v0.1.1 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking ntex-service v0.1.8 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking ntex-codec v0.4.1 [INFO] [stderr] Checking ntex-rt v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking ntex-router v0.4.3 [INFO] [stderr] Checking ntex v0.3.15 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> src/web/httprequest.rs:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | 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:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | 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:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | 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:864:33 [INFO] [stdout] | [INFO] [stdout] 864 | ... 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:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | ... 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:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | 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:1270:33 [INFO] [stdout] | [INFO] [stdout] 1270 | ... 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] error[E0599]: no method named `url_for` found for struct `httprequest::HttpRequest` in the current scope [INFO] [stdout] --> src/web/scope.rs:1294:49 [INFO] [stdout] | [INFO] [stdout] 1294 | .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] warning: 5 warnings emitted [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] [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[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: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: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 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: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/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 `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/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/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 `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 `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/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/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[E0599]: no method named `cookie` found for struct `ResponseBuilder` in the current scope [INFO] [stdout] --> tests/web_server.rs:1009:18 [INFO] [stdout] | [INFO] [stdout] 1009 | .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: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: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: build failed [INFO] running `Command { std: "docker" "inspect" "a0096b13c103badf1c9a50c2f99f08e1a8f5a6b404b878c542a21d7f9b31953a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0096b13c103badf1c9a50c2f99f08e1a8f5a6b404b878c542a21d7f9b31953a", kill_on_drop: false }` [INFO] [stdout] a0096b13c103badf1c9a50c2f99f08e1a8f5a6b404b878c542a21d7f9b31953a