[INFO] fetching crate http-types-2 3.1.0... [INFO] testing http-types-2-3.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate http-types-2 3.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate http-types-2 3.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate http-types-2 3.1.0 [INFO] tweaked toml for crates.io crate http-types-2 3.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate http-types-2 3.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate http-types-2 3.1.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded infer v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa57022660c674722a529bc2132ecfb6a822f8debb080f11a519c37a6f425f2d [INFO] running `Command { std: "docker" "start" "-a" "aa57022660c674722a529bc2132ecfb6a822f8debb080f11a519c37a6f425f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa57022660c674722a529bc2132ecfb6a822f8debb080f11a519c37a6f425f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa57022660c674722a529bc2132ecfb6a822f8debb080f11a519c37a6f425f2d", kill_on_drop: false }` [INFO] [stdout] aa57022660c674722a529bc2132ecfb6a822f8debb080f11a519c37a6f425f2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e47a58080ab89752c9e8ef1134d43a67d3355ca3612498c8275714d150746eea [INFO] running `Command { std: "docker" "start" "-a" "e47a58080ab89752c9e8ef1134d43a67d3355ca3612498c8275714d150746eea", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling http-types-2 v3.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling infer v0.15.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling synstructure v0.13.2 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling polling v3.9.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling async-std v1.13.1 [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_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core 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 url v2.5.4 [INFO] [stderr] Compiling serde_qs v0.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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)]` (part of `#[warn(unused)]`) 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 39.19s [INFO] running `Command { std: "docker" "inspect" "e47a58080ab89752c9e8ef1134d43a67d3355ca3612498c8275714d150746eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e47a58080ab89752c9e8ef1134d43a67d3355ca3612498c8275714d150746eea", kill_on_drop: false }` [INFO] [stdout] e47a58080ab89752c9e8ef1134d43a67d3355ca3612498c8275714d150746eea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88f31bf162e1d5a97b987757a6a8b138f75755762b695d9b8edd612ab09f34eb [INFO] running `Command { std: "docker" "start" "-a" "88f31bf162e1d5a97b987757a6a8b138f75755762b695d9b8edd612ab09f34eb", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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] Compiling http-types-2 v3.1.0 (/opt/rustwide/workdir) [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use http_types_2::{Body, Method, Request, Response, StatusCode, Url}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> tests/mime.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(features = "fs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 1 - #[cfg(features = "fs")] [INFO] [stdout] 1 + #[cfg(feature = "fs")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use http_types_2::{url::Url, Method}; [INFO] [stdout] | ++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use http_types_2::{bail, ensure, ensure_eq, Error, StatusCode}; [INFO] [stdout] | ++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 48 | use http_types_2::Status; [INFO] [stdout] | ++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 63 | use http_types_2::Status; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-types-2` (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 unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use http_types_2::{url::Url, Method}; [INFO] [stdout] | ++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use http_types_2::{security, Response, StatusCode}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_types` [INFO] [stdout] --> tests/querystring.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let req = http_types::Request::new( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 19 | let req = http_types_2::Request::new( [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_2::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - let req = http_types::Request::new( [INFO] [stdout] 19 + 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:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | 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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | let req = http_types_2::Request::new(Method::Get, Url::parse("http://example.com/").unwrap()); [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_2::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 31 - let req = http_types::Request::new(Method::Get, Url::parse("http://example.com/").unwrap()); [INFO] [stdout] 31 + 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:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let req = http_types::Request::new( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `http_types` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | let req = http_types_2::Request::new( [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_2::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - let req = http_types::Request::new( [INFO] [stdout] 40 + 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:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | 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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 52 | let req = http_types_2::Request::new(Method::Get, Url::parse("http://example.com").unwrap()); [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_2::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - let req = http_types::Request::new(Method::Get, Url::parse("http://example.com").unwrap()); [INFO] [stdout] 52 + let req = Request::new(Method::Get, Url::parse("http://example.com").unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-types-2` (test "security") due to 1 previous error [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-2` (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_2::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_2::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 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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 15 | fn run() -> http_types_2::Result<()> { [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/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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 24 | fn inner() -> http_types_2::Result<()> { [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/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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 36 | fn inner() -> http_types_2::Result<()> { [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/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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 49 | fn run() -> http_types_2::Result<()> { [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/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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | fn run() -> http_types_2::Result<()> { [INFO] [stdout] | ++ [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-2` (test "error") due to 10 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)]` (part of `#[warn(unused)]`) 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" "88f31bf162e1d5a97b987757a6a8b138f75755762b695d9b8edd612ab09f34eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f31bf162e1d5a97b987757a6a8b138f75755762b695d9b8edd612ab09f34eb", kill_on_drop: false }` [INFO] [stdout] 88f31bf162e1d5a97b987757a6a8b138f75755762b695d9b8edd612ab09f34eb