[INFO] fetching crate datagen-rs 0.1.0... [INFO] checking datagen-rs-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate datagen-rs 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate datagen-rs 0.1.0 [INFO] finished tweaking crates.io crate datagen-rs 0.1.0 [INFO] tweaked toml for crates.io crate datagen-rs 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate datagen-rs 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate datagen-rs 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.67 [INFO] [stderr] Downloaded schemars_derive v0.8.15 [INFO] [stderr] Downloaded serde_yaml v0.9.25 [INFO] [stderr] Downloaded pest_generator v2.7.3 [INFO] [stderr] Downloaded ordered-float v4.1.0 [INFO] [stderr] Downloaded dyn-clone v1.0.14 [INFO] [stderr] Downloaded geo-types v0.7.11 [INFO] [stderr] Downloaded pest_meta v2.7.3 [INFO] [stderr] Downloaded schemars v0.8.15 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.9 [INFO] [stderr] Downloaded handlebars v4.4.0 [INFO] [stderr] Downloaded unidecode v0.3.0 [INFO] [stderr] Downloaded libm v0.2.7 [INFO] [stderr] Downloaded fake v2.8.0 [INFO] [stderr] Downloaded pest v2.7.3 [INFO] [stderr] Downloaded libloading v0.8.0 [INFO] [stderr] Downloaded aho-corasick v1.1.1 [INFO] [stderr] Downloaded syn v2.0.37 [INFO] [stderr] Downloaded pest_derive v2.7.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36a9224e7b20d08656802c8acdd3283bc151bb6c525c444b840dcb1dcfd8fdf8 [INFO] running `Command { std: "docker" "start" "-a" "36a9224e7b20d08656802c8acdd3283bc151bb6c525c444b840dcb1dcfd8fdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36a9224e7b20d08656802c8acdd3283bc151bb6c525c444b840dcb1dcfd8fdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36a9224e7b20d08656802c8acdd3283bc151bb6c525c444b840dcb1dcfd8fdf8", kill_on_drop: false }` [INFO] [stdout] 36a9224e7b20d08656802c8acdd3283bc151bb6c525c444b840dcb1dcfd8fdf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25d415c49c92874deddc3a6ba12582faed743caae2acfdfa071210170739eb97 [INFO] running `Command { std: "docker" "start" "-a" "25d415c49c92874deddc3a6ba12582faed743caae2acfdfa071210170739eb97", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking ordered-float v4.1.0 [INFO] [stderr] Checking datagen-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `map_schema` [INFO] [stdout] --> src/generate/schema_value.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(not(feature = "map_schema"), allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"map-schema"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `generate`, `map-schema`, `native-plugin`, `plugin`, `schema`, and `serialize` [INFO] [stdout] = help: consider adding `map_schema` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `map_schema` [INFO] [stdout] --> src/generate/schema_value.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(not(feature = "map_schema"), allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"map-schema"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `generate`, `map-schema`, `native-plugin`, `plugin`, `schema`, and `serialize` [INFO] [stdout] = help: consider adding `map_schema` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/schema/file.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let schema = generate_schema!({ [INFO] [stdout] | __________________- [INFO] [stdout] 13 | | "type": "file", [INFO] [stdout] 14 | | "path": FILE_NAME, [INFO] [stdout] 15 | | "mode": "random" [INFO] [stdout] 16 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/schema/file.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let schema = generate_schema!({ [INFO] [stdout] | __________________- [INFO] [stdout] 13 | | "type": "file", [INFO] [stdout] 14 | | "path": FILE_NAME, [INFO] [stdout] 15 | | "mode": "random" [INFO] [stdout] 16 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/schema/file.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(file.contains(value)); [INFO] [stdout] | -------- ^^^^^ expected `&Value`, found `Value` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/slice/mod.rs:2583:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 28 | assert!(file.contains(&value)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/schema/file.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / generate_schema!({ [INFO] [stdout] 35 | | "type": "file", [INFO] [stdout] 36 | | "path": FILE_NAME, [INFO] [stdout] 37 | | "mode": "sequential" [INFO] [stdout] 38 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/schema/file.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / generate_schema!({ [INFO] [stdout] 35 | | "type": "file", [INFO] [stdout] 36 | | "path": FILE_NAME, [INFO] [stdout] 37 | | "mode": "sequential" [INFO] [stdout] 38 | | }) [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/schema/file.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | let schema = generate_schema!({ [INFO] [stdout] | __________________- [INFO] [stdout] 59 | | "type": "file", [INFO] [stdout] 60 | | "path": "this-file-does-not-exist.json" [INFO] [stdout] 61 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/schema/file.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | let schema = generate_schema!({ [INFO] [stdout] | __________________- [INFO] [stdout] 59 | | "type": "file", [INFO] [stdout] 60 | | "path": "this-file-does-not-exist.json" [INFO] [stdout] 61 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/schema/file.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | let schema = generate_schema!({ [INFO] [stdout] | __________________- [INFO] [stdout] 75 | | "type": "file", [INFO] [stdout] 76 | | "path": FILE_NAME, [INFO] [stdout] 77 | | "mode": "random", [INFO] [stdout] ... | [INFO] [stdout] 84 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/schema/file.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | let schema = generate_schema!({ [INFO] [stdout] | __________________- [INFO] [stdout] 75 | | "type": "file", [INFO] [stdout] 76 | | "path": FILE_NAME, [INFO] [stdout] 77 | | "mode": "random", [INFO] [stdout] ... | [INFO] [stdout] 84 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `StringSchema` in the current scope [INFO] [stdout] --> src/tests/transform/filter.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let generated = str.clone().into_random(schema.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `StringSchema` [INFO] [stdout] | [INFO] [stdout] ::: src/schema/string.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum StringSchema { [INFO] [stdout] | --------------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `StringSchema` in the current scope [INFO] [stdout] --> src/tests/transform/filter.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let generated = str.into_random(schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `StringSchema` [INFO] [stdout] | [INFO] [stdout] ::: src/schema/string.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum StringSchema { [INFO] [stdout] | --------------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for struct `object::Object` in the current scope [INFO] [stdout] --> src/tests/transform/filter.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | let generated = obj.clone().into_random(schema.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `object::Object` [INFO] [stdout] | [INFO] [stdout] ::: src/schema/object.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Object { [INFO] [stdout] | ----------------- method `into_random` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for struct `object::Object` in the current scope [INFO] [stdout] --> src/tests/transform/filter.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let generated = obj.into_random(schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `object::Object` [INFO] [stdout] | [INFO] [stdout] ::: src/schema/object.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Object { [INFO] [stdout] | ----------------- method `into_random` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/filter.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 98 | | "type": "array", [INFO] [stdout] 99 | | "length": { [INFO] [stdout] 100 | | "value": 3 [INFO] [stdout] ... | [INFO] [stdout] 147 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/filter.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 98 | | "type": "array", [INFO] [stdout] 99 | | "length": { [INFO] [stdout] 100 | | "value": 3 [INFO] [stdout] ... | [INFO] [stdout] 147 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/regex_filter.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 13 | | "type": "string", [INFO] [stdout] 14 | | "value": "test", [INFO] [stdout] 15 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 21 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/regex_filter.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 13 | | "type": "string", [INFO] [stdout] 14 | | "value": "test", [INFO] [stdout] 15 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 21 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/regex_filter.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 33 | | "type": "string", [INFO] [stdout] 34 | | "value": "test", [INFO] [stdout] 35 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 41 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::util::helpers::generate_random_data`, `crate::util::helpers::read_schema`, `crate::util::helpers::write_json_schema` [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::util::helpers::{generate_random_data, read_schema, write_json_schema}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `write_json_schema` in `util::helpers` [INFO] [stdout] | | | [INFO] [stdout] | | no `read_schema` in `util::helpers` [INFO] [stdout] | no `generate_random_data` in `util::helpers` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/util/helpers.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(feature = "generate")] [INFO] [stdout] | -------------------- the item is gated behind the `generate` feature [INFO] [stdout] 78 | pub fn generate_random_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/util/helpers.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(feature = "serialize")] [INFO] [stdout] | --------------------- the item is gated behind the `serialize` feature [INFO] [stdout] 48 | pub fn read_schema>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/util/helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "schema")] [INFO] [stdout] | ------------------ the item is gated behind the `schema` feature [INFO] [stdout] 40 | pub fn write_json_schema>(path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/regex_filter.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let generated = generate_schema!({ [INFO] [stdout] | ______________________- [INFO] [stdout] 33 | | "type": "string", [INFO] [stdout] 34 | | "value": "test", [INFO] [stdout] 35 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 41 | | }) [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `map_schema` [INFO] [stdout] --> src/generate/schema_value.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(not(feature = "map_schema"), allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"map-schema"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `generate`, `map-schema`, `native-plugin`, `plugin`, `schema`, and `serialize` [INFO] [stdout] = help: consider adding `map_schema` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/transform/regex_filter.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | serde_json::from_value::(json).unwrap() [INFO] [stdout] | ^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/transform/regex_filter.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | let res = any.clone().into_random(schema.clone()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/transform/regex_filter.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | let generated = any.clone().into_random(schema.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/transform/regex_filter.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | let generated = any.into_random(schema).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/sort.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 7 | | "type": "array", [INFO] [stdout] 8 | | "length": { [INFO] [stdout] 9 | | "value": 5 [INFO] [stdout] ... | [INFO] [stdout] 21 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/sort.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 7 | | "type": "array", [INFO] [stdout] 8 | | "length": { [INFO] [stdout] 9 | | "value": 5 [INFO] [stdout] ... | [INFO] [stdout] 21 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/sort.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let res = generate_schema!({ [INFO] [stdout] | _______________- [INFO] [stdout] 41 | | "type": "array", [INFO] [stdout] 42 | | "length": { [INFO] [stdout] 43 | | "value": 5 [INFO] [stdout] ... | [INFO] [stdout] 54 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |__________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/sort.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let res = generate_schema!({ [INFO] [stdout] | _______________- [INFO] [stdout] 41 | | "type": "array", [INFO] [stdout] 42 | | "length": { [INFO] [stdout] 43 | | "value": 5 [INFO] [stdout] ... | [INFO] [stdout] 54 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/sort.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 66 | | "type": "array", [INFO] [stdout] 67 | | "length": { [INFO] [stdout] 68 | | "value": 5 [INFO] [stdout] ... | [INFO] [stdout] 86 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/sort.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 66 | | "type": "array", [INFO] [stdout] 67 | | "length": { [INFO] [stdout] 68 | | "value": 5 [INFO] [stdout] ... | [INFO] [stdout] 86 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/sort.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | let res = generate_schema!({ [INFO] [stdout] | _______________- [INFO] [stdout] 107 | | "type": "array", [INFO] [stdout] 108 | | "length": { [INFO] [stdout] 109 | | "value": 5 [INFO] [stdout] ... | [INFO] [stdout] 127 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::util::helpers::generate_random_data`, `crate::util::helpers::read_schema`, `crate::util::helpers::write_json_schema` [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::util::helpers::{generate_random_data, read_schema, write_json_schema}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `write_json_schema` in `util::helpers` [INFO] [stdout] | | | [INFO] [stdout] | | no `read_schema` in `util::helpers` [INFO] [stdout] | no `generate_random_data` in `util::helpers` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/util/helpers.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(feature = "generate")] [INFO] [stdout] | -------------------- the item is gated behind the `generate` feature [INFO] [stdout] 78 | pub fn generate_random_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/util/helpers.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(feature = "serialize")] [INFO] [stdout] | --------------------- the item is gated behind the `serialize` feature [INFO] [stdout] 48 | pub fn read_schema>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/util/helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "schema")] [INFO] [stdout] | ------------------ the item is gated behind the `schema` feature [INFO] [stdout] 40 | pub fn write_json_schema>(path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/sort.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | let res = generate_schema!({ [INFO] [stdout] | _______________- [INFO] [stdout] 107 | | "type": "array", [INFO] [stdout] 108 | | "length": { [INFO] [stdout] 109 | | "value": 5 [INFO] [stdout] ... | [INFO] [stdout] 127 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/sort.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | let res = generate_schema!({ [INFO] [stdout] | _______________- [INFO] [stdout] 139 | | "type": "array", [INFO] [stdout] 140 | | "length": { [INFO] [stdout] 141 | | "value": 5 [INFO] [stdout] ... | [INFO] [stdout] 158 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `map_schema` [INFO] [stdout] --> src/generate/schema_value.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(not(feature = "map_schema"), allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"map-schema"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `generate`, `map-schema`, `native-plugin`, `plugin`, `schema`, and `serialize` [INFO] [stdout] = help: consider adding `map_schema` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/sort.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | let res = generate_schema!({ [INFO] [stdout] | _______________- [INFO] [stdout] 139 | | "type": "array", [INFO] [stdout] 140 | | "length": { [INFO] [stdout] 141 | | "value": 5 [INFO] [stdout] ... | [INFO] [stdout] 158 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/string_case_transform.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 10 | | "type": "string", [INFO] [stdout] 11 | | "value": "test", [INFO] [stdout] 12 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 17 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/string_case_transform.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 10 | | "type": "string", [INFO] [stdout] 11 | | "value": "test", [INFO] [stdout] 12 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 17 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/string_case_transform.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | let res = generate_schema!({ [INFO] [stdout] | _______________- [INFO] [stdout] 29 | | "type": "string", [INFO] [stdout] 30 | | "value": "TEST", [INFO] [stdout] 31 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 36 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/string_case_transform.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | let res = generate_schema!({ [INFO] [stdout] | _______________- [INFO] [stdout] 29 | | "type": "string", [INFO] [stdout] 30 | | "value": "TEST", [INFO] [stdout] 31 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 36 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/string_case_transform.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / generate_schema!({ [INFO] [stdout] 48 | | "type": "object", [INFO] [stdout] 49 | | "properties": { [INFO] [stdout] 50 | | "test": { [INFO] [stdout] ... | [INFO] [stdout] 62 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/string_case_transform.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / generate_schema!({ [INFO] [stdout] 48 | | "type": "object", [INFO] [stdout] 49 | | "properties": { [INFO] [stdout] 50 | | "test": { [INFO] [stdout] ... | [INFO] [stdout] 62 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/tests/transform/string_case_transform.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | serde_json::to_string_pretty(&generated).unwrap() [INFO] [stdout] | ---------------------------- ^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Arc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/ser.rs:2228:17 [INFO] [stdout] | [INFO] [stdout] 2226 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2227 | where [INFO] [stdout] 2228 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/tests/transform/string_case_transform.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | serde_json::to_string(&generated).unwrap() [INFO] [stdout] | --------------------- ^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Arc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/ser.rs:2209:17 [INFO] [stdout] | [INFO] [stdout] 2207 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2208 | where [INFO] [stdout] 2209 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/tests/transform/string_case_transform.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | serde_json::to_string_pretty(&generated).unwrap() [INFO] [stdout] | ---------------------------- ^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Arc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/ser.rs:2228:17 [INFO] [stdout] | [INFO] [stdout] 2226 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2227 | where [INFO] [stdout] 2228 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/tests/transform/string_case_transform.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | serde_json::to_string(&generated).unwrap() [INFO] [stdout] | --------------------- ^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Arc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/ser.rs:2209:17 [INFO] [stdout] | [INFO] [stdout] 2207 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2208 | where [INFO] [stdout] 2209 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/string_case_transform.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / generate_schema!({ [INFO] [stdout] 139 | | "type": "array", [INFO] [stdout] 140 | | "length": { [INFO] [stdout] 141 | | "value": 3 [INFO] [stdout] ... | [INFO] [stdout] 154 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/string_case_transform.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / generate_schema!({ [INFO] [stdout] 139 | | "type": "array", [INFO] [stdout] 140 | | "length": { [INFO] [stdout] 141 | | "value": 3 [INFO] [stdout] ... | [INFO] [stdout] 154 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/tests/transform/string_case_transform.rs:163:38 [INFO] [stdout] | [INFO] [stdout] 163 | serde_json::to_string_pretty(&array).unwrap() [INFO] [stdout] | ---------------------------- ^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Arc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/ser.rs:2228:17 [INFO] [stdout] | [INFO] [stdout] 2226 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2227 | where [INFO] [stdout] 2228 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/tests/transform/string_case_transform.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | serde_json::to_string(&array).unwrap() [INFO] [stdout] | --------------------- ^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Arc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/ser.rs:2209:17 [INFO] [stdout] | [INFO] [stdout] 2207 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2208 | where [INFO] [stdout] 2209 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/tests/transform/string_case_transform.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | serde_json::to_string_pretty(&array).unwrap() [INFO] [stdout] | ---------------------------- ^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Arc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/ser.rs:2228:17 [INFO] [stdout] | [INFO] [stdout] 2226 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2227 | where [INFO] [stdout] 2228 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/tests/transform/string_case_transform.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | serde_json::to_string(&array).unwrap() [INFO] [stdout] | --------------------- ^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Arc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 130 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/ser.rs:2209:17 [INFO] [stdout] | [INFO] [stdout] 2207 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2208 | where [INFO] [stdout] 2209 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 7 | | "type": "number", [INFO] [stdout] 8 | | "value": 5, [INFO] [stdout] 9 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 15 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 7 | | "type": "number", [INFO] [stdout] 8 | | "value": 5, [INFO] [stdout] 9 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 15 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 27 | | "type": "object", [INFO] [stdout] 28 | | "properties": { [INFO] [stdout] 29 | | "a": { [INFO] [stdout] ... | [INFO] [stdout] 44 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let generated = generate_schema!({ [INFO] [stdout] | ______________________- [INFO] [stdout] 27 | | "type": "object", [INFO] [stdout] 28 | | "properties": { [INFO] [stdout] 29 | | "a": { [INFO] [stdout] ... | [INFO] [stdout] 44 | | }) [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 56 | | "type": "object", [INFO] [stdout] 57 | | "properties": { [INFO] [stdout] 58 | | "a": { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 56 | | "type": "object", [INFO] [stdout] 57 | | "properties": { [INFO] [stdout] 58 | | "a": { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 83 | | "type": "object", [INFO] [stdout] 84 | | "properties": { [INFO] [stdout] 85 | | "a": { [INFO] [stdout] ... | [INFO] [stdout] 103 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 83 | | "type": "object", [INFO] [stdout] 84 | | "properties": { [INFO] [stdout] 85 | | "a": { [INFO] [stdout] ... | [INFO] [stdout] 103 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (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 E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 115 | | "type": "object", [INFO] [stdout] 116 | | "properties": { [INFO] [stdout] 117 | | "a": { [INFO] [stdout] ... | [INFO] [stdout] 130 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 115 | | "type": "object", [INFO] [stdout] 116 | | "properties": { [INFO] [stdout] 117 | | "a": { [INFO] [stdout] ... | [INFO] [stdout] 130 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 143 | | "type": "object", [INFO] [stdout] 144 | | "properties": { [INFO] [stdout] 145 | | "a": { [INFO] [stdout] ... | [INFO] [stdout] 163 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 143 | | "type": "object", [INFO] [stdout] 144 | | "properties": { [INFO] [stdout] 145 | | "a": { [INFO] [stdout] ... | [INFO] [stdout] 163 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `datagen-rs` (bin "datagen-rs") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `AnyValue: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/tests/mod.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `AnyValue` [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 175 | | "type": "number", [INFO] [stdout] 176 | | "value": 5, [INFO] [stdout] 177 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 185 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [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 130 others [INFO] [stdout] = note: required for `AnyValue` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.107/src/value/mod.rs:1005:8 [INFO] [stdout] | [INFO] [stdout] 1003 | pub fn from_value(value: Value) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 1004 | where [INFO] [stdout] 1005 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_random` found for enum `AnyValue` in the current scope [INFO] [stdout] --> src/tests/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 37 | / serde_json::from_value::<$crate::schema::any_value::AnyValue>( [INFO] [stdout] 38 | | serde_json::json!($($json)+) [INFO] [stdout] 39 | | ) [INFO] [stdout] 40 | | .unwrap() [INFO] [stdout] 41 | | .into_random($crate::tests::util::root_schema()) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `AnyValue` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/schema/any_value.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AnyValue { [INFO] [stdout] | ----------------- method `into_random` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tests/transform/to_string.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let generated = generate_schema!({ [INFO] [stdout] | _____________________- [INFO] [stdout] 175 | | "type": "number", [INFO] [stdout] 176 | | "value": 5, [INFO] [stdout] 177 | | "transform": [ [INFO] [stdout] ... | [INFO] [stdout] 185 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoRandom` defines an item `into_random`, perhaps you need to implement it [INFO] [stdout] --> src/generate/generated_schema.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait IntoRandom { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `generate_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `root` found for struct `CurrentSchema` in the current scope [INFO] [stdout] --> src/tests/mod.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | CurrentSchema::root( [INFO] [stdout] | ^^^^ function or associated item not found in `CurrentSchema` [INFO] [stdout] | [INFO] [stdout] ::: src/generate/current_schema.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CurrentSchema { [INFO] [stdout] | ------------------------ function or associated item `root` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `datagen-rs` (lib test) due to 64 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `datagen-rs` (bin "datagen-rs" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "25d415c49c92874deddc3a6ba12582faed743caae2acfdfa071210170739eb97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d415c49c92874deddc3a6ba12582faed743caae2acfdfa071210170739eb97", kill_on_drop: false }` [INFO] [stdout] 25d415c49c92874deddc3a6ba12582faed743caae2acfdfa071210170739eb97