[INFO] fetching crate scrappy-client 0.0.1... [INFO] testing scrappy-client-0.0.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate scrappy-client 0.0.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate scrappy-client 0.0.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 093a4b1ea2fcf8206b07a4c86c80fd506787dc604d919b16f7d0080f7b15a04b [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" "093a4b1ea2fcf8206b07a4c86c80fd506787dc604d919b16f7d0080f7b15a04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "093a4b1ea2fcf8206b07a4c86c80fd506787dc604d919b16f7d0080f7b15a04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "093a4b1ea2fcf8206b07a4c86c80fd506787dc604d919b16f7d0080f7b15a04b", kill_on_drop: false }` [INFO] [stdout] 093a4b1ea2fcf8206b07a4c86c80fd506787dc604d919b16f7d0080f7b15a04b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--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] 810ffd91b90af757467617424f866576f14720a4c80451f81357a859563d2f55 [INFO] running `Command { std: "docker" "start" "-a" "810ffd91b90af757467617424f866576f14720a4c80451f81357a859563d2f55", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling scrappy-threadpool v0.0.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling regex v1.5.4 [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 futures-executor v0.3.17 [INFO] [stderr] Compiling scrappy-service v0.0.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-openssl v0.4.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling scrappy-rt v0.0.1 [INFO] [stderr] Compiling scrappy-codec v0.0.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-rustls v0.12.3 [INFO] [stderr] Compiling scrappy-utils v0.0.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling scrappy-tls v0.0.1 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [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 44s [INFO] running `Command { std: "docker" "inspect" "810ffd91b90af757467617424f866576f14720a4c80451f81357a859563d2f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "810ffd91b90af757467617424f866576f14720a4c80451f81357a859563d2f55", kill_on_drop: false }` [INFO] [stdout] 810ffd91b90af757467617424f866576f14720a4c80451f81357a859563d2f55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] af634295cbbb199a1b1561ec3d329e4158eea92997ec45095053476db67331d2 [INFO] running `Command { std: "docker" "start" "-a" "af634295cbbb199a1b1561ec3d329e4158eea92997ec45095053476db67331d2", kill_on_drop: false }` [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling atty v0.2.14 [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[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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use scrappy_http::test_server; [INFO] [stdout] | ~~~~~~~~~~~~ [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] [stderr] error: could not compile `scrappy-client` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/response.rs:364:30 [INFO] [stdout] | [INFO] [stdout] 364 | use serde::{Deserialize, Serialize}; [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] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/response.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 16 | use scrappy_http::test_server; [INFO] [stdout] | ~~~~~~~~~~~~ [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] [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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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" "af634295cbbb199a1b1561ec3d329e4158eea92997ec45095053476db67331d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af634295cbbb199a1b1561ec3d329e4158eea92997ec45095053476db67331d2", kill_on_drop: false }` [INFO] [stdout] af634295cbbb199a1b1561ec3d329e4158eea92997ec45095053476db67331d2