[INFO] fetching crate swc_html_ast 4.0.1...
[INFO] checking swc_html_ast-4.0.1 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1
[INFO] extracting crate swc_html_ast 4.0.1 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate swc_html_ast 4.0.1 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate swc_html_ast 4.0.1
[INFO] finished tweaking crates.io crate swc_html_ast 4.0.1
[INFO] tweaked toml for crates.io crate swc_html_ast 4.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 100 packages to latest compatible versions
[INFO] [stderr] Adding rkyv v0.7.45 (available: v0.8.8)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c446e76b0f133148451943fd2d8dfbcc37bb5afd984ef178616b27a65fd13d87
[INFO] running `Command { std: "docker" "start" "-a" "c446e76b0f133148451943fd2d8dfbcc37bb5afd984ef178616b27a65fd13d87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c446e76b0f133148451943fd2d8dfbcc37bb5afd984ef178616b27a65fd13d87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c446e76b0f133148451943fd2d8dfbcc37bb5afd984ef178616b27a65fd13d87", kill_on_drop: false }`
[INFO] [stdout] c446e76b0f133148451943fd2d8dfbcc37bb5afd984ef178616b27a65fd13d87
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 01e705babfa8e926001a8cf581e3bb5dc14fa4b856f57774d5b3e6f0b8c0e4a1
[INFO] running `Command { std: "docker" "start" "-a" "01e705babfa8e926001a8cf581e3bb5dc14fa4b856f57774d5b3e6f0b8c0e4a1", 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] Checking stable_deref_trait v1.2.0
[INFO] [stderr] Checking writeable v0.5.5
[INFO] [stderr] Checking litemap v0.7.4
[INFO] [stderr] Compiling version_check v0.9.5
[INFO] [stderr] Checking once_cell v1.20.2
[INFO] [stderr] Checking icu_locid_transform_data v1.5.0
[INFO] [stderr] Checking icu_properties_data v1.5.0
[INFO] [stderr] Compiling syn v2.0.89
[INFO] [stderr] Checking allocator-api2 v0.2.20
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling autocfg v1.4.0
[INFO] [stderr] Checking zerocopy v0.7.35
[INFO] [stderr] Checking cfg-if v1.0.0
[INFO] [stderr] Checking utf8_iter v1.0.4
[INFO] [stderr] Checking write16 v1.0.0
[INFO] [stderr] Checking icu_normalizer_data v1.5.0
[INFO] [stderr] Checking siphasher v0.3.11
[INFO] [stderr] Checking smallvec v1.13.2
[INFO] [stderr] Checking utf16_iter v1.0.5
[INFO] [stderr] Compiling ahash v0.8.11
[INFO] [stderr] Checking rustc-hash v1.1.0
[INFO] [stderr] Checking phf_shared v0.11.2
[INFO] [stderr] Checking new_debug_unreachable v1.0.6
[INFO] [stderr] Checking percent-encoding v2.3.1
[INFO] [stderr] Checking bumpalo v3.16.0
[INFO] [stderr] Checking tracing-core v0.1.32
[INFO] [stderr] Checking phf v0.11.2
[INFO] [stderr] Checking form_urlencoded v1.2.1
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Checking scoped-tls v1.0.1
[INFO] [stderr] Checking pin-project-lite v0.2.15
[INFO] [stderr] Checking either v1.13.0
[INFO] [stderr] Checking hashbrown v0.14.5
[INFO] [stderr] Checking better_scoped_tls v1.0.0
[INFO] [stderr] Checking unicode-width v0.1.14
[INFO] [stderr] Compiling heck v0.5.0
[INFO] [stderr] Checking swc_visit v2.0.0
[INFO] [stderr] Checking num-integer v0.1.46
[INFO] [stderr] Checking num-bigint v0.4.6
[INFO] [stderr] Compiling ptr_meta_derive v0.1.4
[INFO] [stderr] Checking ptr_meta v0.1.4
[INFO] [stderr] Compiling synstructure v0.13.1
[INFO] [stderr] Compiling swc_macros_common v1.0.0
[INFO] [stderr] Compiling zerofrom-derive v0.1.5
[INFO] [stderr] Compiling yoke-derive v0.7.5
[INFO] [stderr] Compiling zerovec-derive v0.10.3
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling icu_provider_macros v1.5.0
[INFO] [stderr] Compiling serde_derive v1.0.215
[INFO] [stderr] Compiling tracing-attributes v0.1.27
[INFO] [stderr] Compiling from_variant v2.0.0
[INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0
[INFO] [stderr] Compiling ast_node v2.0.0
[INFO] [stderr] Compiling is-macro v0.3.7
[INFO] [stderr] Compiling string_enum v1.0.0
[INFO] [stderr] Checking tracing v0.1.40
[INFO] [stderr] Checking zerofrom v0.1.5
[INFO] [stderr] Checking yoke v0.7.5
[INFO] [stderr] Checking zerovec v0.10.4
[INFO] [stderr] Checking serde v1.0.215
[INFO] [stderr] Checking tinystr v0.7.6
[INFO] [stderr] Checking icu_collections v1.5.0
[INFO] [stderr] Checking icu_locid v1.5.0
[INFO] [stderr] Checking icu_provider v1.5.0
[INFO] [stderr] Checking icu_locid_transform v1.5.0
[INFO] [stderr] Checking icu_properties v1.5.1
[INFO] [stderr] Checking triomphe v0.1.14
[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 icu_normalizer v1.5.0
[INFO] [stderr] Checking idna_adapter v1.2.0
[INFO] [stderr] Checking idna v1.0.3
[INFO] [stderr] Checking url v2.5.4
[INFO] [stderr] Checking swc_common v4.0.1
[INFO] [stderr] Checking swc_html_ast v4.0.1 (/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_html_ast`
[INFO] [stderr]
[INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files:
[INFO] [stderr]
[INFO] [stderr] * src/base.rs
[INFO] [stderr] * src/token.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/base.rs:8:12
[INFO] [stderr] |
[INFO] [stderr] 8 | pub struct &Document {
[INFO] [stderr] | ^ expected identifier
[INFO] [stderr]
[INFO] [stderr] error: expected identifier, found `&`
[INFO] [stderr] --> src/token.rs:6:12
[INFO] [stderr] |
[INFO] [stderr] 6 | pub struct &TokenAndSpan {
[INFO] [stderr] | ^ expected identifier
[INFO] [stderr]
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr]
[INFO] [stderr] Original diagnostics will follow.
[INFO] [stderr]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:8:12
[INFO] [stdout] |
[INFO] [stdout] 8 | pub struct Document {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 9 | | pub span: Span,
[INFO] [stdout] 10 | | pub mode: DocumentMode,
[INFO] [stdout] 11 | | pub children: Vec,
[INFO] [stdout] 12 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:16:12
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct DocumentFragment {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 17 | | pub span: Span,
[INFO] [stdout] 18 | | pub children: Vec,
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:42:10
[INFO] [stdout] |
[INFO] [stdout] 42 | pub enum Child {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | __________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 43 | | #[tag("DocumentType")]
[INFO] [stdout] 44 | | DocumentType(DocumentType),
[INFO] [stdout] | |______________________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:42:10
[INFO] [stdout] |
[INFO] [stdout] 42 | pub enum Child {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | __________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 43 | | #[tag("DocumentType")]
[INFO] [stdout] 44 | | DocumentType(DocumentType),
[INFO] [stdout] 45 | | #[tag("Element")]
[INFO] [stdout] 46 | | Element(Element),
[INFO] [stdout] | |____________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:42:10
[INFO] [stdout] |
[INFO] [stdout] 42 | pub enum Child {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | __________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 43 | | #[tag("DocumentType")]
[INFO] [stdout] 44 | | DocumentType(DocumentType),
[INFO] [stdout] 45 | | #[tag("Element")]
[INFO] [stdout] 46 | | Element(Element),
[INFO] [stdout] 47 | | #[tag("Text")]
[INFO] [stdout] 48 | | Text(Text),
[INFO] [stdout] | |______________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:42:10
[INFO] [stdout] |
[INFO] [stdout] 42 | pub enum Child {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | __________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 43 | | #[tag("DocumentType")]
[INFO] [stdout] 44 | | DocumentType(DocumentType),
[INFO] [stdout] 45 | | #[tag("Element")]
[INFO] [stdout] ... |
[INFO] [stdout] 49 | | #[tag("Comment")]
[INFO] [stdout] 50 | | Comment(Comment),
[INFO] [stdout] | |____________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:55:12
[INFO] [stdout] |
[INFO] [stdout] 55 | pub struct DocumentType {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 56 | | pub span: Span,
[INFO] [stdout] 57 | |
[INFO] [stdout] 58 | | pub name: Option,
[INFO] [stdout] ... |
[INFO] [stdout] 63 | | pub raw: Option,
[INFO] [stdout] 64 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:101:12
[INFO] [stdout] |
[INFO] [stdout] 101 | pub struct Element {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 102 | | pub span: Span,
[INFO] [stdout] 103 | |
[INFO] [stdout] 104 | | pub tag_name: Atom,
[INFO] [stdout] ... |
[INFO] [stdout] 110 | | pub is_self_closing: bool,
[INFO] [stdout] 111 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:115:12
[INFO] [stdout] |
[INFO] [stdout] 115 | pub struct Attribute {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 116 | | pub span: Span,
[INFO] [stdout] 117 | | pub namespace: Option,
[INFO] [stdout] ... |
[INFO] [stdout] 125 | | pub raw_value: Option,
[INFO] [stdout] 126 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:139:12
[INFO] [stdout] |
[INFO] [stdout] 139 | pub struct Text {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 140 | | pub span: Span,
[INFO] [stdout] 141 | |
[INFO] [stdout] 142 | | pub data: Atom,
[INFO] [stdout] 143 | | pub raw: Option,
[INFO] [stdout] 144 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:154:12
[INFO] [stdout] |
[INFO] [stdout] 154 | pub struct Comment {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 155 | | pub span: Span,
[INFO] [stdout] 156 | |
[INFO] [stdout] 157 | | pub data: Atom,
[INFO] [stdout] 158 | | pub raw: Option,
[INFO] [stdout] 159 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:6:12
[INFO] [stdout] |
[INFO] [stdout] 6 | pub struct TokenAndSpan {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 7 | | pub span: Span,
[INFO] [stdout] 8 | | pub token: Token,
[INFO] [stdout] 9 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:13:12
[INFO] [stdout] |
[INFO] [stdout] 13 | pub struct AttributeToken {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 14 | | pub span: Span,
[INFO] [stdout] 15 | |
[INFO] [stdout] 16 | | pub name: Atom,
[INFO] [stdout] ... |
[INFO] [stdout] 20 | | pub raw_value: Option,
[INFO] [stdout] 21 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `swc_html_ast`
[INFO] [stderr]
[INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files:
[INFO] [stderr]
[INFO] [stderr] * src/base.rs
[INFO] [stderr] * src/token.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/base.rs:8:12
[INFO] [stderr] |
[INFO] [stderr] 8 | pub struct &Document {
[INFO] [stderr] | ^ expected identifier
[INFO] [stderr]
[INFO] [stderr] error: expected identifier, found `&`
[INFO] [stderr] --> src/token.rs:6:12
[INFO] [stderr] |
[INFO] [stderr] 6 | pub struct &TokenAndSpan {
[INFO] [stderr] | ^ expected identifier
[INFO] [stderr]
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr]
[INFO] [stderr] Original diagnostics will follow.
[INFO] [stderr]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:8:12
[INFO] [stdout] |
[INFO] [stdout] 8 | pub struct Document {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 9 | | pub span: Span,
[INFO] [stdout] 10 | | pub mode: DocumentMode,
[INFO] [stdout] 11 | | pub children: Vec,
[INFO] [stdout] 12 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:16:12
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct DocumentFragment {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 17 | | pub span: Span,
[INFO] [stdout] 18 | | pub children: Vec,
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:42:10
[INFO] [stdout] |
[INFO] [stdout] 42 | pub enum Child {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | __________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 43 | | #[tag("DocumentType")]
[INFO] [stdout] 44 | | DocumentType(DocumentType),
[INFO] [stdout] | |______________________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:42:10
[INFO] [stdout] |
[INFO] [stdout] 42 | pub enum Child {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | __________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 43 | | #[tag("DocumentType")]
[INFO] [stdout] 44 | | DocumentType(DocumentType),
[INFO] [stdout] 45 | | #[tag("Element")]
[INFO] [stdout] 46 | | Element(Element),
[INFO] [stdout] | |____________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:42:10
[INFO] [stdout] |
[INFO] [stdout] 42 | pub enum Child {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | __________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 43 | | #[tag("DocumentType")]
[INFO] [stdout] 44 | | DocumentType(DocumentType),
[INFO] [stdout] 45 | | #[tag("Element")]
[INFO] [stdout] 46 | | Element(Element),
[INFO] [stdout] 47 | | #[tag("Text")]
[INFO] [stdout] 48 | | Text(Text),
[INFO] [stdout] | |______________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:42:10
[INFO] [stdout] |
[INFO] [stdout] 42 | pub enum Child {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | __________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 43 | | #[tag("DocumentType")]
[INFO] [stdout] 44 | | DocumentType(DocumentType),
[INFO] [stdout] 45 | | #[tag("Element")]
[INFO] [stdout] ... |
[INFO] [stdout] 49 | | #[tag("Comment")]
[INFO] [stdout] 50 | | Comment(Comment),
[INFO] [stdout] | |____________________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:55:12
[INFO] [stdout] |
[INFO] [stdout] 55 | pub struct DocumentType {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 56 | | pub span: Span,
[INFO] [stdout] 57 | |
[INFO] [stdout] 58 | | pub name: Option,
[INFO] [stdout] ... |
[INFO] [stdout] 63 | | pub raw: Option,
[INFO] [stdout] 64 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:101:12
[INFO] [stdout] |
[INFO] [stdout] 101 | pub struct Element {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 102 | | pub span: Span,
[INFO] [stdout] 103 | |
[INFO] [stdout] 104 | | pub tag_name: Atom,
[INFO] [stdout] ... |
[INFO] [stdout] 110 | | pub is_self_closing: bool,
[INFO] [stdout] 111 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:115:12
[INFO] [stdout] |
[INFO] [stdout] 115 | pub struct Attribute {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 116 | | pub span: Span,
[INFO] [stdout] 117 | | pub namespace: Option,
[INFO] [stdout] ... |
[INFO] [stdout] 125 | | pub raw_value: Option,
[INFO] [stdout] 126 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:139:12
[INFO] [stdout] |
[INFO] [stdout] 139 | pub struct Text {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 140 | | pub span: Span,
[INFO] [stdout] 141 | |
[INFO] [stdout] 142 | | pub data: Atom,
[INFO] [stdout] 143 | | pub raw: Option,
[INFO] [stdout] 144 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:154:12
[INFO] [stdout] |
[INFO] [stdout] 154 | pub struct Comment {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 155 | | pub span: Span,
[INFO] [stdout] 156 | |
[INFO] [stdout] 157 | | pub data: Atom,
[INFO] [stdout] 158 | | pub raw: Option,
[INFO] [stdout] 159 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:6:12
[INFO] [stdout] |
[INFO] [stdout] 6 | pub struct TokenAndSpan {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 7 | | pub span: Span,
[INFO] [stdout] 8 | | pub token: Token,
[INFO] [stdout] 9 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:13:12
[INFO] [stdout] |
[INFO] [stdout] 13 | pub struct AttributeToken {
[INFO] [stdout] | ^
[INFO] [stdout] | |
[INFO] [stdout] | ____________help: desugar the match ergonomics: `&`
[INFO] [stdout] | |
[INFO] [stdout] 14 | | pub span: Span,
[INFO] [stdout] 15 | |
[INFO] [stdout] 16 | | pub name: Atom,
[INFO] [stdout] ... |
[INFO] [stdout] 20 | | pub raw_value: Option,
[INFO] [stdout] 21 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see 123076
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.69s
[INFO] [stderr] Running `cargo check` to verify 2024
[INFO] [stderr] Checking swc_html_ast v4.0.1 (/tmp/fixit)
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:7:20
[INFO] [stdout] |
[INFO] [stdout] 7 | #[derive(Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:7:20
[INFO] [stdout] |
[INFO] [stdout] 7 | #[derive(Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:15:20
[INFO] [stdout] |
[INFO] [stdout] 15 | #[derive(Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:15:20
[INFO] [stdout] |
[INFO] [stdout] 15 | #[derive(Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:41:24
[INFO] [stdout] |
[INFO] [stdout] 41 | #[derive(Eq, Hash, Is, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:41:24
[INFO] [stdout] |
[INFO] [stdout] 41 | #[derive(Eq, Hash, Is, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:100:20
[INFO] [stdout] |
[INFO] [stdout] 100 | #[derive(Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/base.rs:100:20
[INFO] [stdout] |
[INFO] [stdout] 100 | #[derive(Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:5:20
[INFO] [stdout] |
[INFO] [stdout] 5 | #[derive(Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:5:20
[INFO] [stdout] |
[INFO] [stdout] 5 | #[derive(Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:12:37
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Eq, PartialOrd, Ord, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:12:37
[INFO] [stdout] |
[INFO] [stdout] 12 | #[derive(Eq, PartialOrd, Ord, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:23:45
[INFO] [stdout] |
[INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:23:45
[INFO] [stdout] |
[INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:39:45
[INFO] [stdout] |
[INFO] [stdout] 39 | #[derive(Debug, Clone, PartialEq, Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024
[INFO] [stdout] --> src/token.rs:39:45
[INFO] [stdout] |
[INFO] [stdout] 39 | #[derive(Debug, Clone, PartialEq, Eq, Hash, EqIgnoreSpan)]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the derive macro `EqIgnoreSpan` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `swc_html_ast` (lib) due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `swc_html_ast` (lib test) due to 8 previous errors
[INFO] [stderr] error: failed to check after updating to 2024
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101)
[INFO] running `Command { std: "docker" "inspect" "01e705babfa8e926001a8cf581e3bb5dc14fa4b856f57774d5b3e6f0b8c0e4a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01e705babfa8e926001a8cf581e3bb5dc14fa4b856f57774d5b3e6f0b8c0e4a1", kill_on_drop: false }`
[INFO] [stdout] 01e705babfa8e926001a8cf581e3bb5dc14fa4b856f57774d5b3e6f0b8c0e4a1