[INFO] fetching crate tamasfe-schemars 0.8.0... [INFO] checking tamasfe-schemars-0.8.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate tamasfe-schemars 0.8.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate tamasfe-schemars 0.8.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tamasfe-schemars 0.8.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tamasfe-schemars 0.8.0 [INFO] tweaked toml for crates.io crate tamasfe-schemars 0.8.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate tamasfe-schemars 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tamasfe-schemars_derive v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b24598968e94b674f1049daf854c67599d3f2225bc4e2ca5170f902648cd787 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b24598968e94b674f1049daf854c67599d3f2225bc4e2ca5170f902648cd787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b24598968e94b674f1049daf854c67599d3f2225bc4e2ca5170f902648cd787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b24598968e94b674f1049daf854c67599d3f2225bc4e2ca5170f902648cd787", kill_on_drop: false }` [INFO] [stdout] 5b24598968e94b674f1049daf854c67599d3f2225bc4e2ca5170f902648cd787 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ddd855cfadd2d604f308dbe7f940c8c160e49d543fc76813f3534d26031446f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ddd855cfadd2d604f308dbe7f940c8c160e49d543fc76813f3534d26031446f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling tamasfe-schemars v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking dyn-clone v1.0.2 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling tamasfe-schemars_derive v0.8.0 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking trybuild v1.0.35 [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/remote_derive_generic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/remote_derive_generic.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(JsonSchema, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/remote_derive_generic.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(JsonSchema, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/remote_derive_generic.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(JsonSchema, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/remote_derive_generic.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[schemars(with = "HashMap::>")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> tests/remote_derive_generic.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] --> examples/custom_settings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{gen::SchemaSettings, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tamasfe-schemars` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/examples.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Default, Debug, JsonSchema, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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/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/examples.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[schemars(example = "null")] [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::{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/schema_name.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 determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/schema_name.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/schema_name.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/schema_name.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/schema_name.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[serde(rename = "a-new-name-{W}-{T}-{T}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_name.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[schemars(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/schema_name.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/schema_name.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[serde(rename = "this-attribute-is-ignored")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_name.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[schemars(rename = "another-new-name")] [INFO] [stdout] | ^^^^^^^^ [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[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/time.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 determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/time.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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/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: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/range.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/custom_settings.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{gen::SchemaSettings, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> examples/custom_settings.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> examples/custom_settings.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/remote_derive.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, JsonSchema, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/remote_derive.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, JsonSchema, Serialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [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[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [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::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [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 undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/struct_additional_properties.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/struct_additional_properties.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [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/schema_with_struct.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 determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/schema_with_struct.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/inline_subschemas.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::gen::SchemaSettings; [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/inline_subschemas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_with_struct.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/inline_subschemas.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/inline_subschemas.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_with_struct.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/schema_with_struct.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] [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] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/schema_with_struct.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchemaSettings` [INFO] [stdout] --> examples/custom_settings.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let settings = SchemaSettings::draft07().with(|s| { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/ffi.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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/flatten.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 determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/flatten.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/flatten.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/flatten.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/flatten.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[schemars(rename = "Flat")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/flatten.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[schemars(flatten)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/flatten.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/flatten.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/flatten.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/flatten.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/flatten.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/flatten.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[serde(default)] [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::{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/deprecated.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: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/deprecated.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/deprecated.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [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::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [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] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/default.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Default, Deserialize, Serialize, JsonSchema, Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/default.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Default, Deserialize, Serialize, JsonSchema, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchemaSettings` [INFO] [stdout] --> tests/inline_subschemas.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let mut settings = SchemaSettings::openapi3(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use tamasfe_schemars::gen::SchemaSettings; [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::{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/struct.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 determine resolution for the macro `schema_for` [INFO] [stdout] --> tests/util/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let actual = schema_for!(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/struct.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/struct.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/struct.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/struct.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/schema_with_struct.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | fn schema_fn(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [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/schema_with_struct.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | fn schema_fn(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [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: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchemaSettings` in this scope [INFO] [stdout] --> tests/util/mod.rs:10:67 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generated_schema(file: &str, settings: SchemaSettings) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::gen::SchemaSettings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_schema(actual: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootSchema` in this scope [INFO] [stdout] --> tests/util/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_actual_to_file(schema: &RootSchema, file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use tamasfe_schemars::schema::RootSchema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9ddd855cfadd2d604f308dbe7f940c8c160e49d543fc76813f3534d26031446f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ddd855cfadd2d604f308dbe7f940c8c160e49d543fc76813f3534d26031446f", kill_on_drop: false }` [INFO] [stdout] 9ddd855cfadd2d604f308dbe7f940c8c160e49d543fc76813f3534d26031446f