[INFO] fetching crate http-types-2 3.1.0... [INFO] checking http-types-2-3.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate http-types-2 3.1.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate http-types-2 3.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa13bbba1b990dc49cd97978b62eea5427cbe73ebd88f5f3d5145512150d6848 [INFO] running `Command { std: "docker" "start" "-a" "fa13bbba1b990dc49cd97978b62eea5427cbe73ebd88f5f3d5145512150d6848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa13bbba1b990dc49cd97978b62eea5427cbe73ebd88f5f3d5145512150d6848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa13bbba1b990dc49cd97978b62eea5427cbe73ebd88f5f3d5145512150d6848", kill_on_drop: false }` [INFO] [stdout] fa13bbba1b990dc49cd97978b62eea5427cbe73ebd88f5f3d5145512150d6848 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d22ff2a5a14fd512ca1cd27a1273b6cb42beecdb7f0989542ae60417c57140c [INFO] running `Command { std: "docker" "start" "-a" "8d22ff2a5a14fd512ca1cd27a1273b6cb42beecdb7f0989542ae60417c57140c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking async-io v2.5.0 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling http-types-2 v3.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking async-std v1.13.1 [INFO] [stderr] Checking infer v0.15.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [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] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking 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] [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[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] 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/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] 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] 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] [stdout] For more information about this error, try `rustc --explain E0432`. [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[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] [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] 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 "security") due to 1 previous error [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] running `Command { std: "docker" "inspect" "8d22ff2a5a14fd512ca1cd27a1273b6cb42beecdb7f0989542ae60417c57140c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d22ff2a5a14fd512ca1cd27a1273b6cb42beecdb7f0989542ae60417c57140c", kill_on_drop: false }` [INFO] [stdout] 8d22ff2a5a14fd512ca1cd27a1273b6cb42beecdb7f0989542ae60417c57140c