[INFO] fetching crate stately 0.2.1... [INFO] testing stately-0.2.1 against 1.91.0 for beta-1.92-2 [INFO] extracting crate stately 0.2.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate stately 0.2.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate stately 0.2.1 [INFO] tweaked toml for crates.io crate stately 0.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stately 0.2.1 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stately 0.2.1 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stately-derive v0.2.1 [INFO] [stderr] Downloaded axum-core v0.5.5 [INFO] [stderr] Downloaded utoipa v5.4.0 [INFO] [stderr] Downloaded axum v0.8.6 [INFO] [stderr] Downloaded utoipa-gen v5.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c549852317c17551c4cae712dde6f4d0d7055170a7c6d3e41069620259d7b882 [INFO] running `Command { std: "docker" "start" "-a" "c549852317c17551c4cae712dde6f4d0d7055170a7c6d3e41069620259d7b882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c549852317c17551c4cae712dde6f4d0d7055170a7c6d3e41069620259d7b882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c549852317c17551c4cae712dde6f4d0d7055170a7c6d3e41069620259d7b882", kill_on_drop: false }` [INFO] [stdout] c549852317c17551c4cae712dde6f4d0d7055170a7c6d3e41069620259d7b882 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 819945b77a14a7caa0d9a56892e836fe07ea3c116ae243ec535b16daa7c06e45 [INFO] running `Command { std: "docker" "start" "-a" "819945b77a14a7caa0d9a56892e836fe07ea3c116ae243ec535b16daa7c06e45", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling stately-derive v0.2.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling utoipa-gen v5.4.0 [INFO] [stderr] Compiling utoipa v5.4.0 [INFO] [stderr] Compiling stately v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.35s [INFO] running `Command { std: "docker" "inspect" "819945b77a14a7caa0d9a56892e836fe07ea3c116ae243ec535b16daa7c06e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "819945b77a14a7caa0d9a56892e836fe07ea3c116ae243ec535b16daa7c06e45", kill_on_drop: false }` [INFO] [stdout] 819945b77a14a7caa0d9a56892e836fe07ea3c116ae243ec535b16daa7c06e45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ec581c7dd9b1298b305b552e4bf53d9e926076457e3be2fa60e60073f310c58 [INFO] running `Command { std: "docker" "start" "-a" "9ec581c7dd9b1298b305b552e4bf53d9e926076457e3be2fa60e60073f310c58", kill_on_drop: false }` [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling stately v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: extern crate `tokio` is unused in crate `stately` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use tokio as _;` to the crate root [INFO] [stdout] = note: requested on the command line with `-W unused-crate-dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `tower` is unused in crate `stately` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use tower as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::body::Body; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::response::Response; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use axum::body::Body; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use axum::http::{Request, StatusCode}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | use axum::body::Body; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use axum::http::{Request, StatusCode}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | use axum::body::Body; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | use axum::http::{Request, StatusCode}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | use axum::body::Body; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use axum::http::{Request, StatusCode}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | use axum::body::Body; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | use axum::http::{Request, StatusCode}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | use axum::body::Body; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | use axum::http::{Request, StatusCode}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | use axum::body::Body; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | use axum::http::{Request, StatusCode}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `axum_api` in `stately` [INFO] [stdout] --> tests/axum.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | #[stately::axum_api( [INFO] [stdout] | ^^^^^^^^ could not find `axum_api` in `stately` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:271:25 [INFO] [stdout] | [INFO] [stdout] 270 | #[cfg(feature = "axum")] [INFO] [stdout] | ---------------- the item is gated behind the `axum` feature [INFO] [stdout] 271 | pub use stately_derive::axum_api; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | let body = axum::body::to_bytes(response.into_body(), usize::MAX).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | let app = axum::Router::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | let app = axum::Router::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | let app = axum::Router::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | let app = axum::Router::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | .layer(axum::middleware::from_fn(AppState::event_middleware::(event_tx))) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:260:16 [INFO] [stdout] | [INFO] [stdout] 260 | let body = axum::body::to_bytes(response.into_body(), usize::MAX).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:352:15 [INFO] [stdout] | [INFO] [stdout] 352 | let app = axum::Router::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:366:16 [INFO] [stdout] | [INFO] [stdout] 366 | let body = axum::body::to_bytes(response.into_body(), usize::MAX).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | let app = axum::Router::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:416:16 [INFO] [stdout] | [INFO] [stdout] 416 | let body = axum::body::to_bytes(response.into_body(), usize::MAX).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> tests/axum.rs:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | let app = axum::Router::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file tests/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OperationResponse` in this scope [INFO] [stdout] --> tests/axum.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | let result = response_body::(response).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 109 | async fn test_create_entity() { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntitiesMap` in this scope [INFO] [stdout] --> tests/axum.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | let result = response_body::(response).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 140 | async fn test_get_entities() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListResponse` in this scope [INFO] [stdout] --> tests/axum.rs:210:34 [INFO] [stdout] | [INFO] [stdout] 210 | let result = response_body::(response).await; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 174 | async fn test_list_entities() { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListResponse` in this scope [INFO] [stdout] --> tests/axum.rs:223:34 [INFO] [stdout] | [INFO] [stdout] 223 | let result = response_body::(response).await; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 174 | async fn test_list_entities() { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResponseEvent` in this scope [INFO] [stdout] --> tests/axum.rs:241:71 [INFO] [stdout] | [INFO] [stdout] 241 | .layer(axum::middleware::from_fn(AppState::event_middleware::(event_tx))) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 229 | async fn test_event_middleware() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OperationResponse` in this scope [INFO] [stdout] --> tests/axum.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | let result: OperationResponse = serde_json::from_slice(&body).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GetEntityResponse` in this scope [INFO] [stdout] --> tests/axum.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | let result: GetEntityResponse = serde_json::from_slice(&body).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OperationResponse` in this scope [INFO] [stdout] --> tests/axum.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | let result: OperationResponse = serde_json::from_slice(&body).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `openapi` exists for struct `AppState`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/axum.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `openapi` not found for this struct because it doesn't satisfy `AppState: NestedApiConfig` or `AppState: utoipa::OpenApi` [INFO] [stdout] ... [INFO] [stdout] 103 | let api_doc = AppState::openapi(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `AppState` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `AppState: NestedApiConfig` [INFO] [stdout] which is required by `AppState: utoipa::OpenApi` [INFO] [stdout] `&AppState: NestedApiConfig` [INFO] [stdout] which is required by `&AppState: utoipa::OpenApi` [INFO] [stdout] `&mut AppState: NestedApiConfig` [INFO] [stdout] which is required by `&mut AppState: utoipa::OpenApi` [INFO] [stdout] note: the trait `NestedApiConfig` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-5.4.0/src/lib.rs:1300:5 [INFO] [stdout] | [INFO] [stdout] 1300 | pub trait NestedApiConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `openapi`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `utoipa::OpenApi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | let app_state = AppState::new(State::new()); [INFO] [stdout] | ^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `router` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `router` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 116 | .nest("/api/v1/entity", AppState::router(app_state.clone())) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 145 | let app_state = AppState::new(State::new()); [INFO] [stdout] | ^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `router` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `router` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 158 | .nest("/api/v1/entity", AppState::router(app_state.clone())) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 179 | let app_state = AppState::new(State::new()); [INFO] [stdout] | ^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `router` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:200:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `router` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 200 | .nest("/api/v1/entity", AppState::router(app_state.clone())) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:237:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 237 | let app_state = AppState::new(State::new()); [INFO] [stdout] | ^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `router` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:240:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `router` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 240 | .nest("/api/v1/entity", AppState::router(app_state.clone())) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `event_middleware` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:241:52 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `event_middleware` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 241 | .layer(axum::middleware::from_fn(AppState::event_middleware::(event_tx))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:340:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 340 | let app_state = AppState::new(State::new()); [INFO] [stdout] | ^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `router` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:353:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `router` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 353 | .nest("/api/v1/entity", AppState::router(app_state.clone())) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:384:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 384 | let app_state = AppState::new(State::new()); [INFO] [stdout] | ^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `router` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:397:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `router` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 397 | .nest("/api/v1/entity", AppState::router(app_state.clone())) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:427:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 427 | let app_state = AppState::new(State::new()); [INFO] [stdout] | ^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `router` found for struct `AppState` in the current scope [INFO] [stdout] --> tests/axum.rs:440:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AppState {} [INFO] [stdout] | ------------------- function or associated item `router` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 440 | .nest("/api/v1/entity", AppState::router(app_state.clone())) [INFO] [stdout] | ^^^^^^ function or associated item not found in `AppState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseEvent` [INFO] [stdout] --> tests/axum.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | ResponseEvent::Created { id, entity } => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ResponseEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseEvent` [INFO] [stdout] --> tests/axum.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | ResponseEvent::Updated { id, entity } => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ResponseEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseEvent` [INFO] [stdout] --> tests/axum.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | ResponseEvent::Deleted { id, entry } => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ResponseEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stately` (test "axum") due to 56 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9ec581c7dd9b1298b305b552e4bf53d9e926076457e3be2fa60e60073f310c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ec581c7dd9b1298b305b552e4bf53d9e926076457e3be2fa60e60073f310c58", kill_on_drop: false }` [INFO] [stdout] 9ec581c7dd9b1298b305b552e4bf53d9e926076457e3be2fa60e60073f310c58