[INFO] fetching crate tamasfe-schemars 0.8.1... [INFO] checking tamasfe-schemars-0.8.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate tamasfe-schemars 0.8.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate tamasfe-schemars 0.8.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.35 [INFO] [stderr] Downloaded tamasfe-schemars_derive v0.8.0 [INFO] [stderr] Downloaded dyn-clone v1.0.2 [INFO] [stderr] Downloaded const_fn v0.4.2 [INFO] [stderr] Downloaded standback v0.2.11 [INFO] [stderr] Downloaded time v0.2.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 708a1d610d6e8f1275c0703b86fc0f9527bffb11489e17d9c3250120a2f21e75 [INFO] running `Command { std: "docker" "start" "-a" "708a1d610d6e8f1275c0703b86fc0f9527bffb11489e17d9c3250120a2f21e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "708a1d610d6e8f1275c0703b86fc0f9527bffb11489e17d9c3250120a2f21e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708a1d610d6e8f1275c0703b86fc0f9527bffb11489e17d9c3250120a2f21e75", kill_on_drop: false }` [INFO] [stdout] 708a1d610d6e8f1275c0703b86fc0f9527bffb11489e17d9c3250120a2f21e75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8c4fc5035d8b27813a65e682a72c179d2bf3d4bdb0c38aad0825cd2702d4703 [INFO] running `Command { std: "docker" "start" "-a" "c8c4fc5035d8b27813a65e682a72c179d2bf3d4bdb0c38aad0825cd2702d4703", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [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 tamasfe-schemars v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking dyn-clone v1.0.2 [INFO] [stderr] Checking glob v0.3.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/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[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/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[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/struct.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[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[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[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[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/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/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[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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> 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[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[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/enum.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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tamasfe-schemars` (example "custom_settings") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "struct") due to 3 previous errors [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] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `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] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/struct_additional_properties.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot 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] = note: `serde` is in scope, but it is a crate, not an attribute [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] = note: `serde` is in scope, but it is a crate, not an attribute [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] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/examples.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "time") due to 3 previous errors [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] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `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: 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] = note: `serde` is in scope, but it is a crate, not an attribute [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/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[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use schemars::{gen::SchemaSettings, schema::RootSchema, schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schemars` [INFO] [stdout] --> tests/remote_derive_generic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `schemars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot 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] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_name.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[schemars(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/flatten.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[schemars(rename = "Flat")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/flatten.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[schemars(flatten)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot 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] = note: `serde` is in scope, but it is a crate, not an attribute [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] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.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] --> 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] --> 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: 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] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/flatten.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[schemars(with = "i32")] [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/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] --> examples/schemars_attrs.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[schemars(default)] [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 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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/examples.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[schemars(example = "Struct::default", example = "null")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.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/examples.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[schemars(example = "eight", example = "null")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [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] [stderr] error: could not compile `tamasfe-schemars` (example "remote_derive") due to 4 previous errors [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/examples.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[schemars(example = "null")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/enum.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[schemars(with = "i32")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/struct_additional_properties.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "property_name") due to 7 previous errors [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/remote_derive_generic.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[schemars(with = "HashMap::>")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[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 struct [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: 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schemars` in this scope [INFO] [stdout] --> tests/schema_with_struct.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [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] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [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] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tamasfe-schemars` (example "serde_attrs") due to 1 previous error [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "schema_name") due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "examples") due to 6 previous errors [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "dereference") due to 3 previous errors [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "flatten") due to 9 previous errors [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "remote_derive_generic") due to 4 previous errors [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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use tamasfe_schemars::gen; [INFO] [stdout] | [INFO] [stdout] help: if you import `gen`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - fn schema_fn(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] 5 + fn schema_fn(gen: &mut gen::SchemaGenerator) -> schemars::schema::Schema { [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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use tamasfe_schemars::schema; [INFO] [stdout] | [INFO] [stdout] help: if you import `schema`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - fn schema_fn(gen: &mut schemars::gen::SchemaGenerator) -> schemars::schema::Schema { [INFO] [stdout] 5 + fn schema_fn(gen: &mut schemars::gen::SchemaGenerator) -> schema::Schema { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "enum") due to 11 previous errors [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "struct_additional_properties") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tamasfe-schemars` (example "schemars_attrs") due to 5 previous errors [INFO] [stderr] error: could not compile `tamasfe-schemars` (test "schema_with_struct") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "c8c4fc5035d8b27813a65e682a72c179d2bf3d4bdb0c38aad0825cd2702d4703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c4fc5035d8b27813a65e682a72c179d2bf3d4bdb0c38aad0825cd2702d4703", kill_on_drop: false }` [INFO] [stdout] c8c4fc5035d8b27813a65e682a72c179d2bf3d4bdb0c38aad0825cd2702d4703