[INFO] crate scrappy-client 0.0.1 is already in cache [INFO] checking scrappy-client-0.0.1 against try#6024cfef3a82f9a7688f07054f1650081bad3af5 for pr-74130 [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 6024cfef3a82f9a7688f07054f1650081bad3af5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "read-manifest" "--manifest-path" "Cargo.toml", 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" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95f62b7580efacda2cf8bc5cf4cb9c0fa6ce11b859dae3b6b755c500679958a8 [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" "95f62b7580efacda2cf8bc5cf4cb9c0fa6ce11b859dae3b6b755c500679958a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95f62b7580efacda2cf8bc5cf4cb9c0fa6ce11b859dae3b6b755c500679958a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95f62b7580efacda2cf8bc5cf4cb9c0fa6ce11b859dae3b6b755c500679958a8", kill_on_drop: false }` [INFO] [stdout] 95f62b7580efacda2cf8bc5cf4cb9c0fa6ce11b859dae3b6b755c500679958a8 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ae9637e0a7b6bb04b1e214e31e436dab8d11e9109194a8d94c8d7e86f0a0bc8 [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" "3ae9637e0a7b6bb04b1e214e31e436dab8d11e9109194a8d94c8d7e86f0a0bc8", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking scrappy-threadpool v0.0.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking scrappy-rt v0.0.1 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking tokio-rustls v0.12.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking scrappy-codec v0.0.1 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking scrappy-utils v0.0.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking tokio-openssl v0.4.0 [INFO] [stderr] Checking scrappy-tls v0.0.1 [INFO] [stderr] Checking scrappy-server v0.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking scrappy-connect v0.0.1 [INFO] [stderr] Checking scrappy-http v0.0.1 [INFO] [stderr] Checking scrappy-client v0.0.1 (/opt/rustwide/workdir) [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]: no function or associated item named `new` found for struct `response::JsonBody<_, response::tests::MyObject>` in the current scope [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 `_: serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 419 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item not found in `response::JsonBody<_, response::tests::MyObject>` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `response::tests::MyObject: serde::de::DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, response::tests::MyObject>` in the current scope [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 `_: serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 428 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item not found in `response::JsonBody<_, response::tests::MyObject>` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `response::tests::MyObject: serde::de::DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, response::tests::MyObject>` in the current scope [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 `_: serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 442 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stdout] | ^^^ function or associated item not found in `response::JsonBody<_, response::tests::MyObject>` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `response::tests::MyObject: serde::de::DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, response::tests::MyObject>` in the current scope [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 `_: serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 460 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item not found in `response::JsonBody<_, response::tests::MyObject>` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `response::tests::MyObject: serde::de::DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/response.rs:442:65 [INFO] [stdout] | [INFO] [stdout] 442 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/response.rs:442:20 [INFO] [stdout] | [INFO] [stdout] 442 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scrappy-client`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3ae9637e0a7b6bb04b1e214e31e436dab8d11e9109194a8d94c8d7e86f0a0bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ae9637e0a7b6bb04b1e214e31e436dab8d11e9109194a8d94c8d7e86f0a0bc8", kill_on_drop: false }` [INFO] [stdout] 3ae9637e0a7b6bb04b1e214e31e436dab8d11e9109194a8d94c8d7e86f0a0bc8