[INFO] fetching crate wasm-bridge-jco 0.2.0... [INFO] checking wasm-bridge-jco-0.2.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate wasm-bridge-jco 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate wasm-bridge-jco 0.2.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasm-bridge-jco 0.2.0 [INFO] finished tweaking crates.io crate wasm-bridge-jco 0.2.0 [INFO] tweaked toml for crates.io crate wasm-bridge-jco 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cranelift-entity v0.98.2 (available: v0.112.1) [INFO] [stderr] Adding fallible-iterator v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding gimli v0.27.3 (available: v0.31.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding object v0.30.4 (available: v0.36.4) [INFO] [stderr] Adding pulldown-cmark v0.8.0 (available: v0.12.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasm-encoder v0.29.0 (available: v0.217.0) [INFO] [stderr] Adding wasm-metadata v0.8.0 (available: v0.217.0) [INFO] [stderr] Adding wasmparser v0.107.0 (available: v0.217.0) [INFO] [stderr] Adding wasmparser v0.121.2 (available: v0.217.0) [INFO] [stderr] Adding wasmprinter v0.2.80 (available: v0.217.0) [INFO] [stderr] Adding wasmtime-component-util v11.0.2 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-environ v11.0.2 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-types v11.0.2 (available: v25.0.1) [INFO] [stderr] Adding wit-component v0.11.0 (available: v0.217.0) [INFO] [stderr] Adding wit-parser v0.8.0 (available: v0.217.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fc615c012ce957d8b09977aaa56641f6ac7efbcae80ab18661ed47a7d233c09 [INFO] running `Command { std: "docker" "start" "-a" "0fc615c012ce957d8b09977aaa56641f6ac7efbcae80ab18661ed47a7d233c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fc615c012ce957d8b09977aaa56641f6ac7efbcae80ab18661ed47a7d233c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fc615c012ce957d8b09977aaa56641f6ac7efbcae80ab18661ed47a7d233c09", kill_on_drop: false }` [INFO] [stdout] 0fc615c012ce957d8b09977aaa56641f6ac7efbcae80ab18661ed47a7d233c09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b19e5ddff5cddc99701ed043ab7c8b13810e3c97695298a4987fe5374354d237 [INFO] running `Command { std: "docker" "start" "-a" "b19e5ddff5cddc99701ed043ab7c8b13810e3c97695298a4987fe5374354d237", 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 serde v1.0.210 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking wasm-encoder v0.29.0 [INFO] [stderr] Checking wasm-encoder v0.217.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking wasmtime-component-util v11.0.2 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking wast v217.0.0 [INFO] [stderr] Checking wasmparser v0.121.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking wasmprinter v0.2.80 [INFO] [stderr] Checking wat v1.217.0 [INFO] [stderr] Checking cranelift-entity v0.98.2 [INFO] [stderr] Checking wasmparser v0.107.0 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Checking wit-parser v0.8.0 [INFO] [stderr] Checking wasm-metadata v0.8.0 [INFO] [stderr] Checking wasmtime-types v11.0.2 [INFO] [stderr] Checking wit-component v0.11.0 [INFO] [stderr] Checking wasmtime-environ v11.0.2 [INFO] [stderr] Checking wasm-bridge-jco v0.2.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 `wasm_bridge_jco` [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] [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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:36:6 [INFO] [stderr] | [INFO] [stderr] 36 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:49:6 [INFO] [stderr] | [INFO] [stderr] 49 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | gen: &mut bindgen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | instantiator.gen.src.js(&instantiator.src.js); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | instantiator.gen.src.js_init(&instantiator.src.js_init); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | instantiator.gen.finish_component(name, files); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | .gen [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | gen: &'a mut JsBindgen<'b>, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | if self.gen.opts.instantiation { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:418:32 [INFO] [stdout] | [INFO] [stdout] 418 | let instantiate = self.gen.intrinsic(Intrinsic::InstantiateCore); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | map_import(&self.gen.opts.map, &import_name); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:459:14 [INFO] [stdout] | [INFO] [stdout] 459 | .gen [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:484:22 [INFO] [stdout] | [INFO] [stdout] 484 | self.gen.esm_bindgen.add_import_binding( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493 | self.gen.esm_bindgen.add_import_binding( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:499:18 [INFO] [stdout] | [INFO] [stdout] 499 | self.gen [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:538:17 [INFO] [stdout] | [INFO] [stdout] 538 | if self.gen.opts.tla_compat && matches!(abi, AbiVariant::GuestExport) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:539:44 [INFO] [stdout] | [INFO] [stdout] 539 | let throw_uninitialized = self.gen.intrinsic(Intrinsic::ThrowUninitialized); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:549:35 [INFO] [stdout] | [INFO] [stdout] 549 | intrinsics: &mut self.gen.all_intrinsics, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:550:46 [INFO] [stdout] | [INFO] [stdout] 550 | valid_lifting_optimization: self.gen.opts.valid_lifting_optimization, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:625:43 [INFO] [stdout] | [INFO] [stdout] 625 | let local_name = self.gen.local_names.create_once(export_name).to_string(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:635:26 [INFO] [stdout] | [INFO] [stdout] 635 | self.gen.esm_bindgen.add_export_binding( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:653:34 [INFO] [stdout] | [INFO] [stdout] 653 | ... self.gen.local_names.create_once(func_name).to_string(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:660:30 [INFO] [stdout] | [INFO] [stdout] 660 | self.gen.esm_bindgen.add_export_binding( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:675:14 [INFO] [stdout] | [INFO] [stdout] 675 | self.gen.esm_bindgen.populate_export_aliases(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | gen: &'a mut TsBindgen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | let mut gen = bindgen.ts_interface(resolve); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | gen.docs(&ty.docs); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | ... gen.type_record(*tid, name, record, &ty.docs) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | TypeDefKind::Flags(flags) => gen.type_flags(*tid, name, flags, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | TypeDefKind::Tuple(tuple) => gen.type_tuple(*tid, name, tuple, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:104:53 [INFO] [stdout] | [INFO] [stdout] 104 | TypeDefKind::Enum(enum_) => gen.type_enum(*tid, name, enum_, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | ... gen.type_variant(*tid, name, variant, &ty.docs) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:108:51 [INFO] [stdout] | [INFO] [stdout] 108 | TypeDefKind::Option(t) => gen.type_option(*tid, name, t, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:109:51 [INFO] [stdout] | [INFO] [stdout] 109 | TypeDefKind::Result(r) => gen.type_result(*tid, name, r, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | TypeDefKind::Union(u) => gen.type_union(*tid, name, u, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:111:49 [INFO] [stdout] | [INFO] [stdout] 111 | TypeDefKind::List(t) => gen.type_list(*tid, name, t, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | let output = gen.src.to_string(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | gen.ts_func(func, AbiVariant::GuestImport, true, "", ','); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | gen.gen.import_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | gen.gen.import_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:328:41 [INFO] [stdout] | [INFO] [stdout] 328 | gen.gen.import_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | gen.ts_func(func, AbiVariant::GuestExport, false, prefix, end_character); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | gen.gen.export_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | gen.gen.export_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:388:41 [INFO] [stdout] | [INFO] [stdout] 388 | gen.gen.export_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:415:19 [INFO] [stdout] | [INFO] [stdout] 415 | uwriteln!(gen.src, "export namespace {camel} {{"); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | gen.ts_func(func, abi, false, prefix, ';'); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 420 | uwriteln!(gen.src, "}}"); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | gen.types(id); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | gen.post_types(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | gen.src.as_bytes(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | gen: self, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 49 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `wasm_bridge_jco` [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] [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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:36:6 [INFO] [stderr] | [INFO] [stderr] 36 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:49:6 [INFO] [stderr] | [INFO] [stderr] 49 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | gen: &mut bindgen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | instantiator.gen.src.js(&instantiator.src.js); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | instantiator.gen.src.js_init(&instantiator.src.js_init); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | instantiator.gen.finish_component(name, files); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | .gen [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | gen: &'a mut JsBindgen<'b>, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | if self.gen.opts.instantiation { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:418:32 [INFO] [stdout] | [INFO] [stdout] 418 | let instantiate = self.gen.intrinsic(Intrinsic::InstantiateCore); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | map_import(&self.gen.opts.map, &import_name); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:459:14 [INFO] [stdout] | [INFO] [stdout] 459 | .gen [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:484:22 [INFO] [stdout] | [INFO] [stdout] 484 | self.gen.esm_bindgen.add_import_binding( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493 | self.gen.esm_bindgen.add_import_binding( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:499:18 [INFO] [stdout] | [INFO] [stdout] 499 | self.gen [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:538:17 [INFO] [stdout] | [INFO] [stdout] 538 | if self.gen.opts.tla_compat && matches!(abi, AbiVariant::GuestExport) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:539:44 [INFO] [stdout] | [INFO] [stdout] 539 | let throw_uninitialized = self.gen.intrinsic(Intrinsic::ThrowUninitialized); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:549:35 [INFO] [stdout] | [INFO] [stdout] 549 | intrinsics: &mut self.gen.all_intrinsics, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:550:46 [INFO] [stdout] | [INFO] [stdout] 550 | valid_lifting_optimization: self.gen.opts.valid_lifting_optimization, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:625:43 [INFO] [stdout] | [INFO] [stdout] 625 | let local_name = self.gen.local_names.create_once(export_name).to_string(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:635:26 [INFO] [stdout] | [INFO] [stdout] 635 | self.gen.esm_bindgen.add_export_binding( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:653:34 [INFO] [stdout] | [INFO] [stdout] 653 | ... self.gen.local_names.create_once(func_name).to_string(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:660:30 [INFO] [stdout] | [INFO] [stdout] 660 | self.gen.esm_bindgen.add_export_binding( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:675:14 [INFO] [stdout] | [INFO] [stdout] 675 | self.gen.esm_bindgen.populate_export_aliases(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | gen: &'a mut TsBindgen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | let mut gen = bindgen.ts_interface(resolve); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | gen.docs(&ty.docs); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | ... gen.type_record(*tid, name, record, &ty.docs) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | TypeDefKind::Flags(flags) => gen.type_flags(*tid, name, flags, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | TypeDefKind::Tuple(tuple) => gen.type_tuple(*tid, name, tuple, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:104:53 [INFO] [stdout] | [INFO] [stdout] 104 | TypeDefKind::Enum(enum_) => gen.type_enum(*tid, name, enum_, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | ... gen.type_variant(*tid, name, variant, &ty.docs) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:108:51 [INFO] [stdout] | [INFO] [stdout] 108 | TypeDefKind::Option(t) => gen.type_option(*tid, name, t, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:109:51 [INFO] [stdout] | [INFO] [stdout] 109 | TypeDefKind::Result(r) => gen.type_result(*tid, name, r, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | TypeDefKind::Union(u) => gen.type_union(*tid, name, u, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:111:49 [INFO] [stdout] | [INFO] [stdout] 111 | TypeDefKind::List(t) => gen.type_list(*tid, name, t, &ty.docs), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | let output = gen.src.to_string(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | gen.ts_func(func, AbiVariant::GuestImport, true, "", ','); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | gen.gen.import_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | gen.gen.import_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:328:41 [INFO] [stdout] | [INFO] [stdout] 328 | gen.gen.import_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | gen.ts_func(func, AbiVariant::GuestExport, false, prefix, end_character); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | gen.gen.export_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | gen.gen.export_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:388:41 [INFO] [stdout] | [INFO] [stdout] 388 | gen.gen.export_object.push_str(&gen.src); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:415:19 [INFO] [stdout] | [INFO] [stdout] 415 | uwriteln!(gen.src, "export namespace {camel} {{"); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | gen.ts_func(func, abi, false, prefix, ';'); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 420 | uwriteln!(gen.src, "}}"); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | gen.types(id); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | gen.post_types(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | gen.src.as_bytes(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ts_bindgen.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | gen: self, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 36 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 49 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.60s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking wasm-bridge-jco v0.2.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | gen: &mut bindgen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | r#gen: &mut bindgen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | gen: &mut bindgen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | r#gen: &mut bindgen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | instantiator.gen.src.js(&instantiator.src.js); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | instantiator.gen.src.js(&instantiator.src.js); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | instantiator.gen.src.js_init(&instantiator.src.js_init); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | instantiator.gen.src.js_init(&instantiator.src.js_init); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | instantiator.gen.finish_component(name, files); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | .gen [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | instantiator.gen.finish_component(name, files); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | .gen [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 287 | struct Instantiator<'a, 'b> { [INFO] [stdout] | ------------ while parsing this struct [INFO] [stdout] 288 | src: Source, [INFO] [stdout] 289 | gen: &'a mut JsBindgen<'b>, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 289 | r#gen: &'a mut JsBindgen<'b>, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | if self.gen.opts.instantiation { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 287 | struct Instantiator<'a, 'b> { [INFO] [stdout] | ------------ while parsing this struct [INFO] [stdout] 288 | src: Source, [INFO] [stdout] 289 | gen: &'a mut JsBindgen<'b>, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 289 | r#gen: &'a mut JsBindgen<'b>, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | if self.gen.opts.instantiation { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:418:32 [INFO] [stdout] | [INFO] [stdout] 418 | let instantiate = self.gen.intrinsic(Intrinsic::InstantiateCore); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | map_import(&self.gen.opts.map, &import_name); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:418:32 [INFO] [stdout] | [INFO] [stdout] 418 | let instantiate = self.gen.intrinsic(Intrinsic::InstantiateCore); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:459:14 [INFO] [stdout] | [INFO] [stdout] 459 | .gen [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:484:22 [INFO] [stdout] | [INFO] [stdout] 484 | self.gen.esm_bindgen.add_import_binding( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | map_import(&self.gen.opts.map, &import_name); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493 | self.gen.esm_bindgen.add_import_binding( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:459:14 [INFO] [stdout] | [INFO] [stdout] 459 | .gen [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:499:18 [INFO] [stdout] | [INFO] [stdout] 499 | self.gen [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:484:22 [INFO] [stdout] | [INFO] [stdout] 484 | self.gen.esm_bindgen.add_import_binding( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:538:17 [INFO] [stdout] | [INFO] [stdout] 538 | if self.gen.opts.tla_compat && matches!(abi, AbiVariant::GuestExport) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493 | self.gen.esm_bindgen.add_import_binding( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:499:18 [INFO] [stdout] | [INFO] [stdout] 499 | self.gen [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:539:44 [INFO] [stdout] | [INFO] [stdout] 539 | let throw_uninitialized = self.gen.intrinsic(Intrinsic::ThrowUninitialized); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:549:35 [INFO] [stdout] | [INFO] [stdout] 549 | intrinsics: &mut self.gen.all_intrinsics, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:538:17 [INFO] [stdout] | [INFO] [stdout] 538 | if self.gen.opts.tla_compat && matches!(abi, AbiVariant::GuestExport) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:550:46 [INFO] [stdout] | [INFO] [stdout] 550 | valid_lifting_optimization: self.gen.opts.valid_lifting_optimization, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:539:44 [INFO] [stdout] | [INFO] [stdout] 539 | let throw_uninitialized = self.gen.intrinsic(Intrinsic::ThrowUninitialized); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:549:35 [INFO] [stdout] | [INFO] [stdout] 549 | intrinsics: &mut self.gen.all_intrinsics, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:625:43 [INFO] [stdout] | [INFO] [stdout] 625 | let local_name = self.gen.local_names.create_once(export_name).to_string(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:550:46 [INFO] [stdout] | [INFO] [stdout] 550 | valid_lifting_optimization: self.gen.opts.valid_lifting_optimization, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:635:26 [INFO] [stdout] | [INFO] [stdout] 635 | self.gen.esm_bindgen.add_export_binding( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:653:34 [INFO] [stdout] | [INFO] [stdout] 653 | ... self.gen.local_names.create_once(func_name).to_string(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:625:43 [INFO] [stdout] | [INFO] [stdout] 625 | let local_name = self.gen.local_names.create_once(export_name).to_string(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:660:30 [INFO] [stdout] | [INFO] [stdout] 660 | self.gen.esm_bindgen.add_export_binding( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:635:26 [INFO] [stdout] | [INFO] [stdout] 635 | self.gen.esm_bindgen.add_export_binding( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:675:14 [INFO] [stdout] | [INFO] [stdout] 675 | self.gen.esm_bindgen.populate_export_aliases(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:653:34 [INFO] [stdout] | [INFO] [stdout] 653 | ... self.gen.local_names.create_once(func_name).to_string(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:660:30 [INFO] [stdout] | [INFO] [stdout] 660 | self.gen.esm_bindgen.add_export_binding( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:675:14 [INFO] [stdout] | [INFO] [stdout] 675 | self.gen.esm_bindgen.populate_export_aliases(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct TsInterface<'a> { [INFO] [stdout] | ----------- while parsing this struct [INFO] [stdout] 36 | src: Source, [INFO] [stdout] 37 | gen: &'a mut TsBindgen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 37 | r#gen: &'a mut TsBindgen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | let mut gen = bindgen.ts_interface(resolve); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 96 | let mut r#gen = bindgen.ts_interface(resolve); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | gen.docs(&ty.docs); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct TsInterface<'a> { [INFO] [stdout] | ----------- while parsing this struct [INFO] [stdout] 36 | src: Source, [INFO] [stdout] 37 | gen: &'a mut TsBindgen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 37 | r#gen: &'a mut TsBindgen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 326 | let mut r#gen = self.ts_interface(resolve); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | gen.ts_func(func, AbiVariant::GuestImport, true, "", ','); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | let mut gen = bindgen.ts_interface(resolve); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 96 | let mut r#gen = bindgen.ts_interface(resolve); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 378 | let mut r#gen = self.ts_interface(resolve); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | gen.docs(&ty.docs); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | gen.ts_func(func, AbiVariant::GuestExport, false, prefix, end_character); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | gen.gen.export_object.push_str(&gen.src); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 413 | let mut r#gen = self.ts_interface(resolve); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | gen.ts_func(func, abi, false, prefix, ';'); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | gen.types(id); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 326 | let mut r#gen = self.ts_interface(resolve); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | gen: self, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 439 | r#gen: self, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | gen.ts_func(func, AbiVariant::GuestImport, true, "", ','); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 378 | let mut r#gen = self.ts_interface(resolve); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | gen.ts_func(func, AbiVariant::GuestExport, false, prefix, end_character); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | gen.gen.export_object.push_str(&gen.src); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut gen = self.ts_interface(resolve); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 413 | let mut r#gen = self.ts_interface(resolve); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | gen.ts_func(func, abi, false, prefix, ';'); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | gen.types(id); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | gen: self, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 439 | r#gen: self, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:415:19 [INFO] [stdout] | [INFO] [stdout] 415 | uwriteln!(gen.src, "export namespace {camel} {{"); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | --------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:415:19 [INFO] [stdout] | [INFO] [stdout] 415 | uwriteln!(gen.src, "export namespace {camel} {{"); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | --------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 420 | uwriteln!(gen.src, "}}"); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | --------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 420 | uwriteln!(gen.src, "}}"); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | --------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/transpile_bindgen.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | struct Instantiator<'a, 'b> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'b` is never used [INFO] [stdout] --> src/transpile_bindgen.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | struct Instantiator<'a, 'b> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'b`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/transpile_bindgen.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | struct Instantiator<'a, 'b> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'b` is never used [INFO] [stdout] --> src/transpile_bindgen.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | struct Instantiator<'a, 'b> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'b`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/ts_bindgen.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | struct TsInterface<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/ts_bindgen.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | struct TsInterface<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:444:58 [INFO] [stdout] | [INFO] [stdout] 444 | let iface = &self.resolve.interfaces[*i]; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/transpile_bindgen.rs:449:68 [INFO] [stdout] | [INFO] [stdout] 449 | Some(iface.name.as_ref().unwrap_or_else(|| import_name)), [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:444:58 [INFO] [stdout] | [INFO] [stdout] 444 | let iface = &self.resolve.interfaces[*i]; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/transpile_bindgen.rs:449:68 [INFO] [stdout] | [INFO] [stdout] 449 | Some(iface.name.as_ref().unwrap_or_else(|| import_name)), [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transpile_bindgen.rs:631:55 [INFO] [stdout] | [INFO] [stdout] 631 | ... WorldItem::Function(f) => f, [INFO] [stdout] | ^ expected `&Function`, found `Function` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 631 | WorldItem::Function(f) => &f, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:643:53 [INFO] [stdout] | [INFO] [stdout] 643 | WorldItem::Interface(id) => *id, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transpile_bindgen.rs:631:55 [INFO] [stdout] | [INFO] [stdout] 631 | ... WorldItem::Function(f) => f, [INFO] [stdout] | ^ expected `&Function`, found `Function` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 631 | WorldItem::Function(f) => &f, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:643:53 [INFO] [stdout] | [INFO] [stdout] 643 | WorldItem::Interface(id) => *id, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:512:59 [INFO] [stdout] | [INFO] [stdout] 512 | TypeDefKind::Type(t) => self.print_ty(t, mode), [INFO] [stdout] | -------- ^ expected `&Type`, found `Type` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ts_bindgen.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | fn print_ty(&mut self, ty: &Type, mode: Mode) { [INFO] [stdout] | ^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 512 | TypeDefKind::Type(t) => self.print_ty(&t, mode), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:512:59 [INFO] [stdout] | [INFO] [stdout] 512 | TypeDefKind::Type(t) => self.print_ty(t, mode), [INFO] [stdout] | -------- ^ expected `&Type`, found `Type` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ts_bindgen.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | fn print_ty(&mut self, ty: &Type, mode: Mode) { [INFO] [stdout] | ^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 512 | TypeDefKind::Type(t) => self.print_ty(&t, mode), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:513:63 [INFO] [stdout] | [INFO] [stdout] 513 | TypeDefKind::Tuple(t) => self.print_tuple(t, mode), [INFO] [stdout] | ----------- ^ expected `&Tuple`, found `Tuple` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ts_bindgen.rs:568:8 [INFO] [stdout] | [INFO] [stdout] 568 | fn print_tuple(&mut self, tuple: &Tuple, mode: Mode) { [INFO] [stdout] | ^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 513 | TypeDefKind::Tuple(t) => self.print_tuple(&t, mode), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:519:53 [INFO] [stdout] | [INFO] [stdout] 519 | if maybe_null(self.resolve, t) { [INFO] [stdout] | ---------- ^ expected `&Type`, found `Type` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/function_bindgen.rs:1179:8 [INFO] [stdout] | [INFO] [stdout] 1179 | pub fn maybe_null(resolve: &Resolve, ty: &Type) -> bool { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 519 | if maybe_null(self.resolve, &t) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:513:63 [INFO] [stdout] | [INFO] [stdout] 513 | TypeDefKind::Tuple(t) => self.print_tuple(t, mode), [INFO] [stdout] | ----------- ^ expected `&Tuple`, found `Tuple` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ts_bindgen.rs:568:8 [INFO] [stdout] | [INFO] [stdout] 568 | fn print_tuple(&mut self, tuple: &Tuple, mode: Mode) { [INFO] [stdout] | ^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 513 | TypeDefKind::Tuple(t) => self.print_tuple(&t, mode), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:519:53 [INFO] [stdout] | [INFO] [stdout] 519 | if maybe_null(self.resolve, t) { [INFO] [stdout] | ---------- ^ expected `&Type`, found `Type` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/function_bindgen.rs:1179:8 [INFO] [stdout] | [INFO] [stdout] 1179 | pub fn maybe_null(resolve: &Resolve, ty: &Type) -> bool { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 519 | if maybe_null(self.resolve, &t) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | ... self.print_ty(t, mode); [INFO] [stdout] | -------- ^ expected `&Type`, found `Type` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ts_bindgen.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | fn print_ty(&mut self, ty: &Type, mode: Mode) { [INFO] [stdout] | ^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 522 | self.print_ty(&t, mode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | ... self.print_ty(t, mode); [INFO] [stdout] | -------- ^ expected `&Type`, found `Type` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ts_bindgen.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | fn print_ty(&mut self, ty: &Type, mode: Mode) { [INFO] [stdout] | ^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 522 | self.print_ty(&t, mode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:525:43 [INFO] [stdout] | [INFO] [stdout] 525 | ... self.print_ty(t, mode); [INFO] [stdout] | -------- ^ expected `&Type`, found `Type` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ts_bindgen.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | fn print_ty(&mut self, ty: &Type, mode: Mode) { [INFO] [stdout] | ^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 525 | self.print_ty(&t, mode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:525:43 [INFO] [stdout] | [INFO] [stdout] 525 | ... self.print_ty(t, mode); [INFO] [stdout] | -------- ^ expected `&Type`, found `Type` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ts_bindgen.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | fn print_ty(&mut self, ty: &Type, mode: Mode) { [INFO] [stdout] | ^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 525 | self.print_ty(&t, mode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:538:61 [INFO] [stdout] | [INFO] [stdout] 538 | TypeDefKind::List(v) => self.print_list(v, mode), [INFO] [stdout] | ---------- ^ expected `&Type`, found `Type` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ts_bindgen.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn print_list(&mut self, ty: &Type, mode: Mode) { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 538 | TypeDefKind::List(v) => self.print_list(&v, mode), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ts_bindgen.rs:538:61 [INFO] [stdout] | [INFO] [stdout] 538 | TypeDefKind::List(v) => self.print_list(v, mode), [INFO] [stdout] | ---------- ^ expected `&Type`, found `Type` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/ts_bindgen.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | fn print_list(&mut self, ty: &Type, mode: Mode) { [INFO] [stdout] | ^^^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 538 | TypeDefKind::List(v) => self.print_list(&v, mode), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0392, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0392, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bridge-jco` (lib) due to 50 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wasm-bridge-jco` (lib test) due to 50 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" "b19e5ddff5cddc99701ed043ab7c8b13810e3c97695298a4987fe5374354d237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b19e5ddff5cddc99701ed043ab7c8b13810e3c97695298a4987fe5374354d237", kill_on_drop: false }` [INFO] [stdout] b19e5ddff5cddc99701ed043ab7c8b13810e3c97695298a4987fe5374354d237