[INFO] fetching crate ts-rs-json-value 7.0.3... [INFO] testing ts-rs-json-value-7.0.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate ts-rs-json-value 7.0.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate ts-rs-json-value 7.0.3 [INFO] finished tweaking crates.io crate ts-rs-json-value 7.0.3 [INFO] tweaked toml for crates.io crate ts-rs-json-value 7.0.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ts-rs-json-value 7.0.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 223 packages to latest compatible versions [INFO] [stderr] Adding ast_node v0.9.4 (available: v0.9.9) [INFO] [stderr] Adding bigdecimal v0.3.1 (available: v0.4.10) [INFO] [stderr] Adding bson v2.15.0 (available: v3.1.0) [INFO] [stderr] Adding dprint-plugin-typescript v0.85.1 (available: v0.95.15) [INFO] [stderr] Adding from_variant v0.1.5 (available: v0.1.9) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.9.2) [INFO] [stderr] Adding ordered-float v3.9.2 (available: v5.3.0) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.2.1) [INFO] [stderr] Adding string_enum v0.4.0 (available: v0.4.4) [INFO] [stderr] Adding swc_atoms v0.5.6 (available: v0.5.9) [INFO] [stderr] Adding swc_common v0.31.12 (available: v0.31.22) [INFO] [stderr] Adding swc_config v0.1.5 (available: v0.1.15) [INFO] [stderr] Adding swc_config_macro v0.1.1 (available: v0.1.4) [INFO] [stderr] Adding swc_ecma_parser v0.134.12 (available: v0.134.13) [INFO] [stderr] Adding swc_eq_ignore_macros v0.1.1 (available: v0.1.4) [INFO] [stderr] Adding swc_macros_common v0.3.7 (available: v0.3.14) [INFO] [stderr] Adding swc_visit v0.5.6 (available: v0.5.14) [INFO] [stderr] Adding swc_visit_macros v0.5.7 (available: v0.5.13) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pmutil v0.5.3 [INFO] [stderr] Downloaded swc_eq_ignore_macros v0.1.1 [INFO] [stderr] Downloaded swc_macros_common v0.3.7 [INFO] [stderr] Downloaded ts-rs-macros-serde-json v7.0.1 [INFO] [stderr] Downloaded text_lines v0.6.0 [INFO] [stderr] Downloaded deno_ast v0.27.3 [INFO] [stderr] Downloaded ast_node v0.9.4 [INFO] [stderr] Downloaded swc_atoms v0.5.6 [INFO] [stderr] Downloaded swc_config_macro v0.1.1 [INFO] [stderr] Downloaded better_scoped_tls v0.1.2 [INFO] [stderr] Downloaded is-macro v0.2.2 [INFO] [stderr] Downloaded swc_config v0.1.5 [INFO] [stderr] Downloaded bigdecimal v0.3.1 [INFO] [stderr] Downloaded deno_media_type v0.1.4 [INFO] [stderr] Downloaded lexical-write-integer v0.8.5 [INFO] [stderr] Downloaded dprint-swc-ext v0.10.0 [INFO] [stderr] Downloaded lexical-write-float v0.8.5 [INFO] [stderr] Downloaded lexical-util v0.8.5 [INFO] [stderr] Downloaded ar_archive_writer v0.5.1 [INFO] [stderr] Downloaded swc_common v0.31.12 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded swc_ecma_parser v0.134.12 [INFO] [stderr] Downloaded lexical-parse-float v0.8.5 [INFO] [stderr] Downloaded lexical-parse-integer v0.8.6 [INFO] [stderr] Downloaded psm v0.1.30 [INFO] [stderr] Downloaded stacker v0.1.23 [INFO] [stderr] Downloaded triomphe v0.1.15 [INFO] [stderr] Downloaded swc_ecma_ast v0.104.5 [INFO] [stderr] Downloaded lexical-core v0.8.5 [INFO] [stderr] Downloaded lexical v6.1.1 [INFO] [stderr] Downloaded unicode-id v0.3.6 [INFO] [stderr] Downloaded swc_visit v0.5.6 [INFO] [stderr] Downloaded from_variant v0.1.5 [INFO] [stderr] Downloaded string_enum v0.4.0 [INFO] [stderr] Downloaded swc_visit_macros v0.5.7 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded dprint-core v0.62.1 [INFO] [stderr] Downloaded dprint-plugin-typescript v0.85.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 504a1c5a8fc197d5180ca152a591a39e6d1b89c1381cc2260629c04d48cc29da [INFO] running `Command { std: "docker" "start" "-a" "504a1c5a8fc197d5180ca152a591a39e6d1b89c1381cc2260629c04d48cc29da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "504a1c5a8fc197d5180ca152a591a39e6d1b89c1381cc2260629c04d48cc29da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504a1c5a8fc197d5180ca152a591a39e6d1b89c1381cc2260629c04d48cc29da", kill_on_drop: false }` [INFO] [stdout] 504a1c5a8fc197d5180ca152a591a39e6d1b89c1381cc2260629c04d48cc29da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b892879140061342b1577af229cfbd768ca420fad78edd8bc21d3727db80544 [INFO] running `Command { std: "docker" "start" "-a" "2b892879140061342b1577af229cfbd768ca420fad78edd8bc21d3727db80544", kill_on_drop: false }` [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ts-rs-macros-serde-json v7.0.1 [INFO] [stderr] Compiling ts-rs-json-value v7.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `impl_primitives` [INFO] [stdout] --> src/lib.rs:661:16 [INFO] [stdout] | [INFO] [stdout] 661 | pub(crate) use impl_primitives; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "2b892879140061342b1577af229cfbd768ca420fad78edd8bc21d3727db80544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b892879140061342b1577af229cfbd768ca420fad78edd8bc21d3727db80544", kill_on_drop: false }` [INFO] [stdout] 2b892879140061342b1577af229cfbd768ca420fad78edd8bc21d3727db80544 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 943f0744e791edec10697203ce4378a3de2cefa2b0275f8b8e72f5466e43ffd5 [INFO] running `Command { std: "docker" "start" "-a" "943f0744e791edec10697203ce4378a3de2cefa2b0275f8b8e72f5466e43ffd5", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stdout] warning: unused import: `impl_primitives` [INFO] [stdout] --> src/lib.rs:661:16 [INFO] [stdout] | [INFO] [stdout] 661 | pub(crate) use impl_primitives; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling ts-rs-json-value v7.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/unit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/tuple.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/arrays.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/imports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for array `[String; 10]` in the current scope [INFO] [stdout] --> tests/arrays.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(<[String; 10]>::inline(), "Array") [INFO] [stdout] | ^^^^^^ function or associated item not found in `[String; 10]` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TS` which provides `inline` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use ts_rs_json_value::TS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/union_with_internal_tag.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `Interface` in the current scope [INFO] [stdout] --> tests/arrays.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 11 | struct Interface { [INFO] [stdout] | ---------------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | assert_eq!(Interface::inline(), "{ a: Array, }") [INFO] [stdout] | ^^^^^^ function or associated item not found in `Interface` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/struct_rename.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `name` found for tuple `(String, i32, (i32, i32))` in the current scope [INFO] [stdout] --> tests/tuple.rs:8:61 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!("[string, number, [number, number]]", Tuple::name()); [INFO] [stdout] | ^^^^ function or associated item not found in `(String, i32, (i32, i32))` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/cmp.rs:264:4 [INFO] [stdout] help: trait `TS` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use ts_rs_json_value::TS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `Newtype` in the current scope [INFO] [stdout] --> tests/arrays.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 22 | struct Newtype(#[allow(dead_code)] [i32; 10]); [INFO] [stdout] | -------------- function or associated item `inline` not found for this struct [INFO] [stdout] 23 | [INFO] [stdout] 24 | assert_eq!(Newtype::inline(), "Array") [INFO] [stdout] | ^^^^^^ function or associated item not found in `Newtype` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decl` found for tuple `(String, i32, (i32, i32))` in the current scope [INFO] [stdout] --> tests/tuple.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let _ = Tuple::decl(); [INFO] [stdout] | ^^^^ function or associated item not found in `(String, i32, (i32, i32))` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TS` which provides `decl` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use ts_rs_json_value::TS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/struct_rename.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[ts(rename_all = "UPPERCASE")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "arrays") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/type_override.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/imports.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[ts(export_to = "/tmp/ts_rs_test_enum.ts")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 20 + #[derive(TS)] [INFO] [stdout] 21 | pub enum TestEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/flatten.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/unsized.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `Rename` in the current scope [INFO] [stdout] --> tests/struct_rename.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 9 | struct Rename { [INFO] [stdout] | ------------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(Rename::inline(), "{ A: number, B: number, }"); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Rename` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/union.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/imports.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[ts(export)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(TS)] [INFO] [stdout] 15 | pub struct TestTypeB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `RenameSerdeSpecialChar` in the current scope [INFO] [stdout] --> tests/struct_rename.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 21 | struct RenameSerdeSpecialChar { [INFO] [stdout] | ----------------------------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(RenameSerdeSpecialChar::inline(), r#"{ "a/b": number, }"#); [INFO] [stdout] | ^^^^^^ function or associated item not found in `RenameSerdeSpecialChar` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/type_override.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | Newtype(#[ts(type = "unknown")] S), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 60 + #[derive(TS)] [INFO] [stdout] 61 | enum Adjacent { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/type_override.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | Newtype(#[ts(type = "unknown")] S), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 54 + #[derive(TS)] [INFO] [stdout] 55 | enum Internal { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decl` found for struct `NewType` in the current scope [INFO] [stdout] --> tests/tuple.rs:23:51 [INFO] [stdout] | [INFO] [stdout] 21 | struct NewType(String); [INFO] [stdout] | -------------- function or associated item `decl` not found for this struct [INFO] [stdout] 22 | [INFO] [stdout] 23 | assert_eq!("type NewType = string;", NewType::decl()); [INFO] [stdout] | ^^^^ function or associated item not found in `NewType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decl` found for struct `TupleNewType` in the current scope [INFO] [stdout] --> tests/tuple.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 29 | struct TupleNewType(String, i32, (i32, i32)); [INFO] [stdout] | ------------------- function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | TupleNewType::decl() [INFO] [stdout] | ^^^^ function or associated item not found in `TupleNewType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/type_override.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | struct New2(#[ts(type = "string | null")] Unsupported); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/type_override.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | struct New1(#[ts(type = "string")] Unsupported2); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/struct_tag.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/type_override.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[ts(type = "0 | 1 | 2")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/imports.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[ts(export_to = "/tmp/ts_rs_test_type_b.ts")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(TS)] [INFO] [stdout] 15 | pub struct TestTypeB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/type_override.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[ts(type = "string")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/type_override.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[ts(type = "string")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/type_override.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[ts(type = "string | null")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/union.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[ts(rename = "asdf")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(TS)] [INFO] [stdout] 7 | enum SimpleEnum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `decl` found for enum `test_empty::Empty` in the current scope [INFO] [stdout] --> tests/union.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 16 | enum Empty {} [INFO] [stdout] | ---------- variant or associated item `decl` not found for this enum [INFO] [stdout] 17 | [INFO] [stdout] 18 | assert_eq!(Empty::decl(), "type Empty = never;") [INFO] [stdout] | ^^^^ variant or associated item not found in `test_empty::Empty` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "union") due to 4 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `decl` found for enum `SimpleEnum` in the current scope [INFO] [stdout] --> tests/union.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 6 | enum SimpleEnum { [INFO] [stdout] | --------------- variant or associated item `decl` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 24 | SimpleEnum::decl(), [INFO] [stdout] | ^^^^ variant or associated item not found in `SimpleEnum` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `Override` in the current scope [INFO] [stdout] --> tests/type_override.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 13 | struct Override { [INFO] [stdout] | --------------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | Override::inline(), [INFO] [stdout] | ^^^^^^ function or associated item not found in `Override` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `New1` in the current scope [INFO] [stdout] --> tests/type_override.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 34 | struct New1(#[ts(type = "string")] Unsupported2); [INFO] [stdout] | ----------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(New1::inline(), r#"string"#); [INFO] [stdout] | ^^^^^^ function or associated item not found in `New1` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/imports.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[ts(export)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(TS)] [INFO] [stdout] 8 | pub struct TestTypeA { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `New2` in the current scope [INFO] [stdout] --> tests/type_override.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 36 | struct New2(#[ts(type = "string | null")] Unsupported); [INFO] [stdout] | ----------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(New2::inline(), r#"string | null"#); [INFO] [stdout] | ^^^^^^ function or associated item not found in `New2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `inline` found for enum `Internal` in the current scope [INFO] [stdout] --> tests/type_override.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 54 | enum Internal { [INFO] [stdout] | ------------- variant or associated item `inline` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 64 | assert_eq!(Internal::inline(), r#"{ "t": "Newtype" } & unknown"#); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Internal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/imports.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[ts(export_to = "/tmp/ts_rs_test_type_a.ts")] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(TS)] [INFO] [stdout] 8 | pub struct TestTypeA { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `inline` found for enum `Adjacent` in the current scope [INFO] [stdout] --> tests/type_override.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 60 | enum Adjacent { [INFO] [stdout] | ------------- variant or associated item `inline` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 65 | assert_eq!(Adjacent::inline(), r#"{ "t": "Newtype", "c": unknown }"#); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Adjacent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "imports") due to 6 previous errors [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/generic_fields.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "tuple") due to 5 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "type_override") due to 14 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `decl` found for struct `S<'a>` in the current scope [INFO] [stdout] --> tests/unsized.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | struct S<'a> { [INFO] [stdout] | ------------ function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | S::decl(), [INFO] [stdout] | ^^^^ function or associated item not found in `S<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `decl` found for enum `EnumWithInternalTag` in the current scope [INFO] [stdout] --> tests/union_with_internal_tag.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 8 | enum EnumWithInternalTag { [INFO] [stdout] | ------------------------ variant or associated item `decl` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 34 | EnumWithInternalTag::decl(), [INFO] [stdout] | ^^^^ variant or associated item not found in `EnumWithInternalTag` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "struct_rename") due to 4 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `decl` found for enum `EnumWithInternalTag2` in the current scope [INFO] [stdout] --> tests/union_with_internal_tag.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 25 | enum EnumWithInternalTag2 { [INFO] [stdout] | ------------------------- variant or associated item `decl` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 39 | EnumWithInternalTag2::decl(), [INFO] [stdout] | ^^^^ variant or associated item not found in `EnumWithInternalTag2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/ranges.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ts_rs::{Dependency, TS}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `TaggedType` in the current scope [INFO] [stdout] --> tests/struct_tag.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 8 | struct TaggedType { [INFO] [stdout] | ----------------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | TaggedType::inline(), [INFO] [stdout] | ^^^^^^ function or associated item not found in `TaggedType` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/flatten.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[ts(flatten)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decl` found for struct `Unit` in the current scope [INFO] [stdout] --> tests/unit.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 5 | struct Unit; [INFO] [stdout] | ----------- function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | assert_eq!("type Unit = null;", Unit::decl()); [INFO] [stdout] | ^^^^ function or associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "unsized") due to 2 previous errors [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/flatten.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[ts(inline)] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ts` is an attribute that can be used by the derive macro `TS`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decl` found for struct `Unit2` in the current scope [INFO] [stdout] --> tests/unit.rs:24:62 [INFO] [stdout] | [INFO] [stdout] 10 | struct Unit2 {} [INFO] [stdout] | ------------ function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!("type Unit2 = Record;", Unit2::decl()); [INFO] [stdout] | ^^^^ function or associated item not found in `Unit2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decl` found for struct `Unit3` in the current scope [INFO] [stdout] --> tests/unit.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 15 | struct Unit3(); [INFO] [stdout] | ------------ function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!("type Unit3 = never[];", Unit3::decl()); [INFO] [stdout] | ^^^^ function or associated item not found in `Unit3` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decl` found for struct `Unit4` in the current scope [INFO] [stdout] --> tests/unit.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 19 | struct Unit4(()); [INFO] [stdout] | ------------ function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!("type Unit4 = null;", Unit4::decl()); [INFO] [stdout] | ^^^^ function or associated item not found in `Unit4` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "union_with_internal_tag") due to 3 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `C` in the current scope [INFO] [stdout] --> tests/flatten.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 19 | struct C { [INFO] [stdout] | -------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | C::inline(), [INFO] [stdout] | ^^^^^^ function or associated item not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `newtype::Newtype` in the current scope [INFO] [stdout] --> tests/generic_fields.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 10 | struct Newtype(Vec>); [INFO] [stdout] | -------------- function or associated item `inline` not found for this struct [INFO] [stdout] 11 | assert_eq!(Newtype::inline(), "Array"); [INFO] [stdout] | ^^^^^^ function or associated item not found in `newtype::Newtype` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "unit") due to 5 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `decl` found for struct `RangeTest` in the current scope [INFO] [stdout] --> tests/ranges.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 10 | struct RangeTest { [INFO] [stdout] | ---------------- function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | RangeTest::decl(), [INFO] [stdout] | ^^^^ function or associated item not found in `RangeTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `dependencies` found for struct `RangeTest` in the current scope [INFO] [stdout] --> tests/ranges.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 10 | struct RangeTest { [INFO] [stdout] | ---------------- function or associated item `dependencies` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | RangeTest::dependencies(), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `RangeTest` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `dependencies`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/union_serde.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ts_rs::TS; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `ts_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ts_rs`, use `cargo add ts_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `newtype_nested::Newtype` in the current scope [INFO] [stdout] --> tests/generic_fields.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 17 | struct Newtype(Vec>); [INFO] [stdout] | -------------- function or associated item `inline` not found for this struct [INFO] [stdout] 18 | assert_eq!(Newtype::inline(), "Array>"); [INFO] [stdout] | ^^^^^^ function or associated item not found in `newtype_nested::Newtype` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "flatten") due to 4 previous errors [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "ranges") due to 3 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/generic_fields.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(Alias::inline(), "Array"); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Vec` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 7 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/vec/mod.rs:463:4 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TS` which provides `inline` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use ts_rs_json_value::TS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `Vec>` in the current scope [INFO] [stdout] --> tests/generic_fields.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(Alias::inline(), "Array>"); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Vec>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 7 others [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/vec/mod.rs:463:4 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TS` which provides `inline` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use ts_rs_json_value::TS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "struct_tag") due to 2 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `named::Struct` in the current scope [INFO] [stdout] --> tests/generic_fields.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 36 | struct Struct { [INFO] [stdout] | ------------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | Struct::inline(), [INFO] [stdout] | ^^^^^^ function or associated item not found in `named::Struct` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `named_nested::Struct` in the current scope [INFO] [stdout] --> tests/generic_fields.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 50 | struct Struct { [INFO] [stdout] | ------------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | assert_eq!(Struct::inline(), "{ a: Array>, b: [Array>, Array>], c: Array tests/generic_fields.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 61 | struct Tuple(Vec, (Vec, Vec), [Vec; 3]); [INFO] [stdout] | ------------ function or associated item `inline` not found for this struct [INFO] [stdout] 62 | assert_eq!( [INFO] [stdout] 63 | Tuple::inline(), [INFO] [stdout] | ^^^^^^ function or associated item not found in `tuple::Tuple` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `tuple_nested::Tuple` in the current scope [INFO] [stdout] --> tests/generic_fields.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 71 | struct Tuple( [INFO] [stdout] | ------------ function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 77 | Tuple::inline(), [INFO] [stdout] | ^^^^^^ function or associated item not found in `tuple_nested::Tuple` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `inline`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "generic_fields") due to 9 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `decl` found for enum `SimpleEnum` in the current scope [INFO] [stdout] --> tests/union_serde.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 8 | enum SimpleEnum { [INFO] [stdout] | --------------- variant or associated item `decl` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 35 | SimpleEnum::decl(), [INFO] [stdout] | ^^^^ variant or associated item not found in `SimpleEnum` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `decl` found for enum `ComplexEnum` in the current scope [INFO] [stdout] --> tests/union_serde.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 15 | enum ComplexEnum { [INFO] [stdout] | ---------------- variant or associated item `decl` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 39 | ComplexEnum::decl(), [INFO] [stdout] | ^^^^ variant or associated item not found in `ComplexEnum` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `decl` found for enum `Untagged` in the current scope [INFO] [stdout] --> tests/union_serde.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 25 | enum Untagged { [INFO] [stdout] | ------------- variant or associated item `decl` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 44 | Untagged::decl(), [INFO] [stdout] | ^^^^ variant or associated item not found in `Untagged` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ts_rs_json_value::TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "union_serde") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "943f0744e791edec10697203ce4378a3de2cefa2b0275f8b8e72f5466e43ffd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943f0744e791edec10697203ce4378a3de2cefa2b0275f8b8e72f5466e43ffd5", kill_on_drop: false }` [INFO] [stdout] 943f0744e791edec10697203ce4378a3de2cefa2b0275f8b8e72f5466e43ffd5