[INFO] fetching crate miko-macros 0.3.13... [INFO] testing miko-macros-0.3.13 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate miko-macros 0.3.13 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate miko-macros 0.3.13 [INFO] finished tweaking crates.io crate miko-macros 0.3.13 [INFO] tweaked toml for crates.io crate miko-macros 0.3.13 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate miko-macros 0.3.13 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate miko-macros 0.3.13 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1c73e2d044df65af980ee0034b731cb7df8311e8135c493423093c848cd773a [INFO] running `Command { std: "docker" "start" "-a" "f1c73e2d044df65af980ee0034b731cb7df8311e8135c493423093c848cd773a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1c73e2d044df65af980ee0034b731cb7df8311e8135c493423093c848cd773a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c73e2d044df65af980ee0034b731cb7df8311e8135c493423093c848cd773a", kill_on_drop: false }` [INFO] [stdout] f1c73e2d044df65af980ee0034b731cb7df8311e8135c493423093c848cd773a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fffc8765cdcc0099462ac7be8199919c7aa63489dd6f7d9dc9fe25ffa425fca6 [INFO] running `Command { std: "docker" "start" "-a" "fffc8765cdcc0099462ac7be8199919c7aa63489dd6f7d9dc9fe25ffa425fca6", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling miko-core v0.3.13 [INFO] [stderr] Compiling miko-macros v0.3.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.73s [INFO] running `Command { std: "docker" "inspect" "fffc8765cdcc0099462ac7be8199919c7aa63489dd6f7d9dc9fe25ffa425fca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fffc8765cdcc0099462ac7be8199919c7aa63489dd6f7d9dc9fe25ffa425fca6", kill_on_drop: false }` [INFO] [stdout] fffc8765cdcc0099462ac7be8199919c7aa63489dd6f7d9dc9fe25ffa425fca6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8abdbcba22b60188126f2b9eb8e38fef9f869a159497b12e05940b6beed69500 [INFO] running `Command { std: "docker" "start" "-a" "8abdbcba22b60188126f2b9eb8e38fef9f869a159497b12e05940b6beed69500", kill_on_drop: false }` [INFO] [stderr] Compiling miko-macros v0.3.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "8abdbcba22b60188126f2b9eb8e38fef9f869a159497b12e05940b6beed69500", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abdbcba22b60188126f2b9eb8e38fef9f869a159497b12e05940b6beed69500", kill_on_drop: false }` [INFO] [stdout] 8abdbcba22b60188126f2b9eb8e38fef9f869a159497b12e05940b6beed69500 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad8291a6e607ff4c211e6d6fb6a741283da360f288db8d1da260cd427c43d93d [INFO] running `Command { std: "docker" "start" "-a" "ad8291a6e607ff4c211e6d6fb6a741283da360f288db8d1da260cd427c43d93d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/miko_macros-22b721e9a7c506bd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests miko_macros [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - prefix (line 482) ... FAILED [INFO] [stdout] test src/lib.rs - path (line 331) ... FAILED [INFO] [stdout] test src/lib.rs - query (line 348) ... FAILED [INFO] [stdout] test src/lib.rs - desc (line 311) ... FAILED [INFO] [stdout] test src/lib.rs - route (line 38) ... FAILED [INFO] [stdout] test src/lib.rs - body (line 368) ... FAILED [INFO] [stdout] test src/lib.rs - layer (line 388) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - prefix (line 482) stdout ---- [INFO] [stdout] error: cannot find attribute `prefix` in this scope [INFO] [stdout] --> src/lib.rs:483:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[prefix("/api")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[get("/users")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 5 + use miko_macros::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - path (line 331) stdout ---- [INFO] [stdout] error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters [INFO] [stdout] --> src/lib.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 4 | async fn get_user(#[path] id: i32) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:332:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[get("/users/:id")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> src/lib.rs:333:44 [INFO] [stdout] | [INFO] [stdout] 4 | async fn get_user(#[path] id: i32) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0539]: malformed `path` attribute input [INFO] [stdout] --> src/lib.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 4 | async fn get_user(#[path] id: i32) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^ help: must be of the form: `#[path = "file"]` [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0539. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - query (line 348) stdout ---- [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:349:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[get("/users")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `query` in this scope [INFO] [stdout] --> src/lib.rs:351:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[query] page: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `query` in this scope [INFO] [stdout] --> src/lib.rs:352:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[query] page_size: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> src/lib.rs:353:11 [INFO] [stdout] | [INFO] [stdout] 7 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - desc (line 311) stdout ---- [INFO] [stdout] error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters [INFO] [stdout] --> src/lib.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[path] #[desc("用户ID")] id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:312:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[get("/users/{id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `desc` in this scope [INFO] [stdout] --> src/lib.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[path] #[desc("用户ID")] id: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::desc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `query` in this scope [INFO] [stdout] --> src/lib.rs:315:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[query] #[desc("页码")] page: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `desc` in this scope [INFO] [stdout] --> src/lib.rs:315:16 [INFO] [stdout] | [INFO] [stdout] 6 | #[query] #[desc("页码")] page: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::desc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> src/lib.rs:316:11 [INFO] [stdout] | [INFO] [stdout] 7 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0539]: malformed `path` attribute input [INFO] [stdout] --> src/lib.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[path] #[desc("用户ID")] id: i32, [INFO] [stdout] | ^^^^^^^ help: must be of the form: `#[path = "file"]` [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0539. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - route (line 38) stdout ---- [INFO] [stdout] error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[path] #[desc("用户ID")] id: i32 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[get("/hello/{id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `desc` in this scope [INFO] [stdout] --> src/lib.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[path] #[desc("用户ID")] id: i32 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::desc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `miko` [INFO] [stdout] --> src/lib.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> impl miko::http::response::into_response::IntoResponse { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `miko` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miko`, use `cargo add miko` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0539]: malformed `path` attribute input [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[path] #[desc("用户ID")] id: i32 [INFO] [stdout] | ^^^^^^^ help: must be of the form: `#[path = "file"]` [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0539. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - body (line 368) stdout ---- [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/lib.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[post("/users")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> src/lib.rs:370:24 [INFO] [stdout] | [INFO] [stdout] 4 | async fn create_user(#[body] user: User) -> impl IntoResponse { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::body; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:370:36 [INFO] [stdout] | [INFO] [stdout] 4 | async fn create_user(#[body] user: User) -> impl IntoResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> src/lib.rs:370:50 [INFO] [stdout] | [INFO] [stdout] 4 | async fn create_user(#[body] user: User) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - layer (line 388) stdout ---- [INFO] [stdout] error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters [INFO] [stdout] --> src/lib.rs:395:19 [INFO] [stdout] | [INFO] [stdout] 9 | async fn get_user(#[path] id: i32) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_http` [INFO] [stdout] --> src/lib.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tower_http::timeout::TimeoutLayer; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tower_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_http`, use `cargo add tower_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `layer` in this scope [INFO] [stdout] --> src/lib.rs:408:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[layer(AuthLayer::new())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::layer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[get("/data")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 24 + use miko_macros::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/lib.rs:400:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[post("/users")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `layer` in this scope [INFO] [stdout] --> src/lib.rs:401:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[layer(TimeoutLayer::new(Duration::from_secs(30)))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::layer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `layer` in this scope [INFO] [stdout] --> src/lib.rs:402:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[layer(CompressionLayer::new())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::layer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `body` in this scope [INFO] [stdout] --> src/lib.rs:403:24 [INFO] [stdout] | [INFO] [stdout] 17 | async fn create_user(#[body] user: User) -> impl IntoResponse { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::body; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:393:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[get("/users/{id}")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `layer` in this scope [INFO] [stdout] --> src/lib.rs:394:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[layer(TimeoutLayer::new(Duration::from_secs(30)))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use miko_macros::layer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> src/lib.rs:395:44 [INFO] [stdout] | [INFO] [stdout] 9 | async fn get_user(#[path] id: i32) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:403:36 [INFO] [stdout] | [INFO] [stdout] 17 | async fn create_user(#[body] user: User) -> impl IntoResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> src/lib.rs:403:50 [INFO] [stdout] | [INFO] [stdout] 17 | async fn create_user(#[body] user: User) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0539]: malformed `path` attribute input [INFO] [stdout] --> src/lib.rs:395:19 [INFO] [stdout] | [INFO] [stdout] 9 | async fn get_user(#[path] id: i32) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^ help: must be of the form: `#[path = "file"]` [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0539. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - body (line 368) [INFO] [stdout] src/lib.rs - desc (line 311) [INFO] [stdout] src/lib.rs - layer (line 388) [INFO] [stdout] src/lib.rs - path (line 331) [INFO] [stdout] src/lib.rs - prefix (line 482) [INFO] [stdout] src/lib.rs - query (line 348) [INFO] [stdout] src/lib.rs - route (line 38) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.61s; merged doctests compilation took 0.15s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ad8291a6e607ff4c211e6d6fb6a741283da360f288db8d1da260cd427c43d93d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8291a6e607ff4c211e6d6fb6a741283da360f288db8d1da260cd427c43d93d", kill_on_drop: false }` [INFO] [stdout] ad8291a6e607ff4c211e6d6fb6a741283da360f288db8d1da260cd427c43d93d