[INFO] fetching crate scrappy-client 0.0.1... [INFO] building scrappy-client-0.0.1 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate scrappy-client 0.0.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate scrappy-client 0.0.1 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate scrappy-client 0.0.1 [INFO] finished tweaking crates.io crate scrappy-client 0.0.1 [INFO] tweaked toml for crates.io crate scrappy-client 0.0.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8d16e03ccec0970fae81271ad6079b1f646a520f5dcceb7e23648272f274fc38 [INFO] running `Command { std: "docker" "start" "-a" "8d16e03ccec0970fae81271ad6079b1f646a520f5dcceb7e23648272f274fc38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d16e03ccec0970fae81271ad6079b1f646a520f5dcceb7e23648272f274fc38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d16e03ccec0970fae81271ad6079b1f646a520f5dcceb7e23648272f274fc38", kill_on_drop: false }` [INFO] [stdout] 8d16e03ccec0970fae81271ad6079b1f646a520f5dcceb7e23648272f274fc38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 344089de65bf5664dcebfde6a92a29e92d147dc07682f2b3a9df02b40374a2f0 [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" "344089de65bf5664dcebfde6a92a29e92d147dc07682f2b3a9df02b40374a2f0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.17.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling scrappy-codec v0.0.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tokio-openssl v0.4.0 [INFO] [stderr] Compiling tokio-rustls v0.12.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling scrappy-macros v0.0.1 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling scrappy-threadpool v0.0.1 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling scrappy-service v0.0.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling scrappy-rt v0.0.1 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling scrappy-utils v0.0.1 [INFO] [stderr] Compiling scrappy-tls v0.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling scrappy-connect v0.0.1 [INFO] [stderr] Compiling scrappy-http v0.0.1 [INFO] [stderr] Compiling scrappy-client v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "344089de65bf5664dcebfde6a92a29e92d147dc07682f2b3a9df02b40374a2f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "344089de65bf5664dcebfde6a92a29e92d147dc07682f2b3a9df02b40374a2f0", kill_on_drop: false }` [INFO] [stdout] 344089de65bf5664dcebfde6a92a29e92d147dc07682f2b3a9df02b40374a2f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--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] 250184f7fb3f3bd27a28cf1fe194847abb93eb28cf20b3ed27d78a0ee88496ff [INFO] running `Command { std: "docker" "start" "-a" "250184f7fb3f3bd27a28cf1fe194847abb93eb28cf20b3ed27d78a0ee88496ff", kill_on_drop: false }` [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling scrappy-server v0.0.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling scrappy-client v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use scrappy::dev::{AppConfig, BodyEncoding}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use scrappy::http::Cookie; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use scrappy::middleware::Compress; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scrappy` [INFO] [stdout] --> tests/test_client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use scrappy::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scrappy_http_test` [INFO] [stdout] --> tests/test_client.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use scrappy_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy_http_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scrappy` [INFO] [stdout] --> tests/test_client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use scrappy::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scrappy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:321:1 [INFO] [stdout] | [INFO] [stdout] 321 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 369 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:389:1 [INFO] [stdout] | [INFO] [stdout] 389 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 479 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:506:1 [INFO] [stdout] | [INFO] [stdout] 506 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:528:1 [INFO] [stdout] | [INFO] [stdout] 528 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:664:1 [INFO] [stdout] | [INFO] [stdout] 664 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:763:1 [INFO] [stdout] | [INFO] [stdout] 763 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:791:1 [INFO] [stdout] | [INFO] [stdout] 791 | #[scrappy_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the attribute macro `scrappy_rt::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `header` [INFO] [stdout] --> tests/test_client.rs:396:30 [INFO] [stdout] | [INFO] [stdout] 396 | res.encoding(header::ContentEncoding::Gzip); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `header` [INFO] [stdout] --> tests/test_client.rs:771:26 [INFO] [stdout] | [INFO] [stdout] 771 | .get(header::AUTHORIZATION) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `header` [INFO] [stdout] --> tests/test_client.rs:799:26 [INFO] [stdout] | [INFO] [stdout] 799 | .get(header::AUTHORIZATION) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compress` [INFO] [stdout] --> tests/test_client.rs:393:19 [INFO] [stdout] | [INFO] [stdout] 393 | .wrap(Compress::default()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use brotli2::raw::Compress; [INFO] [stdout] | [INFO] [stdout] 1 | use flate2::Compress; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cookie` [INFO] [stdout] --> tests/test_client.rs:668:19 [INFO] [stdout] | [INFO] [stdout] 668 | let cookie1 = Cookie::build("cookie1", "value1").finish(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use scrappy_client::http::Cookie; [INFO] [stdout] | [INFO] [stdout] 1 | use scrappy_http::http::Cookie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cookie` [INFO] [stdout] --> tests/test_client.rs:669:19 [INFO] [stdout] | [INFO] [stdout] 669 | let cookie2 = Cookie::build("cookie2", "value2") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use scrappy_client::http::Cookie; [INFO] [stdout] | [INFO] [stdout] 1 | use scrappy_http::http::Cookie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scrappy-client` due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `scrappy_http_test` [INFO] [stdout] --> tests/test_ws.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use scrappy_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `scrappy_http_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> tests/test_ws.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/response.rs:397:14 [INFO] [stdout] | [INFO] [stdout] 397 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/response.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/response.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(rust_2018_idioms, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs:419:45 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 398 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 419 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs:428:45 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 398 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 428 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs:442:45 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 398 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 442 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs:460:45 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 398 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 460 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "250184f7fb3f3bd27a28cf1fe194847abb93eb28cf20b3ed27d78a0ee88496ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "250184f7fb3f3bd27a28cf1fe194847abb93eb28cf20b3ed27d78a0ee88496ff", kill_on_drop: false }` [INFO] [stdout] 250184f7fb3f3bd27a28cf1fe194847abb93eb28cf20b3ed27d78a0ee88496ff