[INFO] fetching crate schematic_types 0.10.6... [INFO] testing schematic_types-0.10.6 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate schematic_types 0.10.6 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate schematic_types 0.10.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate schematic_types 0.10.6 [INFO] tweaked toml for crates.io crate schematic_types 0.10.6 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate schematic_types 0.10.6 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate schematic_types 0.10.6 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0afea7553f06d09c6d8df305ad86d83d9af8c8ff16516910ec4b40b4e0f79efe [INFO] running `Command { std: "docker" "start" "-a" "0afea7553f06d09c6d8df305ad86d83d9af8c8ff16516910ec4b40b4e0f79efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0afea7553f06d09c6d8df305ad86d83d9af8c8ff16516910ec4b40b4e0f79efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0afea7553f06d09c6d8df305ad86d83d9af8c8ff16516910ec4b40b4e0f79efe", kill_on_drop: false }` [INFO] [stdout] 0afea7553f06d09c6d8df305ad86d83d9af8c8ff16516910ec4b40b4e0f79efe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6675ccf706f785f9e9deb9301f1f9871f4035873b05bcd706a7b9bad842c764a [INFO] running `Command { std: "docker" "start" "-a" "6675ccf706f785f9e9deb9301f1f9871f4035873b05bcd706a7b9bad842c764a", kill_on_drop: false }` [INFO] [stderr] Compiling schematic_types v0.10.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "6675ccf706f785f9e9deb9301f1f9871f4035873b05bcd706a7b9bad842c764a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6675ccf706f785f9e9deb9301f1f9871f4035873b05bcd706a7b9bad842c764a", kill_on_drop: false }` [INFO] [stdout] 6675ccf706f785f9e9deb9301f1f9871f4035873b05bcd706a7b9bad842c764a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27ac387fb92aad5f0db471200b258bef5b5a40af6eb067bd27e0fed8888450f2 [INFO] running `Command { std: "docker" "start" "-a" "27ac387fb92aad5f0db471200b258bef5b5a40af6eb067bd27e0fed8888450f2", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling clean-path v0.2.1 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling starbase_styles v0.6.3 [INFO] [stderr] Compiling starbase_utils v0.11.13 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.3 [INFO] [stderr] Compiling starbase_sandbox v0.9.4 [INFO] [stderr] Compiling schematic_types v0.10.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [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" "27ac387fb92aad5f0db471200b258bef5b5a40af6eb067bd27e0fed8888450f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27ac387fb92aad5f0db471200b258bef5b5a40af6eb067bd27e0fed8888450f2", kill_on_drop: false }` [INFO] [stdout] 27ac387fb92aad5f0db471200b258bef5b5a40af6eb067bd27e0fed8888450f2