[INFO] fetching crate tamasfe-schemars 0.8.1... [INFO] checking tamasfe-schemars-0.8.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate tamasfe-schemars 0.8.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tamasfe-schemars 0.8.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tamasfe-schemars 0.8.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tamasfe-schemars 0.8.1 [INFO] tweaked toml for crates.io crate tamasfe-schemars 0.8.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate tamasfe-schemars 0.8.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5daba0fbe2283ff6eabe3578f620fb322354ba7ff0e75f438254b66822564089 [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" "5daba0fbe2283ff6eabe3578f620fb322354ba7ff0e75f438254b66822564089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5daba0fbe2283ff6eabe3578f620fb322354ba7ff0e75f438254b66822564089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5daba0fbe2283ff6eabe3578f620fb322354ba7ff0e75f438254b66822564089", kill_on_drop: false }` [INFO] [stdout] 5daba0fbe2283ff6eabe3578f620fb322354ba7ff0e75f438254b66822564089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a6348dee27dba162738119edaf93f56d43898623404b0eb507831ab2288b9777 [INFO] running `Command { std: "docker" "start" "-a" "a6348dee27dba162738119edaf93f56d43898623404b0eb507831ab2288b9777", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Compiling tamasfe-schemars v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking dyn-clone v1.0.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling tamasfe-schemars_derive v0.8.0 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/serde_attrs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> examples/serde_attrs.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Serialize, 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/serde_attrs.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Serialize, 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 macro `schema_for` [INFO] [stdout] --> examples/serde_attrs.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let schema = schema_for!(MyStruct); [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] --> 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[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/dereference.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{gen::SchemaGenerator, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tamasfe-schemars` [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [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[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] --> examples/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> examples/main.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/main.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: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> examples/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let schema = schema_for!(MyStruct); [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: aborting due to 4 previous errors [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 undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/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/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[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/dereference.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{gen::SchemaGenerator, 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] --> tests/dereference.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[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 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[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/result.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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/result.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/result.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[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[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 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] 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: 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 `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[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: 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 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: 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[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[E0433]: failed to resolve: use of undeclared type `SchemaGenerator` [INFO] [stdout] --> tests/dereference.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let mut gen = SchemaGenerator::default(); [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::SchemaGenerator; [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[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: 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[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[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] 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/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[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{JsonSchema, Map}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot 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/enum.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/enum.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 determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/enum.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[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/docs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, 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/docs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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 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/docs.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/docs.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[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/docs.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: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/docs.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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: 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[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: 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[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/schemars_attrs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::{schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> examples/schemars_attrs.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Serialize, 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/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: 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[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[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: 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[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: 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: 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: cannot find attribute `schemars` in this scope [INFO] [stdout] --> examples/schemars_attrs.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[schemars(rename_all = "camelCase", deny_unknown_fields)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> examples/schemars_attrs.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[schemars(rename = "myNumber")] [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: cannot find attribute `schemars` in this scope [INFO] [stdout] --> examples/schemars_attrs.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[schemars(default)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> examples/schemars_attrs.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Deserialize, Serialize, 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: cannot find attribute `schemars` in this scope [INFO] [stdout] --> examples/schemars_attrs.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[schemars(untagged)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> examples/schemars_attrs.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let schema = schema_for!(MyStruct); [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 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: 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: 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: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[schemars(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/enum.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 `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[schemars(tag = "typeProperty")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/docs.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | #[schemars(description = "New description")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/enum.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[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/docs.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[schemars(title = "My integer", description = "This is an i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/docs.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[schemars(title = "", description = "")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[schemars(untagged)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> tests/enum.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | #[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: 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: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[schemars(tag = "t", content = "c")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[schemars(with = "i32")] [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[E0433]: failed to resolve: use of undeclared type `SchemaSettings` [INFO] [stdout] --> tests/docs.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let settings = SchemaSettings::draft2019_09(); [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: aborting due to 16 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 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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 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[E0599]: no function or associated item named `schema_name` found for struct `Struct` in the current scope [INFO] [stdout] --> tests/dereference.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Struct { [INFO] [stdout] | ----------------- function or associated item `schema_name` not found for this [INFO] [stdout] ... [INFO] [stdout] 14 | let struct_schema = gen.definitions().get(&::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: `tamasfe_schemars::JsonSchema` [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, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a6348dee27dba162738119edaf93f56d43898623404b0eb507831ab2288b9777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6348dee27dba162738119edaf93f56d43898623404b0eb507831ab2288b9777", kill_on_drop: false }` [INFO] [stdout] a6348dee27dba162738119edaf93f56d43898623404b0eb507831ab2288b9777