[INFO] fetching crate schematic_types 0.11.3... [INFO] testing schematic_types-0.11.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate schematic_types 0.11.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate schematic_types 0.11.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate schematic_types 0.11.3 [INFO] tweaked toml for crates.io crate schematic_types 0.11.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate schematic_types 0.11.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate schematic_types 0.11.3 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.19.0 [INFO] [stderr] Downloaded serde_spanned v1.0.4 [INFO] [stderr] Downloaded starbase_styles v0.6.5 [INFO] [stderr] Downloaded proc-macro-crate v3.4.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded typeid v1.0.3 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded dunce v1.0.5 [INFO] [stderr] Downloaded float-cmp v0.10.0 [INFO] [stderr] Downloaded toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Downloaded doc-comment v0.3.4 [INFO] [stderr] Downloaded find-msvc-tools v0.1.7 [INFO] [stderr] Downloaded relative-path v2.0.1 [INFO] [stderr] Downloaded rmp v0.8.15 [INFO] [stderr] Downloaded toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Downloaded borsh v1.6.0 [INFO] [stderr] Downloaded cc v1.2.52 [INFO] [stderr] Downloaded ron v0.12.0 [INFO] [stderr] Downloaded rkyv v0.7.46 [INFO] [stderr] Downloaded insta v1.46.0 [INFO] [stderr] Downloaded rust_decimal v1.39.0 [INFO] [stderr] Downloaded icu_properties_data v2.1.2 [INFO] [stderr] Downloaded zerocopy-derive v0.8.33 [INFO] [stderr] Downloaded yansi v1.0.1 [INFO] [stderr] Downloaded url v2.5.8 [INFO] [stderr] Downloaded tinyvec v1.10.0 [INFO] [stderr] Downloaded serde_norway v0.9.42 [INFO] [stderr] Downloaded zerocopy v0.8.33 [INFO] [stderr] Downloaded ryu v1.0.22 [INFO] [stderr] Downloaded bstr v1.12.1 [INFO] [stderr] Downloaded pretty_assertions v1.4.1 [INFO] [stderr] Downloaded bumpalo v3.19.1 [INFO] [stderr] Downloaded unsafe-libyaml-norway v0.2.15 [INFO] [stderr] Downloaded ignore v0.4.25 [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded tempfile v3.24.0 [INFO] [stderr] Downloaded owo-colors v4.2.3 [INFO] [stderr] Downloaded starbase_utils v0.12.4 [INFO] [stderr] Downloaded toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Downloaded toml v0.9.11+spec-1.1.0 [INFO] [stderr] Downloaded icu_properties v2.1.2 [INFO] [stderr] Downloaded rmp-serde v1.3.1 [INFO] [stderr] Downloaded rmpv v1.3.1 [INFO] [stderr] Downloaded rpkl v0.7.0 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded borsh-derive v1.6.0 [INFO] [stderr] Downloaded rkyv_derive v0.7.46 [INFO] [stderr] Downloaded zmij v1.0.13 [INFO] [stderr] Downloaded assert_cmd v2.1.2 [INFO] [stderr] Downloaded globset v0.4.18 [INFO] [stderr] Downloaded assert_fs v1.1.3 [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded normalize-line-endings v0.3.0 [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded supports-color v3.0.2 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded starbase_sandbox v0.10.3 [INFO] [stderr] Downloaded toml_datetime v0.7.5+spec-1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0e32f76891cefe65961644e0d052cafa58083f2b98a443305e447caa8c9f554 [INFO] running `Command { std: "docker" "start" "-a" "b0e32f76891cefe65961644e0d052cafa58083f2b98a443305e447caa8c9f554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0e32f76891cefe65961644e0d052cafa58083f2b98a443305e447caa8c9f554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0e32f76891cefe65961644e0d052cafa58083f2b98a443305e447caa8c9f554", kill_on_drop: false }` [INFO] [stdout] b0e32f76891cefe65961644e0d052cafa58083f2b98a443305e447caa8c9f554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 117ad9d58b4aa19956aca9843794625d3834b3355e697942ab0faef96711bf8c [INFO] running `Command { std: "docker" "start" "-a" "117ad9d58b4aa19956aca9843794625d3834b3355e697942ab0faef96711bf8c", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling schematic_types v0.11.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.48s [INFO] running `Command { std: "docker" "inspect" "117ad9d58b4aa19956aca9843794625d3834b3355e697942ab0faef96711bf8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117ad9d58b4aa19956aca9843794625d3834b3355e697942ab0faef96711bf8c", kill_on_drop: false }` [INFO] [stdout] 117ad9d58b4aa19956aca9843794625d3834b3355e697942ab0faef96711bf8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b429f229ccde9f817180a45bd05476b58b2ee2590da1600f69f9149e80bd801 [INFO] running `Command { std: "docker" "start" "-a" "2b429f229ccde9f817180a45bd05476b58b2ee2590da1600f69f9149e80bd801", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling starbase_styles v0.6.5 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling insta v1.46.0 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling starbase_utils v0.12.4 [INFO] [stderr] Compiling starbase_sandbox v0.10.3 [INFO] [stderr] Compiling schematic_types v0.11.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 47 | assert_build!((), SchemaType::Null, "null"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 47 | assert_build!((), SchemaType::Null, "null"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 49 | assert_build!(bool, SchemaType::Boolean(Box::default()), "bool"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 49 | assert_build!(bool, SchemaType::Boolean(Box::default()), "bool"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 51 | assert_build!(&bool, SchemaType::Boolean(Box::default()), "bool"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 51 | assert_build!(&bool, SchemaType::Boolean(Box::default()), "bool"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 53 | assert_build!(&mut bool, SchemaType::Boolean(Box::default()), "bool"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 53 | assert_build!(&mut bool, SchemaType::Boolean(Box::default()), "bool"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 55 | assert_build!(Box, SchemaType::Boolean(Box::default()), "bool"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 55 | assert_build!(Box, SchemaType::Boolean(Box::default()), "bool"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 57 | / assert_build!( [INFO] [stdout] 58 | | Option, [INFO] [stdout] 59 | | SchemaType::Union(Box::new(UnionType::new_any(vec![ [INFO] [stdout] 60 | | SchemaType::Boolean(Box::default()), [INFO] [stdout] ... | [INFO] [stdout] 63 | | "bool | null" [INFO] [stdout] 64 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 57 | / assert_build!( [INFO] [stdout] 58 | | Option, [INFO] [stdout] 59 | | SchemaType::Union(Box::new(UnionType::new_any(vec![ [INFO] [stdout] 60 | | SchemaType::Boolean(Box::default()), [INFO] [stdout] ... | [INFO] [stdout] 63 | | "bool | null" [INFO] [stdout] 64 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 69 | / assert_build!( [INFO] [stdout] 70 | | Vec, [INFO] [stdout] 71 | | SchemaType::Array(Box::new(ArrayType::new(SchemaType::String(Box::default())))), [INFO] [stdout] 72 | | "[string]" [INFO] [stdout] 73 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 69 | / assert_build!( [INFO] [stdout] 70 | | Vec, [INFO] [stdout] 71 | | SchemaType::Array(Box::new(ArrayType::new(SchemaType::String(Box::default())))), [INFO] [stdout] 72 | | "[string]" [INFO] [stdout] 73 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 75 | / assert_build!( [INFO] [stdout] 76 | | &[String], [INFO] [stdout] 77 | | SchemaType::Array(Box::new(ArrayType::new(SchemaType::String(Box::default())))), [INFO] [stdout] 78 | | "[string]" [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 75 | / assert_build!( [INFO] [stdout] 76 | | &[String], [INFO] [stdout] 77 | | SchemaType::Array(Box::new(ArrayType::new(SchemaType::String(Box::default())))), [INFO] [stdout] 78 | | "[string]" [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 81 | / assert_build!( [INFO] [stdout] 82 | | [String; 3], [INFO] [stdout] 83 | | SchemaType::Array(Box::new(ArrayType { [INFO] [stdout] 84 | | items_type: Box::new(Schema::string(StringType::default())), [INFO] [stdout] ... | [INFO] [stdout] 89 | | "[string]" [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 81 | / assert_build!( [INFO] [stdout] 82 | | [String; 3], [INFO] [stdout] 83 | | SchemaType::Array(Box::new(ArrayType { [INFO] [stdout] 84 | | items_type: Box::new(Schema::string(StringType::default())), [INFO] [stdout] ... | [INFO] [stdout] 89 | | "[string]" [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 92 | / assert_build!( [INFO] [stdout] 93 | | HashSet, [INFO] [stdout] 94 | | SchemaType::Array(Box::new(ArrayType { [INFO] [stdout] 95 | | items_type: Box::new(Schema::string(StringType::default())), [INFO] [stdout] ... | [INFO] [stdout] 99 | | "[string]" [INFO] [stdout] 100 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 92 | / assert_build!( [INFO] [stdout] 93 | | HashSet, [INFO] [stdout] 94 | | SchemaType::Array(Box::new(ArrayType { [INFO] [stdout] 95 | | items_type: Box::new(Schema::string(StringType::default())), [INFO] [stdout] ... | [INFO] [stdout] 99 | | "[string]" [INFO] [stdout] 100 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 102 | / assert_build!( [INFO] [stdout] 103 | | BTreeSet, [INFO] [stdout] 104 | | SchemaType::Array(Box::new(ArrayType { [INFO] [stdout] 105 | | items_type: Box::new(Schema::string(StringType::default())), [INFO] [stdout] ... | [INFO] [stdout] 109 | | "[string]" [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 102 | / assert_build!( [INFO] [stdout] 103 | | BTreeSet, [INFO] [stdout] 104 | | SchemaType::Array(Box::new(ArrayType { [INFO] [stdout] 105 | | items_type: Box::new(Schema::string(StringType::default())), [INFO] [stdout] ... | [INFO] [stdout] 109 | | "[string]" [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 115 | / assert_build!( [INFO] [stdout] 116 | | u8, [INFO] [stdout] 117 | | SchemaType::Integer(Box::new(IntegerType::new_kind(IntegerKind::U8))), [INFO] [stdout] 118 | | "u8" [INFO] [stdout] 119 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 115 | / assert_build!( [INFO] [stdout] 116 | | u8, [INFO] [stdout] 117 | | SchemaType::Integer(Box::new(IntegerType::new_kind(IntegerKind::U8))), [INFO] [stdout] 118 | | "u8" [INFO] [stdout] 119 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 121 | / assert_build!( [INFO] [stdout] 122 | | i32, [INFO] [stdout] 123 | | SchemaType::Integer(Box::new(IntegerType::new_kind(IntegerKind::I32))), [INFO] [stdout] 124 | | "i32" [INFO] [stdout] 125 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 121 | / assert_build!( [INFO] [stdout] 122 | | i32, [INFO] [stdout] 123 | | SchemaType::Integer(Box::new(IntegerType::new_kind(IntegerKind::I32))), [INFO] [stdout] 124 | | "i32" [INFO] [stdout] 125 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 130 | / assert_build!( [INFO] [stdout] 131 | | f32, [INFO] [stdout] 132 | | SchemaType::Float(Box::new(FloatType::new_kind(FloatKind::F32))), [INFO] [stdout] 133 | | "f32" [INFO] [stdout] 134 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 130 | / assert_build!( [INFO] [stdout] 131 | | f32, [INFO] [stdout] 132 | | SchemaType::Float(Box::new(FloatType::new_kind(FloatKind::F32))), [INFO] [stdout] 133 | | "f32" [INFO] [stdout] 134 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 136 | / assert_build!( [INFO] [stdout] 137 | | f64, [INFO] [stdout] 138 | | SchemaType::Float(Box::new(FloatType::new_kind(FloatKind::F64))), [INFO] [stdout] 139 | | "f64" [INFO] [stdout] 140 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 136 | / assert_build!( [INFO] [stdout] 137 | | f64, [INFO] [stdout] 138 | | SchemaType::Float(Box::new(FloatType::new_kind(FloatKind::F64))), [INFO] [stdout] 139 | | "f64" [INFO] [stdout] 140 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 145 | / assert_build!( [INFO] [stdout] 146 | | HashMap, [INFO] [stdout] 147 | | SchemaType::Object(Box::new(ObjectType::new( [INFO] [stdout] 148 | | Schema::string(StringType::default()), [INFO] [stdout] ... | [INFO] [stdout] 151 | | "{string: Named}" [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 145 | / assert_build!( [INFO] [stdout] 146 | | HashMap, [INFO] [stdout] 147 | | SchemaType::Object(Box::new(ObjectType::new( [INFO] [stdout] 148 | | Schema::string(StringType::default()), [INFO] [stdout] ... | [INFO] [stdout] 151 | | "{string: Named}" [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 154 | / assert_build!( [INFO] [stdout] 155 | | BTreeMap, [INFO] [stdout] 156 | | SchemaType::Object(Box::new(ObjectType::new( [INFO] [stdout] 157 | | SchemaType::Integer(Box::new(IntegerType::new_kind(IntegerKind::U128))), [INFO] [stdout] ... | [INFO] [stdout] 160 | | "{u128: Named}" [INFO] [stdout] 161 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 154 | / assert_build!( [INFO] [stdout] 155 | | BTreeMap, [INFO] [stdout] 156 | | SchemaType::Object(Box::new(ObjectType::new( [INFO] [stdout] 157 | | SchemaType::Integer(Box::new(IntegerType::new_kind(IntegerKind::U128))), [INFO] [stdout] ... | [INFO] [stdout] 160 | | "{u128: Named}" [INFO] [stdout] 161 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 166 | / assert_build!( [INFO] [stdout] 167 | | char, [INFO] [stdout] 168 | | SchemaType::String(Box::new(StringType { [INFO] [stdout] 169 | | max_length: Some(1), [INFO] [stdout] ... | [INFO] [stdout] 173 | | "char" [INFO] [stdout] 174 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 166 | / assert_build!( [INFO] [stdout] 167 | | char, [INFO] [stdout] 168 | | SchemaType::String(Box::new(StringType { [INFO] [stdout] 169 | | max_length: Some(1), [INFO] [stdout] ... | [INFO] [stdout] 173 | | "char" [INFO] [stdout] 174 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 176 | assert_build!(&str, SchemaType::String(Box::default()), "string"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 176 | assert_build!(&str, SchemaType::String(Box::default()), "string"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 178 | assert_build!(String, SchemaType::String(Box::default()), "string"); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 178 | assert_build!(String, SchemaType::String(Box::default()), "string"); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 180 | / assert_build!( [INFO] [stdout] 181 | | &Path, [INFO] [stdout] 182 | | SchemaType::String(Box::new(StringType { [INFO] [stdout] 183 | | format: Some("path".into()), [INFO] [stdout] ... | [INFO] [stdout] 186 | | "string:path" [INFO] [stdout] 187 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 180 | / assert_build!( [INFO] [stdout] 181 | | &Path, [INFO] [stdout] 182 | | SchemaType::String(Box::new(StringType { [INFO] [stdout] 183 | | format: Some("path".into()), [INFO] [stdout] ... | [INFO] [stdout] 186 | | "string:path" [INFO] [stdout] 187 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 189 | / assert_build!( [INFO] [stdout] 190 | | PathBuf, [INFO] [stdout] 191 | | SchemaType::String(Box::new(StringType { [INFO] [stdout] 192 | | format: Some("path".into()), [INFO] [stdout] ... | [INFO] [stdout] 195 | | "string:path" [INFO] [stdout] 196 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 189 | / assert_build!( [INFO] [stdout] 190 | | PathBuf, [INFO] [stdout] 191 | | SchemaType::String(Box::new(StringType { [INFO] [stdout] 192 | | format: Some("path".into()), [INFO] [stdout] ... | [INFO] [stdout] 195 | | "string:path" [INFO] [stdout] 196 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 198 | / assert_build!( [INFO] [stdout] 199 | | Ipv4Addr, [INFO] [stdout] 200 | | SchemaType::String(Box::new(StringType { [INFO] [stdout] 201 | | format: Some("ipv4".into()), [INFO] [stdout] ... | [INFO] [stdout] 204 | | "string:ipv4" [INFO] [stdout] 205 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 198 | / assert_build!( [INFO] [stdout] 199 | | Ipv4Addr, [INFO] [stdout] 200 | | SchemaType::String(Box::new(StringType { [INFO] [stdout] 201 | | format: Some("ipv4".into()), [INFO] [stdout] ... | [INFO] [stdout] 204 | | "string:ipv4" [INFO] [stdout] 205 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 207 | / assert_build!( [INFO] [stdout] 208 | | Duration, [INFO] [stdout] 209 | | SchemaType::String(Box::new(StringType { [INFO] [stdout] 210 | | format: Some("duration".into()), [INFO] [stdout] ... | [INFO] [stdout] 213 | | "string:duration" [INFO] [stdout] 214 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 207 | / assert_build!( [INFO] [stdout] 208 | | Duration, [INFO] [stdout] 209 | | SchemaType::String(Box::new(StringType { [INFO] [stdout] 210 | | format: Some("duration".into()), [INFO] [stdout] ... | [INFO] [stdout] 213 | | "string:duration" [INFO] [stdout] 214 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 237 | / assert_build!( [INFO] [stdout] 238 | | TestStruct, [INFO] [stdout] 239 | | SchemaType::Struct(Box::new(StructType::new([ [INFO] [stdout] ... | [INFO] [stdout] 251 | | "TestStruct" [INFO] [stdout] 252 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 237 | / assert_build!( [INFO] [stdout] 238 | | TestStruct, [INFO] [stdout] 239 | | SchemaType::Struct(Box::new(StructType::new([ [INFO] [stdout] ... | [INFO] [stdout] 251 | | "TestStruct" [INFO] [stdout] 252 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let input = serde_json::to_string_pretty(&schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 257 | / assert_build!( [INFO] [stdout] 258 | | (bool, i16, f32, String), [INFO] [stdout] 259 | | SchemaType::Tuple(Box::new(TupleType::new(vec![ [INFO] [stdout] 260 | | SchemaType::Boolean(Box::default()), [INFO] [stdout] ... | [INFO] [stdout] 265 | | "(bool, i16, f32, string)" [INFO] [stdout] 266 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/builder_test.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let output: Schema = serde_json::from_str(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] ... [INFO] [stdout] 257 | / assert_build!( [INFO] [stdout] 258 | | (bool, i16, f32, String), [INFO] [stdout] 259 | | SchemaType::Tuple(Box::new(TupleType::new(vec![ [INFO] [stdout] 260 | | SchemaType::Boolean(Box::default()), [INFO] [stdout] ... | [INFO] [stdout] 265 | | "(bool, i16, f32, string)" [INFO] [stdout] 266 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `assert_build` (in Nightly builds, run with -Z macro-backtrace for more info) [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_types` (test "builder_test") due to 52 previous errors [INFO] running `Command { std: "docker" "inspect" "2b429f229ccde9f817180a45bd05476b58b2ee2590da1600f69f9149e80bd801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b429f229ccde9f817180a45bd05476b58b2ee2590da1600f69f9149e80bd801", kill_on_drop: false }` [INFO] [stdout] 2b429f229ccde9f817180a45bd05476b58b2ee2590da1600f69f9149e80bd801