[INFO] fetching crate isahc 0.7.3... [INFO] checking isahc-0.7.3 against master#446e5e57b667c841ba3ebb4b41b44fb98bd3af4b for pr-65294 [INFO] extracting crate isahc 0.7.3 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate isahc 0.7.3 on toolchain 446e5e57b667c841ba3ebb4b41b44fb98bd3af4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate isahc 0.7.3 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate isahc 0.7.3 [INFO] tweaked toml for crates.io crate isahc 0.7.3 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate isahc 0.7.3 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "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] c200b6c3d00cef74b832e02d52b3494b70dcab091c371c33c096ed2696863b47 [INFO] running `"docker" "start" "-a" "c200b6c3d00cef74b832e02d52b3494b70dcab091c371c33c096ed2696863b47"` [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling curl v0.4.23 [INFO] [stderr] Compiling isahc v0.7.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libnghttp2-sys v0.1.2 [INFO] [stderr] Compiling curl-sys v0.4.21 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-integer v0.1.41 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking assert-json-diff v1.0.0 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Checking sluice v0.4.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking flate2 v1.0.11 [INFO] [stderr] Checking rayon-core v1.6.0 [INFO] [stderr] Checking cgmath v0.16.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.18 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.18 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking mockito v0.20.0 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:751:15 [INFO] [stderr] | [INFO] [stderr] 751 | (&http::Method::GET, false) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | future_incompatible, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(indirect_structural_match)]` implied by `#[warn(future_incompatible)]` [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:755:15 [INFO] [stderr] | [INFO] [stderr] 755 | (&http::Method::HEAD, has_body) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:761:15 [INFO] [stderr] | [INFO] [stderr] 761 | (&http::Method::POST, _) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:765:15 [INFO] [stderr] | [INFO] [stderr] 765 | (&http::Method::PUT, _) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:751:15 [INFO] [stderr] | [INFO] [stderr] 751 | (&http::Method::GET, false) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | future_incompatible, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(indirect_structural_match)]` implied by `#[warn(future_incompatible)]` [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:755:15 [INFO] [stderr] | [INFO] [stderr] 755 | (&http::Method::HEAD, has_body) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:761:15 [INFO] [stderr] | [INFO] [stderr] 761 | (&http::Method::POST, _) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:765:15 [INFO] [stderr] | [INFO] [stderr] 765 | (&http::Method::PUT, _) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde` [INFO] [stderr] --> examples/json.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, serde::Serialize)] [INFO] [stderr] | ^^^^^ use of undeclared type or module `serde` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde` [INFO] [stderr] --> examples/json.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, serde::Deserialize)] [INFO] [stderr] | ^^^^^ use of undeclared type or module `serde` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `serde` in this scope [INFO] [stderr] --> examples/json.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[serde(rename_all = "UPPERCASE")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `serde` in this scope [INFO] [stderr] --> examples/json.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[serde(rename_all = "UPPERCASE")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stderr] --> examples/json.rs:23:15 [INFO] [stderr] | [INFO] [stderr] 23 | .body(serde_json::to_vec(&request)?)? [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `json` found for type `http::response::Response` in the current scope [INFO] [stderr] --> examples/json.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | .json::()?; [INFO] [stderr] | ^^^^ method not found in `http::response::Response` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `isahc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c200b6c3d00cef74b832e02d52b3494b70dcab091c371c33c096ed2696863b47"` [INFO] running `"docker" "rm" "-f" "c200b6c3d00cef74b832e02d52b3494b70dcab091c371c33c096ed2696863b47"` [INFO] [stdout] c200b6c3d00cef74b832e02d52b3494b70dcab091c371c33c096ed2696863b47