[INFO] fetching crate type_reflect 0.6.2... [INFO] testing type_reflect-0.6.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate type_reflect 0.6.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate type_reflect 0.6.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate type_reflect 0.6.2 [INFO] tweaked toml for crates.io crate type_reflect 0.6.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate type_reflect 0.6.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate type_reflect 0.6.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16691e4f0fc5c252f6ff1db197955a302aeb87ccbe02b27506a2b4746207dbcd [INFO] running `Command { std: "docker" "start" "-a" "16691e4f0fc5c252f6ff1db197955a302aeb87ccbe02b27506a2b4746207dbcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16691e4f0fc5c252f6ff1db197955a302aeb87ccbe02b27506a2b4746207dbcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16691e4f0fc5c252f6ff1db197955a302aeb87ccbe02b27506a2b4746207dbcd", kill_on_drop: false }` [INFO] [stdout] 16691e4f0fc5c252f6ff1db197955a302aeb87ccbe02b27506a2b4746207dbcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a15ea53b0e6d475b51c0cf59962498e399d7aa1b7165e0ab7bfd639fbd6ad8d6 [INFO] running `Command { std: "docker" "start" "-a" "a15ea53b0e6d475b51c0cf59962498e399d7aa1b7165e0ab7bfd639fbd6ad8d6", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling swc_visit v2.0.0 [INFO] [stderr] Compiling better_scoped_tls v0.1.1 [INFO] [stderr] Compiling better_scoped_tls v1.0.0 [INFO] [stderr] Compiling unicode-id v0.3.4 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling deno_terminal v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling type_reflect_core v0.5.0 [INFO] [stderr] Compiling dprint-core-macros v0.1.0 [INFO] [stderr] Compiling ts_quote_macros v0.4.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling type_reflect_macros v0.5.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pmutil v0.6.1 [INFO] [stderr] Compiling swc_macros_common v1.0.0 [INFO] [stderr] Compiling swc_macros_common v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Compiling from_variant v2.0.0 [INFO] [stderr] Compiling ast_node v3.0.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.2 [INFO] [stderr] Compiling string_enum v1.0.0 [INFO] [stderr] Compiling deno_error_macro v0.5.7 [INFO] [stderr] Compiling capacity_builder_macros v0.3.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling capacity_builder v0.5.0 [INFO] [stderr] Compiling swc_visit_macros v0.5.8 [INFO] [stderr] Compiling ast_node v0.9.5 [INFO] [stderr] Compiling from_variant v0.1.6 [INFO] [stderr] Compiling string_enum v0.4.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling deno_error v0.5.7 [INFO] [stderr] Compiling hstr v0.2.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling swc_visit v0.5.7 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling text_lines v0.6.0 [INFO] [stderr] Compiling swc_atoms v0.6.4 [INFO] [stderr] Compiling deno_media_type v0.1.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hstr v1.0.0 [INFO] [stderr] Compiling swc_allocator v4.0.0 [INFO] [stderr] Compiling swc_atoms v5.0.0 [INFO] [stderr] Compiling dprint-core v0.62.1 [INFO] [stderr] Compiling dprint-core v0.67.4 [INFO] [stderr] Compiling deno_media_type v0.2.8 [INFO] [stderr] Compiling swc_common v0.33.9 [INFO] [stderr] Compiling swc_common v9.2.0 [INFO] [stderr] Compiling swc_ecma_ast v9.0.0 [INFO] [stderr] Compiling swc_ecma_ast v0.110.10 [INFO] [stderr] Compiling swc_ecma_parser v0.141.26 [INFO] [stderr] Compiling swc_ecma_lexer v12.0.0 [INFO] [stderr] Compiling swc_ecma_parser v12.0.0 [INFO] [stderr] Compiling dprint-swc-ext v0.24.0 [INFO] [stderr] Compiling dprint-swc-ext v0.13.0 [INFO] [stderr] Compiling deno_ast v0.47.0 [INFO] [stderr] Compiling deno_ast v0.31.6 [INFO] [stderr] Compiling dprint-plugin-typescript v0.95.4 [INFO] [stderr] Compiling dprint-plugin-typescript v0.88.3 [INFO] [stderr] Compiling ts_quote v0.4.0 [INFO] [stderr] Compiling type_reflect v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/type_script/untagged_enum_type.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | if let Some(field) = tuple_fields.first() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/type_script/untagged_enum_type.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some(field) = tuple_fields.first() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NextControlFlowPosition`, `PreferHanging`, `QuoteStyle`, and `SameOrNextLinePosition` [INFO] [stdout] --> src/type_script/mod.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | ConfigurationBuilder, NextControlFlowPosition, PreferHanging, QuoteStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 11 | SameOrNextLinePosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> src/ts_validation/enum_type/untagged/case_type.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use type_reflect_core::{EnumCase, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inflection` [INFO] [stdout] --> src/ts_validation/enum_type/untagged/union_case.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use type_reflect_core::{inflection, EnumCase, Inflectable, Inflection, Type}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NextControlFlowPosition`, `PreferHanging`, `QuoteStyle`, and `SameOrNextLinePosition` [INFO] [stdout] --> src/ts_format.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | ConfigurationBuilder, NextControlFlowPosition, PreferHanging, QuoteStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | SameOrNextLinePosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `named_fields` [INFO] [stdout] --> src/type_script/untagged_enum_type.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | TypeFieldsDefinition::Named(named_fields) => union_case_type_name(case, parent_name), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_named_fields` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case` [INFO] [stdout] --> src/type_script/untagged_enum_type.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | case: &EnumCase, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_name` [INFO] [stdout] --> src/type_script/untagged_enum_type.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | parent_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case_type_name` [INFO] [stdout] --> src/ts_validation/enum_type/untagged/union_case.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let case_type_name = emit_case_type_name(case, parent_name); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_case_type_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `type_reflect` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a15ea53b0e6d475b51c0cf59962498e399d7aa1b7165e0ab7bfd639fbd6ad8d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15ea53b0e6d475b51c0cf59962498e399d7aa1b7165e0ab7bfd639fbd6ad8d6", kill_on_drop: false }` [INFO] [stdout] a15ea53b0e6d475b51c0cf59962498e399d7aa1b7165e0ab7bfd639fbd6ad8d6