[INFO] fetching crate http-types-red-badger-temporary-fork 2.12.0... [INFO] checking http-types-red-badger-temporary-fork-2.12.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate http-types-red-badger-temporary-fork 2.12.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate http-types-red-badger-temporary-fork 2.12.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate http-types-red-badger-temporary-fork 2.12.0 [INFO] finished tweaking crates.io crate http-types-red-badger-temporary-fork 2.12.0 [INFO] tweaked toml for crates.io crate http-types-red-badger-temporary-fork 2.12.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 177 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding cookie v0.14.4 (available: v0.18.1) [INFO] [stderr] Adding futures-lite v1.13.0 (available: v2.5.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding infer v0.2.3 (available: v0.16.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding serde_qs v0.8.5 (available: v0.13.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52ccbcf01f8c09ed92989f9cb2b8a656b4f23c433c285258e3d7592041d924cd [INFO] running `Command { std: "docker" "start" "-a" "52ccbcf01f8c09ed92989f9cb2b8a656b4f23c433c285258e3d7592041d924cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52ccbcf01f8c09ed92989f9cb2b8a656b4f23c433c285258e3d7592041d924cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ccbcf01f8c09ed92989f9cb2b8a656b4f23c433c285258e3d7592041d924cd", kill_on_drop: false }` [INFO] [stdout] 52ccbcf01f8c09ed92989f9cb2b8a656b4f23c433c285258e3d7592041d924cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58c9b4895c745d702e047f9afd233fba03d3f86f6abddd7480155b2855fe0648 [INFO] running `Command { std: "docker" "start" "-a" "58c9b4895c745d702e047f9afd233fba03d3f86f6abddd7480155b2855fe0648", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking futures-lite v2.5.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling http-types-red-badger-temporary-fork v2.12.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> tests/req_res_body.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{Body, Method, Request, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> tests/security.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http_types::{security, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> tests/querystring.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http_types::{url::Url, Method}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> tests/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http_types::{bail, ensure, ensure_eq, Error, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> tests/error.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use http_types::Status; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> tests/error.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use http_types::Status; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-types-red-badger-temporary-fork` (test "req_res_body") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> tests/querystring.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http_types::{url::Url, Method}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-types-red-badger-temporary-fork` (test "security") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> tests/querystring.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | let req = http_types::Request::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use http::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use http_types_red_badger_temporary_fork::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - let req = http_types::Request::new( [INFO] [stdout] 17 + let req = Request::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> tests/querystring.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | let req = http_types::Request::new(Method::Get, Url::parse("http://example.com/").unwrap()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use http::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use http_types_red_badger_temporary_fork::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - let req = http_types::Request::new(Method::Get, Url::parse("http://example.com/").unwrap()); [INFO] [stdout] 29 + let req = Request::new(Method::Get, Url::parse("http://example.com/").unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> tests/querystring.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | let req = http_types::Request::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use http::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use http_types_red_badger_temporary_fork::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - let req = http_types::Request::new( [INFO] [stdout] 41 + let req = Request::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> tests/querystring.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | let req = http_types::Request::new(Method::Get, Url::parse("http://example.com").unwrap()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use http::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use http_types_red_badger_temporary_fork::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - let req = http_types::Request::new(Method::Get, Url::parse("http://example.com").unwrap()); [INFO] [stdout] 56 + let req = Request::new(Method::Get, Url::parse("http://example.com").unwrap()); [INFO] [stdout] | [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] [stderr] error: could not compile `http-types-red-badger-temporary-fork` (test "querystring") due to 6 previous errors [INFO] [stdout] error[E0599]: no method named `status` found for enum `Result` in the current scope [INFO] [stdout] --> tests/error.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | Err(err).status(StatusCode::NotFound)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/status.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn status(self, status: S) -> Result [INFO] [stdout] | ------ the method is available for `Result<_, futures_io::Error>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Status` which provides `status` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use http_types_red_badger_temporary_fork::Status; [INFO] [stdout] | [INFO] [stdout] help: there is a method `with_status` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 | Err(err).with_status(StatusCode::NotFound)?; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `status` found for enum `Option` in the current scope [INFO] [stdout] --> tests/error.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | None.status(StatusCode::NotFound) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/status.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn status(self, status: S) -> Result [INFO] [stdout] | ------ the method is available for `Option<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Status` which provides `status` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use http_types_red_badger_temporary_fork::Status; [INFO] [stdout] | [INFO] [stdout] help: there is a method `with_status` with a similar name [INFO] [stdout] | [INFO] [stdout] 65 | None.with_status(StatusCode::NotFound) [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> tests/error.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn run() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> tests/error.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn inner() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> tests/error.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn inner() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> tests/error.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn run() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> tests/error.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | fn run() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-types-red-badger-temporary-fork` (test "error") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "58c9b4895c745d702e047f9afd233fba03d3f86f6abddd7480155b2855fe0648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c9b4895c745d702e047f9afd233fba03d3f86f6abddd7480155b2855fe0648", kill_on_drop: false }` [INFO] [stdout] 58c9b4895c745d702e047f9afd233fba03d3f86f6abddd7480155b2855fe0648