[INFO] fetching crate oxc-schemars 0.8.25... [INFO] testing oxc-schemars-0.8.25 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate oxc-schemars 0.8.25 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate oxc-schemars 0.8.25 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate oxc-schemars 0.8.25 [INFO] tweaked toml for crates.io crate oxc-schemars 0.8.25 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oxc-schemars 0.8.25 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate oxc-schemars 0.8.25 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumset v1.1.3 [INFO] [stderr] Downloaded oxc_schemars_derive v0.8.23 [INFO] [stderr] Downloaded dyn-clone v1.0.14 [INFO] [stderr] Downloaded enumset_derive v0.8.1 [INFO] [stderr] Downloaded basic-toml v0.1.4 [INFO] [stderr] Downloaded serde_derive_internals v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5d651bed0e91196f20c2d312e91d6d56fb0d40307a489bbc281af782acfa28f [INFO] running `Command { std: "docker" "start" "-a" "a5d651bed0e91196f20c2d312e91d6d56fb0d40307a489bbc281af782acfa28f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5d651bed0e91196f20c2d312e91d6d56fb0d40307a489bbc281af782acfa28f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d651bed0e91196f20c2d312e91d6d56fb0d40307a489bbc281af782acfa28f", kill_on_drop: false }` [INFO] [stdout] a5d651bed0e91196f20c2d312e91d6d56fb0d40307a489bbc281af782acfa28f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 89cc2306e4b5879a9201404cfbd4cd2d3d30908ee7c00c2c87a6c5d0e3fe39fc [INFO] running `Command { std: "docker" "start" "-a" "89cc2306e4b5879a9201404cfbd4cd2d3d30908ee7c00c2c87a6c5d0e3fe39fc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling oxc-schemars v0.8.25 (/opt/rustwide/workdir) [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling dyn-clone v1.0.14 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling serde_derive_internals v0.29.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling oxc_schemars_derive v0.8.23 [INFO] [stdout] warning: unexpected `cfg` condition name: `std_atomic` [INFO] [stdout] --> src/json_schema_impls/mod.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(std_atomic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std_atomic)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std_atomic64` [INFO] [stdout] --> src/json_schema_impls/atomic.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(std_atomic64)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std_atomic64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std_atomic64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std_atomic64` [INFO] [stdout] --> src/json_schema_impls/atomic.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(std_atomic64)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std_atomic64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std_atomic64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.55s [INFO] running `Command { std: "docker" "inspect" "89cc2306e4b5879a9201404cfbd4cd2d3d30908ee7c00c2c87a6c5d0e3fe39fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89cc2306e4b5879a9201404cfbd4cd2d3d30908ee7c00c2c87a6c5d0e3fe39fc", kill_on_drop: false }` [INFO] [stdout] 89cc2306e4b5879a9201404cfbd4cd2d3d30908ee7c00c2c87a6c5d0e3fe39fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b882ac1ad3955ad042955129cd6d17fa37e7e6c284c9f3406fd2dd56aec28a7d [INFO] running `Command { std: "docker" "start" "-a" "b882ac1ad3955ad042955129cd6d17fa37e7e6c284c9f3406fd2dd56aec28a7d", kill_on_drop: false }` [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling basic-toml v0.1.4 [INFO] [stdout] warning: unexpected `cfg` condition name: `std_atomic` [INFO] [stdout] --> src/json_schema_impls/mod.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(std_atomic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std_atomic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std_atomic)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std_atomic64` [INFO] [stdout] --> src/json_schema_impls/atomic.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(std_atomic64)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std_atomic64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std_atomic64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std_atomic64` [INFO] [stdout] --> src/json_schema_impls/atomic.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(std_atomic64)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std_atomic64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std_atomic64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling oxc-schemars v0.8.25 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/schema_with_struct.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/doc_comments.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/range.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/remote_derive_generic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/time.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/validate_inner.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (example "doc_comments") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{JsonSchema, Map}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/validate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/remote_derive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "time") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> examples/custom_settings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{r#gen::SchemaSettings, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "range") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/remote_derive_generic.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[schemars(with = "HashMap::>")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_with_struct.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_with_struct.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> tests/remote_derive_generic.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/custom_settings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{r#gen::SchemaSettings, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/deprecated.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/validate.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_with_struct.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_with_struct.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/result.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/property_name.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/macro.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[schemars(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "deprecated") due to 3 previous errors [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{r#gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/skip.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "remote_derive_generic") due to 4 previous errors; 1 warning emitted [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[schemars(tag = "typeProperty")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_with_struct.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Newtype(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_with_struct.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[schemars(transparent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (example "custom_settings") due to 2 previous errors [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_with_struct.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct TransparentNewtype(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "macro") due to 3 previous errors [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/remote_derive.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[schemars(with = "DurationDef")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 65 | #[schemars(untagged)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | #[schemars(tag = "t", content = "c")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate_inner.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[schemars(inner(length(min = 5, max = 100)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/validate.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[validate(range(min = 1, max = 10))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[validate(range(min = 0.01, max = 100))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate_inner.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[schemars(inner(contains(pattern = "substring...")))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate_inner.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[schemars(inner(regex = "STARTS_WITH_HELLO"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | #[schemars(tag = "typeProperty")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[validate(range(min = "MIN", max = "MAX"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/validate.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[validate(required)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "result") due to 3 previous errors [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/validate.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | StringNewType(#[validate(phone)] String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate_inner.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[schemars(inner(length(min = 1, max = 100)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[validate(regex = "STARTS_WITH_HELLO")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate_inner.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[schemars(length(min = 1, max = 3), inner(length(min = 1, max = 100)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/property_name.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate_inner.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[schemars(inner(url))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[validate(regex(path = "STARTS_WITH_HELLO", code = "foo"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> examples/validate.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[validate(length(min = 1, max = 100))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[validate(regex(pattern = r"^\d+$"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/property_name.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[serde(rename = "new_name_1")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/schema_with_struct.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | fn schema_fn(generator: &mut schemars::r#gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use oxc_schemars::gen; [INFO] [stdout] | [INFO] [stdout] help: if you import `gen`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - fn schema_fn(generator: &mut schemars::r#gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] 5 + fn schema_fn(generator: &mut r#gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "remote_derive") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemars` [INFO] [stdout] --> tests/schema_with_struct.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | fn schema_fn(generator: &mut schemars::r#gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemars` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schemars`, use `cargo add schemars` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use oxc_schemars::schema; [INFO] [stdout] | [INFO] [stdout] help: if you import `schema`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - fn schema_fn(generator: &mut schemars::r#gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] 5 + fn schema_fn(generator: &mut schemars::r#gen::SchemaGenerator) -> schema::Schema { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/property_name.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[serde(rename = "ignored")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate_inner.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[schemars(inner(range(min = -10, max = 10)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[validate(contains = "substring...")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[validate(contains(pattern = "substring...", message = "bar"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/property_name.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[schemars(rename = "new_name_2")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/skip.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[schemars(skip)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[validate(email)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/skip.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[serde(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/skip.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[serde(skip_deserializing)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[validate(phone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[validate(url)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "schema_with_struct") due to 12 previous errors [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[validate(length(min = 1, max = 100))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "validate_inner") due to 10 previous errors [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/skip.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[serde(skip_serializing)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[validate(length(min = "MIN", max = "MAX"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/skip.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[schemars(skip)] i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[validate(length(equal = 2))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[validate(contains = "map_key")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/skip.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[serde(skip)] bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "enum") due to 12 previous errors [INFO] [stderr] error: could not compile `oxc-schemars` (example "validate") due to 5 previous errors [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/skip.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[serde(skip_deserializing)] String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[validate(required)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/skip.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[serde(skip_serializing)] f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[validate(required)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[validate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/validate.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/skip.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[schemars(skip)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "property_name") due to 7 previous errors [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/skip.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[serde(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[schemars(range(min = 0.01, max = 100))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/skip.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[serde(skip_deserializing)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[schemars(range(min = "MIN", max = "MAX"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/skip.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[serde(skip_serializing)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[validate(regex = "overridden")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[schemars(regex = "STARTS_WITH_HELLO")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[schemars(regex(path = "STARTS_WITH_HELLO"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[schemars(regex(pattern = r"^\d+$"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[validate(regex = "overridden")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[schemars(contains = "substring...")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[schemars(contains(pattern = "substring..."))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[schemars(email)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[schemars(phone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[schemars(url)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[schemars(length(min = 1, max = 100))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | #[schemars(length(min = "MIN", max = "MAX"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "skip") due to 15 previous errors [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | #[schemars(length(equal = 2))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[schemars(contains = "map_key")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | #[schemars(required)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/validate.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[schemars(required)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/validate.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[validate(range(max = 10))] u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[validate(required)] Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct NewType(#[validate(range(max = 10))] u8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `validate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc-schemars` (test "validate") due to 43 previous errors [INFO] running `Command { std: "docker" "inspect" "b882ac1ad3955ad042955129cd6d17fa37e7e6c284c9f3406fd2dd56aec28a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b882ac1ad3955ad042955129cd6d17fa37e7e6c284c9f3406fd2dd56aec28a7d", kill_on_drop: false }` [INFO] [stdout] b882ac1ad3955ad042955129cd6d17fa37e7e6c284c9f3406fd2dd56aec28a7d