[INFO] fetching crate near-schemafy 0.7.0... [INFO] testing near-schemafy-0.7.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate near-schemafy 0.7.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate near-schemafy 0.7.0 [INFO] finished tweaking crates.io crate near-schemafy 0.7.0 [INFO] tweaked toml for crates.io crate near-schemafy 0.7.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate near-schemafy 0.7.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate near-schemafy 0.7.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near_schemafy_lib v0.7.0 [INFO] [stderr] Downloaded near_schemafy_core v0.7.0 [INFO] [stderr] Downloaded serde_repr v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23c9bb201649158ef40f180249c1ca8a2261fd9a65533ef5ccfbe358af45d84d [INFO] running `Command { std: "docker" "start" "-a" "23c9bb201649158ef40f180249c1ca8a2261fd9a65533ef5ccfbe358af45d84d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23c9bb201649158ef40f180249c1ca8a2261fd9a65533ef5ccfbe358af45d84d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23c9bb201649158ef40f180249c1ca8a2261fd9a65533ef5ccfbe358af45d84d", kill_on_drop: false }` [INFO] [stdout] 23c9bb201649158ef40f180249c1ca8a2261fd9a65533ef5ccfbe358af45d84d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d40c86d5521f41a2ca80edfa63de15e64a7b42a4515847a5f2a662354050d578 [INFO] running `Command { std: "docker" "start" "-a" "d40c86d5521f41a2ca80edfa63de15e64a7b42a4515847a5f2a662354050d578", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_repr v0.1.8 [INFO] [stderr] Compiling near_schemafy_core v0.7.0 [INFO] [stderr] Compiling near_schemafy_lib v0.7.0 [INFO] [stderr] Compiling near-schemafy v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.67s [INFO] running `Command { std: "docker" "inspect" "d40c86d5521f41a2ca80edfa63de15e64a7b42a4515847a5f2a662354050d578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d40c86d5521f41a2ca80edfa63de15e64a7b42a4515847a5f2a662354050d578", kill_on_drop: false }` [INFO] [stdout] d40c86d5521f41a2ca80edfa63de15e64a7b42a4515847a5f2a662354050d578 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 134dca866d07f2d1351a827ef1a320e19696046b2ae3961960431e17f8b57b58 [INFO] running `Command { std: "docker" "start" "-a" "134dca866d07f2d1351a827ef1a320e19696046b2ae3961960431e17f8b57b58", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling near-schemafy v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling near_schemafy_core v0.7.0 [INFO] [stderr] Compiling near_schemafy_lib v0.7.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | schemafy::schemafy!("tests/debugserver-schema.json"); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | schemafy::schemafy!("tests/nested.json"); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | schemafy::schemafy!("tests/vega/vega.json"); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] --> tests/test.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | schemafy::schemafy!( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `schemafy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `test_suite` [INFO] [stdout] --> tests/json_schema_test_suite.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod test_suite; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `test_suite`, create file "tests/test_suite.rs" or "tests/test_suite/mod.rs" [INFO] [stdout] = note: if there is a `mod test_suite` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `near-schemafy` (test "json_schema_test_suite") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Schema` in this scope [INFO] [stdout] --> tests/test.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn schema_exists(schema: Option<&Schema>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use schemafy_lib::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SimpleTypes` in this scope [INFO] [stdout] --> tests/test.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | fn types_exists(_: Option<(&SimpleTypes, PositiveInteger)>) {} [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use schemafy_lib::SimpleTypes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PositiveInteger` in this scope [INFO] [stdout] --> tests/test.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | fn types_exists(_: Option<(&SimpleTypes, PositiveInteger)>) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | fn types_exists(_: Option<(&SimpleTypes, PositiveInteger)>) {} [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceRequest` in this scope [INFO] [stdout] --> tests/test.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let request: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | fn debugserver_types() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceArguments` in this scope [INFO] [stdout] --> tests/test.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let _: &SourceArguments = &r.arguments; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Defnested` in this scope [INFO] [stdout] --> tests/test.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let _: Option = None; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 36 | fn nested() { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptionType` in this scope [INFO] [stdout] --> tests/test.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let o: Option = None; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn option_type() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptionType` in this scope [INFO] [stdout] --> tests/test.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | serde_json::from_str::(r#"{"required-multi": 5}"#).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn option_type() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptionType` in this scope [INFO] [stdout] --> tests/test.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | serde_json::from_str::(r#"{"required": "", "required-multi": 5}"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn option_type() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OptionType` in this scope [INFO] [stdout] --> tests/test.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | serde_json::to_string(&OptionType { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArrayType` in this scope [INFO] [stdout] --> tests/test.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let o: Option = None; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | fn array_type() { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArrayType` in this scope [INFO] [stdout] --> tests/test.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | serde_json::from_str::("{}").unwrap_err(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | fn array_type() { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArrayType` in this scope [INFO] [stdout] --> tests/test.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | serde_json::from_str::(r#"{"required": []}"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | fn array_type() { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ArrayType` in this scope [INFO] [stdout] --> tests/test.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | serde_json::to_string(&ArrayType { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EmptyStruct` in this scope [INFO] [stdout] --> tests/test.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | let EmptyStruct {} = EmptyStruct {}; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EmptyStruct` in this scope [INFO] [stdout] --> tests/test.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let EmptyStruct {} = EmptyStruct {}; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootArrayItem` in this scope [INFO] [stdout] --> tests/test.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let _: Option<&RootArrayItem> = a.get(0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | fn root_array() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RecursiveTypes` in this scope [INFO] [stdout] --> tests/test.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | fn recursive_types_exist(_: RecursiveTypes) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OneOfSchema` in this scope [INFO] [stdout] --> tests/test.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let t1: OneOfSchema = serde_json::from_str(r#"{"bar":2}"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OneOfSchemaVariant0` in this scope [INFO] [stdout] --> tests/test.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(t1, OneOfSchema::Variant0(OneOfSchemaVariant0 { bar: 2 })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OneOfSchema` in this scope [INFO] [stdout] --> tests/test.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let t2: OneOfSchema = serde_json::from_str(r#"{"foo":"baz"}"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OneOfSchemaVariant1` in this scope [INFO] [stdout] --> tests/test.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | OneOfSchema::Variant1(OneOfSchemaVariant1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OneOfSchema` in this scope [INFO] [stdout] --> tests/test.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let t3: OneOfSchema = serde_json::from_str(r#"{"bar": 2, "foo":"baz"}"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OneOfSchemaVariant0` in this scope [INFO] [stdout] --> tests/test.rs:177:42 [INFO] [stdout] | [INFO] [stdout] 177 | assert_eq!(t3, OneOfSchema::Variant0(OneOfSchemaVariant0 { bar: 2 })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OneOfSchema` in this scope [INFO] [stdout] --> tests/test.rs:179:36 [INFO] [stdout] | [INFO] [stdout] 179 | assert!(serde_json::from_str::(r#"{"foo":3}"#).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 163 | fn one_of_parsing() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EmptyStruct` in this scope [INFO] [stdout] --> tests/test.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | serde_json::from_str::(r#"{"zzz": 5}"#).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 188 | fn unknown_fields() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RootArrayItem` in this scope [INFO] [stdout] --> tests/test.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | serde_json::from_str::(r#"{"zzz": 5}"#).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 188 | fn unknown_fields() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AnyProperties` in this scope [INFO] [stdout] --> tests/test.rs:194:28 [INFO] [stdout] | [INFO] [stdout] 194 | serde_json::from_str::(r#"{"zzz": 5}"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 188 | fn unknown_fields() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PatternProperties` in this scope [INFO] [stdout] --> tests/test.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | serde_json::from_str::(r#"{"zzz": 5}"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 188 | fn unknown_fields() { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArrayType` in this scope [INFO] [stdout] --> tests/test.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | serde_json::from_str::(r#"{"required": [], "zzz": 5}"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 188 | fn unknown_fields() { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> tests/test.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize_repr` and `Serialize_repr` [INFO] [stdout] --> tests/test.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_repr::{Deserialize_repr, Serialize_repr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnyProperties` [INFO] [stdout] --> tests/test.rs:113:70 [INFO] [stdout] | [INFO] [stdout] 113 | let _: ::std::collections::BTreeMap = AnyProperties::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `AnyProperties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RootArray` [INFO] [stdout] --> tests/test.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let a = RootArray::default(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RootArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EnumNamesInt` [INFO] [stdout] --> tests/test.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(serde_json::to_string(&EnumNamesInt::A).unwrap(), "1"); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EnumNamesInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EnumNamesInt` [INFO] [stdout] --> tests/test.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(serde_json::to_string(&EnumNamesInt::B).unwrap(), "2"); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EnumNamesInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EnumNamesStr` [INFO] [stdout] --> tests/test.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(serde_json::to_string(&EnumNamesStr::A).unwrap(), "\"1\""); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EnumNamesStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EnumNamesStr` [INFO] [stdout] --> tests/test.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(serde_json::to_string(&EnumNamesStr::B).unwrap(), "\"2\""); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EnumNamesStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OneOfSchema` [INFO] [stdout] --> tests/test.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(t1, OneOfSchema::Variant0(OneOfSchemaVariant0 { bar: 2 })); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `OneOfSchema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OneOfSchema` [INFO] [stdout] --> tests/test.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | OneOfSchema::Variant1(OneOfSchemaVariant1 { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `OneOfSchema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OneOfSchema` [INFO] [stdout] --> tests/test.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | assert_eq!(t3, OneOfSchema::Variant0(OneOfSchemaVariant0 { bar: 2 })); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `OneOfSchema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `near-schemafy` (test "test") due to 53 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "134dca866d07f2d1351a827ef1a320e19696046b2ae3961960431e17f8b57b58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134dca866d07f2d1351a827ef1a320e19696046b2ae3961960431e17f8b57b58", kill_on_drop: false }` [INFO] [stdout] 134dca866d07f2d1351a827ef1a320e19696046b2ae3961960431e17f8b57b58