[INFO] fetching crate trillium-api 0.2.0-rc.12... [INFO] building trillium-api-0.2.0-rc.12 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate trillium-api 0.2.0-rc.12 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trillium-api 0.2.0-rc.12 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smartcow v0.2.1 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded test-harness v0.2.0 [INFO] [stderr] Downloaded event-listener v5.3.1 [INFO] [stderr] Downloaded event-listener-strategy v0.5.2 [INFO] [stderr] Downloaded polling v3.7.0 [INFO] [stderr] Downloaded trillium-macros v0.0.6 [INFO] [stderr] Downloaded stopper v0.2.7 [INFO] [stderr] Downloaded trillium v0.2.20 [INFO] [stderr] Downloaded proc-macro2 v1.0.84 [INFO] [stderr] Downloaded trillium-http v0.3.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42d03acc2c447e71d2568ded3f85c64ababfa1a6f75fcd5501448c9c8d2fc1f1 [INFO] running `Command { std: "docker" "start" "-a" "42d03acc2c447e71d2568ded3f85c64ababfa1a6f75fcd5501448c9c8d2fc1f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42d03acc2c447e71d2568ded3f85c64ababfa1a6f75fcd5501448c9c8d2fc1f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42d03acc2c447e71d2568ded3f85c64ababfa1a6f75fcd5501448c9c8d2fc1f1", kill_on_drop: false }` [INFO] [stdout] 42d03acc2c447e71d2568ded3f85c64ababfa1a6f75fcd5501448c9c8d2fc1f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc9446d9a6f94281e307b45b73bc3b7ee31df2fb0d9bdbb3e5af72a893715a74 [INFO] running `Command { std: "docker" "start" "-a" "bc9446d9a6f94281e307b45b73bc3b7ee31df2fb0d9bdbb3e5af72a893715a74", 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 parking v2.2.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.117 [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 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 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_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling trillium-api v0.2.0-rc.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.46s [INFO] running `Command { std: "docker" "inspect" "bc9446d9a6f94281e307b45b73bc3b7ee31df2fb0d9bdbb3e5af72a893715a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc9446d9a6f94281e307b45b73bc3b7ee31df2fb0d9bdbb3e5af72a893715a74", kill_on_drop: false }` [INFO] [stdout] bc9446d9a6f94281e307b45b73bc3b7ee31df2fb0d9bdbb3e5af72a893715a74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f2cf80d3586f259391a3fa747b974a167e35aa9cc38f4932c0a5fd8340f97c4 [INFO] running `Command { std: "docker" "start" "-a" "9f2cf80d3586f259391a3fa747b974a167e35aa9cc38f4932c0a5fd8340f97c4", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling slab v0.4.9 [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 bitflags v2.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling test-harness v0.2.0 [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 event-listener-strategy v0.5.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling async-channel v2.3.1 [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 trillium-api v0.2.0-rc.12 (/opt/rustwide/workdir) [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] [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 `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] 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[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[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] 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_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] | [INFO] [stdout] --> /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/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] [stderr] error: could not compile `trillium-api` (example "cancel_on_disconnect") due to 2 previous errors [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_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: 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] | [INFO] [stdout] --> /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/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: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] | [INFO] [stdout] --> /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/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] | [INFO] [stdout] --> /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/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] | [INFO] [stdout] --> /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/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] [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] 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] [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] error: could not compile `trillium-api` (example "api") due to 3 previous errors [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" "9f2cf80d3586f259391a3fa747b974a167e35aa9cc38f4932c0a5fd8340f97c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f2cf80d3586f259391a3fa747b974a167e35aa9cc38f4932c0a5fd8340f97c4", kill_on_drop: false }` [INFO] [stdout] 9f2cf80d3586f259391a3fa747b974a167e35aa9cc38f4932c0a5fd8340f97c4