[INFO] fetching crate ts-rs-json-value 7.0.3... [INFO] testing ts-rs-json-value-7.0.3 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ts-rs-json-value 7.0.3 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ts-rs-json-value 7.0.3 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96960f1be62346e679144ac78b949f67584e4f92629d7ae5265c3c574c580430 [INFO] running `Command { std: "docker" "start" "-a" "96960f1be62346e679144ac78b949f67584e4f92629d7ae5265c3c574c580430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96960f1be62346e679144ac78b949f67584e4f92629d7ae5265c3c574c580430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96960f1be62346e679144ac78b949f67584e4f92629d7ae5265c3c574c580430", kill_on_drop: false }` [INFO] [stdout] 96960f1be62346e679144ac78b949f67584e4f92629d7ae5265c3c574c580430 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cacb7a3e7039ec29fc4a1aa800a0b0479fb506b83c6345f1a9eeeefdbe9664d [INFO] running `Command { std: "docker" "start" "-a" "6cacb7a3e7039ec29fc4a1aa800a0b0479fb506b83c6345f1a9eeeefdbe9664d", kill_on_drop: false }` [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] Compiling ts-rs-json-value v7.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "6cacb7a3e7039ec29fc4a1aa800a0b0479fb506b83c6345f1a9eeeefdbe9664d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cacb7a3e7039ec29fc4a1aa800a0b0479fb506b83c6345f1a9eeeefdbe9664d", kill_on_drop: false }` [INFO] [stdout] 6cacb7a3e7039ec29fc4a1aa800a0b0479fb506b83c6345f1a9eeeefdbe9664d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae47d597689b4d68007c73800c0faa86fdd87b86951b222d05b49b244dd4ff0c [INFO] running `Command { std: "docker" "start" "-a" "ae47d597689b4d68007c73800c0faa86fdd87b86951b222d05b49b244dd4ff0c", kill_on_drop: false }` [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/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[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] [stderr] error: could not compile `ts-rs-json-value` (test "raw_idents") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `ts_rs` [INFO] [stdout] --> tests/raw_idents.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] For more information about this error, try `rustc --explain E0432`. [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] [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[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 `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 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] 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/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[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 "unsized") due to 2 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] [stderr] error: could not compile `ts-rs-json-value` (test "unit") due to 5 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[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] [stderr] error: could not compile `ts-rs-json-value` (test "lifetimes") due to 2 previous errors [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[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 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[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] 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] = 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] [stderr] error: could not compile `ts-rs-json-value` (test "union_with_data") due to 7 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] 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] 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] [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] [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] 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 6 others [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/vec/mod.rs:459:5 [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 6 others [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/vec/mod.rs:459:5 [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 `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] [stderr] error: could not compile `ts-rs-json-value` (test "generic_fields") due to 9 previous errors [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] running `Command { std: "docker" "inspect" "ae47d597689b4d68007c73800c0faa86fdd87b86951b222d05b49b244dd4ff0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae47d597689b4d68007c73800c0faa86fdd87b86951b222d05b49b244dd4ff0c", kill_on_drop: false }` [INFO] [stdout] ae47d597689b4d68007c73800c0faa86fdd87b86951b222d05b49b244dd4ff0c