[INFO] fetching crate architect-schemars 1.0.0... [INFO] checking architect-schemars-1.0.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate architect-schemars 1.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate architect-schemars 1.0.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate architect-schemars 1.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate architect-schemars 1.0.0 [INFO] tweaked toml for crates.io crate architect-schemars 1.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate architect-schemars 1.0.0 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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.2 [INFO] [stderr] Downloaded arcstr v1.1.5 [INFO] [stderr] Downloaded netidx-core v0.22.0 [INFO] [stderr] Downloaded rend v0.4.0 [INFO] [stderr] Downloaded architect-schemars_derive v1.0.0 [INFO] [stderr] Downloaded triomphe v0.1.8 [INFO] [stderr] Downloaded rust_decimal v1.30.0 [INFO] [stderr] Downloaded basic-toml v0.1.2 [INFO] [stderr] Downloaded trybuild v1.0.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c905e0bf7daee569accf2ceda7085e6d3abd00d744a469ab2ccfaf0f10d614d [INFO] running `Command { std: "docker" "start" "-a" "4c905e0bf7daee569accf2ceda7085e6d3abd00d744a469ab2ccfaf0f10d614d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c905e0bf7daee569accf2ceda7085e6d3abd00d744a469ab2ccfaf0f10d614d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c905e0bf7daee569accf2ceda7085e6d3abd00d744a469ab2ccfaf0f10d614d", kill_on_drop: false }` [INFO] [stdout] 4c905e0bf7daee569accf2ceda7085e6d3abd00d744a469ab2ccfaf0f10d614d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01f61ebf271f2ed0fa77328de0c5ca70893d5d0d65312d569a9ee1436356f455 [INFO] running `Command { std: "docker" "start" "-a" "01f61ebf271f2ed0fa77328de0c5ca70893d5d0d65312d569a9ee1436356f455", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling trybuild v1.0.80 [INFO] [stderr] Compiling architect-schemars v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking dyn-clone v1.0.11 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling architect-schemars_derive v1.0.0 [INFO] [stderr] Checking basic-toml v0.1.2 [INFO] [stdout] warning: unexpected `cfg` condition name: `std_atomic` [INFO] [stdout] --> src/json_schema_impls/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(std_atomic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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 undeclared crate or module `schemars` [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::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/bound.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/ffi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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 undeclared crate or module `schemars` [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::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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 undeclared crate or module `schemars` [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::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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 undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/enum_repr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema_repr; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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 undeclared crate or module `schemars` [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 undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `architect-schemars` (test "ffi") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `architect-schemars` (test "result") due to 4 previous errors [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 `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 `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] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/bound.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[schemars(bound = "T::Item: JsonSchema", rename = "MyContainer")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] error: aborting due to 3 previous errors [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 `architect-schemars` (example "main") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `crate::schemars` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/crate_alias.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ::schemars as not_schemars; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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] [stderr] error: could not compile `architect-schemars` (test "range") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `architect-schemars` (test "macro") due to 4 previous errors [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/enum_deny_unknown_fields.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{JsonSchema, Map}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/crate_alias.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[schemars(crate = "not_schemars")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `schemars` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> tests/crate_alias.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std as schemars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/serde_attrs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/default.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [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 undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/enum_repr.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[serde(rename = "Renamed")] [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: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[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/examples.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [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] --> 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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `architect-schemars` (test "bound") due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `architect-schemars` (example "validate") due to 6 previous errors [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/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 `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] --> 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: aborting due to 4 previous errors [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 `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] [stderr] error: could not compile `architect-schemars` (test "crate_alias") due to 5 previous errors [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] 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 `architect-schemars` (test "enum_repr") due to 5 previous errors [INFO] [stdout] error: aborting due to 4 previous errors [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 `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] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/default.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[serde(default)] [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 `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 `schemars` in this scope [INFO] [stdout] --> tests/enum_deny_unknown_fields.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[schemars(rename_all = "camelCase", deny_unknown_fields)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/default.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[serde(serialize_with = "custom_serialize")] [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: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] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/default.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[serde( [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/enum_deny_unknown_fields.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [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/default.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[serde(default = "ten_and_true")] [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/enum_deny_unknown_fields.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[schemars(tag = "typeProperty", deny_unknown_fields)] [INFO] [stdout] | ^^^^^^^^ [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] [stderr] error: could not compile `architect-schemars` (test "remote_derive") due to 5 previous errors [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/default.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[serde(default = "six")] [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/enum_deny_unknown_fields.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [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 `schemars` in this scope [INFO] [stdout] --> tests/examples.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[schemars(example = "Struct::default", example = "null")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum_deny_unknown_fields.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | #[schemars(untagged, deny_unknown_fields)] [INFO] [stdout] | ^^^^^^^^ [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/examples.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[schemars(example = "eight", example = "null")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum_deny_unknown_fields.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/examples.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[schemars(example = "null")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum_deny_unknown_fields.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | #[schemars(tag = "t", content = "c", deny_unknown_fields)] [INFO] [stdout] | ^^^^^^^^ [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 `schemars` in this scope [INFO] [stdout] --> tests/enum_deny_unknown_fields.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [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 `schemars` in this scope [INFO] [stdout] --> tests/enum_deny_unknown_fields.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | #[schemars(tag = "typeProperty", deny_unknown_fields)] [INFO] [stdout] | ^^^^^^^^ [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: aborting due to 8 previous errors [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: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] 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: aborting due to 6 previous errors [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: aborting due to 12 previous errors [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: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] [stderr] error: could not compile `architect-schemars` (test "default") due to 9 previous errors [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] [stderr] error: could not compile `architect-schemars` (test "examples") due to 7 previous errors [INFO] [stderr] error: could not compile `architect-schemars` (test "enum_deny_unknown_fields") due to 13 previous errors [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] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [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:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[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] warning: unexpected `cfg` condition name: `std_atomic` [INFO] [stdout] --> src/json_schema_impls/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(std_atomic)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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] [stderr] error: could not compile `architect-schemars` (example "serde_attrs") due to 2 previous errors [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] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> tests/validate.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[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:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | 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] error: aborting due to 43 previous errors [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 `architect-schemars` (test "validate") due to 44 previous errors [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "01f61ebf271f2ed0fa77328de0c5ca70893d5d0d65312d569a9ee1436356f455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01f61ebf271f2ed0fa77328de0c5ca70893d5d0d65312d569a9ee1436356f455", kill_on_drop: false }` [INFO] [stdout] 01f61ebf271f2ed0fa77328de0c5ca70893d5d0d65312d569a9ee1436356f455