[INFO] fetching crate udonsharp-compiler 0.1.0... [INFO] checking udonsharp-compiler-0.1.0 against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [INFO] extracting crate udonsharp-compiler 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate udonsharp-compiler 0.1.0 [INFO] finished tweaking crates.io crate udonsharp-compiler 0.1.0 [INFO] tweaked toml for crates.io crate udonsharp-compiler 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate udonsharp-compiler 0.1.0 on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate udonsharp-compiler 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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-encoder v0.38.1 [INFO] [stderr] Downloaded wasm2usharp-enhanced v0.1.0 [INFO] [stderr] Downloaded udonsharp-macros v0.1.0 [INFO] [stderr] Downloaded udonsharp-core v0.1.0 [INFO] [stderr] Downloaded udonsharp-bindings v0.1.0 [INFO] [stderr] Downloaded wasmparser v0.118.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64806fb906452ef333da8c7e4b50e7845511bf9fb2c1bc38f0c8a4cf2af997bb [INFO] running `Command { std: "docker" "start" "-a" "64806fb906452ef333da8c7e4b50e7845511bf9fb2c1bc38f0c8a4cf2af997bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64806fb906452ef333da8c7e4b50e7845511bf9fb2c1bc38f0c8a4cf2af997bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64806fb906452ef333da8c7e4b50e7845511bf9fb2c1bc38f0c8a4cf2af997bb", kill_on_drop: false }` [INFO] [stdout] 64806fb906452ef333da8c7e4b50e7845511bf9fb2c1bc38f0c8a4cf2af997bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44c4b18eccc9acb226bf16b08e44f6b681340ef2211b0403e7cc1788e780dfc3 [INFO] running `Command { std: "docker" "start" "-a" "44c4b18eccc9acb226bf16b08e44f6b681340ef2211b0403e7cc1788e780dfc3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking wasm-encoder v0.38.1 [INFO] [stderr] Checking syn v2.0.109 [INFO] [stderr] Checking wasmparser v0.118.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] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking udonsharp-core v0.1.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking udonsharp-bindings v0.1.0 [INFO] [stderr] Checking wasm2usharp-enhanced v0.1.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking udonsharp-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `InterBehaviorCall` [INFO] [stdout] --> src/prefab_generator.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm2usharp_enhanced::{BehaviorUnit, InterBehaviorCall, CallType}; [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: `InterBehaviorCall` [INFO] [stdout] --> src/initialization_coordinator.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm2usharp_enhanced::{BehaviorUnit, InterBehaviorCall, CallType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/initialization_coordinator.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemImpl`, `Lit`, `Token`, `parse::ParseStream`, `parse::Parse`, and `punctuated::Punctuated` [INFO] [stdout] --> src/struct_analyzer.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | Item, ItemStruct, ItemImpl, Fields, Field, Type, Attribute, Meta, Lit, [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] 15 | ImplItem, ImplItemFn, FnArg, ReturnType, Pat, PatType, Visibility as SynVisibility, [INFO] [stdout] 16 | parse::Parse, parse::ParseStream, Token, punctuated::Punctuated [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldAttribute` and `UdonBehaviourTraitImpl` [INFO] [stdout] --> src/code_generator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | FieldAttribute, MethodAttribute, RustType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | UdonBehaviourTraitImpl, RustToCSharpTypeMapper, AttributeMapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GeneratedClass`, `GeneratedMethod`, `GeneratedParameter`, `GenerationError`, and `GenerationResult` [INFO] [stdout] --> src/inter_behavior_communication.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::code_generator::{GeneratedClass, GeneratedField, GeneratedMethod, GeneratedParameter, GenerationError, GenerationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/inter_behavior_communication.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationError` [INFO] [stdout] --> src/error_detection.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::trait_validator::{TraitValidator, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::struct_analyzer::AnalysisError` [INFO] [stdout] --> src/error_detection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::struct_analyzer::AnalysisError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Diagnostic` and `UdonSharpError` [INFO] [stdout] --> src/error_detection.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use udonsharp_core::error::{UdonSharpError, Diagnostic, DiagnosticLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourceLocation` [INFO] [stdout] --> src/error_reporting.rs:6:98 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error_detection::{CompilationError, CompilationErrorReport, ErrorType, ErrorCategory, SourceLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomEventHandler`, `GeneratedField`, and `GeneratedMethod` [INFO] [stdout] --> src/runtime_validation.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::code_generator::{GeneratedClass, GeneratedField, GeneratedMethod, CustomEventHandler}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompilationError` and `ErrorType` [INFO] [stdout] --> src/runtime_validation.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error_detection::{CompilationError, ErrorType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationResult` [INFO] [stdout] --> src/comprehensive_error_system.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::runtime_validation::{RuntimeValidator, ValidationResult, MultiClassValidationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UdonSharpError` [INFO] [stdout] --> src/comprehensive_error_system.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use udonsharp_core::error::{UdonSharpError, DiagnosticCollector, Diagnostic, DiagnosticLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/comprehensive_error_system.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultiBehaviorSettings` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | config::{UdonSharpConfig, MultiBehaviorSettings}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DependencyAnalyzerTool` and `StandardMultiBehaviorMetadata` [INFO] [stdout] --> src/compilation_reporter.rs:8:83 [INFO] [stdout] | [INFO] [stdout] 8 | standard_multi_behavior_integration::{StandardMultiBehaviorCompilationResult, StandardMultiBehaviorMetadata}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | debug_info_generator::CodeGenerationStats, [INFO] [stdout] 10 | dependency_analyzer_tool::{DependencyAnalyzerTool, DependencyAnalysisReport}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use config::*; [INFO] [stdout] | ^^^^^^^^^ the name `UdonSyncMode` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 32 | pub use multi_behavior::*; [INFO] [stdout] | ----------------- but the name `UdonSyncMode` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use behavior_dependency_analyzer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `DependencyAnalysisResult` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 42 | pub use standard_multi_behavior_integration::*; [INFO] [stdout] | -------------------------------------- but the name `DependencyAnalysisResult` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub use error_detection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `SourceLocation` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 43 | pub use debug_info_generator::*; [INFO] [stdout] | ----------------------- but the name `SourceLocation` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub use dependency_analyzer_tool::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `WarningSeverity` in the type namespace is first re-exported here [INFO] [stdout] 45 | pub use compilation_reporter::*; [INFO] [stdout] | ----------------------- but the name `WarningSeverity` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterBehaviorCall` [INFO] [stdout] --> src/prefab_generator.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm2usharp_enhanced::{BehaviorUnit, InterBehaviorCall, CallType}; [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: `InterBehaviorCall` [INFO] [stdout] --> src/initialization_coordinator.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm2usharp_enhanced::{BehaviorUnit, InterBehaviorCall, CallType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/initialization_coordinator.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemImpl`, `Lit`, `Token`, `parse::ParseStream`, `parse::Parse`, and `punctuated::Punctuated` [INFO] [stdout] --> src/struct_analyzer.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | Item, ItemStruct, ItemImpl, Fields, Field, Type, Attribute, Meta, Lit, [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] 15 | ImplItem, ImplItemFn, FnArg, ReturnType, Pat, PatType, Visibility as SynVisibility, [INFO] [stdout] 16 | parse::Parse, parse::ParseStream, Token, punctuated::Punctuated [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldAttribute` and `StructField` [INFO] [stdout] --> src/behavior_dependency_analyzer.rs:691:33 [INFO] [stdout] | [INFO] [stdout] 691 | use crate::multi_behavior::{StructField, FieldAttribute}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldAttribute` and `UdonBehaviourTraitImpl` [INFO] [stdout] --> src/code_generator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | FieldAttribute, MethodAttribute, RustType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | UdonBehaviourTraitImpl, RustToCSharpTypeMapper, AttributeMapper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GeneratedClass`, `GeneratedMethod`, `GeneratedParameter`, `GenerationError`, and `GenerationResult` [INFO] [stdout] --> src/inter_behavior_communication.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::code_generator::{GeneratedClass, GeneratedField, GeneratedMethod, GeneratedParameter, GenerationError, GenerationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/inter_behavior_communication.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationError` [INFO] [stdout] --> src/error_detection.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::trait_validator::{TraitValidator, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::struct_analyzer::AnalysisError` [INFO] [stdout] --> src/error_detection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::struct_analyzer::AnalysisError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Diagnostic` and `UdonSharpError` [INFO] [stdout] --> src/error_detection.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use udonsharp_core::error::{UdonSharpError, Diagnostic, DiagnosticLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourceLocation` [INFO] [stdout] --> src/error_reporting.rs:6:98 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error_detection::{CompilationError, CompilationErrorReport, ErrorType, ErrorCategory, SourceLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CustomEventHandler`, `GeneratedField`, and `GeneratedMethod` [INFO] [stdout] --> src/runtime_validation.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::code_generator::{GeneratedClass, GeneratedField, GeneratedMethod, CustomEventHandler}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompilationError` and `ErrorType` [INFO] [stdout] --> src/runtime_validation.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error_detection::{CompilationError, ErrorType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationResult` [INFO] [stdout] --> src/comprehensive_error_system.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::runtime_validation::{RuntimeValidator, ValidationResult, MultiClassValidationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UdonSharpError` [INFO] [stdout] --> src/comprehensive_error_system.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use udonsharp_core::error::{UdonSharpError, DiagnosticCollector, Diagnostic, DiagnosticLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/comprehensive_error_system.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultiBehaviorSettings` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | config::{UdonSharpConfig, MultiBehaviorSettings}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DependencyAnalyzerTool` [INFO] [stdout] --> src/compilation_reporter.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | dependency_analyzer_tool::{DependencyAnalyzerTool, DependencyAnalysisReport}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use config::*; [INFO] [stdout] | ^^^^^^^^^ the name `UdonSyncMode` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 32 | pub use multi_behavior::*; [INFO] [stdout] | ----------------- but the name `UdonSyncMode` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use behavior_dependency_analyzer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `DependencyAnalysisResult` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 42 | pub use standard_multi_behavior_integration::*; [INFO] [stdout] | -------------------------------------- but the name `DependencyAnalysisResult` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub use error_detection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `SourceLocation` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 43 | pub use debug_info_generator::*; [INFO] [stdout] | ----------------------- but the name `SourceLocation` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub use dependency_analyzer_tool::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `WarningSeverity` in the type namespace is first re-exported here [INFO] [stdout] 45 | pub use compilation_reporter::*; [INFO] [stdout] | ----------------------- but the name `WarningSeverity` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_path` [INFO] [stdout] --> src/pipeline.rs:133:58 [INFO] [stdout] | [INFO] [stdout] 133 | async fn compile_rust_to_wasm>(&self, project_path: P) -> UdonSharpResult> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wasm_bytes` [INFO] [stdout] --> src/pipeline.rs:177:44 [INFO] [stdout] | [INFO] [stdout] 177 | async fn compile_multi_behavior(&self, wasm_bytes: &[u8], analysis: &MultiBehaviorAnalysis) -> UdonSharpResult src/prefab_generator.rs:449:66 [INFO] [stdout] | [INFO] [stdout] 449 | fn create_udon_behaviour_component(&self, component_id: u64, class_name: &str, behavior_unit: &BehaviorUnit) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `behavior_units` [INFO] [stdout] --> src/prefab_generator.rs:562:46 [INFO] [stdout] | [INFO] [stdout] 562 | fn create_example_scene_structure(&self, behavior_units: &[BehaviorUnit], namespace: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_behavior_units` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/prefab_generator.rs:562:79 [INFO] [stdout] | [INFO] [stdout] 562 | fn create_example_scene_structure(&self, behavior_units: &[BehaviorUnit], namespace: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/initialization_coordinator.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut dependency_graph = self.build_dependency_graph(behavior_units)?; [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: `behavior_name` [INFO] [stdout] --> src/initialization_coordinator.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | for (behavior_name, dependencies) in &dependency_graph { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_behavior_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_method` [INFO] [stdout] --> src/struct_analyzer.rs:560:24 [INFO] [stdout] | [INFO] [stdout] 560 | Ok(struct_method) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_name` [INFO] [stdout] --> src/struct_analyzer.rs:576:34 [INFO] [stdout] | [INFO] [stdout] 576 | fn analyze_method(&mut self, struct_name: &str, impl_fn: &ImplItemFn) -> AnalysisResult { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_path` [INFO] [stdout] --> src/pipeline.rs:133:58 [INFO] [stdout] | [INFO] [stdout] 133 | async fn compile_rust_to_wasm>(&self, project_path: P) -> UdonSharpResult> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wasm_bytes` [INFO] [stdout] --> src/pipeline.rs:177:44 [INFO] [stdout] | [INFO] [stdout] 177 | async fn compile_multi_behavior(&self, wasm_bytes: &[u8], analysis: &MultiBehaviorAnalysis) -> UdonSharpResult src/code_generator.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let optimization_field = GeneratedField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimization_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `udon_struct` [INFO] [stdout] --> src/code_generator.rs:718:52 [INFO] [stdout] | [INFO] [stdout] 718 | fn generate_custom_event_helper_methods(&self, udon_struct: &UdonBehaviourStruct) -> GenerationResult> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udon_struct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_type` [INFO] [stdout] --> src/code_generator.rs:958:59 [INFO] [stdout] | [INFO] [stdout] 958 | fn generate_sync_setter_body(&self, field_name: &str, field_type: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_name` [INFO] [stdout] --> src/prefab_generator.rs:449:66 [INFO] [stdout] | [INFO] [stdout] 449 | fn create_udon_behaviour_component(&self, component_id: u64, class_name: &str, behavior_unit: &BehaviorUnit) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `behavior_units` [INFO] [stdout] --> src/prefab_generator.rs:562:46 [INFO] [stdout] | [INFO] [stdout] 562 | fn create_example_scene_structure(&self, behavior_units: &[BehaviorUnit], namespace: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_behavior_units` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/prefab_generator.rs:562:79 [INFO] [stdout] | [INFO] [stdout] 562 | fn create_example_scene_structure(&self, behavior_units: &[BehaviorUnit], namespace: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_behavior` [INFO] [stdout] --> src/inter_behavior_communication.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | if let Some(target_behavior) = &reference.target_behavior { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_behavior` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/initialization_coordinator.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut dependency_graph = self.build_dependency_graph(behavior_units)?; [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: `behavior_name` [INFO] [stdout] --> src/initialization_coordinator.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | for (behavior_name, dependencies) in &dependency_graph { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_behavior_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/inter_behavior_communication.rs:1204:52 [INFO] [stdout] | [INFO] [stdout] 1204 | fn validate(&self, parameter: &EventParameter, event: &CustomEventDefinition) -> CommunicationResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/inter_behavior_communication.rs:1324:30 [INFO] [stdout] | [INFO] [stdout] 1324 | RustType::Option(inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_type` [INFO] [stdout] --> src/inter_behavior_communication.rs:1339:21 [INFO] [stdout] | [INFO] [stdout] 1339 | let inner_type = self.type_mapper.map_type(inner) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameter` [INFO] [stdout] --> src/inter_behavior_communication.rs:1602:45 [INFO] [stdout] | [INFO] [stdout] 1602 | fn generate_serialization_helper(&self, parameter: &EventParameter) -> CommunicationResult> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inter_behavior_communication.rs:1709:13 [INFO] [stdout] | [INFO] [stdout] 1709 | let mut errors = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trait_impl` [INFO] [stdout] --> src/shared_runtime.rs:1264:21 [INFO] [stdout] | [INFO] [stdout] 1264 | if let Some(trait_impl) = &behavior.trait_impl { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_method` [INFO] [stdout] --> src/struct_analyzer.rs:560:24 [INFO] [stdout] | [INFO] [stdout] 560 | Ok(struct_method) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_name` [INFO] [stdout] --> src/struct_analyzer.rs:576:34 [INFO] [stdout] | [INFO] [stdout] 576 | fn analyze_method(&mut self, struct_name: &str, impl_fn: &ImplItemFn) -> AnalysisResult { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_report` [INFO] [stdout] --> src/error_reporting.rs:243:29 [INFO] [stdout] | [INFO] [stdout] 243 | fn format_header(&self, error_report: &CompilationErrorReport) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trait_validator.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let mut test_struct = create_test_struct("TestBehavior"); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/runtime_validation.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | for (line_num, line) in lines_with_find { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_mapper` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let type_mapper = RustToCSharpTypeMapper::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_mapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attribute_mapper` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let attribute_mapper = AttributeMapper::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attribute_mapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optimization_field` [INFO] [stdout] --> src/code_generator.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let optimization_field = GeneratedField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimization_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trait_validation` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | trait_validation: &TraitValidationResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_validation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependency_analysis` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | dependency_analysis: &DependencyAnalysisResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependency_analysis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structs` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:304:39 [INFO] [stdout] | [INFO] [stdout] 304 | fn generate_shared_runtime(&self, structs: &[UdonBehaviourStruct]) -> UdonSharpResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structs` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | structs: &[UdonBehaviourStruct], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `udon_struct` [INFO] [stdout] --> src/code_generator.rs:718:52 [INFO] [stdout] | [INFO] [stdout] 718 | fn generate_custom_event_helper_methods(&self, udon_struct: &UdonBehaviourStruct) -> GenerationResult> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udon_struct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_type` [INFO] [stdout] --> src/code_generator.rs:958:59 [INFO] [stdout] | [INFO] [stdout] 958 | fn generate_sync_setter_body(&self, field_name: &str, field_type: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_behavior` [INFO] [stdout] --> src/inter_behavior_communication.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | if let Some(target_behavior) = &reference.target_behavior { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_behavior` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/inter_behavior_communication.rs:1204:52 [INFO] [stdout] | [INFO] [stdout] 1204 | fn validate(&self, parameter: &EventParameter, event: &CustomEventDefinition) -> CommunicationResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/inter_behavior_communication.rs:1324:30 [INFO] [stdout] | [INFO] [stdout] 1324 | RustType::Option(inner) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_type` [INFO] [stdout] --> src/inter_behavior_communication.rs:1339:21 [INFO] [stdout] | [INFO] [stdout] 1339 | let inner_type = self.type_mapper.map_type(inner) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameter` [INFO] [stdout] --> src/inter_behavior_communication.rs:1602:45 [INFO] [stdout] | [INFO] [stdout] 1602 | fn generate_serialization_helper(&self, parameter: &EventParameter) -> CommunicationResult> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/inter_behavior_communication.rs:1709:13 [INFO] [stdout] | [INFO] [stdout] 1709 | let mut errors = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trait_impl` [INFO] [stdout] --> src/shared_runtime.rs:1264:21 [INFO] [stdout] | [INFO] [stdout] 1264 | if let Some(trait_impl) = &behavior.trait_impl { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_report` [INFO] [stdout] --> src/error_reporting.rs:243:29 [INFO] [stdout] | [INFO] [stdout] 243 | fn format_header(&self, error_report: &CompilationErrorReport) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `call_graph` is never read [INFO] [stdout] --> src/pipeline.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 425 | struct MultiBehaviorAnalysis { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 431 | call_graph: wasm2usharp_enhanced::CallGraph, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiBehaviorAnalysis` has a derived impl for the trait `Debug`, but this is 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: function `to_pascal_case` is never used [INFO] [stdout] --> src/multi_behavior.rs:870:4 [INFO] [stdout] | [INFO] [stdout] 870 | fn to_pascal_case(snake_case: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_unity_method_declaration` is never used [INFO] [stdout] --> src/code_generator.rs:693:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl CodeGenerator { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 693 | fn generate_unity_method_declaration(&self, method_name: &str, body: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_routes` is never read [INFO] [stdout] --> src/inter_behavior_communication.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 669 | pub struct CustomEventRouter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 675 | event_routes: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `class_template` is never read [INFO] [stdout] --> src/shared_runtime.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 642 | pub struct SharedRuntimeGenerator { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 646 | class_template: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_rule_name` is never used [INFO] [stdout] --> src/runtime_validation.rs:459:8 [INFO] [stdout] | [INFO] [stdout] 457 | trait ValidationRule: Send + Sync { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 458 | fn validate(&self, generated_class: &GeneratedClass) -> Vec; [INFO] [stdout] 459 | fn get_rule_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/comprehensive_error_system.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ComprehensiveErrorSystem { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | config: ErrorSystemConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `communication_generator`, `error_reporter`, and `runtime_validator` are never read [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct StandardMultiBehaviorIntegration { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | communication_generator: InterBehaviorCommunicationCoordinator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | error_reporter: ErrorReporter, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 37 | runtime_validator: RuntimeValidator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/runtime_validation.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | for (line_num, line) in lines_with_find { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/comprehensive_error_system.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | let system = ComprehensiveErrorSystem::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/comprehensive_error_system.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | let system = ComprehensiveErrorSystem::with_config(config); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_mapper` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let type_mapper = RustToCSharpTypeMapper::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_mapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attribute_mapper` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let attribute_mapper = AttributeMapper::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attribute_mapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trait_validation` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | trait_validation: &TraitValidationResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trait_validation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependency_analysis` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | dependency_analysis: &DependencyAnalysisResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependency_analysis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structs` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:304:39 [INFO] [stdout] | [INFO] [stdout] 304 | fn generate_shared_runtime(&self, structs: &[UdonBehaviourStruct]) -> UdonSharpResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structs` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | structs: &[UdonBehaviourStruct], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integration` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | let integration = StandardMultiBehaviorIntegration::new(config, context); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `single_behavior_source` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | let single_behavior_source = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_single_behavior_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `multi_behavior_source` [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:695:13 [INFO] [stdout] | [INFO] [stdout] 695 | let multi_behavior_source = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_multi_behavior_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dependency_analyzer_tool.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | let mut behavior1 = UdonBehaviourStruct::new("Root".to_string()); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optimizer` [INFO] [stdout] --> src/tests.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let optimizer = WasmOptimizer::new(OptimizationLevel::UdonSharp); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/tests.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let result = optimizer.optimize(&invalid_wasm); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optimizer` [INFO] [stdout] --> src/tests.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let optimizer = UdonSharpOptimizer::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `call_graph` is never read [INFO] [stdout] --> src/pipeline.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 425 | struct MultiBehaviorAnalysis { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 431 | call_graph: wasm2usharp_enhanced::CallGraph, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiBehaviorAnalysis` has a derived impl for the trait `Debug`, but this is 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: method `generate_unity_method_declaration` is never used [INFO] [stdout] --> src/code_generator.rs:693:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl CodeGenerator { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 693 | fn generate_unity_method_declaration(&self, method_name: &str, body: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_routes` is never read [INFO] [stdout] --> src/inter_behavior_communication.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 669 | pub struct CustomEventRouter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 675 | event_routes: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `class_template` is never read [INFO] [stdout] --> src/shared_runtime.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 642 | pub struct SharedRuntimeGenerator { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 646 | class_template: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_rule_name` is never used [INFO] [stdout] --> src/runtime_validation.rs:459:8 [INFO] [stdout] | [INFO] [stdout] 457 | trait ValidationRule: Send + Sync { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 458 | fn validate(&self, generated_class: &GeneratedClass) -> Vec; [INFO] [stdout] 459 | fn get_rule_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/comprehensive_error_system.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ComprehensiveErrorSystem { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | config: ErrorSystemConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `communication_generator`, `error_reporter`, and `runtime_validator` are never read [INFO] [stdout] --> src/standard_multi_behavior_integration.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct StandardMultiBehaviorIntegration { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | communication_generator: InterBehaviorCommunicationCoordinator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | error_reporter: ErrorReporter, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 37 | runtime_validator: RuntimeValidator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.52s [INFO] running `Command { std: "docker" "inspect" "44c4b18eccc9acb226bf16b08e44f6b681340ef2211b0403e7cc1788e780dfc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c4b18eccc9acb226bf16b08e44f6b681340ef2211b0403e7cc1788e780dfc3", kill_on_drop: false }` [INFO] [stdout] 44c4b18eccc9acb226bf16b08e44f6b681340ef2211b0403e7cc1788e780dfc3