[INFO] fetching crate ts-rs-json-value 7.0.3... [INFO] testing ts-rs-json-value-7.0.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate ts-rs-json-value 7.0.3 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ts-rs-json-value 7.0.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 205 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 bson v2.15.0 (available: v3.0.0) [INFO] [stderr] Adding dprint-plugin-typescript v0.85.1 (available: v0.95.11) [INFO] [stderr] Adding from_variant v0.1.5 (available: v0.1.9) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.9.1) [INFO] [stderr] Adding ordered-float v3.9.2 (available: v5.1.0) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.0.4) [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.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive_internals v0.29.1 [INFO] [stderr] Downloaded Inflector v0.11.4 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded string_enum v0.4.0 [INFO] [stderr] Downloaded lexical v6.1.1 [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] [stderr] Downloaded schemars v0.8.22 [INFO] [stderr] Downloaded num-conv v0.1.0 [INFO] [stderr] Downloaded bigdecimal v0.3.1 [INFO] [stderr] Downloaded deno_media_type v0.1.4 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded time v0.3.44 [INFO] [stderr] Downloaded lexical-write-float v0.8.5 [INFO] [stderr] Downloaded lexical-util v0.8.5 [INFO] [stderr] Downloaded lexical-write-integer v0.8.5 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded dprint-swc-ext v0.10.0 [INFO] [stderr] Downloaded swc_common v0.31.12 [INFO] [stderr] Downloaded lexical-parse-float v0.8.5 [INFO] [stderr] Downloaded unicode-id v0.3.6 [INFO] [stderr] Downloaded deno_ast v0.27.3 [INFO] [stderr] Downloaded dprint-core v0.62.1 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded deranged v0.5.4 [INFO] [stderr] Downloaded powerfmt v0.2.0 [INFO] [stderr] Downloaded time-core v0.1.6 [INFO] [stderr] Downloaded time-macros v0.2.24 [INFO] [stderr] Downloaded dprint-plugin-typescript v0.85.1 [INFO] [stderr] Downloaded lexical-parse-integer v0.8.6 [INFO] [stderr] Downloaded lexical-core v0.8.5 [INFO] [stderr] Downloaded ts-rs-macros-serde-json v7.0.1 [INFO] [stderr] Downloaded psm v0.1.26 [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded string_cache v0.8.9 [INFO] [stderr] Downloaded phf_shared v0.11.3 [INFO] [stderr] Downloaded triomphe v0.1.14 [INFO] [stderr] Downloaded swc_ecma_parser v0.134.12 [INFO] [stderr] Downloaded swc_visit_macros v0.5.7 [INFO] [stderr] Downloaded swc_eq_ignore_macros v0.1.1 [INFO] [stderr] Downloaded pmutil v0.5.3 [INFO] [stderr] Downloaded swc_macros_common v0.3.7 [INFO] [stderr] Downloaded text_lines v0.6.0 [INFO] [stderr] Downloaded critical-section v1.2.0 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded swc_config v0.1.5 [INFO] [stderr] Downloaded swc_config_macro v0.1.1 [INFO] [stderr] Downloaded is-macro v0.2.2 [INFO] [stderr] Downloaded ast_node v0.9.4 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded from_variant v0.1.5 [INFO] [stderr] Downloaded siphasher v0.3.11 [INFO] [stderr] Downloaded precomputed-hash v0.1.1 [INFO] [stderr] Downloaded phf_generator v0.11.3 [INFO] [stderr] Downloaded string_cache_codegen v0.5.4 [INFO] [stderr] Downloaded swc_atoms v0.5.6 [INFO] [stderr] Downloaded swc_visit v0.5.6 [INFO] [stderr] Downloaded swc_ecma_ast v0.104.5 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded ordered-float v3.9.2 [INFO] [stderr] Downloaded dyn-clone v1.0.20 [INFO] [stderr] Downloaded termcolor v1.4.1 [INFO] [stderr] Downloaded better_scoped_tls v0.1.2 [INFO] [stderr] Downloaded siphasher v1.0.1 [INFO] [stderr] Downloaded schemars_derive v0.8.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1291dda894e89ea8d37d1e0fd6d0b287c85ae3e2db8b4212bda93d52df8217da [INFO] running `Command { std: "docker" "start" "-a" "1291dda894e89ea8d37d1e0fd6d0b287c85ae3e2db8b4212bda93d52df8217da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1291dda894e89ea8d37d1e0fd6d0b287c85ae3e2db8b4212bda93d52df8217da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1291dda894e89ea8d37d1e0fd6d0b287c85ae3e2db8b4212bda93d52df8217da", kill_on_drop: false }` [INFO] [stdout] 1291dda894e89ea8d37d1e0fd6d0b287c85ae3e2db8b4212bda93d52df8217da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cabe233f2dd53d72e923109894cbe1d2f61ec5535c52c7271842fe03f76fcca [INFO] running `Command { std: "docker" "start" "-a" "8cabe233f2dd53d72e923109894cbe1d2f61ec5535c52c7271842fe03f76fcca", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.18s [INFO] running `Command { std: "docker" "inspect" "8cabe233f2dd53d72e923109894cbe1d2f61ec5535c52c7271842fe03f76fcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cabe233f2dd53d72e923109894cbe1d2f61ec5535c52c7271842fe03f76fcca", kill_on_drop: false }` [INFO] [stdout] 8cabe233f2dd53d72e923109894cbe1d2f61ec5535c52c7271842fe03f76fcca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4d46d89108a08e8ce56153ce8060fca72acfcc268380089586113fbbdfee5cb [INFO] running `Command { std: "docker" "start" "-a" "a4d46d89108a08e8ce56153ce8060fca72acfcc268380089586113fbbdfee5cb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling ts-rs-json-value v7.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/field_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/export_manually.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[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/simple.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[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/nested.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/field_rename.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[ts(rename = "bb")] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/union_with_data.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: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/export_manually.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[ts(export_to = "tests-out/export_here_test.ts")] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/export_manually.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[ts(export_to = "tests-out/export_here_dir_test/")] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/nested.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[ts(inline)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/nested.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[ts(inline)] [INFO] [stdout] | ^^ [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/field_rename.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 6 | 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, bb: 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 `export` found for struct `User` in the current scope [INFO] [stdout] --> tests/export_manually.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 9 | struct User { [INFO] [stdout] | ----------- function or associated item `export` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | User::export().unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `User` [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 `export`, 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 `export` found for struct `UserDir` in the current scope [INFO] [stdout] --> tests/export_manually.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 17 | struct UserDir { [INFO] [stdout] | -------------- function or associated item `export` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 50 | UserDir::export().unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `UserDir` [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 `export`, 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 `C` in the current scope [INFO] [stdout] --> tests/nested.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 21 | struct C { [INFO] [stdout] | -------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | 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] 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/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] 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 "field_rename") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/generics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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] [stderr] error: could not compile `ts-rs-json-value` (test "export_manually") due to 5 previous errors [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "nested") due to 4 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `Simple` in the current scope [INFO] [stdout] --> tests/simple.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 8 | struct Simple { [INFO] [stdout] | ------------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | Simple::inline(), [INFO] [stdout] | ^^^^^^ function or associated item not found in `Simple` [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 `decl` found for struct `Bar` in the current scope [INFO] [stdout] --> tests/union_with_data.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 6 | struct Bar { [INFO] [stdout] | ---------- function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(Bar::decl(), r#"interface Bar { field: number, }"#); [INFO] [stdout] | ^^^^ function or associated item not found in `Bar` [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 `dependencies` found for struct `Bar` in the current scope [INFO] [stdout] --> tests/union_with_data.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 6 | struct Bar { [INFO] [stdout] | ---------- function or associated item `dependencies` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Bar::dependencies(), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Bar` [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/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[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/optional_field.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[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[E0599]: no function or associated item named `decl` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/union_with_data.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 11 | struct Foo { [INFO] [stdout] | ---------- function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | assert_eq!(Foo::decl(), r#"interface Foo { bar: Bar, }"#); [INFO] [stdout] | ^^^^ function or associated item not found in `Foo` [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 `dependencies` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/union_with_data.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 11 | struct Foo { [INFO] [stdout] | ---------- function or associated item `dependencies` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | Foo::dependencies(), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Foo` [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[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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/cmp.rs:265:5 [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[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/skip.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 variant or associated item named `decl` found for enum `SimpleEnum` in the current scope [INFO] [stdout] --> tests/union_with_data.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 16 | enum SimpleEnum { [INFO] [stdout] | --------------- variant or associated item `decl` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 37 | 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: 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: 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] [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[E0599]: no variant or associated item named `dependencies` found for enum `SimpleEnum` in the current scope [INFO] [stdout] --> tests/union_with_data.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 16 | enum SimpleEnum { [INFO] [stdout] | --------------- variant or associated item `dependencies` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 40 | assert!(SimpleEnum::dependencies() [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 `dependencies`, 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] 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] 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[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[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[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/list.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] 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/skip.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[ts(skip)] [INFO] [stdout] | ^^ [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[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[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/lifetimes.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] [stderr] error: could not compile `ts-rs-json-value` (test "simple") due to 2 previous errors [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "union_with_data") due to 7 previous errors [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "tuple") due to 5 previous errors [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[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 `Skip` in the current scope [INFO] [stdout] --> tests/skip.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct Skip { [INFO] [stdout] | ----------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | assert_eq!(Skip::inline(), "{ a: number, b: number, }"); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Skip` [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] 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 "skip") due to 3 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/lifetimes.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 7 | struct S<'a> { [INFO] [stdout] | ------------ function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 11 | assert_eq!(S::decl(), "interface S { s: string, }") [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 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] Some errors have detailed explanations: E0432, E0599. [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] 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/union.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[ts(rename = "asdf")] [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] 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] error[E0599]: no function or associated item named `decl` found for struct `List` in the current scope [INFO] [stdout] --> tests/list.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 6 | struct List { [INFO] [stdout] | ----------- function or associated item `decl` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | List::decl(), [INFO] [stdout] | ^^^^ function or associated item not found in `List` [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 "lifetimes") due to 2 previous errors [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/generics.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | #[ts(inline)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/optional_field.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[ts(optional)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rs-json-value` (test "list") due to 2 previous errors [INFO] [stdout] error: cannot find attribute `ts` in this scope [INFO] [stdout] --> tests/generics.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | #[ts(flatten)] [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 "unsized") due to 2 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] 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") due to 4 previous errors [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 "generics") due to 3 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `inline` found for struct `Optional` in the current scope [INFO] [stdout] --> tests/optional_field.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 7 | struct Optional { [INFO] [stdout] | --------------- function or associated item `inline` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | assert_eq!(Optional::inline(), "{ a?: number, b?: string, }") [INFO] [stdout] | ^^^^^^ function or associated item not found in `Optional` [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 "optional_field") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "a4d46d89108a08e8ce56153ce8060fca72acfcc268380089586113fbbdfee5cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4d46d89108a08e8ce56153ce8060fca72acfcc268380089586113fbbdfee5cb", kill_on_drop: false }` [INFO] [stdout] a4d46d89108a08e8ce56153ce8060fca72acfcc268380089586113fbbdfee5cb