[INFO] fetching crate tamasfe-schemars 0.8.1... [INFO] checking tamasfe-schemars-0.8.1 against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] extracting crate tamasfe-schemars 0.8.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate tamasfe-schemars 0.8.1 on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "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-7/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" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", 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] a12a95e596c183831efb8ea857ec32c2cb579706e19f535350645a737dcf3a19 [INFO] running `Command { std: "docker" "start" "-a" "a12a95e596c183831efb8ea857ec32c2cb579706e19f535350645a737dcf3a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a12a95e596c183831efb8ea857ec32c2cb579706e19f535350645a737dcf3a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a12a95e596c183831efb8ea857ec32c2cb579706e19f535350645a737dcf3a19", kill_on_drop: false }` [INFO] [stdout] a12a95e596c183831efb8ea857ec32c2cb579706e19f535350645a737dcf3a19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7c51b80564ee38c68a7f00e19f36b14f13989727c38f9c7f7ff3c796dab3b98 [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" "e7c51b80564ee38c68a7f00e19f36b14f13989727c38f9c7f7ff3c796dab3b98", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Compiling tamasfe-schemars v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking dyn-clone v1.0.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.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 tamasfe-schemars_derive v0.8.0 [INFO] [stderr] Checking toml v0.5.7 [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/derive_crate.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ::schemars as not_schemars; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `not_schemars::JsonSchema` [INFO] [stdout] --> tests/derive_crate.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, not_schemars::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/property_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/property_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[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/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[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[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: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/property_name.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [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 find attribute `serde` in this scope [INFO] [stdout] --> tests/property_name.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[serde(rename = "new_name_1")] [INFO] [stdout] | ^^^^^ [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] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/property_name.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(rename = "ignored")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/property_name.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[schemars(rename = "new_name_2")] [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/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[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/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: 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: 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[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[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/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[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/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: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 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[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 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: aborting due to 12 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 `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[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] [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: 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[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: 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[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/docs.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[schemars(title = "", description = "")] [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: aborting due to 18 previous errors [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] 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 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[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 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: 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[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[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 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[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] --> 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: 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[E0432]: unresolved import `schemars` [INFO] [stdout] --> examples/remote_derive.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 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/remote_derive.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[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 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: 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: 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: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/derive_crate.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[schemars(crate = "not_schemars")] [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: cannot find attribute `serde` in this scope [INFO] [stdout] --> examples/remote_derive.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[serde(remote = "Duration")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> examples/remote_derive.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(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: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: cannot find attribute `serde` in this scope [INFO] [stdout] --> examples/remote_derive.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[serde(with = "DurationDef")] [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 `serde` in this scope [INFO] [stdout] --> examples/remote_derive.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[serde(with = "Vec::")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `schema_for` [INFO] [stdout] --> examples/remote_derive.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let schema = schema_for!(Process); [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] 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[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: aborting due to 8 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 `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] 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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: aborting due to 11 previous errors [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] 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: 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[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/schema_name.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[schemars(rename = "another-new-name")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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] For more information about this error, try `rustc --explain E0432`. [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[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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e7c51b80564ee38c68a7f00e19f36b14f13989727c38f9c7f7ff3c796dab3b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c51b80564ee38c68a7f00e19f36b14f13989727c38f9c7f7ff3c796dab3b98", kill_on_drop: false }` [INFO] [stdout] e7c51b80564ee38c68a7f00e19f36b14f13989727c38f9c7f7ff3c796dab3b98