[INFO] fetching crate http-types-red-badger-temporary-fork 4.0.0... [INFO] testing http-types-red-badger-temporary-fork-4.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate http-types-red-badger-temporary-fork 4.0.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate http-types-red-badger-temporary-fork 4.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate http-types-red-badger-temporary-fork 4.0.0 [INFO] tweaked toml for crates.io crate http-types-red-badger-temporary-fork 4.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate http-types-red-badger-temporary-fork 4.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate http-types-red-badger-temporary-fork 4.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8854cce65baec3ba3397e1e58c8c1ea0f8c1c60d1b407d7ebb6c10dcfc86aca [INFO] running `Command { std: "docker" "start" "-a" "f8854cce65baec3ba3397e1e58c8c1ea0f8c1c60d1b407d7ebb6c10dcfc86aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8854cce65baec3ba3397e1e58c8c1ea0f8c1c60d1b407d7ebb6c10dcfc86aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8854cce65baec3ba3397e1e58c8c1ea0f8c1c60d1b407d7ebb6c10dcfc86aca", kill_on_drop: false }` [INFO] [stdout] f8854cce65baec3ba3397e1e58c8c1ea0f8c1c60d1b407d7ebb6c10dcfc86aca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15d6f6762dda6f26d1cf63c5e57034e65891b145494baa90a634cd1783339bd3 [INFO] running `Command { std: "docker" "start" "-a" "15d6f6762dda6f26d1cf63c5e57034e65891b145494baa90a634cd1783339bd3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling shadow_counted v0.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling mutants v0.0.3 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling unsynn v0.1.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling facet-macros-parse v0.28.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling impls v1.0.3 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling facet-core v0.28.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling http-types-red-badger-temporary-fork v4.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling facet-macros-emit v0.28.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling facet-macros v0.28.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling facet v0.28.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling polling v3.9.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] 51 + .and_then(|boxed| (&**boxed as &dyn Any).downcast_ref()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] 59 + .and_then(|boxed| (&mut **boxed as &mut dyn Any).downcast_mut()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "15d6f6762dda6f26d1cf63c5e57034e65891b145494baa90a634cd1783339bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d6f6762dda6f26d1cf63c5e57034e65891b145494baa90a634cd1783339bd3", kill_on_drop: false }` [INFO] [stdout] 15d6f6762dda6f26d1cf63c5e57034e65891b145494baa90a634cd1783339bd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5350158a1802985ce8c497f089355196bc5575e68d7e9a29376e9364f3812a0d [INFO] running `Command { std: "docker" "start" "-a" "5350158a1802985ce8c497f089355196bc5575e68d7e9a29376e9364f3812a0d", kill_on_drop: false }` [INFO] [stderr] Compiling http-types-red-badger-temporary-fork v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] 51 + .and_then(|boxed| (&**boxed as &dyn Any).downcast_ref()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] 59 + .and_then(|boxed| (&mut **boxed as &mut dyn Any).downcast_mut()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_types` [INFO] [stdout] --> tests/querystring.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http_types::{url::Url, Method}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [INFO] [stdout] [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 unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-types-red-badger-temporary-fork` (test "security") 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/req_res_body.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{Body, Method, Request, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [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 unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-types-red-badger-temporary-fork` (test "req_res_body") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_types` [INFO] [stdout] --> tests/querystring.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | let req = http_types::Request::new( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `http_types` [INFO] [stdout] --> tests/querystring.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | let req = http_types::Request::new( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [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[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [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] 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] [stderr] error: could not compile `http-types-red-badger-temporary-fork` (test "error") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_types` [INFO] [stdout] --> tests/error.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn run() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_types` [INFO] [stdout] --> tests/error.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn inner() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_types` [INFO] [stdout] --> tests/error.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn inner() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_types` [INFO] [stdout] --> tests/error.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn run() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_types` [INFO] [stdout] --> tests/error.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | fn run() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_types`, use `cargo add http_types` to add it to your `Cargo.toml` [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] [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] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] 51 + .and_then(|boxed| (&**boxed as &dyn Any).downcast_ref()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] 59 + .and_then(|boxed| (&mut **boxed as &mut dyn Any).downcast_mut()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5350158a1802985ce8c497f089355196bc5575e68d7e9a29376e9364f3812a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5350158a1802985ce8c497f089355196bc5575e68d7e9a29376e9364f3812a0d", kill_on_drop: false }` [INFO] [stdout] 5350158a1802985ce8c497f089355196bc5575e68d7e9a29376e9364f3812a0d