[INFO] fetching crate trillium-http 0.3.17... [INFO] testing trillium-http-0.3.17 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate trillium-http 0.3.17 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate trillium-http 0.3.17 [INFO] finished tweaking crates.io crate trillium-http 0.3.17 [INFO] tweaked toml for crates.io crate trillium-http 0.3.17 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trillium-http 0.3.17 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 trillium-http 0.3.17 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 554f450f674edbcff2a4c1d66b05d71174853c0889e20bc0bcf44948d25ad329 [INFO] running `Command { std: "docker" "start" "-a" "554f450f674edbcff2a4c1d66b05d71174853c0889e20bc0bcf44948d25ad329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "554f450f674edbcff2a4c1d66b05d71174853c0889e20bc0bcf44948d25ad329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "554f450f674edbcff2a4c1d66b05d71174853c0889e20bc0bcf44948d25ad329", kill_on_drop: false }` [INFO] [stdout] 554f450f674edbcff2a4c1d66b05d71174853c0889e20bc0bcf44948d25ad329 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 737622c2111cbd96b3af316ddeb5d12d77e7736781a3c84d589be08d26749cf5 [INFO] running `Command { std: "docker" "start" "-a" "737622c2111cbd96b3af316ddeb5d12d77e7736781a3c84d589be08d26749cf5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling smartcow v0.2.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling stopper v0.2.7 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling trillium-macros v0.0.6 [INFO] [stderr] Compiling trillium-http v0.3.17 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state_set.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | .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] 44 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] 44 + .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/state_set.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | .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] 51 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] 51 + .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 9.26s [INFO] running `Command { std: "docker" "inspect" "737622c2111cbd96b3af316ddeb5d12d77e7736781a3c84d589be08d26749cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "737622c2111cbd96b3af316ddeb5d12d77e7736781a3c84d589be08d26749cf5", kill_on_drop: false }` [INFO] [stdout] 737622c2111cbd96b3af316ddeb5d12d77e7736781a3c84d589be08d26749cf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ef077294e0a1f5ec78b80734d4d5993b201e8eb2a8376de9edcc7ac6f5a9d3d1 [INFO] running `Command { std: "docker" "start" "-a" "ef077294e0a1f5ec78b80734d4d5993b201e8eb2a8376de9edcc7ac6f5a9d3d1", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling piper v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling test-harness v0.2.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling stopper v0.2.7 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling trillium-http v0.3.17 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state_set.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | .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] 44 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] 44 + .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/state_set.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | .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] 51 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] 51 + .and_then(|boxed| (&mut **boxed as &mut dyn Any).downcast_mut()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling async-compat v0.2.3 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling async-io v2.3.2 [INFO] [stderr] Compiling async-signal v0.2.6 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling async-process v2.2.2 [INFO] [stderr] Compiling smol v2.0.0 [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> tests/one_hundred_continue.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use trillium_testing::{harness, TestResult, TestTransport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> tests/unsafe_headers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use trillium_testing::{harness, TestResult, TestTransport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_client` [INFO] [stdout] --> examples/conn-example.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use trillium_client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_client`, use `cargo add trillium_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_smol` [INFO] [stdout] --> examples/conn-example.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use trillium_smol::ClientConfig; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_smol` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 35 - use trillium_smol::ClientConfig; [INFO] [stdout] 35 + use trillium_http::ClientConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_client` [INFO] [stdout] --> tests/use_cases.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use trillium_client::{Client, Connector, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_client`, use `cargo add trillium_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> tests/use_cases.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use trillium_testing::{TestResult, TestTransport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` 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 `trillium_client` [INFO] [stdout] --> tests/use_cases.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[trillium_client::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> tests/corpus.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use trillium_testing::{harness, TestTransport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-http` (test "use_cases") due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] --> tests/use_cases.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | #[test(harness = trillium_testing::harness)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [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 `trillium_testing` [INFO] [stdout] --> tests/use_cases.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | trillium_testing::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` 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 `trillium_testing` [INFO] [stdout] --> tests/use_cases.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | trillium_testing::spawn(fut); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] --> tests/corpus.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let res = trillium_testing::spawn({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [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] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-http` (test "corpus") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] --> tests/unsafe_headers.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | trillium_testing::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [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 `trillium-http` (example "conn-example") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] --> tests/one_hundred_continue.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | trillium_testing::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` 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 `trillium_testing` [INFO] [stdout] --> tests/one_hundred_continue.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | trillium_testing::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-http` (test "unsafe_headers") due to 2 previous errors [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 `trillium-http` (test "one_hundred_continue") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `crate::ReceivedBodyState` [INFO] [stdout] --> src/received_body/fixed_length.rs:40:80 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::{http_config::DEFAULT_CONFIG, Buffer, HttpConfig, ReceivedBody, ReceivedBodyState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ReceivedBodyState` in the root [INFO] [stdout] | help: a similar name exists in the module: `ReceivedBody` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::received_body::ReceivedBodyState [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(feature = "unstable")] [INFO] [stdout] | -------------------- the item is gated behind the `unstable` feature [INFO] [stdout] 77 | pub use received_body::ReceivedBodyState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> src/received_body/chunked.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use trillium_testing::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state_set.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | .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] 44 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] 44 + .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/state_set.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | .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] 51 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] 51 + .and_then(|boxed| (&mut **boxed as &mut dyn Any).downcast_mut()) [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 `trillium-http` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ef077294e0a1f5ec78b80734d4d5993b201e8eb2a8376de9edcc7ac6f5a9d3d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef077294e0a1f5ec78b80734d4d5993b201e8eb2a8376de9edcc7ac6f5a9d3d1", kill_on_drop: false }` [INFO] [stdout] ef077294e0a1f5ec78b80734d4d5993b201e8eb2a8376de9edcc7ac6f5a9d3d1