[INFO] fetching crate js-component-bindgen 1.4.4... [INFO] checking js-component-bindgen-1.4.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate js-component-bindgen 1.4.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate js-component-bindgen 1.4.4 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 js-component-bindgen 1.4.4 [INFO] finished tweaking crates.io crate js-component-bindgen 1.4.4 [INFO] tweaked toml for crates.io crate js-component-bindgen 1.4.4 written to /workspace/builds/worker-4-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 67 packages to latest compatible versions [INFO] [stderr] Adding cranelift-bitset v0.111.0 (available: v0.112.1) [INFO] [stderr] Adding cranelift-entity v0.111.0 (available: v0.112.1) [INFO] [stderr] Adding embedded-io v0.4.0 (available: v0.6.1) [INFO] [stderr] Adding gimli v0.29.0 (available: v0.31.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasm-encoder v0.215.0 (available: v0.217.0) [INFO] [stderr] Adding wasm-metadata v0.215.0 (available: v0.217.0) [INFO] [stderr] Adding wasmparser v0.215.0 (available: v0.217.0) [INFO] [stderr] Adding wasmprinter v0.215.0 (available: v0.217.0) [INFO] [stderr] Adding wasmtime-component-util v24.0.0 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-environ v24.0.0 (available: v25.0.1) [INFO] [stderr] Adding wasmtime-types v24.0.0 (available: v25.0.1) [INFO] [stderr] Adding wit-bindgen-core v0.30.0 (available: v0.32.0) [INFO] [stderr] Adding wit-component v0.215.0 (available: v0.217.0) [INFO] [stderr] Adding wit-parser v0.215.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd0de512c4cf457f127924cc6830a7824cc1353cf183bf824fb6d317ca1c0746 [INFO] running `Command { std: "docker" "start" "-a" "cd0de512c4cf457f127924cc6830a7824cc1353cf183bf824fb6d317ca1c0746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd0de512c4cf457f127924cc6830a7824cc1353cf183bf824fb6d317ca1c0746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0de512c4cf457f127924cc6830a7824cc1353cf183bf824fb6d317ca1c0746", kill_on_drop: false }` [INFO] [stdout] cd0de512c4cf457f127924cc6830a7824cc1353cf183bf824fb6d317ca1c0746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a60b579bba933b3ee3019d36987918351adfc3f7fb01c57e3cd663efbd42f47 [INFO] running `Command { std: "docker" "start" "-a" "0a60b579bba933b3ee3019d36987918351adfc3f7fb01c57e3cd663efbd42f47", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking wasm-encoder v0.217.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking wasmtime-component-util v24.0.0 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking wast v217.0.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking wat v1.217.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cranelift-bitset v0.111.0 [INFO] [stderr] Checking postcard v1.0.10 [INFO] [stderr] Checking cranelift-entity v0.111.0 [INFO] [stderr] Checking spdx v0.10.6 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking wasmparser v0.215.0 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking wasm-encoder v0.215.0 [INFO] [stderr] Checking wit-parser v0.215.0 [INFO] [stderr] Checking wasmprinter v0.215.0 [INFO] [stderr] Checking wasmtime-types v24.0.0 [INFO] [stderr] Checking wasm-metadata v0.215.0 [INFO] [stderr] Checking wasmtime-environ v24.0.0 [INFO] [stderr] Checking wit-bindgen-core v0.30.0 [INFO] [stderr] Checking wit-component v0.215.0 [INFO] [stderr] Checking js-component-bindgen v1.4.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 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] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `js_component_bindgen` [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:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($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:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | ($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:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | 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:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | 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:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | .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:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | .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:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | 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:561:54 [INFO] [stdout] | [INFO] [stdout] 561 | if let Some(InstantiationMode::Async) = 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:604:17 [INFO] [stdout] | [INFO] [stdout] 604 | if self.gen.opts.instantiation.is_some() { [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:44 [INFO] [stdout] | [INFO] [stdout] 635 | if let Some(local_name) = self.gen.local_names.try_get(resource) { [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:642:14 [INFO] [stdout] | [INFO] [stdout] 642 | .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:646:18 [INFO] [stdout] | [INFO] [stdout] 646 | .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:699:34 [INFO] [stdout] | [INFO] [stdout] 699 | let handle_tables = self.gen.intrinsic(Intrinsic::HandleTables); [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:700:35 [INFO] [stdout] | [INFO] [stdout] 700 | let rsc_table_flag = self.gen.intrinsic(Intrinsic::ResourceTableFlag); [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:701:37 [INFO] [stdout] | [INFO] [stdout] 701 | let rsc_table_remove = self.gen.intrinsic(Intrinsic::ResourceTableRemove); [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:720:22 [INFO] [stdout] | [INFO] [stdout] 720 | self.gen.intrinsic(Intrinsic::FinalizationRegistryCreate); [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:809:49 [INFO] [stdout] | [INFO] [stdout] 809 | let rsc_table_create_own = self.gen.intrinsic(Intrinsic::ResourceTableCreateOwn); [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:818:37 [INFO] [stdout] | [INFO] [stdout] 818 | let rsc_flag = self.gen.intrinsic(Intrinsic::ResourceTableFlag); [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:860:47 [INFO] [stdout] | [INFO] [stdout] 860 | let symbol_dispose = self.gen.intrinsic(Intrinsic::SymbolDispose); [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:861:52 [INFO] [stdout] | [INFO] [stdout] 861 | let symbol_cabi_dispose = self.gen.intrinsic(Intrinsic::SymbolCabiDispose); [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:865:30 [INFO] [stdout] | [INFO] [stdout] 865 | self.gen.local_names.try_get(resource_ty.ty) [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:883:45 [INFO] [stdout] | [INFO] [stdout] 883 | let rsc_table_remove = self.gen.intrinsic(Intrinsic::ResourceTableRemove); [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:896:46 [INFO] [stdout] | [INFO] [stdout] 896 | let resource_transfer = self.gen.intrinsic(Intrinsic::ResourceTransferOwn); [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:901:26 [INFO] [stdout] | [INFO] [stdout] 901 | 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:902:44 [INFO] [stdout] | [INFO] [stdout] 902 | .intrinsic(if 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:910:37 [INFO] [stdout] | [INFO] [stdout] 910 | let scope_id = self.gen.intrinsic(Intrinsic::ScopeId); [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:920:37 [INFO] [stdout] | [INFO] [stdout] 920 | let scope_id = self.gen.intrinsic(Intrinsic::ScopeId); [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:921:45 [INFO] [stdout] | [INFO] [stdout] 921 | let resource_borrows = self.gen.intrinsic(Intrinsic::ResourceCallBorrows); [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:922:42 [INFO] [stdout] | [INFO] [stdout] 922 | let handle_tables = self.gen.intrinsic(Intrinsic::HandleTables); [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:1009:32 [INFO] [stdout] | [INFO] [stdout] 1009 | 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:1012:20 [INFO] [stdout] | [INFO] [stdout] 1012 | match 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:1078:71 [INFO] [stdout] | [INFO] [stdout] 1078 | let (import_specifier, maybe_iface_member) = 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:1104:22 [INFO] [stdout] | [INFO] [stdout] 1104 | 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:1128:35 [INFO] [stdout] | [INFO] [stdout] 1128 | &mut self.gen.local_names, [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:1141:35 [INFO] [stdout] | [INFO] [stdout] 1141 | &mut self.gen.local_names, [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:1155:20 [INFO] [stdout] | [INFO] [stdout] 1155 | match self.gen.opts.import_bindings { [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:1178:27 [INFO] [stdout] | [INFO] [stdout] 1178 | if !matches!(self.gen.opts.import_bindings, None | Some(BindingsMode::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:1202:35 [INFO] [stdout] | [INFO] [stdout] 1202 | &mut self.gen.local_names, [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:1236:24 [INFO] [stdout] | [INFO] [stdout] 1236 | match self.gen.opts.import_bindings { [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:1238:50 [INFO] [stdout] | [INFO] [stdout] 1238 | let symbol_cabi_lower = self.gen.intrinsic(Intrinsic::SymbolCabiLower); [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:1244:50 [INFO] [stdout] | [INFO] [stdout] 1244 | let symbol_cabi_lower = self.gen.intrinsic(Intrinsic::SymbolCabiLower); [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:1245:30 [INFO] [stdout] | [INFO] [stdout] 1245 | if !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:1272:35 [INFO] [stdout] | [INFO] [stdout] 1272 | &mut self.gen.local_names, [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:1303:18 [INFO] [stdout] | [INFO] [stdout] 1303 | self.gen.intrinsic(Intrinsic::GlobalThisIdlProxy); [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:1310:22 [INFO] [stdout] | [INFO] [stdout] 1310 | 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:1319:22 [INFO] [stdout] | [INFO] [stdout] 1319 | 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:1325:18 [INFO] [stdout] | [INFO] [stdout] 1325 | 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:1329:18 [INFO] [stdout] | [INFO] [stdout] 1329 | 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:1405:40 [INFO] [stdout] | [INFO] [stdout] 1405 | let (local_name, _) = self.gen.local_names.get_or_create(resource, &resource_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:1411:34 [INFO] [stdout] | [INFO] [stdout] 1411 | 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:1423:40 [INFO] [stdout] | [INFO] [stdout] 1423 | let (local_name, _) = self.gen.local_names.get_or_create(resource, &resource_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:1553:17 [INFO] [stdout] | [INFO] [stdout] 1553 | if self.gen.opts.tracing { [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:1567:17 [INFO] [stdout] | [INFO] [stdout] 1567 | if self.gen.opts.tla_compat [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:1569:30 [INFO] [stdout] | [INFO] [stdout] 1569 | && matches!(self.gen.opts.instantiation, None) [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:1571:44 [INFO] [stdout] | [INFO] [stdout] 1571 | 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:1583:35 [INFO] [stdout] | [INFO] [stdout] 1583 | 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:1584:46 [INFO] [stdout] | [INFO] [stdout] 1584 | 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:1603:37 [INFO] [stdout] | [INFO] [stdout] 1603 | tracing_prefix: if self.gen.opts.tracing { [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:1780:39 [INFO] [stdout] | [INFO] [stdout] 1780 | ... &mut self.gen.local_names, [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:1785:30 [INFO] [stdout] | [INFO] [stdout] 1785 | self.gen.local_names.create_once(export_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:1801:30 [INFO] [stdout] | [INFO] [stdout] 1801 | 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:1807:30 [INFO] [stdout] | [INFO] [stdout] 1807 | 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:1837:43 [INFO] [stdout] | [INFO] [stdout] 1837 | ... &mut self.gen.local_names, [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:1842:34 [INFO] [stdout] | [INFO] [stdout] 1842 | ... self.gen.local_names.create_once(&func_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:1861:34 [INFO] [stdout] | [INFO] [stdout] 1861 | ... 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:1867:34 [INFO] [stdout] | [INFO] [stdout] 1867 | ... 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:1883:14 [INFO] [stdout] | [INFO] [stdout] 1883 | 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:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | let mut gen = bindgen.ts_interface(resolve, 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:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | 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:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | ... 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:146:54 [INFO] [stdout] | [INFO] [stdout] 146 | 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:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | 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:148:53 [INFO] [stdout] | [INFO] [stdout] 148 | 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:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | ... 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:152:51 [INFO] [stdout] | [INFO] [stdout] 152 | 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:153:51 [INFO] [stdout] | [INFO] [stdout] 153 | 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:154:49 [INFO] [stdout] | [INFO] [stdout] 154 | 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:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | TypeDefKind::Type(t) => gen.type_alias(*tid, name, t, None, &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:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | let output = gen.finish(); [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:17 [INFO] [stdout] | [INFO] [stdout] 418 | let mut gen = self.ts_interface(resolve, false); [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:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | gen.ts_func(func, true, false); [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 | let src = gen.finish(); [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:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | let mut gen = self.ts_interface(resolve, false); [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:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | gen.ts_func(func, false, declaration); [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:466:19 [INFO] [stdout] | [INFO] [stdout] 466 | let src = gen.finish(); [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:524:17 [INFO] [stdout] | [INFO] [stdout] 524 | let mut gen = self.ts_interface(resolve, false); [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:526:19 [INFO] [stdout] | [INFO] [stdout] 526 | 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:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | gen.ts_func(func, false, 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:541:21 [INFO] [stdout] | [INFO] [stdout] 541 | if !gen.resources.contains_key(resource) { [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:542:31 [INFO] [stdout] | [INFO] [stdout] 542 | uwriteln!(gen.src, "export {{ {} }};", resource.to_upper_camel_case()); [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:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | gen.resources [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:549:19 [INFO] [stdout] | [INFO] [stdout] 549 | 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:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | 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:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | 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:554:19 [INFO] [stdout] | [INFO] [stdout] 554 | let src = gen.finish(); [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:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | ($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] 33 | ($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:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | ($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] 46 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transpile_bindgen.rs:635:16 [INFO] [stdout] | [INFO] [stdout] 635 | if let Some(local_name) = self.gen.local_names.try_get(resource) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transpile_bindgen.rs:637:13 [INFO] [stdout] | [INFO] [stdout] 637 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 635 ~ match self.gen.local_names.try_get(resource) { Some(local_name) => { [INFO] [stdout] 636 | self.ensure_local_resource_class(local_name.to_string()); [INFO] [stdout] 637 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transpile_bindgen.rs:864:24 [INFO] [stdout] | [INFO] [stdout] 864 | if let Some(imported_resource_local_name) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 865 | | self.gen.local_names.try_get(resource_ty.ty) [INFO] [stdout] | |_________________________--------------------_______________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transpile_bindgen.rs:877:21 [INFO] [stdout] | [INFO] [stdout] 877 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 864 ~ match self.gen.local_names.try_get(resource_ty.ty) [INFO] [stdout] 865 ~ { Some(imported_resource_local_name) => { [INFO] [stdout] 866 | format!( [INFO] [stdout] ... [INFO] [stdout] 875 | ) [INFO] [stdout] 876 ~ } _ => { [INFO] [stdout] 877 | // if not, then capture / disposal paths are never called [INFO] [stdout] 878 | "throw new TypeError('unreachable resource trampoline')".into() [INFO] [stdout] 879 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `js_component_bindgen` [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:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($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:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | ($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:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 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:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | 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:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | 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:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | .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:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | .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:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | 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:561:54 [INFO] [stdout] | [INFO] [stdout] 561 | if let Some(InstantiationMode::Async) = 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:604:17 [INFO] [stdout] | [INFO] [stdout] 604 | if self.gen.opts.instantiation.is_some() { [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:44 [INFO] [stdout] | [INFO] [stdout] 635 | if let Some(local_name) = self.gen.local_names.try_get(resource) { [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:642:14 [INFO] [stdout] | [INFO] [stdout] 642 | .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:646:18 [INFO] [stdout] | [INFO] [stdout] 646 | .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:699:34 [INFO] [stdout] | [INFO] [stdout] 699 | let handle_tables = self.gen.intrinsic(Intrinsic::HandleTables); [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:700:35 [INFO] [stdout] | [INFO] [stdout] 700 | let rsc_table_flag = self.gen.intrinsic(Intrinsic::ResourceTableFlag); [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:701:37 [INFO] [stdout] | [INFO] [stdout] 701 | let rsc_table_remove = self.gen.intrinsic(Intrinsic::ResourceTableRemove); [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:720:22 [INFO] [stdout] | [INFO] [stdout] 720 | self.gen.intrinsic(Intrinsic::FinalizationRegistryCreate); [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:809:49 [INFO] [stdout] | [INFO] [stdout] 809 | let rsc_table_create_own = self.gen.intrinsic(Intrinsic::ResourceTableCreateOwn); [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:818:37 [INFO] [stdout] | [INFO] [stdout] 818 | let rsc_flag = self.gen.intrinsic(Intrinsic::ResourceTableFlag); [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:860:47 [INFO] [stdout] | [INFO] [stdout] 860 | let symbol_dispose = self.gen.intrinsic(Intrinsic::SymbolDispose); [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:861:52 [INFO] [stdout] | [INFO] [stdout] 861 | let symbol_cabi_dispose = self.gen.intrinsic(Intrinsic::SymbolCabiDispose); [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:865:30 [INFO] [stdout] | [INFO] [stdout] 865 | self.gen.local_names.try_get(resource_ty.ty) [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:883:45 [INFO] [stdout] | [INFO] [stdout] 883 | let rsc_table_remove = self.gen.intrinsic(Intrinsic::ResourceTableRemove); [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:896:46 [INFO] [stdout] | [INFO] [stdout] 896 | let resource_transfer = self.gen.intrinsic(Intrinsic::ResourceTransferOwn); [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:901:26 [INFO] [stdout] | [INFO] [stdout] 901 | 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:902:44 [INFO] [stdout] | [INFO] [stdout] 902 | .intrinsic(if 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:910:37 [INFO] [stdout] | [INFO] [stdout] 910 | let scope_id = self.gen.intrinsic(Intrinsic::ScopeId); [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:920:37 [INFO] [stdout] | [INFO] [stdout] 920 | let scope_id = self.gen.intrinsic(Intrinsic::ScopeId); [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:921:45 [INFO] [stdout] | [INFO] [stdout] 921 | let resource_borrows = self.gen.intrinsic(Intrinsic::ResourceCallBorrows); [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:922:42 [INFO] [stdout] | [INFO] [stdout] 922 | let handle_tables = self.gen.intrinsic(Intrinsic::HandleTables); [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:1009:32 [INFO] [stdout] | [INFO] [stdout] 1009 | 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:1012:20 [INFO] [stdout] | [INFO] [stdout] 1012 | match 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:1078:71 [INFO] [stdout] | [INFO] [stdout] 1078 | let (import_specifier, maybe_iface_member) = 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:1104:22 [INFO] [stdout] | [INFO] [stdout] 1104 | 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:1128:35 [INFO] [stdout] | [INFO] [stdout] 1128 | &mut self.gen.local_names, [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:1141:35 [INFO] [stdout] | [INFO] [stdout] 1141 | &mut self.gen.local_names, [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:1155:20 [INFO] [stdout] | [INFO] [stdout] 1155 | match self.gen.opts.import_bindings { [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:1178:27 [INFO] [stdout] | [INFO] [stdout] 1178 | if !matches!(self.gen.opts.import_bindings, None | Some(BindingsMode::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:1202:35 [INFO] [stdout] | [INFO] [stdout] 1202 | &mut self.gen.local_names, [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:1236:24 [INFO] [stdout] | [INFO] [stdout] 1236 | match self.gen.opts.import_bindings { [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:1238:50 [INFO] [stdout] | [INFO] [stdout] 1238 | let symbol_cabi_lower = self.gen.intrinsic(Intrinsic::SymbolCabiLower); [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:1244:50 [INFO] [stdout] | [INFO] [stdout] 1244 | let symbol_cabi_lower = self.gen.intrinsic(Intrinsic::SymbolCabiLower); [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:1245:30 [INFO] [stdout] | [INFO] [stdout] 1245 | if !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:1272:35 [INFO] [stdout] | [INFO] [stdout] 1272 | &mut self.gen.local_names, [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:1303:18 [INFO] [stdout] | [INFO] [stdout] 1303 | self.gen.intrinsic(Intrinsic::GlobalThisIdlProxy); [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:1310:22 [INFO] [stdout] | [INFO] [stdout] 1310 | 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:1319:22 [INFO] [stdout] | [INFO] [stdout] 1319 | 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:1325:18 [INFO] [stdout] | [INFO] [stdout] 1325 | 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:1329:18 [INFO] [stdout] | [INFO] [stdout] 1329 | 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:1405:40 [INFO] [stdout] | [INFO] [stdout] 1405 | let (local_name, _) = self.gen.local_names.get_or_create(resource, &resource_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:1411:34 [INFO] [stdout] | [INFO] [stdout] 1411 | 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:1423:40 [INFO] [stdout] | [INFO] [stdout] 1423 | let (local_name, _) = self.gen.local_names.get_or_create(resource, &resource_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:1553:17 [INFO] [stdout] | [INFO] [stdout] 1553 | if self.gen.opts.tracing { [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:1567:17 [INFO] [stdout] | [INFO] [stdout] 1567 | if self.gen.opts.tla_compat [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:1569:30 [INFO] [stdout] | [INFO] [stdout] 1569 | && matches!(self.gen.opts.instantiation, None) [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:1571:44 [INFO] [stdout] | [INFO] [stdout] 1571 | 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:1583:35 [INFO] [stdout] | [INFO] [stdout] 1583 | 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:1584:46 [INFO] [stdout] | [INFO] [stdout] 1584 | 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:1603:37 [INFO] [stdout] | [INFO] [stdout] 1603 | tracing_prefix: if self.gen.opts.tracing { [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:1780:39 [INFO] [stdout] | [INFO] [stdout] 1780 | ... &mut self.gen.local_names, [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:1785:30 [INFO] [stdout] | [INFO] [stdout] 1785 | self.gen.local_names.create_once(export_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:1801:30 [INFO] [stdout] | [INFO] [stdout] 1801 | 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:1807:30 [INFO] [stdout] | [INFO] [stdout] 1807 | 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:1837:43 [INFO] [stdout] | [INFO] [stdout] 1837 | ... &mut self.gen.local_names, [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:1842:34 [INFO] [stdout] | [INFO] [stdout] 1842 | ... self.gen.local_names.create_once(&func_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:1861:34 [INFO] [stdout] | [INFO] [stdout] 1861 | ... 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.89s [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/transpile_bindgen.rs:1867:34 [INFO] [stdout] | [INFO] [stdout] 1867 | ... 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:1883:14 [INFO] [stdout] | [INFO] [stdout] 1883 | 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:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | let mut gen = bindgen.ts_interface(resolve, 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:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | 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:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | ... 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:146:54 [INFO] [stdout] | [INFO] [stdout] 146 | 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:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | 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:148:53 [INFO] [stdout] | [INFO] [stdout] 148 | 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:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | ... 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:152:51 [INFO] [stdout] | [INFO] [stdout] 152 | 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:153:51 [INFO] [stdout] | [INFO] [stdout] 153 | 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:154:49 [INFO] [stdout] | [INFO] [stdout] 154 | 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:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | TypeDefKind::Type(t) => gen.type_alias(*tid, name, t, None, &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:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | let output = gen.finish(); [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:17 [INFO] [stdout] | [INFO] [stdout] 418 | let mut gen = self.ts_interface(resolve, false); [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:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | gen.ts_func(func, true, false); [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 | let src = gen.finish(); [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:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | let mut gen = self.ts_interface(resolve, false); [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:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | gen.ts_func(func, false, declaration); [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:466:19 [INFO] [stdout] | [INFO] [stdout] 466 | let src = gen.finish(); [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:524:17 [INFO] [stdout] | [INFO] [stdout] 524 | let mut gen = self.ts_interface(resolve, false); [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:526:19 [INFO] [stdout] | [INFO] [stdout] 526 | 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:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | gen.ts_func(func, false, 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:541:21 [INFO] [stdout] | [INFO] [stdout] 541 | if !gen.resources.contains_key(resource) { [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:542:31 [INFO] [stdout] | [INFO] [stdout] 542 | uwriteln!(gen.src, "export {{ {} }};", resource.to_upper_camel_case()); [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:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | gen.resources [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:549:19 [INFO] [stdout] | [INFO] [stdout] 549 | 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:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | 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:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | 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:554:19 [INFO] [stdout] | [INFO] [stdout] 554 | let src = gen.finish(); [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:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | ($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] 33 | ($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:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | ($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] 46 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transpile_bindgen.rs:635:16 [INFO] [stdout] | [INFO] [stdout] 635 | if let Some(local_name) = self.gen.local_names.try_get(resource) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transpile_bindgen.rs:637:13 [INFO] [stdout] | [INFO] [stdout] 637 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 635 ~ match self.gen.local_names.try_get(resource) { Some(local_name) => { [INFO] [stdout] 636 | self.ensure_local_resource_class(local_name.to_string()); [INFO] [stdout] 637 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transpile_bindgen.rs:864:24 [INFO] [stdout] | [INFO] [stdout] 864 | if let Some(imported_resource_local_name) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 865 | | self.gen.local_names.try_get(resource_ty.ty) [INFO] [stdout] | |_________________________--------------------_______________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transpile_bindgen.rs:877:21 [INFO] [stdout] | [INFO] [stdout] 877 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 864 ~ match self.gen.local_names.try_get(resource_ty.ty) [INFO] [stdout] 865 ~ { Some(imported_resource_local_name) => { [INFO] [stdout] 866 | format!( [INFO] [stdout] ... [INFO] [stdout] 875 | ) [INFO] [stdout] 876 ~ } _ => { [INFO] [stdout] 877 | // if not, then capture / disposal paths are never called [INFO] [stdout] 878 | "throw new TypeError('unreachable resource trampoline')".into() [INFO] [stdout] 879 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking js-component-bindgen v1.4.4 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 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] 149 | 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:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | 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:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | 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:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | .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:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | .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:425:5 [INFO] [stdout] | [INFO] [stdout] 423 | struct Instantiator<'a, 'b> { [INFO] [stdout] | ------------ while parsing this struct [INFO] [stdout] 424 | src: Source, [INFO] [stdout] 425 | 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] 425 | 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:561:54 [INFO] [stdout] | [INFO] [stdout] 561 | if let Some(InstantiationMode::Async) = 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:604:17 [INFO] [stdout] | [INFO] [stdout] 604 | if self.gen.opts.instantiation.is_some() { [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:44 [INFO] [stdout] | [INFO] [stdout] 635 | if let Some(local_name) = self.gen.local_names.try_get(resource) { [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:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | 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] 149 | 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:642:14 [INFO] [stdout] | [INFO] [stdout] 642 | .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:646:18 [INFO] [stdout] | [INFO] [stdout] 646 | .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:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | 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:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | 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:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | .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:699:34 [INFO] [stdout] | [INFO] [stdout] 699 | let handle_tables = self.gen.intrinsic(Intrinsic::HandleTables); [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:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | .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:425:5 [INFO] [stdout] | [INFO] [stdout] 423 | struct Instantiator<'a, 'b> { [INFO] [stdout] | ------------ while parsing this struct [INFO] [stdout] 424 | src: Source, [INFO] [stdout] 425 | 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] 425 | 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:700:35 [INFO] [stdout] | [INFO] [stdout] 700 | let rsc_table_flag = self.gen.intrinsic(Intrinsic::ResourceTableFlag); [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:701:37 [INFO] [stdout] | [INFO] [stdout] 701 | let rsc_table_remove = self.gen.intrinsic(Intrinsic::ResourceTableRemove); [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:720:22 [INFO] [stdout] | [INFO] [stdout] 720 | self.gen.intrinsic(Intrinsic::FinalizationRegistryCreate); [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:809:49 [INFO] [stdout] | [INFO] [stdout] 809 | let rsc_table_create_own = self.gen.intrinsic(Intrinsic::ResourceTableCreateOwn); [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:561:54 [INFO] [stdout] | [INFO] [stdout] 561 | if let Some(InstantiationMode::Async) = 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:818:37 [INFO] [stdout] | [INFO] [stdout] 818 | let rsc_flag = self.gen.intrinsic(Intrinsic::ResourceTableFlag); [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:860:47 [INFO] [stdout] | [INFO] [stdout] 860 | let symbol_dispose = self.gen.intrinsic(Intrinsic::SymbolDispose); [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:861:52 [INFO] [stdout] | [INFO] [stdout] 861 | let symbol_cabi_dispose = self.gen.intrinsic(Intrinsic::SymbolCabiDispose); [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:865:30 [INFO] [stdout] | [INFO] [stdout] 865 | self.gen.local_names.try_get(resource_ty.ty) [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:604:17 [INFO] [stdout] | [INFO] [stdout] 604 | if self.gen.opts.instantiation.is_some() { [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:883:45 [INFO] [stdout] | [INFO] [stdout] 883 | let rsc_table_remove = self.gen.intrinsic(Intrinsic::ResourceTableRemove); [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:44 [INFO] [stdout] | [INFO] [stdout] 635 | if let Some(local_name) = self.gen.local_names.try_get(resource) { [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:896:46 [INFO] [stdout] | [INFO] [stdout] 896 | let resource_transfer = self.gen.intrinsic(Intrinsic::ResourceTransferOwn); [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:642:14 [INFO] [stdout] | [INFO] [stdout] 642 | .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:901:26 [INFO] [stdout] | [INFO] [stdout] 901 | 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:646:18 [INFO] [stdout] | [INFO] [stdout] 646 | .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:902:44 [INFO] [stdout] | [INFO] [stdout] 902 | .intrinsic(if 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:699:34 [INFO] [stdout] | [INFO] [stdout] 699 | let handle_tables = self.gen.intrinsic(Intrinsic::HandleTables); [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:910:37 [INFO] [stdout] | [INFO] [stdout] 910 | let scope_id = self.gen.intrinsic(Intrinsic::ScopeId); [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:700:35 [INFO] [stdout] | [INFO] [stdout] 700 | let rsc_table_flag = self.gen.intrinsic(Intrinsic::ResourceTableFlag); [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:701:37 [INFO] [stdout] | [INFO] [stdout] 701 | let rsc_table_remove = self.gen.intrinsic(Intrinsic::ResourceTableRemove); [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:920:37 [INFO] [stdout] | [INFO] [stdout] 920 | let scope_id = self.gen.intrinsic(Intrinsic::ScopeId); [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:720:22 [INFO] [stdout] | [INFO] [stdout] 720 | self.gen.intrinsic(Intrinsic::FinalizationRegistryCreate); [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:921:45 [INFO] [stdout] | [INFO] [stdout] 921 | let resource_borrows = self.gen.intrinsic(Intrinsic::ResourceCallBorrows); [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:809:49 [INFO] [stdout] | [INFO] [stdout] 809 | let rsc_table_create_own = self.gen.intrinsic(Intrinsic::ResourceTableCreateOwn); [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:922:42 [INFO] [stdout] | [INFO] [stdout] 922 | let handle_tables = self.gen.intrinsic(Intrinsic::HandleTables); [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:818:37 [INFO] [stdout] | [INFO] [stdout] 818 | let rsc_flag = self.gen.intrinsic(Intrinsic::ResourceTableFlag); [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:860:47 [INFO] [stdout] | [INFO] [stdout] 860 | let symbol_dispose = self.gen.intrinsic(Intrinsic::SymbolDispose); [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:1009:32 [INFO] [stdout] | [INFO] [stdout] 1009 | 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:861:52 [INFO] [stdout] | [INFO] [stdout] 861 | let symbol_cabi_dispose = self.gen.intrinsic(Intrinsic::SymbolCabiDispose); [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:865:30 [INFO] [stdout] | [INFO] [stdout] 865 | self.gen.local_names.try_get(resource_ty.ty) [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:883:45 [INFO] [stdout] | [INFO] [stdout] 883 | let rsc_table_remove = self.gen.intrinsic(Intrinsic::ResourceTableRemove); [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:896:46 [INFO] [stdout] | [INFO] [stdout] 896 | let resource_transfer = self.gen.intrinsic(Intrinsic::ResourceTransferOwn); [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:901:26 [INFO] [stdout] | [INFO] [stdout] 901 | 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:1012:20 [INFO] [stdout] | [INFO] [stdout] 1012 | match 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:902:44 [INFO] [stdout] | [INFO] [stdout] 902 | .intrinsic(if 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:910:37 [INFO] [stdout] | [INFO] [stdout] 910 | let scope_id = self.gen.intrinsic(Intrinsic::ScopeId); [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:1078:71 [INFO] [stdout] | [INFO] [stdout] 1078 | let (import_specifier, maybe_iface_member) = 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:920:37 [INFO] [stdout] | [INFO] [stdout] 920 | let scope_id = self.gen.intrinsic(Intrinsic::ScopeId); [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:1104:22 [INFO] [stdout] | [INFO] [stdout] 1104 | 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:921:45 [INFO] [stdout] | [INFO] [stdout] 921 | let resource_borrows = self.gen.intrinsic(Intrinsic::ResourceCallBorrows); [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:1155:20 [INFO] [stdout] | [INFO] [stdout] 1155 | match self.gen.opts.import_bindings { [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:922:42 [INFO] [stdout] | [INFO] [stdout] 922 | let handle_tables = self.gen.intrinsic(Intrinsic::HandleTables); [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:1236:24 [INFO] [stdout] | [INFO] [stdout] 1236 | match self.gen.opts.import_bindings { [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:1009:32 [INFO] [stdout] | [INFO] [stdout] 1009 | 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:1012:20 [INFO] [stdout] | [INFO] [stdout] 1012 | match 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:1238:50 [INFO] [stdout] | [INFO] [stdout] 1238 | let symbol_cabi_lower = self.gen.intrinsic(Intrinsic::SymbolCabiLower); [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:1078:71 [INFO] [stdout] | [INFO] [stdout] 1078 | let (import_specifier, maybe_iface_member) = 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:1244:50 [INFO] [stdout] | [INFO] [stdout] 1244 | let symbol_cabi_lower = self.gen.intrinsic(Intrinsic::SymbolCabiLower); [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:1104:22 [INFO] [stdout] | [INFO] [stdout] 1104 | 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:1245:30 [INFO] [stdout] | [INFO] [stdout] 1245 | if !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:1155:20 [INFO] [stdout] | [INFO] [stdout] 1155 | match self.gen.opts.import_bindings { [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:1272:35 [INFO] [stdout] | [INFO] [stdout] 1272 | &mut self.gen.local_names, [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:1303:18 [INFO] [stdout] | [INFO] [stdout] 1303 | self.gen.intrinsic(Intrinsic::GlobalThisIdlProxy); [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:1236:24 [INFO] [stdout] | [INFO] [stdout] 1236 | match self.gen.opts.import_bindings { [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:1310:22 [INFO] [stdout] | [INFO] [stdout] 1310 | 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:1319:22 [INFO] [stdout] | [INFO] [stdout] 1319 | 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:1238:50 [INFO] [stdout] | [INFO] [stdout] 1238 | let symbol_cabi_lower = self.gen.intrinsic(Intrinsic::SymbolCabiLower); [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:1325:18 [INFO] [stdout] | [INFO] [stdout] 1325 | 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:1329:18 [INFO] [stdout] | [INFO] [stdout] 1329 | 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:1244:50 [INFO] [stdout] | [INFO] [stdout] 1244 | let symbol_cabi_lower = self.gen.intrinsic(Intrinsic::SymbolCabiLower); [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:1405:40 [INFO] [stdout] | [INFO] [stdout] 1405 | let (local_name, _) = self.gen.local_names.get_or_create(resource, &resource_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:1411:34 [INFO] [stdout] | [INFO] [stdout] 1411 | 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:1245:30 [INFO] [stdout] | [INFO] [stdout] 1245 | if !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:1423:40 [INFO] [stdout] | [INFO] [stdout] 1423 | let (local_name, _) = self.gen.local_names.get_or_create(resource, &resource_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:1272:35 [INFO] [stdout] | [INFO] [stdout] 1272 | &mut self.gen.local_names, [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:1303:18 [INFO] [stdout] | [INFO] [stdout] 1303 | self.gen.intrinsic(Intrinsic::GlobalThisIdlProxy); [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:1310:22 [INFO] [stdout] | [INFO] [stdout] 1310 | 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:1319:22 [INFO] [stdout] | [INFO] [stdout] 1319 | 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:1325:18 [INFO] [stdout] | [INFO] [stdout] 1325 | 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:1553:17 [INFO] [stdout] | [INFO] [stdout] 1553 | if self.gen.opts.tracing { [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:1329:18 [INFO] [stdout] | [INFO] [stdout] 1329 | 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:1405:40 [INFO] [stdout] | [INFO] [stdout] 1405 | let (local_name, _) = self.gen.local_names.get_or_create(resource, &resource_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:1411:34 [INFO] [stdout] | [INFO] [stdout] 1411 | 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:1423:40 [INFO] [stdout] | [INFO] [stdout] 1423 | let (local_name, _) = self.gen.local_names.get_or_create(resource, &resource_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:1567:17 [INFO] [stdout] | [INFO] [stdout] 1567 | if self.gen.opts.tla_compat [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:1571:44 [INFO] [stdout] | [INFO] [stdout] 1571 | 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:1553:17 [INFO] [stdout] | [INFO] [stdout] 1553 | if self.gen.opts.tracing { [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:1583:35 [INFO] [stdout] | [INFO] [stdout] 1583 | 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:1567:17 [INFO] [stdout] | [INFO] [stdout] 1567 | if self.gen.opts.tla_compat [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:1584:46 [INFO] [stdout] | [INFO] [stdout] 1584 | 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:1603:37 [INFO] [stdout] | [INFO] [stdout] 1603 | tracing_prefix: if self.gen.opts.tracing { [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:1571:44 [INFO] [stdout] | [INFO] [stdout] 1571 | 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:1583:35 [INFO] [stdout] | [INFO] [stdout] 1583 | 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:1780:39 [INFO] [stdout] | [INFO] [stdout] 1780 | ... &mut self.gen.local_names, [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:1785:30 [INFO] [stdout] | [INFO] [stdout] 1785 | self.gen.local_names.create_once(export_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:1584:46 [INFO] [stdout] | [INFO] [stdout] 1584 | 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:1801:30 [INFO] [stdout] | [INFO] [stdout] 1801 | 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:1603:37 [INFO] [stdout] | [INFO] [stdout] 1603 | tracing_prefix: if self.gen.opts.tracing { [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:1807:30 [INFO] [stdout] | [INFO] [stdout] 1807 | 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:1837:43 [INFO] [stdout] | [INFO] [stdout] 1837 | ... &mut self.gen.local_names, [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:1842:34 [INFO] [stdout] | [INFO] [stdout] 1842 | ... self.gen.local_names.create_once(&func_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:1861:34 [INFO] [stdout] | [INFO] [stdout] 1861 | ... 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:1867:34 [INFO] [stdout] | [INFO] [stdout] 1867 | ... 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:1883:14 [INFO] [stdout] | [INFO] [stdout] 1883 | 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:1780:39 [INFO] [stdout] | [INFO] [stdout] 1780 | ... &mut self.gen.local_names, [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:1785:30 [INFO] [stdout] | [INFO] [stdout] 1785 | self.gen.local_names.create_once(export_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:1801:30 [INFO] [stdout] | [INFO] [stdout] 1801 | 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:1807:30 [INFO] [stdout] | [INFO] [stdout] 1807 | 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:1837:43 [INFO] [stdout] | [INFO] [stdout] 1837 | ... &mut self.gen.local_names, [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:1842:34 [INFO] [stdout] | [INFO] [stdout] 1842 | ... self.gen.local_names.create_once(&func_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:1861:34 [INFO] [stdout] | [INFO] [stdout] 1861 | ... 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:1867:34 [INFO] [stdout] | [INFO] [stdout] 1867 | ... 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:1883:14 [INFO] [stdout] | [INFO] [stdout] 1883 | 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:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | let mut gen = bindgen.ts_interface(resolve, true); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 140 | let mut r#gen = bindgen.ts_interface(resolve, true); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | let mut gen = bindgen.ts_interface(resolve, true); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 140 | let mut r#gen = bindgen.ts_interface(resolve, true); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | 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:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | 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:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let mut gen = self.ts_interface(resolve, false); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 418 | let mut r#gen = self.ts_interface(resolve, false); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let mut gen = self.ts_interface(resolve, false); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 418 | let mut r#gen = self.ts_interface(resolve, false); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | gen.ts_func(func, true, false); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | gen.ts_func(func, true, false); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | let mut gen = self.ts_interface(resolve, false); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 462 | let mut r#gen = self.ts_interface(resolve, false); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | let mut gen = self.ts_interface(resolve, false); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 462 | let mut r#gen = self.ts_interface(resolve, false); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | gen.ts_func(func, false, declaration); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | gen.ts_func(func, false, declaration); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:466:19 [INFO] [stdout] | [INFO] [stdout] 466 | let src = gen.finish(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:466:19 [INFO] [stdout] | [INFO] [stdout] 466 | let src = gen.finish(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:524:17 [INFO] [stdout] | [INFO] [stdout] 524 | let mut gen = self.ts_interface(resolve, false); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 524 | let mut r#gen = self.ts_interface(resolve, false); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:524:17 [INFO] [stdout] | [INFO] [stdout] 524 | let mut gen = self.ts_interface(resolve, false); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 524 | let mut r#gen = self.ts_interface(resolve, false); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | gen.ts_func(func, false, true); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | gen.ts_func(func, false, true); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:541:21 [INFO] [stdout] | [INFO] [stdout] 541 | if !gen.resources.contains_key(resource) { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | gen.types(id); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:541:21 [INFO] [stdout] | [INFO] [stdout] 541 | if !gen.resources.contains_key(resource) { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | gen.types(id); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:1128:35 [INFO] [stdout] | [INFO] [stdout] 1128 | &mut self.gen.local_names, [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:1141:35 [INFO] [stdout] | [INFO] [stdout] 1141 | &mut self.gen.local_names, [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:1178:27 [INFO] [stdout] | [INFO] [stdout] 1178 | if !matches!(self.gen.opts.import_bindings, None | Some(BindingsMode::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:1202:35 [INFO] [stdout] | [INFO] [stdout] 1202 | &mut self.gen.local_names, [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:1569:30 [INFO] [stdout] | [INFO] [stdout] 1569 | && matches!(self.gen.opts.instantiation, None) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:526:19 [INFO] [stdout] | [INFO] [stdout] 526 | uwriteln!(gen.src, "export namespace {camel} {{"); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | ($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:549:19 [INFO] [stdout] | [INFO] [stdout] 549 | uwriteln!(gen.src, "}}"); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | --------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/transpile_bindgen.rs:1128:35 [INFO] [stdout] | [INFO] [stdout] 1128 | &mut self.gen.local_names, [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:1141:35 [INFO] [stdout] | [INFO] [stdout] 1141 | &mut self.gen.local_names, [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:1178:27 [INFO] [stdout] | [INFO] [stdout] 1178 | if !matches!(self.gen.opts.import_bindings, None | Some(BindingsMode::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:1202:35 [INFO] [stdout] | [INFO] [stdout] 1202 | &mut self.gen.local_names, [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:1569:30 [INFO] [stdout] | [INFO] [stdout] 1569 | && matches!(self.gen.opts.instantiation, None) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ts_bindgen.rs:526:19 [INFO] [stdout] | [INFO] [stdout] 526 | uwriteln!(gen.src, "export namespace {camel} {{"); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | ($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:549:19 [INFO] [stdout] | [INFO] [stdout] 549 | uwriteln!(gen.src, "}}"); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | --------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/transpile_bindgen.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Component`, `RuntimeComponentInstanceIndex`, and `RuntimeInstanceIndex` [INFO] [stdout] --> src/transpile_bindgen.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | CanonicalOptions, Component, ComponentTranslation, ComponentTypes, CoreDef, CoreExport, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | Export, ExportItem, FixedEncoding, GlobalInitializer, InstantiateModule, InterfaceType, [INFO] [stdout] 23 | LoweredIndex, ResourceIndex, RuntimeComponentInstanceIndex, RuntimeImportIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | RuntimeInstanceIndex, StaticModuleIndex, Trampoline, TrampolineIndex, TypeDef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/transpile_bindgen.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Component`, `RuntimeComponentInstanceIndex`, and `RuntimeInstanceIndex` [INFO] [stdout] --> src/transpile_bindgen.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | CanonicalOptions, Component, ComponentTranslation, ComponentTypes, CoreDef, CoreExport, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | Export, ExportItem, FixedEncoding, GlobalInitializer, InstantiateModule, InterfaceType, [INFO] [stdout] 23 | LoweredIndex, ResourceIndex, RuntimeComponentInstanceIndex, RuntimeImportIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | RuntimeInstanceIndex, StaticModuleIndex, Trampoline, TrampolineIndex, TypeDef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/transpile_bindgen.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | 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:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | 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:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | 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:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | 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[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:474:48 [INFO] [stdout] | [INFO] [stdout] 474 | ... self.resolve.types[*ty].kind, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeComponentInstanceIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:486:49 [INFO] [stdout] | [INFO] [stdout] 486 | let import_ty = &self.types[*instance]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:487:58 [INFO] [stdout] | [INFO] [stdout] 487 | let iface = &self.resolve.interfaces[*id]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeResourceTableIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:492:63 [INFO] [stdout] | [INFO] [stdout] 492 | ... let resource_idx = self.types[*resource].ty; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:503:63 [INFO] [stdout] | [INFO] [stdout] 503 | let ty = crate::dealias(self.resolve, *ty); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeResourceTableIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:504:55 [INFO] [stdout] | [INFO] [stdout] 504 | let resource_idx = self.types[*resource].ty; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:524:58 [INFO] [stdout] | [INFO] [stdout] 524 | let iface = &self.resolve.interfaces[*id]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeFuncIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:557:61 [INFO] [stdout] | [INFO] [stdout] 557 | let i = self.lowering_options.push((options, i, *lower_ty)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `LoweredIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:558:27 [INFO] [stdout] | [INFO] [stdout] 558 | assert_eq!(i, *index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:474:48 [INFO] [stdout] | [INFO] [stdout] 474 | ... self.resolve.types[*ty].kind, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeComponentInstanceIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:486:49 [INFO] [stdout] | [INFO] [stdout] 486 | let import_ty = &self.types[*instance]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:487:58 [INFO] [stdout] | [INFO] [stdout] 487 | let iface = &self.resolve.interfaces[*id]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeResourceTableIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:492:63 [INFO] [stdout] | [INFO] [stdout] 492 | ... let resource_idx = self.types[*resource].ty; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:503:63 [INFO] [stdout] | [INFO] [stdout] 503 | let ty = crate::dealias(self.resolve, *ty); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeResourceTableIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:504:55 [INFO] [stdout] | [INFO] [stdout] 504 | let resource_idx = self.types[*resource].ty; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:524:58 [INFO] [stdout] | [INFO] [stdout] 524 | let iface = &self.resolve.interfaces[*id]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeFuncIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:557:61 [INFO] [stdout] | [INFO] [stdout] 557 | let i = self.lowering_options.push((options, i, *lower_ty)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `LoweredIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:558:27 [INFO] [stdout] | [INFO] [stdout] 558 | assert_eq!(i, *index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transpile_bindgen.rs:588:52 [INFO] [stdout] | [INFO] [stdout] 583 | for init in lower_import_initializers.drain(..) { [INFO] [stdout] | ------------------------- here the type of `lower_import_initializers` is inferred to be `Vec<&GlobalInitializer>` [INFO] [stdout] ... [INFO] [stdout] 588 | lower_import_initializers.push(init); [INFO] [stdout] | ---- ^^^^ expected `&GlobalInitializer`, found `GlobalInitializer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:2298:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 588 | lower_import_initializers.push(&init); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transpile_bindgen.rs:588:52 [INFO] [stdout] | [INFO] [stdout] 583 | for init in lower_import_initializers.drain(..) { [INFO] [stdout] | ------------------------- here the type of `lower_import_initializers` is inferred to be `Vec<&GlobalInitializer>` [INFO] [stdout] ... [INFO] [stdout] 588 | lower_import_initializers.push(init); [INFO] [stdout] | ---- ^^^^ expected `&GlobalInitializer`, found `GlobalInitializer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/vec/mod.rs:2298:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 588 | lower_import_initializers.push(&init); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transpile_bindgen.rs:593:51 [INFO] [stdout] | [INFO] [stdout] 593 | self.instantiation_global_initializer(init); [INFO] [stdout] | -------------------------------- ^^^^ expected `&GlobalInitializer`, found `GlobalInitializer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/transpile_bindgen.rs:942:8 [INFO] [stdout] | [INFO] [stdout] 942 | fn instantiation_global_initializer(&mut self, init: &GlobalInitializer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 593 | self.instantiation_global_initializer(&init); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transpile_bindgen.rs:593:51 [INFO] [stdout] | [INFO] [stdout] 593 | self.instantiation_global_initializer(init); [INFO] [stdout] | -------------------------------- ^^^^ expected `&GlobalInitializer`, found `GlobalInitializer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/transpile_bindgen.rs:942:8 [INFO] [stdout] | [INFO] [stdout] 942 | fn instantiation_global_initializer(&mut self, init: &GlobalInitializer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 593 | self.instantiation_global_initializer(&init); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1040:45 [INFO] [stdout] | [INFO] [stdout] 1040 | self.connect_resource_types(*id, iface_ty, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1040:45 [INFO] [stdout] | [INFO] [stdout] 1040 | self.connect_resource_types(*id, iface_ty, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1046:45 [INFO] [stdout] | [INFO] [stdout] 1046 | self.connect_resource_types(*id, iface_ty, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1046:45 [INFO] [stdout] | [INFO] [stdout] 1046 | self.connect_resource_types(*id, iface_ty, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1088:58 [INFO] [stdout] | [INFO] [stdout] 1088 | let iface = &self.resolve.interfaces[*id]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1088:58 [INFO] [stdout] | [INFO] [stdout] 1088 | let iface = &self.resolve.interfaces[*id]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1391:72 [INFO] [stdout] | [INFO] [stdout] 1391 | ... WorldItem::Interface { id, .. } => *id == iface, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1391:72 [INFO] [stdout] | [INFO] [stdout] 1391 | ... WorldItem::Interface { id, .. } => *id == iface, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeRecordIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1452:38 [INFO] [stdout] | [INFO] [stdout] 1452 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeRecordIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1452:38 [INFO] [stdout] | [INFO] [stdout] 1452 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1463:40 [INFO] [stdout] | [INFO] [stdout] 1463 | self.connect_resources(*t1, *t2, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeResourceTableIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1463:45 [INFO] [stdout] | [INFO] [stdout] 1463 | self.connect_resources(*t1, *t2, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1463:40 [INFO] [stdout] | [INFO] [stdout] 1463 | self.connect_resources(*t1, *t2, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeTupleIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1466:38 [INFO] [stdout] | [INFO] [stdout] 1466 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeResourceTableIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1463:45 [INFO] [stdout] | [INFO] [stdout] 1463 | self.connect_resources(*t1, *t2, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeTupleIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1466:38 [INFO] [stdout] | [INFO] [stdout] 1466 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1469:53 [INFO] [stdout] | [INFO] [stdout] 1469 | self.connect_resource_types(*id, f2, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeVariantIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1474:38 [INFO] [stdout] | [INFO] [stdout] 1474 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1469:53 [INFO] [stdout] | [INFO] [stdout] 1469 | self.connect_resource_types(*id, f2, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeVariantIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1474:38 [INFO] [stdout] | [INFO] [stdout] 1474 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1477:53 [INFO] [stdout] | [INFO] [stdout] 1477 | self.connect_resource_types(*id, f2.1.as_ref().unwrap(), resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1477:53 [INFO] [stdout] | [INFO] [stdout] 1477 | self.connect_resource_types(*id, f2.1.as_ref().unwrap(), resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeOptionIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1482:38 [INFO] [stdout] | [INFO] [stdout] 1482 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1484:49 [INFO] [stdout] | [INFO] [stdout] 1484 | self.connect_resource_types(*id, &t2.ty, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeOptionIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1482:38 [INFO] [stdout] | [INFO] [stdout] 1482 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeResultIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1488:38 [INFO] [stdout] | [INFO] [stdout] 1488 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1484:49 [INFO] [stdout] | [INFO] [stdout] 1484 | self.connect_resource_types(*id, &t2.ty, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeListIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1497:38 [INFO] [stdout] | [INFO] [stdout] 1497 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeResultIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1488:38 [INFO] [stdout] | [INFO] [stdout] 1488 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1499:49 [INFO] [stdout] | [INFO] [stdout] 1499 | self.connect_resource_types(*id, &t2.element, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1504:49 [INFO] [stdout] | [INFO] [stdout] 1504 | self.connect_resource_types(*id, iface_ty, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeListIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1497:38 [INFO] [stdout] | [INFO] [stdout] 1497 | let t2 = &self.types[*t2]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1499:49 [INFO] [stdout] | [INFO] [stdout] 1499 | self.connect_resource_types(*id, &t2.element, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1504:49 [INFO] [stdout] | [INFO] [stdout] 1504 | self.connect_resource_types(*id, iface_ty, resource_map); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeFuncIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1772:55 [INFO] [stdout] | [INFO] [stdout] 1772 | self.create_resource_fn_map(func, *func_ty, &mut resource_map); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeFuncIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1772:55 [INFO] [stdout] | [INFO] [stdout] 1772 | self.create_resource_fn_map(func, *func_ty, &mut resource_map); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transpile_bindgen.rs:1772:49 [INFO] [stdout] | [INFO] [stdout] 1772 | self.create_resource_fn_map(func, *func_ty, &mut resource_map); [INFO] [stdout] | ---------------------- ^^^^ expected `&Function`, found `Function` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/transpile_bindgen.rs:1031:8 [INFO] [stdout] | [INFO] [stdout] 1031 | fn create_resource_fn_map( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1032 | &mut self, [INFO] [stdout] 1033 | func: &Function, [INFO] [stdout] | --------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1772 | self.create_resource_fn_map(&func, *func_ty, &mut resource_map); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transpile_bindgen.rs:1772:49 [INFO] [stdout] | [INFO] [stdout] 1772 | self.create_resource_fn_map(func, *func_ty, &mut resource_map); [INFO] [stdout] | ---------------------- ^^^^ expected `&Function`, found `Function` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/transpile_bindgen.rs:1031:8 [INFO] [stdout] | [INFO] [stdout] 1031 | fn create_resource_fn_map( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1032 | &mut self, [INFO] [stdout] 1033 | func: &Function, [INFO] [stdout] | --------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1772 | self.create_resource_fn_map(&func, *func_ty, &mut resource_map); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transpile_bindgen.rs:1792:25 [INFO] [stdout] | [INFO] [stdout] 1788 | self.export_bindgen( [INFO] [stdout] | -------------- arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1792 | func, [INFO] [stdout] | ^^^^ expected `&Function`, found `Function` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/transpile_bindgen.rs:1886:8 [INFO] [stdout] | [INFO] [stdout] 1886 | fn export_bindgen( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1891 | func: &Function, [INFO] [stdout] | --------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1792 | &func, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1816:70 [INFO] [stdout] | [INFO] [stdout] 1816 | WorldItem::Interface { id, stability: _ } => *id, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeFuncIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1829:59 [INFO] [stdout] | [INFO] [stdout] 1829 | self.create_resource_fn_map(func, *func_ty, &mut resource_map); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transpile_bindgen.rs:1792:25 [INFO] [stdout] | [INFO] [stdout] 1788 | self.export_bindgen( [INFO] [stdout] | -------------- arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 1792 | func, [INFO] [stdout] | ^^^^ expected `&Function`, found `Function` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/transpile_bindgen.rs:1886:8 [INFO] [stdout] | [INFO] [stdout] 1886 | fn export_bindgen( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1891 | func: &Function, [INFO] [stdout] | --------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1792 | &func, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `id_arena::Id` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1816:70 [INFO] [stdout] | [INFO] [stdout] 1816 | WorldItem::Interface { id, stability: _ } => *id, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TypeFuncIndex` cannot be dereferenced [INFO] [stdout] --> src/transpile_bindgen.rs:1829:59 [INFO] [stdout] | [INFO] [stdout] 1829 | self.create_resource_fn_map(func, *func_ty, &mut resource_map); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 114 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0392, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `js-component-bindgen` (lib test) due to 115 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 114 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0392, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `js-component-bindgen` (lib) due to 115 previous errors; 2 warnings emitted [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" "0a60b579bba933b3ee3019d36987918351adfc3f7fb01c57e3cd663efbd42f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a60b579bba933b3ee3019d36987918351adfc3f7fb01c57e3cd663efbd42f47", kill_on_drop: false }` [INFO] [stdout] 0a60b579bba933b3ee3019d36987918351adfc3f7fb01c57e3cd663efbd42f47