[INFO] fetching crate wasm2usharp-enhanced 0.1.0...
[INFO] checking wasm2usharp-enhanced-0.1.0 against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146-1
[INFO] extracting crate wasm2usharp-enhanced 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate wasm2usharp-enhanced 0.1.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate wasm2usharp-enhanced 0.1.0
[INFO] tweaked toml for crates.io crate wasm2usharp-enhanced 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate wasm2usharp-enhanced 0.1.0 on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate wasm2usharp-enhanced 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] becf8499c44dc6c6c3b0e651f645bbd086fe9864e9035731ecee06fe232c650d
[INFO] running `Command { std: "docker" "start" "-a" "becf8499c44dc6c6c3b0e651f645bbd086fe9864e9035731ecee06fe232c650d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "becf8499c44dc6c6c3b0e651f645bbd086fe9864e9035731ecee06fe232c650d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "becf8499c44dc6c6c3b0e651f645bbd086fe9864e9035731ecee06fe232c650d", kill_on_drop: false }`
[INFO] [stdout] becf8499c44dc6c6c3b0e651f645bbd086fe9864e9035731ecee06fe232c650d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 234c80e382319887ef2d6337e0421c6f690f8567150f35ecebd2f131e08ee816
[INFO] running `Command { std: "docker" "start" "-a" "234c80e382319887ef2d6337e0421c6f690f8567150f35ecebd2f131e08ee816", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling syn v2.0.109
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking leb128 v0.2.5
[INFO] [stderr]     Checking wasm-encoder v0.38.1
[INFO] [stderr]     Checking wasmparser v0.118.2
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling udonsharp-macros v0.1.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking udonsharp-core v0.1.0
[INFO] [stderr]     Checking wasm2usharp-enhanced v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `TypeRef`
[INFO] [stdout]  --> src/analyzer.rs:9:42
[INFO] [stdout]   |
[INFO] [stdout] 9 |     FuncType, Operator, Parser, Payload, TypeRef, ValType
[INFO] [stdout]   |                                          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/transformer.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/transformer.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/transformer.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/splitter.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ErrorCategory`
[INFO] [stdout]   --> src/splitter.rs:10:72
[INFO] [stdout]    |
[INFO] [stdout] 10 | use udonsharp_core::multi_behavior_errors::{MultiBehaviorErrorHandler, ErrorCategory};
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CallGraphNode`, `CircularDependency`, and `CrossBehaviorDependency`
[INFO] [stdout]  --> src/dependency_analyzer.rs:8:48
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::analyzer::{BehaviorUnit, CallGraph, CallGraphNode, CrossBehaviorDependency, CircularDependency};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use splitter::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `DependencyAnalyzer` in the type namespace is first re-exported here
[INFO] [stdout] 18 | pub use file_generator::*;
[INFO] [stdout] 19 | pub use dependency_analyzer::*;
[INFO] [stdout]    |         ---------------------- but the name `DependencyAnalyzer` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #107880 <https://github.com/rust-lang/rust/issues/107880>
[INFO] [stdout]    = note: `#[deny(ambiguous_glob_reexports)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use splitter::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `DependencyGraph` in the type namespace is first re-exported here
[INFO] [stdout] 18 | pub use file_generator::*;
[INFO] [stdout] 19 | pub use dependency_analyzer::*;
[INFO] [stdout]    |         ---------------------- but the name `DependencyGraph` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #107880 <https://github.com/rust-lang/rust/issues/107880>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TypeRef`
[INFO] [stdout]  --> src/analyzer.rs:9:42
[INFO] [stdout]   |
[INFO] [stdout] 9 |     FuncType, Operator, Parser, Payload, TypeRef, ValType
[INFO] [stdout]   |                                          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/transformer.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/transformer.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/transformer.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/splitter.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ErrorCategory`
[INFO] [stdout]   --> src/splitter.rs:10:72
[INFO] [stdout]    |
[INFO] [stdout] 10 | use udonsharp_core::multi_behavior_errors::{MultiBehaviorErrorHandler, ErrorCategory};
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CallGraphNode`, `CircularDependency`, and `CrossBehaviorDependency`
[INFO] [stdout]  --> src/dependency_analyzer.rs:8:48
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::analyzer::{BehaviorUnit, CallGraph, CallGraphNode, CrossBehaviorDependency, CircularDependency};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use splitter::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `DependencyAnalyzer` in the type namespace is first re-exported here
[INFO] [stdout] 18 | pub use file_generator::*;
[INFO] [stdout] 19 | pub use dependency_analyzer::*;
[INFO] [stdout]    |         ---------------------- but the name `DependencyAnalyzer` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #107880 <https://github.com/rust-lang/rust/issues/107880>
[INFO] [stdout]    = note: `#[deny(ambiguous_glob_reexports)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use splitter::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `DependencyGraph` in the type namespace is first re-exported here
[INFO] [stdout] 18 | pub use file_generator::*;
[INFO] [stdout] 19 | pub use dependency_analyzer::*;
[INFO] [stdout]    |         ---------------------- but the name `DependencyGraph` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #107880 <https://github.com/rust-lang/rust/issues/107880>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/analyzer.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut parser = Parser::new(0);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]   --> src/analyzer.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let ty = ty?;
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/analyzer.rs:103:42
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn parse_function_section(&mut self, reader: wasmparser::FunctionSectionReader) -> Result<()> {
[INFO] [stdout]     |                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/analyzer.rs:1002:13
[INFO] [stdout]      |
[INFO] [stdout] 1002 |         let mut scc_finder = StronglyConnectedComponents::new(call_graph);
[INFO] [stdout]      |             ----^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wasm_bytes`
[INFO] [stdout]   --> src/transformer.rs:64:34
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn generate_base_code(&self, wasm_bytes: &[u8]) -> Result<String> {
[INFO] [stdout]    |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wasm_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/transformer.rs:354:52
[INFO] [stdout]     |
[INFO] [stdout] 354 |     fn organize_method_in_class(&self, code: &str, method: &MethodInfo, class_name: &str) -> Result<String> {
[INFO] [stdout]     |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class_name`
[INFO] [stdout]    --> src/transformer.rs:354:73
[INFO] [stdout]     |
[INFO] [stdout] 354 |     fn organize_method_in_class(&self, code: &str, method: &MethodInfo, class_name: &str) -> Result<String> {
[INFO] [stdout]     |                                                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inheritance`
[INFO] [stdout]    --> src/transformer.rs:384:45
[INFO] [stdout]     |
[INFO] [stdout] 384 |     fn apply_inheritance(&self, code: &str, inheritance: &crate::analyzer::InheritanceInfo) -> Result<String> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inheritance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]    --> src/splitter.rs:719:40
[INFO] [stdout]     |
[INFO] [stdout] 719 |     fn extract_class_attributes(&self, code: &str, class_declaration: &str) -> Result<Vec<String>> {
[INFO] [stdout]     |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `namespace_indent`
[INFO] [stdout]   --> src/file_generator.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let namespace_indent = if let Some(namespace) = &file_data.namespace {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace_indent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/analyzer.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut parser = Parser::new(0);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]   --> src/analyzer.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let ty = ty?;
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/analyzer.rs:103:42
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn parse_function_section(&mut self, reader: wasmparser::FunctionSectionReader) -> Result<()> {
[INFO] [stdout]     |                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_name`
[INFO] [stdout]     --> src/file_generator.rs:1856:17
[INFO] [stdout]      |
[INFO] [stdout] 1856 |             let file_name = format!("{}.cs", class_name);
[INFO] [stdout]      |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method_body`
[INFO] [stdout]     --> src/file_generator.rs:2495:13
[INFO] [stdout]      |
[INFO] [stdout] 2495 |         let method_body = self.generate_communication_method_body(call, source_behavior, all_behaviors)?;
[INFO] [stdout]      |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_behavior`
[INFO] [stdout]     --> src/file_generator.rs:2587:13
[INFO] [stdout]      |
[INFO] [stdout] 2587 |         let target_behavior = all_behaviors.iter()
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_behavior`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handler_body`
[INFO] [stdout]     --> src/file_generator.rs:2699:13
[INFO] [stdout]      |
[INFO] [stdout] 2699 |         let handler_body = self.generate_event_handler_body(call, target_behavior)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/analyzer.rs:1002:13
[INFO] [stdout]      |
[INFO] [stdout] 1002 |         let mut scc_finder = StronglyConnectedComponents::new(call_graph);
[INFO] [stdout]      |             ----^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dependency_analyzer.rs:304:13
[INFO] [stdout]     |
[INFO] [stdout] 304 |         let mut tarjan = TarjanSCC::new(&self.dependency_graph);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wasm_bytes`
[INFO] [stdout]   --> src/transformer.rs:64:34
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn generate_base_code(&self, wasm_bytes: &[u8]) -> Result<String> {
[INFO] [stdout]    |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wasm_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/transformer.rs:354:52
[INFO] [stdout]     |
[INFO] [stdout] 354 |     fn organize_method_in_class(&self, code: &str, method: &MethodInfo, class_name: &str) -> Result<String> {
[INFO] [stdout]     |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class_name`
[INFO] [stdout]    --> src/transformer.rs:354:73
[INFO] [stdout]     |
[INFO] [stdout] 354 |     fn organize_method_in_class(&self, code: &str, method: &MethodInfo, class_name: &str) -> Result<String> {
[INFO] [stdout]     |                                                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inheritance`
[INFO] [stdout]    --> src/transformer.rs:384:45
[INFO] [stdout]     |
[INFO] [stdout] 384 |     fn apply_inheritance(&self, code: &str, inheritance: &crate::analyzer::InheritanceInfo) -> Result<String> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inheritance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `module` and `name` are never read
[INFO] [stdout]     --> src/analyzer.rs:1131:5
[INFO] [stdout]      |
[INFO] [stdout] 1130 | struct ImportInfo {
[INFO] [stdout]      |        ---------- fields in this struct
[INFO] [stdout] 1131 |     module: String,
[INFO] [stdout]      |     ^^^^^^
[INFO] [stdout] 1132 |     name: String,
[INFO] [stdout]      |     ^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `ImportInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Func`, `Table`, `Memory`, `Global`, and `Tag` are never constructed
[INFO] [stdout]     --> src/analyzer.rs:1147:5
[INFO] [stdout]      |
[INFO] [stdout] 1146 | enum ImportKind {
[INFO] [stdout]      |      ---------- variants in this enum
[INFO] [stdout] 1147 |     Func(u32),
[INFO] [stdout]      |     ^^^^
[INFO] [stdout] 1148 |     Table,
[INFO] [stdout]      |     ^^^^^
[INFO] [stdout] 1149 |     Memory,
[INFO] [stdout]      |     ^^^^^^
[INFO] [stdout] 1150 |     Global,
[INFO] [stdout]      |     ^^^^^^
[INFO] [stdout] 1151 |     Tag,
[INFO] [stdout]      |     ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `ImportKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `template_engine` is never read
[INFO] [stdout]    --> src/file_generator.rs:996:5
[INFO] [stdout]     |
[INFO] [stdout] 995 | pub struct MainClassGenerator {
[INFO] [stdout]     |            ------------------ field in this struct
[INFO] [stdout] 996 |     template_engine: TemplateEngine,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_unity_event_parameters`, `get_unity_event_attributes`, and `generate_inter_behavior_method_name` are never used
[INFO] [stdout]     --> src/file_generator.rs:1739:8
[INFO] [stdout]      |
[INFO] [stdout] 1543 | impl MultiBehaviorFileGenerator {
[INFO] [stdout]      | ------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1739 |     fn get_unity_event_parameters(&self, event_name: &str) -> Vec<String> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1761 |     fn get_unity_event_attributes(&self, event_name: &str) -> Vec<String> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1785 |     fn generate_inter_behavior_method_name(&self, call: &InterBehaviorCall) -> String {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `template_engine` is never read
[INFO] [stdout]     --> src/file_generator.rs:2423:5
[INFO] [stdout]      |
[INFO] [stdout] 2422 | pub struct InterBehaviorCommunicationGenerator {
[INFO] [stdout]      |            ----------------------------------- field in this struct
[INFO] [stdout] 2423 |     template_engine: TemplateEngine,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]    --> src/splitter.rs:719:40
[INFO] [stdout]     |
[INFO] [stdout] 719 |     fn extract_class_attributes(&self, code: &str, class_declaration: &str) -> Result<Vec<String>> {
[INFO] [stdout]     |                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm2usharp-enhanced` (lib) due to 4 previous errors; 27 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `namespace_indent`
[INFO] [stdout]   --> src/file_generator.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let namespace_indent = if let Some(namespace) = &file_data.namespace {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace_indent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_name`
[INFO] [stdout]     --> src/file_generator.rs:1856:17
[INFO] [stdout]      |
[INFO] [stdout] 1856 |             let file_name = format!("{}.cs", class_name);
[INFO] [stdout]      |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method_body`
[INFO] [stdout]     --> src/file_generator.rs:2495:13
[INFO] [stdout]      |
[INFO] [stdout] 2495 |         let method_body = self.generate_communication_method_body(call, source_behavior, all_behaviors)?;
[INFO] [stdout]      |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_behavior`
[INFO] [stdout]     --> src/file_generator.rs:2587:13
[INFO] [stdout]      |
[INFO] [stdout] 2587 |         let target_behavior = all_behaviors.iter()
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_behavior`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handler_body`
[INFO] [stdout]     --> src/file_generator.rs:2699:13
[INFO] [stdout]      |
[INFO] [stdout] 2699 |         let handler_body = self.generate_event_handler_body(call, target_behavior)?;
[INFO] [stdout]      |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dependency_analyzer.rs:304:13
[INFO] [stdout]     |
[INFO] [stdout] 304 |         let mut tarjan = TarjanSCC::new(&self.dependency_graph);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/dependency_analyzer.rs:1449:13
[INFO] [stdout]      |
[INFO] [stdout] 1449 |         let mut behavior_a = create_test_behavior_unit("BehaviorA", "behavior_a_start");
[INFO] [stdout]      |             ----^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/dependency_analyzer.rs:1471:13
[INFO] [stdout]      |
[INFO] [stdout] 1471 |         let mut behavior_a = create_test_behavior_unit("BehaviorA", "behavior_a_start");
[INFO] [stdout]      |             ----^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/dependency_analyzer.rs:1494:13
[INFO] [stdout]      |
[INFO] [stdout] 1494 |         let mut behavior_a = create_test_behavior_unit("BehaviorA", "behavior_a_start");
[INFO] [stdout]      |             ----^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/dependency_analyzer.rs:1557:13
[INFO] [stdout]      |
[INFO] [stdout] 1557 |         let mut behavior_a = create_test_behavior_unit("BehaviorA", "behavior_a_start");
[INFO] [stdout]      |             ----^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `module` and `name` are never read
[INFO] [stdout]     --> src/analyzer.rs:1131:5
[INFO] [stdout]      |
[INFO] [stdout] 1130 | struct ImportInfo {
[INFO] [stdout]      |        ---------- fields in this struct
[INFO] [stdout] 1131 |     module: String,
[INFO] [stdout]      |     ^^^^^^
[INFO] [stdout] 1132 |     name: String,
[INFO] [stdout]      |     ^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `ImportInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Func`, `Table`, `Memory`, `Global`, and `Tag` are never constructed
[INFO] [stdout]     --> src/analyzer.rs:1147:5
[INFO] [stdout]      |
[INFO] [stdout] 1146 | enum ImportKind {
[INFO] [stdout]      |      ---------- variants in this enum
[INFO] [stdout] 1147 |     Func(u32),
[INFO] [stdout]      |     ^^^^
[INFO] [stdout] 1148 |     Table,
[INFO] [stdout]      |     ^^^^^
[INFO] [stdout] 1149 |     Memory,
[INFO] [stdout]      |     ^^^^^^
[INFO] [stdout] 1150 |     Global,
[INFO] [stdout]      |     ^^^^^^
[INFO] [stdout] 1151 |     Tag,
[INFO] [stdout]      |     ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `ImportKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `template_engine` is never read
[INFO] [stdout]    --> src/file_generator.rs:996:5
[INFO] [stdout]     |
[INFO] [stdout] 995 | pub struct MainClassGenerator {
[INFO] [stdout]     |            ------------------ field in this struct
[INFO] [stdout] 996 |     template_engine: TemplateEngine,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_unity_event_parameters`, `get_unity_event_attributes`, and `generate_inter_behavior_method_name` are never used
[INFO] [stdout]     --> src/file_generator.rs:1739:8
[INFO] [stdout]      |
[INFO] [stdout] 1543 | impl MultiBehaviorFileGenerator {
[INFO] [stdout]      | ------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1739 |     fn get_unity_event_parameters(&self, event_name: &str) -> Vec<String> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1761 |     fn get_unity_event_attributes(&self, event_name: &str) -> Vec<String> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1785 |     fn generate_inter_behavior_method_name(&self, call: &InterBehaviorCall) -> String {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `template_engine` is never read
[INFO] [stdout]     --> src/file_generator.rs:2423:5
[INFO] [stdout]      |
[INFO] [stdout] 2422 | pub struct InterBehaviorCommunicationGenerator {
[INFO] [stdout]      |            ----------------------------------- field in this struct
[INFO] [stdout] 2423 |     template_engine: TemplateEngine,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm2usharp-enhanced` (lib test) due to 4 previous errors; 31 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "234c80e382319887ef2d6337e0421c6f690f8567150f35ecebd2f131e08ee816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "234c80e382319887ef2d6337e0421c6f690f8567150f35ecebd2f131e08ee816", kill_on_drop: false }`
[INFO] [stdout] 234c80e382319887ef2d6337e0421c6f690f8567150f35ecebd2f131e08ee816
