[INFO] fetching crate ts-rs-json-value 7.0.3... [INFO] checking ts-rs-json-value-7.0.3 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate ts-rs-json-value 7.0.3 into /workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ts-rs-json-value 7.0.3 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 202 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.8) [INFO] [stderr] Adding dprint-plugin-typescript v0.85.1 (available: v0.95.8) [INFO] [stderr] Adding from_variant v0.1.5 (available: v0.1.9) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding ordered-float v3.9.2 (available: v5.0.0) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.0.3) [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.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b55ce611f9eea87fc6d97ed57e9e71195e03a22a8f7979a61b42bf519ef83209 [INFO] running `Command { std: "docker" "start" "-a" "b55ce611f9eea87fc6d97ed57e9e71195e03a22a8f7979a61b42bf519ef83209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b55ce611f9eea87fc6d97ed57e9e71195e03a22a8f7979a61b42bf519ef83209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b55ce611f9eea87fc6d97ed57e9e71195e03a22a8f7979a61b42bf519ef83209", kill_on_drop: false }` [INFO] [stdout] b55ce611f9eea87fc6d97ed57e9e71195e03a22a8f7979a61b42bf519ef83209 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b68b3dc8b5a34bde85c5cdce595d32260259cecf10e8e442078f018940c0954a [INFO] running `Command { std: "docker" "start" "-a" "b68b3dc8b5a34bde85c5cdce595d32260259cecf10e8e442078f018940c0954a", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ts-rs-macros-serde-json v7.0.1 [INFO] [stderr] Checking ts-rs-json-value v7.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/issue-80.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/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/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[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[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/enum_variant_annotation.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/issue-80.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[ts(export)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/issue-80.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[ts(skip)] [INFO] [stdout] | ^^ [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 `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] 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] [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] [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: 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] [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] [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] [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] [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: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/enum_variant_annotation.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[ts(export)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `inline` found for enum `SomeTypeList` in the current scope [INFO] [stdout] --> tests/issue-80.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SomeTypeList { [INFO] [stdout] | --------------------- variant or associated item `inline` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 17 | let ty = SomeTypeList::inline(); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `SomeTypeList` [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/enum_variant_annotation.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[ts(export)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "unit") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] For more information about this 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] [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] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> tests/enum_variant_annotation.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bigdecimal`, `bigdecimal-impl`, `bson`, `bson-uuid-impl`, `bytes`, `bytes-impl`, `chrono`, `chrono-impl`, `default`, `dprint-plugin-typescript`, `format`, `heapless`, `heapless-impl`, `indexmap`, `indexmap-impl`, `ordered-float`, `ordered-float-impl`, `schemars`, `schemars-impl`, `serde-compat`, `serde-json-impl`, `serde_json`, `url`, `url-impl`, `uuid`, and `uuid-impl` [INFO] [stdout] = help: consider adding `serde` 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: `serde` [INFO] [stdout] --> tests/enum_variant_annotation.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bigdecimal`, `bigdecimal-impl`, `bson`, `bson-uuid-impl`, `bytes`, `bytes-impl`, `chrono`, `chrono-impl`, `default`, `dprint-plugin-typescript`, `format`, `heapless`, `heapless-impl`, `indexmap`, `indexmap-impl`, `ordered-float`, `ordered-float-impl`, `schemars`, `schemars-impl`, `serde-compat`, `serde-json-impl`, `serde_json`, `url`, `url-impl`, `uuid`, and `uuid-impl` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 "issue-80") due to 4 previous errors [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "imports") due to 6 previous errors [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "arrays") due to 4 previous errors [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[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] 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 "struct_rename") due to 4 previous errors [INFO] [stdout] error[E0599]: no variant or associated item named `inline` found for enum `A` in the current scope [INFO] [stdout] --> tests/enum_variant_annotation.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 10 | enum A { [INFO] [stdout] | ------ variant or associated item `inline` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 26 | A::inline(), [INFO] [stdout] | ^^^^^^ variant or associated item not found in `A` [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 `B` in the current scope [INFO] [stdout] --> tests/enum_variant_annotation.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 33 | enum B { [INFO] [stdout] | ------ variant or associated item `inline` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 51 | B::inline(), [INFO] [stdout] | ^^^^^^ variant or associated item not found in `B` [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 `test_tag_and_content_quoted::E` in the current scope [INFO] [stdout] --> tests/enum_variant_annotation.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 79 | enum E { [INFO] [stdout] | ------ variant or associated item `inline` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 83 | E::inline(), [INFO] [stdout] | ^^^^^^ variant or associated item not found in `test_tag_and_content_quoted::E` [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 `test_variant_quoted::E` in the current scope [INFO] [stdout] --> tests/enum_variant_annotation.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 93 | enum E { [INFO] [stdout] | ------ variant or associated item `inline` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 96 | assert_eq!(E::inline(), r#"{ "variant-name": { f: string, } }"#) [INFO] [stdout] | ^^^^^^ variant or associated item not found in `test_variant_quoted::E` [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 `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 "enum_variant_annotation") due to 7 previous errors; 2 warnings emitted [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" "b68b3dc8b5a34bde85c5cdce595d32260259cecf10e8e442078f018940c0954a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68b3dc8b5a34bde85c5cdce595d32260259cecf10e8e442078f018940c0954a", kill_on_drop: false }` [INFO] [stdout] b68b3dc8b5a34bde85c5cdce595d32260259cecf10e8e442078f018940c0954a