[INFO] fetching crate swc_ecma_parser 5.0.0... [INFO] checking swc_ecma_parser-5.0.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate swc_ecma_parser 5.0.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate swc_ecma_parser 5.0.0 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate swc_ecma_parser 5.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate swc_ecma_parser 5.0.0 [INFO] tweaked toml for crates.io crate swc_ecma_parser 5.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate swc_ecma_parser 5.0.0 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3439a5e6833e29a0b89bf25a527c3a39ed0d7a6780cfd537e42868684e168e61 [INFO] running `Command { std: "docker" "start" "-a" "3439a5e6833e29a0b89bf25a527c3a39ed0d7a6780cfd537e42868684e168e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3439a5e6833e29a0b89bf25a527c3a39ed0d7a6780cfd537e42868684e168e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3439a5e6833e29a0b89bf25a527c3a39ed0d7a6780cfd537e42868684e168e61", kill_on_drop: false }` [INFO] [stdout] 3439a5e6833e29a0b89bf25a527c3a39ed0d7a6780cfd537e42868684e168e61 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b82470f282330c416e7d1fccb5287926238384cd5cf336fa229d43bf3e7bb791 [INFO] running `Command { std: "docker" "start" "-a" "b82470f282330c416e7d1fccb5287926238384cd5cf336fa229d43bf3e7bb791", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking swc_visit v2.0.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking better_scoped_tls v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling relative-path v1.9.2 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling swc_macros_common v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling from_variant v2.0.0 [INFO] [stderr] Compiling ast_node v2.0.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling string_enum v1.0.0 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling testing_macros v1.0.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking triomphe v0.1.14 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking hstr v0.2.12 [INFO] [stderr] Checking swc_allocator v1.0.0 [INFO] [stderr] Checking swc_atoms v2.0.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking codspeed v2.6.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking swc_common v4.0.0 [INFO] [stderr] Checking swc_ecma_ast v4.0.0 [INFO] [stderr] Checking swc_error_reporters v5.0.0 [INFO] [stderr] Checking testing v4.0.0 [INFO] [stderr] Checking codspeed-criterion-compat v2.6.0 [INFO] [stderr] Checking swc_ecma_visit v4.0.0 [INFO] [stderr] Checking swc_ecma_parser v5.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `swc_ecma_parser` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/parser/class_and_fn.rs [INFO] [stderr] * src/parser/expr.rs [INFO] [stderr] * src/parser/ident.rs [INFO] [stderr] * src/parser/jsx.rs [INFO] [stderr] * src/parser/object.rs [INFO] [stderr] * src/parser/pat.rs [INFO] [stderr] * src/parser/stmt.rs [INFO] [stderr] * src/parser/stmt/module_item.rs [INFO] [stderr] * src/parser/typescript.rs [INFO] [stderr] * src/parser/util.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected identifier, found `&` [INFO] [stderr] --> src/parser/expr.rs:1983:28 [INFO] [stderr] | [INFO] [stderr] 1983 | pub(in crate::parser) enum &AssignTargetOrSpread { [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::parser::expr::AssignTargetOrSpread` [INFO] [stderr] --> src/parser/pat.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | parser::{class_and_fn::is_not_this, expr::AssignTargetOrSpread}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AssignTargetOrSpread` in `parser::expr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse_lhs_expr` found for mutable reference `&mut parser::Parser` in the current scope [INFO] [stderr] --> src/parser/class_and_fn.rs:233:32 [INFO] [stderr] | [INFO] [stderr] 233 | let super_class = self.parse_lhs_expr()?; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `parse_class_expr` with a similar name, but with different arguments [INFO] [stderr] --> src/parser/class_and_fn.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | / pub(super) fn parse_class_expr( [INFO] [stderr] 58 | | &mut self, [INFO] [stderr] 59 | | start: BytePos, [INFO] [stderr] 60 | | decorators: Vec, [INFO] [stderr] 61 | | ) -> PResult> { [INFO] [stderr] | |___________________________^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse_expr` found for mutable reference `&mut parser::Parser` in the current scope [INFO] [stderr] --> src/parser/class_and_fn.rs:294:29 [INFO] [stderr] | [INFO] [stderr] 294 | let expr = self.parse_expr()?; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `parse_fn_expr` with a similar name [INFO] [stderr] | [INFO] [stderr] 294 | let expr = self.parse_fn_expr()?; [INFO] [stderr] | ~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse_subscripts` found for mutable reference `&mut parser::Parser` in the current scope [INFO] [stderr] --> src/parser/class_and_fn.rs:303:18 [INFO] [stderr] | [INFO] [stderr] 303 | self.parse_subscripts(Callee::Expr(expr), false, true)? [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `parse_script` with a similar name, but with different arguments [INFO] [stderr] --> src/parser/mod.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn parse_script(&mut self) -> PResult