[INFO] crate scrappy-client 0.0.1 is already in cache [INFO] checking scrappy-client-0.0.1 against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] extracting crate scrappy-client 0.0.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate scrappy-client 0.0.1 on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [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-11/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "/opt/rustwide/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8f92bfcad8678545c1f8bfe4ef3d726e4705153f10ce4a19042ca7f4d389a24f [INFO] running `"docker" "start" "-a" "8f92bfcad8678545c1f8bfe4ef3d726e4705153f10ce4a19042ca7f4d389a24f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking threadpool v1.8.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking webpki v0.21.2 [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 tokio-openssl v0.4.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking scrappy-codec v0.0.1 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking tokio-rustls v0.12.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling pin-project-internal v0.4.15 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling scrappy-macros v0.0.1 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pin-project v0.4.15 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking scrappy-threadpool v0.0.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking scrappy-service v0.0.1 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking scrappy-rt v0.0.1 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking scrappy-utils v0.0.1 [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] [stderr] error: cannot find derive macro `Serialize` in this scope [INFO] [stderr] --> src/response.rs:397:14 [INFO] [stderr] | [INFO] [stderr] 397 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Deserialize` in this scope [INFO] [stderr] --> src/response.rs:397:25 [INFO] [stderr] | [INFO] [stderr] 397 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> src/response.rs:364:17 [INFO] [stderr] | [INFO] [stderr] 364 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(rust_2018_idioms, warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, response::tests::MyObject>` in the current scope [INFO] [stderr] --> src/response.rs:419:45 [INFO] [stderr] | [INFO] [stderr] 232 | pub struct JsonBody { [INFO] [stderr] | ------------------------- function or associated item `new` not found for this [INFO] [stderr] ... [INFO] [stderr] 398 | struct MyObject { [INFO] [stderr] | --------------- doesn't satisfy `_: serde::de::DeserializeOwned` [INFO] [stderr] ... [INFO] [stderr] 419 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stderr] | ^^^ function or associated item not found in `response::JsonBody<_, response::tests::MyObject>` [INFO] [stderr] | [INFO] [stderr] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stderr] `response::tests::MyObject: serde::de::DeserializeOwned` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, response::tests::MyObject>` in the current scope [INFO] [stderr] --> src/response.rs:428:45 [INFO] [stderr] | [INFO] [stderr] 232 | pub struct JsonBody { [INFO] [stderr] | ------------------------- function or associated item `new` not found for this [INFO] [stderr] ... [INFO] [stderr] 398 | struct MyObject { [INFO] [stderr] | --------------- doesn't satisfy `_: serde::de::DeserializeOwned` [INFO] [stderr] ... [INFO] [stderr] 428 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stderr] | ^^^ function or associated item not found in `response::JsonBody<_, response::tests::MyObject>` [INFO] [stderr] | [INFO] [stderr] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stderr] `response::tests::MyObject: serde::de::DeserializeOwned` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, response::tests::MyObject>` in the current scope [INFO] [stderr] --> src/response.rs:442:45 [INFO] [stderr] | [INFO] [stderr] 232 | pub struct JsonBody { [INFO] [stderr] | ------------------------- function or associated item `new` not found for this [INFO] [stderr] ... [INFO] [stderr] 398 | struct MyObject { [INFO] [stderr] | --------------- doesn't satisfy `_: serde::de::DeserializeOwned` [INFO] [stderr] ... [INFO] [stderr] 442 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stderr] | ^^^ function or associated item not found in `response::JsonBody<_, response::tests::MyObject>` [INFO] [stderr] | [INFO] [stderr] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stderr] `response::tests::MyObject: serde::de::DeserializeOwned` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, response::tests::MyObject>` in the current scope [INFO] [stderr] --> src/response.rs:460:45 [INFO] [stderr] | [INFO] [stderr] 232 | pub struct JsonBody { [INFO] [stderr] | ------------------------- function or associated item `new` not found for this [INFO] [stderr] ... [INFO] [stderr] 398 | struct MyObject { [INFO] [stderr] | --------------- doesn't satisfy `_: serde::de::DeserializeOwned` [INFO] [stderr] ... [INFO] [stderr] 460 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stderr] | ^^^ function or associated item not found in `response::JsonBody<_, response::tests::MyObject>` [INFO] [stderr] | [INFO] [stderr] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stderr] `response::tests::MyObject: serde::de::DeserializeOwned` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> src/response.rs:442:65 [INFO] [stderr] | [INFO] [stderr] 442 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stderr] | ^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> src/response.rs:442:20 [INFO] [stderr] | [INFO] [stderr] 442 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0599, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0599`. [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 `"docker" "inspect" "8f92bfcad8678545c1f8bfe4ef3d726e4705153f10ce4a19042ca7f4d389a24f"` [INFO] running `"docker" "rm" "-f" "8f92bfcad8678545c1f8bfe4ef3d726e4705153f10ce4a19042ca7f4d389a24f"` [INFO] [stdout] 8f92bfcad8678545c1f8bfe4ef3d726e4705153f10ce4a19042ca7f4d389a24f