[INFO] fetching crate schematic 0.19.4... [INFO] testing schematic-0.19.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate schematic 0.19.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate schematic 0.19.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate schematic 0.19.4 [INFO] tweaked toml for crates.io crate schematic 0.19.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate schematic 0.19.4 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate schematic 0.19.4 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c63d88e3ce22441570dabd5cd8947df49fd1abc49a50cdafffcc3218d8f5cad [INFO] running `Command { std: "docker" "start" "-a" "3c63d88e3ce22441570dabd5cd8947df49fd1abc49a50cdafffcc3218d8f5cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c63d88e3ce22441570dabd5cd8947df49fd1abc49a50cdafffcc3218d8f5cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c63d88e3ce22441570dabd5cd8947df49fd1abc49a50cdafffcc3218d8f5cad", kill_on_drop: false }` [INFO] [stdout] 3c63d88e3ce22441570dabd5cd8947df49fd1abc49a50cdafffcc3218d8f5cad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a5e54196f8263b4802722c0d8056d26b2d9548a374ad77c6bf7a574d498f7dd [INFO] running `Command { std: "docker" "start" "-a" "3a5e54196f8263b4802722c0d8056d26b2d9548a374ad77c6bf7a574d498f7dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling schematic_types v0.11.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling starbase_styles v0.6.5 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling garde v0.22.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling schematic_macros v0.19.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde-content v0.1.2 [INFO] [stderr] Compiling schematic v0.19.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `settings::*` [INFO] [stdout] --> src/config/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use settings::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/loader.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut loader = ConfigLoader::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.71s [INFO] running `Command { std: "docker" "inspect" "3a5e54196f8263b4802722c0d8056d26b2d9548a374ad77c6bf7a574d498f7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5e54196f8263b4802722c0d8056d26b2d9548a374ad77c6bf7a574d498f7dd", kill_on_drop: false }` [INFO] [stdout] 3a5e54196f8263b4802722c0d8056d26b2d9548a374ad77c6bf7a574d498f7dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c6f62cfe0bf1c4707a4df9bd0954ee4fadb5a84b4de2cd6150da82f2b504990 [INFO] running `Command { std: "docker" "start" "-a" "4c6f62cfe0bf1c4707a4df9bd0954ee4fadb5a84b4de2cd6150da82f2b504990", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling vte v0.14.1 [INFO] [stderr] Compiling scc v2.4.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.1 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling insta v1.46.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling garde v0.22.1 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling serial_test_derive v3.3.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling serial_test v3.3.1 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling schematic_macros v0.19.3 [INFO] [stderr] Compiling starbase_utils v0.12.4 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling assert_fs v1.1.3 [INFO] [stderr] Compiling starbase_sandbox v0.10.3 [INFO] [stderr] Compiling serde-content v0.1.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling relative-path v2.0.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling schematic v0.19.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stdout] warning: unused import: `settings::*` [INFO] [stdout] --> src/config/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use settings::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/loader.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut loader = ConfigLoader::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.1 [INFO] [stdout] error[E0425]: cannot find function `email` in module `validate` [INFO] [stdout] --> tests/validate_test.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | #[setting(validate = validate::email)] [INFO] [stdout] | ^^^^^ not found in `validate` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/validate/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "validate_email")] [INFO] [stdout] | -------------------------- the item is gated behind the `validate_email` feature [INFO] [stdout] 2 | mod email; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `url` in module `validate` [INFO] [stdout] --> tests/validate_test.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | #[setting(validate = validate::url)] [INFO] [stdout] | ^^^ not found in `validate` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/validate/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "validate_url")] [INFO] [stdout] | ------------------------ the item is gated behind the `validate_url` feature [INFO] [stdout] 10 | mod url; [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 3 + use crate::color::url; [INFO] [stdout] | [INFO] [stdout] 3 + use schematic::color::url; [INFO] [stdout] | [INFO] [stdout] 3 + use starbase_styles::color::url; [INFO] [stdout] | [INFO] [stdout] help: if you import `url`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 92 - #[setting(validate = validate::url)] [INFO] [stdout] 92 + #[setting(validate = url)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `url_secure` in module `validate` [INFO] [stdout] --> tests/validate_test.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | #[setting(validate = validate::url_secure)] [INFO] [stdout] | ^^^^^^^^^^ not found in `validate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> tests/variants_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `settings::*` [INFO] [stdout] --> src/config/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use settings::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `schema` in this scope [INFO] [stdout] --> tests/macro_enum_test.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let mut generator = schema::SchemaGenerator::default(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `schema` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schema`, use `cargo add schema` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schematic::schema` [INFO] [stdout] --> tests/generator_test.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use schematic::schema::{SchemaGenerator, TemplateOptions}; [INFO] [stdout] | ^^^^^^ could not find `schema` in `schematic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "schema")] [INFO] [stdout] | ------------------ the item is gated behind the `schema` feature [INFO] [stdout] 22 | pub mod schema; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Schematic` in this scope [INFO] [stdout] --> tests/schematic_enum_test.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Schematic)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Schematic` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/schematic_enum_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use schematic::Schematic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schematic` in this scope [INFO] [stdout] --> tests/schematic_enum_test.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[schematic(rename_all = "snake_case")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `schematic` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schematic_enum_test.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[schema(exclude)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Schematic` in this scope [INFO] [stdout] --> tests/schematic_enum_test.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Default, Schematic)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Schematic` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/schematic_enum_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use schematic::Schematic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `schema` in this scope [INFO] [stdout] --> tests/schematic_enum_test.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[schema(exclude)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `schematic` (test "schematic_enum_test") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/loader.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut loader = ConfigLoader::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/macro_enum_test.rs:216:46 [INFO] [stdout] | [INFO] [stdout] 216 | let result: Result = serde_json::from_str(json); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/macro_enum_test.rs:257:35 [INFO] [stdout] | [INFO] [stdout] 257 | let result: PartialUntagged = serde_json::from_str(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/macro_enum_test.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | let result: PartialUntagged = serde_json::from_str(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/macro_enum_test.rs:267:35 [INFO] [stdout] | [INFO] [stdout] 267 | let result: PartialUntagged = serde_json::from_str(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/macro_enum_test.rs:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | let result: PartialUntagged = serde_json::from_str(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `schematic` (test "validate_test") due to 3 previous errors [INFO] [stdout] error[E0425]: cannot find type `RegexSetting` in this scope [INFO] [stdout] --> tests/generator_test.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | regex: RegexSetting, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VersionSetting` in this scope [INFO] [stdout] --> tests/generator_test.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | version2: VersionSetting, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RegexSetting` in this scope [INFO] [stdout] --> tests/generator_test.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | regex: RegexSetting, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | struct GenConfig { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VersionSetting` in this scope [INFO] [stdout] --> tests/generator_test.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | version2: VersionSetting, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | struct GenConfig { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `assert_snapshot` and `create_empty_sandbox` [INFO] [stdout] --> tests/generator_test.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use starbase_sandbox::{assert_snapshot, create_empty_sandbox}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> tests/generator_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IndexMap: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/generator_test.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone, Config)] [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `IndexMap` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `IndexMap` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a RelativePath [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 183 others [INFO] [stdout] = note: required for `std::option::Option>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12 [INFO] [stdout] | [INFO] [stdout] 1914 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1915 | where [INFO] [stdout] 1916 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] = note: this error originates in the derive macro `Config` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IndexSet: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/generator_test.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone, Config)] [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `IndexSet` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `IndexSet` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a RelativePath [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 183 others [INFO] [stdout] = note: required for `std::option::Option>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12 [INFO] [stdout] | [INFO] [stdout] 1914 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1915 | where [INFO] [stdout] 1916 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] = note: this error originates in the derive macro `Config` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IndexMap: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/generator_test.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone, Config)] [INFO] [stdout] | ^^^^^^ the trait `Serialize` is not implemented for `IndexMap` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `IndexMap` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 168 others [INFO] [stdout] = note: required for `std::option::Option>` to implement `Serialize` [INFO] [stdout] note: required by a bound in `serialize_entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1858:21 [INFO] [stdout] | [INFO] [stdout] 1855 | fn serialize_entry(&mut self, key: &K, value: &V) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1858 | V: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeMap::serialize_entry` [INFO] [stdout] = note: this error originates in the derive macro `Config` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IndexSet: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/generator_test.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone, Config)] [INFO] [stdout] | ^^^^^^ the trait `Serialize` is not implemented for `IndexSet` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `IndexSet` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 168 others [INFO] [stdout] = note: required for `std::option::Option>` to implement `Serialize` [INFO] [stdout] note: required by a bound in `serialize_entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1858:21 [INFO] [stdout] | [INFO] [stdout] 1855 | fn serialize_entry(&mut self, key: &K, value: &V) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1858 | V: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeMap::serialize_entry` [INFO] [stdout] = note: this error originates in the derive macro `Config` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `schema` in this scope [INFO] [stdout] --> tests/macro_enum_test.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | fn create_gen() -> schema::SchemaGenerator { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `schema` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `schema`, use `cargo add schema` to add it to your `Cargo.toml` [INFO] [stdout] help: a struct with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 152 - fn create_gen() -> schema::SchemaGenerator { [INFO] [stdout] 152 + fn create_gen() -> Schema::SchemaGenerator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `schematic` (test "macro_enum_test") due to 7 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/generator_test.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | flattened: HashMap, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/generator_test.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | json_value: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `toml` in this scope [INFO] [stdout] --> tests/generator_test.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | toml_value: Option, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_norway` in this scope [INFO] [stdout] --> tests/generator_test.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | yaml_value: serde_norway::Value, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_norway` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_norway`, use `cargo add serde_norway` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `schematic` (test "generator_test") due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c6f62cfe0bf1c4707a4df9bd0954ee4fadb5a84b4de2cd6150da82f2b504990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6f62cfe0bf1c4707a4df9bd0954ee4fadb5a84b4de2cd6150da82f2b504990", kill_on_drop: false }` [INFO] [stdout] 4c6f62cfe0bf1c4707a4df9bd0954ee4fadb5a84b4de2cd6150da82f2b504990