[INFO] fetching crate trillium-api 0.2.0-rc.12... [INFO] testing trillium-api-0.2.0-rc.12 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate trillium-api 0.2.0-rc.12 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate trillium-api 0.2.0-rc.12 [INFO] finished tweaking crates.io crate trillium-api 0.2.0-rc.12 [INFO] tweaked toml for crates.io crate trillium-api 0.2.0-rc.12 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trillium-api 0.2.0-rc.12 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trillium-api 0.2.0-rc.12 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ec83df0f03f4e016775295a144061a7f52a7e30e37077ec962e969f509a6624 [INFO] running `Command { std: "docker" "start" "-a" "2ec83df0f03f4e016775295a144061a7f52a7e30e37077ec962e969f509a6624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ec83df0f03f4e016775295a144061a7f52a7e30e37077ec962e969f509a6624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec83df0f03f4e016775295a144061a7f52a7e30e37077ec962e969f509a6624", kill_on_drop: false }` [INFO] [stdout] 2ec83df0f03f4e016775295a144061a7f52a7e30e37077ec962e969f509a6624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a72d86d57feba715511f6af30cd60ce92408108ddc90895ee110401dfb5f7157 [INFO] running `Command { std: "docker" "start" "-a" "a72d86d57feba715511f6af30cd60ce92408108ddc90895ee110401dfb5f7157", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling smartcow v0.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling stopper v0.2.7 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling trillium-macros v0.0.6 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling trillium-http v0.3.17 [INFO] [stderr] Compiling trillium v0.2.20 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling trillium-api v0.2.0-rc.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.16s [INFO] running `Command { std: "docker" "inspect" "a72d86d57feba715511f6af30cd60ce92408108ddc90895ee110401dfb5f7157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a72d86d57feba715511f6af30cd60ce92408108ddc90895ee110401dfb5f7157", kill_on_drop: false }` [INFO] [stdout] a72d86d57feba715511f6af30cd60ce92408108ddc90895ee110401dfb5f7157 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f98709c763e04e2e06dccb1ca7a7738daf944918867e8cd90d7856eb5ce80a60 [INFO] running `Command { std: "docker" "start" "-a" "f98709c763e04e2e06dccb1ca7a7738daf944918867e8cd90d7856eb5ce80a60", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling test-harness v0.2.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 anstream v0.6.14 [INFO] [stderr] Compiling stopper v0.2.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling trillium-http v0.3.17 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling trillium v0.2.20 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling trillium-api v0.2.0-rc.12 (/opt/rustwide/workdir) [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] [stdout] error[E0432]: unresolved import `trillium_logger` [INFO] [stdout] --> examples/api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use trillium_logger::logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_logger`, use `cargo add trillium_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_router` [INFO] [stdout] --> examples/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use trillium_router::router; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_router` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_router`, use `cargo add trillium_router` 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_smol` [INFO] [stdout] --> examples/api.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | trillium_smol::run(( [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] 38 - trillium_smol::run(( [INFO] [stdout] 38 + trillium_api::run(( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] --> tests/disconnect-body.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use trillium_testing::{ [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/disconnect-body.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use trillium_testing::{ [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/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use trillium_testing::prelude::*; [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 `url` [INFO] [stdout] --> examples/cancel_on_disconnect.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use url::Url; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `url` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `url`, use `cargo add url` 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/disconnect-body.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | let handle = trillium_testing::config().with_port(0).spawn(handler); [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-api` (test "disconnect-body") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `trillium-api` (example "api") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_smol` [INFO] [stdout] --> examples/cancel_on_disconnect.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | trillium_smol::run(trillium_api::cancel_on_disconnect(handler)) [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] 13 - trillium_smol::run(trillium_api::cancel_on_disconnect(handler)) [INFO] [stdout] 13 + trillium_api::run(trillium_api::cancel_on_disconnect(handler)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_ok` in this scope [INFO] [stdout] --> tests/tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | assert_ok!( [INFO] [stdout] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `assert_eq` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_ok` in this scope [INFO] [stdout] --> tests/tests.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | assert_ok!( [INFO] [stdout] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `assert_eq` defined here [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: cannot find macro `assert_response` in this scope [INFO] [stdout] --> tests/tests.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | assert_response!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_ok` in this scope [INFO] [stdout] --> tests/tests.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | assert_ok!( [INFO] [stdout] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `assert_eq` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_ok` in this scope [INFO] [stdout] --> tests/tests.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | assert_ok!( [INFO] [stdout] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `assert_eq` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_status` in this scope [INFO] [stdout] --> tests/tests.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | assert_status!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_ok` in this scope [INFO] [stdout] --> tests/tests.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | assert_ok!(get("/") [INFO] [stdout] | ^^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `assert_eq` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `assert_response` in this scope [INFO] [stdout] --> tests/tests.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | assert_response!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-api` (example "cancel_on_disconnect") due to 2 previous errors [INFO] [stdout] error[E0412]: cannot find type `Conn` in this scope [INFO] [stdout] --> tests/tests.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | api(|__: &mut Conn, Body(mut s): Body| async move { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use trillium::Conn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Conn` in this scope [INFO] [stdout] --> tests/tests.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | api(|_: &mut Conn, _: ()| async { Json(json!({"health": "ok" })) }) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use trillium::Conn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Conn` in this scope [INFO] [stdout] --> tests/tests.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | api(|_: &mut Conn, Json(value): Json| async { Json(value) }) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use trillium::Conn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Conn` in this scope [INFO] [stdout] --> tests/tests.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | async fn error_handler(conn: &mut Conn, error: Error) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use trillium::Conn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Conn` in this scope [INFO] [stdout] --> tests/tests.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | api(|_: &mut Conn, Json(value): Json| async { Json(value) }), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use trillium::Conn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Headers` and `KnownHeaderName` [INFO] [stdout] --> tests/tests.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use trillium::{Handler, Headers, KnownHeaderName}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-api` (test "tests") due to 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f98709c763e04e2e06dccb1ca7a7738daf944918867e8cd90d7856eb5ce80a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f98709c763e04e2e06dccb1ca7a7738daf944918867e8cd90d7856eb5ce80a60", kill_on_drop: false }` [INFO] [stdout] f98709c763e04e2e06dccb1ca7a7738daf944918867e8cd90d7856eb5ce80a60