[INFO] fetching crate stonehm-macros 0.1.1... [INFO] testing stonehm-macros-0.1.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate stonehm-macros 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate stonehm-macros 0.1.1 [INFO] finished tweaking crates.io crate stonehm-macros 0.1.1 [INFO] tweaked toml for crates.io crate stonehm-macros 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stonehm-macros 0.1.1 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 stonehm-macros 0.1.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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c859b2fd59f99e9a2eb9a1f71dff07fbd8bfd9d8ad96876536e22d183395fcc0 [INFO] running `Command { std: "docker" "start" "-a" "c859b2fd59f99e9a2eb9a1f71dff07fbd8bfd9d8ad96876536e22d183395fcc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c859b2fd59f99e9a2eb9a1f71dff07fbd8bfd9d8ad96876536e22d183395fcc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c859b2fd59f99e9a2eb9a1f71dff07fbd8bfd9d8ad96876536e22d183395fcc0", kill_on_drop: false }` [INFO] [stdout] c859b2fd59f99e9a2eb9a1f71dff07fbd8bfd9d8ad96876536e22d183395fcc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 89d4c23078ec0df08a9fee53d2a7b09356183d6dffd24acfcda0714cda2f8235 [INFO] running `Command { std: "docker" "start" "-a" "89d4c23078ec0df08a9fee53d2a7b09356183d6dffd24acfcda0714cda2f8235", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling stonehm-macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.61s [INFO] running `Command { std: "docker" "inspect" "89d4c23078ec0df08a9fee53d2a7b09356183d6dffd24acfcda0714cda2f8235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d4c23078ec0df08a9fee53d2a7b09356183d6dffd24acfcda0714cda2f8235", kill_on_drop: false }` [INFO] [stdout] 89d4c23078ec0df08a9fee53d2a7b09356183d6dffd24acfcda0714cda2f8235 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] acab3bc75aa94a8fc603fdcaed360bd456ed2275e3cfd1c682f0654eb4e5ca48 [INFO] running `Command { std: "docker" "start" "-a" "acab3bc75aa94a8fc603fdcaed360bd456ed2275e3cfd1c682f0654eb4e5ca48", kill_on_drop: false }` [INFO] [stderr] Compiling stonehm-macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "acab3bc75aa94a8fc603fdcaed360bd456ed2275e3cfd1c682f0654eb4e5ca48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acab3bc75aa94a8fc603fdcaed360bd456ed2275e3cfd1c682f0654eb4e5ca48", kill_on_drop: false }` [INFO] [stdout] acab3bc75aa94a8fc603fdcaed360bd456ed2275e3cfd1c682f0654eb4e5ca48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4a553790277766de512a422306a5a135404d6ea2eaa77e10b5d21aba9fbd9983 [INFO] running `Command { std: "docker" "start" "-a" "4a553790277766de512a422306a5a135404d6ea2eaa77e10b5d21aba9fbd9983", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stonehm_macros-974d3498cb3aeac9) [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_extract_docs_with_examples ... ok [INFO] [stdout] test tests::test_sanitize_type_for_identifier ... ok [INFO] [stdout] test tests::test_extract_docs_empty ... ok [INFO] [stdout] test tests::test_extract_docs_with_responses ... ok [INFO] [stdout] test tests::test_extract_response_and_error_types ... ok [INFO] [stdout] test tests::test_extract_docs_with_parameters ... ok [INFO] [stdout] test tests::test_extract_docs_with_request_body ... ok [INFO] [stdout] test tests::test_extract_docs_complex_responses ... ok [INFO] [stdout] test tests::test_extract_docs_simple ... ok [INFO] [stdout] test tests::test_extract_request_body_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests stonehm_macros [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - derive_stone_schema (line 656) - compile ... FAILED [INFO] [stdout] test src/lib.rs - derive_stone_schema (line 620) ... FAILED [INFO] [stdout] test src/lib.rs - api_error (line 783) ... FAILED [INFO] [stdout] test src/lib.rs - api_error (line 871) - compile ... FAILED [INFO] [stdout] test src/lib.rs - derive_stone_schema (line 592) ... FAILED [INFO] [stdout] test src/lib.rs - api_error (line 836) ... FAILED [INFO] [stdout] test src/lib.rs - api_error (line 852) ... FAILED [INFO] [stdout] test src/lib.rs - derive_stone_schema (line 573) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_stone_schema (line 656) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/lib.rs:658:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::Json; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stonehm` [INFO] [stdout] --> src/lib.rs:659:5 [INFO] [stdout] | [INFO] [stdout] 6 | use stonehm::api_handler; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stonehm`, use `cargo add stonehm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/lib.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 12 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StoneSchema` in this scope [INFO] [stdout] --> src/lib.rs:662:23 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, StoneSchema)] struct CreateUserRequest { name: String } [INFO] [stdout] | ^^^^^^^^^^^ help: a derive macro with a similar name exists: `StonehmSchema` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:683:1 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn derive_stone_schema(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------------------------------------------------- similarly named derive macro `StonehmSchema` defined here [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StoneSchema` in this scope [INFO] [stdout] --> src/lib.rs:663:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, StoneSchema)] struct User { id: u32, name: String } [INFO] [stdout] | ^^^^^^^^^^^ help: a derive macro with a similar name exists: `StonehmSchema` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:683:1 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn derive_stone_schema(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------------------------------------------------- similarly named derive macro `StonehmSchema` defined here [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StoneSchema` in this scope [INFO] [stdout] --> src/lib.rs:664:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, StoneSchema)] enum ApiError { NotFound } [INFO] [stdout] | ^^^^^^^^^^^ help: a derive macro with a similar name exists: `StonehmSchema` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:683:1 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn derive_stone_schema(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------------------------------------------------- similarly named derive macro `StonehmSchema` defined here [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/lib.rs:666:60 [INFO] [stdout] | [INFO] [stdout] 13 | impl IntoResponse for ApiError { fn into_response(self) -> axum::response::Response { todo!() } } [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_stone_schema (line 620) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:622:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:625:21 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize, StonehmSchema)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `StonehmSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:625:21 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize, StonehmSchema)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stonehm`, use `cargo add stonehm` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `StonehmSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - api_error (line 783) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/lib.rs:787:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:787:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:787:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stonehm`, use `cargo add stonehm` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - api_error (line 871) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stonehm_macros::StoneSchema` [INFO] [stdout] --> src/lib.rs:874:46 [INFO] [stdout] | [INFO] [stdout] 6 | use stonehm_macros::{api_error, api_handler, StoneSchema}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `StoneSchema` in the root [INFO] [stdout] | help: a similar name exists in the module: `StonehmSchema` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/lib.rs:873:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::Json; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/lib.rs:880:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:880:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:890:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[api_handler] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `api_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/lib.rs:892:5 [INFO] [stdout] | [INFO] [stdout] 24 | axum::extract::Path(id): axum::extract::Path, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/lib.rs:892:30 [INFO] [stdout] | [INFO] [stdout] 24 | axum::extract::Path(id): axum::extract::Path, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:880:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stonehm`, use `cargo add stonehm` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_stone_schema (line 592) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:612:34 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize, StonehmSchema)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `StonehmSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:604:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Serialize, StonehmSchema)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `StonehmSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:597:23 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize, StonehmSchema)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `StonehmSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:597:23 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize, StonehmSchema)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stonehm`, use `cargo add stonehm` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `StonehmSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:604:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Serialize, StonehmSchema)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stonehm`, use `cargo add stonehm` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `StonehmSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:612:34 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize, StonehmSchema)] [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stonehm`, use `cargo add stonehm` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `StonehmSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - api_error (line 836) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/lib.rs:840:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:839:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Serialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:840:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:840:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stonehm`, use `cargo add stonehm` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - api_error (line 852) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/lib.rs:856:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:855:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Serialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:856:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:858:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[serde(tag = "error", content = "details")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:861:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[serde(rename = "auth_required")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:865:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[serde(rename = "access_denied")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] --> src/lib.rs:856:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[api_error] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `stonehm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stonehm`, use `cargo add stonehm` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `api_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_stone_schema (line 573) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `stonehm_macros::StoneSchema` [INFO] [stdout] --> src/lib.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 6 | use stonehm_macros::StoneSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `StonehmSchema` [INFO] [stdout] | no `StoneSchema` in the root [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StonehmSchema` in this scope [INFO] [stdout] --> src/lib.rs:578:21 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize, StonehmSchema)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use stonehm_macros::StonehmSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `schema` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:588:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct User { [INFO] [stdout] | ----------- function or associated item `schema` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | let schema = User::schema(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - api_error (line 783) [INFO] [stdout] src/lib.rs - api_error (line 836) [INFO] [stdout] src/lib.rs - api_error (line 852) [INFO] [stdout] src/lib.rs - api_error (line 871) [INFO] [stdout] src/lib.rs - derive_stone_schema (line 573) [INFO] [stdout] src/lib.rs - derive_stone_schema (line 592) [INFO] [stdout] src/lib.rs - derive_stone_schema (line 620) [INFO] [stdout] src/lib.rs - derive_stone_schema (line 656) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4a553790277766de512a422306a5a135404d6ea2eaa77e10b5d21aba9fbd9983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a553790277766de512a422306a5a135404d6ea2eaa77e10b5d21aba9fbd9983", kill_on_drop: false }` [INFO] [stdout] 4a553790277766de512a422306a5a135404d6ea2eaa77e10b5d21aba9fbd9983