[INFO] fetching crate schema_jsonrs 0.1.0... [INFO] testing schema_jsonrs-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate schema_jsonrs 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate schema_jsonrs 0.1.0 [INFO] finished tweaking crates.io crate schema_jsonrs 0.1.0 [INFO] tweaked toml for crates.io crate schema_jsonrs 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate schema_jsonrs 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate schema_jsonrs 0.1.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.11.1 [INFO] [stderr] Downloaded schema_jsonrs_derive v0.1.0 [INFO] [stderr] Downloaded serde_jsonc2 v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46f66e304f5fd4dc5e96e0b6bd4822bb0001c0d99c718f74e8030578e22d362b [INFO] running `Command { std: "docker" "start" "-a" "46f66e304f5fd4dc5e96e0b6bd4822bb0001c0d99c718f74e8030578e22d362b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46f66e304f5fd4dc5e96e0b6bd4822bb0001c0d99c718f74e8030578e22d362b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f66e304f5fd4dc5e96e0b6bd4822bb0001c0d99c718f74e8030578e22d362b", kill_on_drop: false }` [INFO] [stdout] 46f66e304f5fd4dc5e96e0b6bd4822bb0001c0d99c718f74e8030578e22d362b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2690b403ee18a4efdd36814c2aad5613cac9d189d6e529b5119869d61bc6b456 [INFO] running `Command { std: "docker" "start" "-a" "2690b403ee18a4efdd36814c2aad5613cac9d189d6e529b5119869d61bc6b456", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling serde_jsonc2 v0.1.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling schema_jsonrs_derive v0.1.0 [INFO] [stderr] Compiling schema_jsonrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.28s [INFO] running `Command { std: "docker" "inspect" "2690b403ee18a4efdd36814c2aad5613cac9d189d6e529b5119869d61bc6b456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2690b403ee18a4efdd36814c2aad5613cac9d189d6e529b5119869d61bc6b456", kill_on_drop: false }` [INFO] [stdout] 2690b403ee18a4efdd36814c2aad5613cac9d189d6e529b5119869d61bc6b456 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9067186ce7994128232316610ee71f9764da05a7a5c44553942bf9e5ec004ca3 [INFO] running `Command { std: "docker" "start" "-a" "9067186ce7994128232316610ee71f9764da05a7a5c44553942bf9e5ec004ca3", kill_on_drop: false }` [INFO] [stderr] Compiling schema_jsonrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.17s [INFO] running `Command { std: "docker" "inspect" "9067186ce7994128232316610ee71f9764da05a7a5c44553942bf9e5ec004ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9067186ce7994128232316610ee71f9764da05a7a5c44553942bf9e5ec004ca3", kill_on_drop: false }` [INFO] [stdout] 9067186ce7994128232316610ee71f9764da05a7a5c44553942bf9e5ec004ca3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 522182ccf0ca90a3118e87ed52395aecc205f1d35b0db7bc2a18b585b374650b [INFO] running `Command { std: "docker" "start" "-a" "522182ccf0ca90a3118e87ed52395aecc205f1d35b0db7bc2a18b585b374650b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/schema_jsonrs-820ff4dc1b6c049e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test json_schema_impls::atomic::tests::schema_for_atomics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests schema_jsonrs [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test src/generate.rs - generate::GenTransform::as_any (line 624) ... ok [INFO] [stdout] test src/generate.rs - generate::SchemaGenerator::settings (line 266) ... ok [INFO] [stdout] test src/generate.rs - generate::GenTransform::as_any_mut (line 644) ... ok [INFO] [stdout] test src/generate.rs - generate::GenTransform (line 602) ... ok [INFO] [stdout] test src/lib.rs - JsonSchema (line 120) ... ok [INFO] [stdout] test src/lib.rs - JsonSchema (line 77) ... ok [INFO] [stdout] test src/macros.rs - macros::json_schema (line 91) ... ok [INFO] [stdout] test src/generate.rs - generate::SchemaGenerator (line 216) ... ok [INFO] [stdout] test src/macros.rs - macros::schema_for_value (line 65) ... FAILED [INFO] [stdout] test src/schema.rs - schema::Schema (line 54) ... FAILED [INFO] [stdout] test src/schema.rs - schema::Schema (line 29) ... FAILED [INFO] [stdout] test src/generate.rs - generate::SchemaSettings::with (line 146) ... ok [INFO] [stdout] test src/lib.rs - JsonSchema (line 91) ... ok [INFO] [stdout] test src/schema.rs - schema::Schema::get (line 186) ... FAILED [INFO] [stdout] test src/schema.rs - schema::Schema (line 16) ... ok [INFO] [stdout] test src/schema.rs - schema::Schema::remove (line 211) ... FAILED [INFO] [stdout] test src/schema.rs - schema::Schema::insert (line 166) ... FAILED [INFO] [stdout] test src/macros.rs - macros::schema_for (line 7) ... ok [INFO] [stdout] test src/transform.rs - transform (line 14) ... ok [INFO] [stdout] test src/transform.rs - transform::RecursiveTransform (line 233) ... ok [INFO] [stdout] test src/transform.rs - transform (line 50) ... ok [INFO] [stdout] test src/transform.rs - transform (line 80) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macros.rs - macros::schema_for_value (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `Serialize` in `serde` [INFO] [stdout] --> src/macros.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(serde::Serialize)] [INFO] [stdout] | ^^^^^^^^^ could not find `Serialize` in `serde` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.217/src/lib.rs:343:37 [INFO] [stdout] | [INFO] [stdout] 341 | #[cfg(feature = "serde_derive")] [INFO] [stdout] | ------------------------ the item is gated behind the `serde_derive` feature [INFO] [stdout] 342 | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 343 | pub use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyStruct: serde::Serialize` is not satisfied [INFO] [stdout] --> src/macros.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 12 | let my_schema = schema_for_value!(MyStruct { foo: 123 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::Serialize` is not implemented for `MyStruct` [INFO] [stdout] --> src/macros.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct MyStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `MyStruct` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 112 others [INFO] [stdout] note: required by a bound in `SchemaGenerator::into_root_schema_for_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/generate.rs:460:51 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn into_root_schema_for_value( [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SchemaGenerator::into_root_schema_for_value` [INFO] [stdout] = note: this error originates in the macro `schema_for_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/schema.rs - schema::Schema (line 54) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_jsonc2::json` [INFO] [stdout] --> src/schema.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_jsonc2::{Map, json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `json` in the root [INFO] [stdout] | help: a similar name exists in the module: `jsonc` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jsonc` in this scope [INFO] [stdout] --> src/schema.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 9 | map.insert("type".to_owned(), jsonc!(["object", "null"])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_jsonc2::jsonc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/schema.rs - schema::Schema (line 29) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_jsonc2::json` [INFO] [stdout] --> src/schema.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_jsonc2::json; [INFO] [stdout] | ^^^^^^^^^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `jsonc` [INFO] [stdout] | no `json` in the root [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jsonc` in this scope [INFO] [stdout] --> src/schema.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 19 | let json_object = jsonc!({"type": ["object", "null"]}); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_jsonc2::jsonc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jsonc` in this scope [INFO] [stdout] --> src/schema.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 22 | let mut json_object = jsonc!({"type": ["object", "null"]}); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_jsonc2::jsonc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jsonc` in this scope [INFO] [stdout] --> src/schema.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 14 | let json_string = jsonc!("This is neither an object nor a bool!"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_jsonc2::jsonc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jsonc` in this scope [INFO] [stdout] --> src/schema.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 11 | let json_bool = jsonc!(true); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_jsonc2::jsonc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jsonc` in this scope [INFO] [stdout] --> src/schema.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 8 | let json_object = jsonc!({"type": ["object", "null"]}); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_jsonc2::jsonc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/schema.rs - schema::Schema::get (line 186) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_jsonc2::json` [INFO] [stdout] --> src/schema.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_jsonc2::json; [INFO] [stdout] | ^^^^^^^^^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `jsonc` [INFO] [stdout] | no `json` in the root [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jsonc` in this scope [INFO] [stdout] --> src/schema.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(obj_schema.get("type"), Some(&jsonc!("array"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_jsonc2::jsonc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/schema.rs - schema::Schema::remove (line 211) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_jsonc2::json` [INFO] [stdout] --> src/schema.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_jsonc2::json; [INFO] [stdout] | ^^^^^^^^^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `jsonc` [INFO] [stdout] | no `json` in the root [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jsonc` in this scope [INFO] [stdout] --> src/schema.rs:217:40 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(schema.remove("type"), Some(jsonc!("array"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_jsonc2::jsonc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/schema.rs - schema::Schema::insert (line 166) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_jsonc2::json` [INFO] [stdout] --> src/schema.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_jsonc2::json; [INFO] [stdout] | ^^^^^^^^^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `jsonc` [INFO] [stdout] | no `json` in the root [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jsonc` in this scope [INFO] [stdout] --> src/schema.rs:173:68 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(schema.insert("type".to_owned(), "object".into()), Some(jsonc!("array"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_jsonc2::jsonc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/macros.rs - macros::schema_for_value (line 65) [INFO] [stdout] src/schema.rs - schema::Schema (line 29) [INFO] [stdout] src/schema.rs - schema::Schema (line 54) [INFO] [stdout] src/schema.rs - schema::Schema::get (line 186) [INFO] [stdout] src/schema.rs - schema::Schema::insert (line 166) [INFO] [stdout] src/schema.rs - schema::Schema::remove (line 211) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.24s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.49s; merged doctests compilation took 0.25s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "522182ccf0ca90a3118e87ed52395aecc205f1d35b0db7bc2a18b585b374650b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "522182ccf0ca90a3118e87ed52395aecc205f1d35b0db7bc2a18b585b374650b", kill_on_drop: false }` [INFO] [stdout] 522182ccf0ca90a3118e87ed52395aecc205f1d35b0db7bc2a18b585b374650b