[INFO] fetching crate scrappy-client 0.0.1... [INFO] checking scrappy-client-0.0.1 against master#de32266a1780aa4ef748ce7f6200a1554fad0aca for pr-75585 [INFO] extracting crate scrappy-client 0.0.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate scrappy-client 0.0.1 on toolchain de32266a1780aa4ef748ce7f6200a1554fad0aca [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+de32266a1780aa4ef748ce7f6200a1554fad0aca" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+de32266a1780aa4ef748ce7f6200a1554fad0aca" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+de32266a1780aa4ef748ce7f6200a1554fad0aca" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+de32266a1780aa4ef748ce7f6200a1554fad0aca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 243198a65cd68a7e31837cf2a9de4cedcf7ecda3593b9fe01f91451acac69921 [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" "243198a65cd68a7e31837cf2a9de4cedcf7ecda3593b9fe01f91451acac69921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "243198a65cd68a7e31837cf2a9de4cedcf7ecda3593b9fe01f91451acac69921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "243198a65cd68a7e31837cf2a9de4cedcf7ecda3593b9fe01f91451acac69921", kill_on_drop: false }` [INFO] [stdout] 243198a65cd68a7e31837cf2a9de4cedcf7ecda3593b9fe01f91451acac69921 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+de32266a1780aa4ef748ce7f6200a1554fad0aca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ac5f2a5095f5e74067221649ff4be280454a8954b512a189bb2da5205f18bc2 [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" "0ac5f2a5095f5e74067221649ff4be280454a8954b512a189bb2da5205f18bc2", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking scrappy-threadpool v0.0.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [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-util v0.3.1 [INFO] [stderr] Checking scrappy-codec v0.0.1 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking tokio-openssl v0.4.0 [INFO] [stderr] Checking scrappy-utils v0.0.1 [INFO] [stderr] Checking scrappy-server v0.0.1 [INFO] [stderr] Checking tokio-rustls v0.12.3 [INFO] [stderr] Checking scrappy-tls v0.0.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking brotli2 v0.3.2 [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" "0ac5f2a5095f5e74067221649ff4be280454a8954b512a189bb2da5205f18bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac5f2a5095f5e74067221649ff4be280454a8954b512a189bb2da5205f18bc2", kill_on_drop: false }` [INFO] [stdout] 0ac5f2a5095f5e74067221649ff4be280454a8954b512a189bb2da5205f18bc2