[INFO] fetching crate ckb_schemars 0.8.22...
[INFO] testing ckb_schemars-0.8.22 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate ckb_schemars 0.8.22 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate ckb_schemars 0.8.22
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate ckb_schemars 0.8.22
[INFO] tweaked toml for crates.io crate ckb_schemars 0.8.22 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ckb_schemars 0.8.22 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ckb_schemars 0.8.22 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f9ccbc7a43ad8495609f8593a4897b4f64283cf704efbc96c59362ff490d7f6e
[INFO] running `Command { std: "docker" "start" "-a" "f9ccbc7a43ad8495609f8593a4897b4f64283cf704efbc96c59362ff490d7f6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9ccbc7a43ad8495609f8593a4897b4f64283cf704efbc96c59362ff490d7f6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9ccbc7a43ad8495609f8593a4897b4f64283cf704efbc96c59362ff490d7f6e", kill_on_drop: false }`
[INFO] [stdout] f9ccbc7a43ad8495609f8593a4897b4f64283cf704efbc96c59362ff490d7f6e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91ff017749f463e35570cb4f9e1dfa27b8fa7adf0aae6ed84e8bb2f10ca83991
[INFO] running `Command { std: "docker" "start" "-a" "91ff017749f463e35570cb4f9e1dfa27b8fa7adf0aae6ed84e8bb2f10ca83991", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling serde_json v1.0.139
[INFO] [stderr]    Compiling ckb_schemars v0.8.22 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling ryu v1.0.19
[INFO] [stderr]    Compiling dyn-clone v1.0.18
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]    Compiling ckb_schemars_derive v0.8.22
[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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.28s
[INFO] running `Command { std: "docker" "inspect" "91ff017749f463e35570cb4f9e1dfa27b8fa7adf0aae6ed84e8bb2f10ca83991", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91ff017749f463e35570cb4f9e1dfa27b8fa7adf0aae6ed84e8bb2f10ca83991", kill_on_drop: false }`
[INFO] [stdout] 91ff017749f463e35570cb4f9e1dfa27b8fa7adf0aae6ed84e8bb2f10ca83991
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ef750f7f4d95b7da8c8083215eef7e962848bfe946b3017431e56d41693cece
[INFO] running `Command { std: "docker" "start" "-a" "0ef750f7f4d95b7da8c8083215eef7e962848bfe946b3017431e56d41693cece", kill_on_drop: false }`
[INFO] [stderr]    Compiling winnow v0.7.3
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling target-triple v0.1.4
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling toml_edit v0.22.24
[INFO] [stderr]    Compiling toml v0.8.20
[INFO] [stderr]    Compiling trybuild v1.0.103
[INFO] [stderr]    Compiling ckb_schemars v0.8.22 (/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/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] [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] 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/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[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/ffi.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] 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 `ckb_schemars` (test "ffi") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ckb_schemars` (test "deprecated") 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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> tests/remote_derive_generic.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[schemars(with = "HashMap::<String, HashSet<String>>")]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `schemars`
[INFO] [stdout]  --> examples/enum_repr.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use schemars::{schema_for, JsonSchema_repr};
[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/dereference.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use schemars::{r#gen::SchemaGenerator, 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] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `schemars`
[INFO] [stdout]  --> examples/from_value.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use schemars::schema_for_value;
[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] 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] 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 `ckb_schemars` (example "enum_repr") due to 1 previous error
[INFO] [stderr] error: could not compile `ckb_schemars` (test "remote_derive_generic") due to 4 previous errors; 1 warning emitted
[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] 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/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/serde_attrs.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] [stderr] error: could not compile `ckb_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/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 `ckb_schemars` (example "from_value") due to 1 previous error
[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/dereference.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use schemars::{r#gen::SchemaGenerator, 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/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: 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] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 22 | enum External {
[INFO] [stdout]    |
[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/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] [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] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 22 | enum External {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[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] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 44 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 45 | enum Internal {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[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] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 44 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 45 | enum Internal {
[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] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 66 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 67 | enum Untagged {
[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: 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] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 66 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 67 | enum Untagged {
[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] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 88 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 89 | enum Adjacent {
[INFO] [stdout]    |
[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/transparent.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:99:7
[INFO] [stdout]    |
[INFO] [stdout] 99 |     #[schemars(with = "i32")]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 88 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 89 | enum Adjacent {
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]     |
[INFO] [stdout] 111 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 112 | enum SimpleInternal {
[INFO] [stdout]     |
[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] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> tests/schema_with_struct.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 |     #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema,
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> tests/schema_with_struct.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema,
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schemars` in this scope
[INFO] [stdout]   --> tests/schema_with_struct.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct Newtype(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema);
[INFO] [stdout]    |                      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` 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] 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/schema_with_struct.rs:47:3
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[schemars(transparent)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 48 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 49 | pub struct TransparentNewtype(#[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:33
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct TransparentNewtype(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema);
[INFO] [stdout]    |                                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> tests/transparent.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[serde(transparent)]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 14 + #[derive(Deserialize, JsonSchema, JsonSchema_repr, Serialize)]
[INFO] [stdout] 15 | pub struct TransparentStruct {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> tests/transparent.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[serde(with = "TransparentNewType")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[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/transparent.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[schemars(transparent)]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 22 | pub struct TransparentNewType(Option<InnerStruct>);
[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] [stderr] error: could not compile `ckb_schemars` (test "result") due to 3 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: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 ckb_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] [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 ckb_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] 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 `ckb_schemars` (test "enum") due to 12 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[E0599]: no function or associated item named `schema_name` found for struct `Struct` in the current scope
[INFO] [stdout]   --> tests/dereference.rs:15:64
[INFO] [stdout]    |
[INFO] [stdout]  6 | struct Struct {
[INFO] [stdout]    | ------------- function or associated item `schema_name` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     let struct_schema = generator.definitions().get(&<Struct>::schema_name()).unwrap();
[INFO] [stdout]    |                                                                ^^^^^^^^^^^ function or associated item not found in `Struct`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `schema_name`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `ckb_schemars::JsonSchema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ckb_schemars` (test "transparent") due to 6 previous errors
[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: 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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[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/bound.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: 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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout] 
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` 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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ckb_schemars` (test "schema_with_struct") due to 12 previous errors
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` 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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this 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] 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:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[validate(range(min = 0.01, max = 100))]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `validate` is an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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 `ckb_schemars` (test "dereference") due to 3 previous errors
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[validate(regex(path = "STARTS_WITH_HELLO", code = "foo"))]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `validate` is an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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 `ckb_schemars` (test "validate_inner") due to 10 previous errors
[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/struct_additional_properties.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 `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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 |     #[validate(email)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `validate` is an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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 `ckb_schemars` (example "serde_attrs") due to 1 previous error
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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/bound.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[schemars(bound = "T::Item: JsonSchema", rename = "MyContainer")]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(JsonSchema, JsonSchema_repr)]
[INFO] [stdout] 22 | pub struct MyContainer<T>
[INFO] [stdout]    |
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 |     #[validate(length(min = 1, max = 100))]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `validate` is an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 |     #[validate(length(min = "MIN", max = "MAX"))]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `validate` is an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 |     #[validate(required)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `validate` is an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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:45:7
[INFO] [stdout]    |
[INFO] [stdout] 45 |     #[validate(required)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `validate` is an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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/validate.rs:47:7
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[serde(flatten)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` 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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` 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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ckb_schemars` (test "bound") due to 4 previous errors
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[INFO] [stdout] 
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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]    = note: `schemars` is an attribute that can be used by the derive macros `JsonSchema` and `JsonSchema_repr`, you might be missing a `derive` attribute
[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 an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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/struct_additional_properties.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[serde(deny_unknown_fields)]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: `serde` is an attribute that can be used by the derive macros `Deserialize`, `JsonSchema`, `JsonSchema_repr` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]   |
[INFO] [stdout] 8 + #[derive(Deserialize, JsonSchema, JsonSchema_repr, Serialize)]
[INFO] [stdout] 9 | pub struct Struct {
[INFO] [stdout]   |
[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<bool>,
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `validate` is an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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 an attribute that can be used by the derive macro `JsonSchema`, you might be missing a `derive` attribute
[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] 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 `ckb_schemars` (test "validate") due to 43 previous errors
[INFO] [stderr] error: could not compile `ckb_schemars` (test "struct_additional_properties") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "0ef750f7f4d95b7da8c8083215eef7e962848bfe946b3017431e56d41693cece", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ef750f7f4d95b7da8c8083215eef7e962848bfe946b3017431e56d41693cece", kill_on_drop: false }`
[INFO] [stdout] 0ef750f7f4d95b7da8c8083215eef7e962848bfe946b3017431e56d41693cece
