[INFO] fetching crate roblox-rs-core 0.1.0... [INFO] testing roblox-rs-core-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate roblox-rs-core 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate roblox-rs-core 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate roblox-rs-core 0.1.0 [INFO] tweaked toml for crates.io crate roblox-rs-core 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate roblox-rs-core 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate roblox-rs-core 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llvm-sys v150.2.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a592b67f515bbf88c06c45f6e98539c7961848a5d91da501d9e46c80f211186 [INFO] running `Command { std: "docker" "start" "-a" "2a592b67f515bbf88c06c45f6e98539c7961848a5d91da501d9e46c80f211186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a592b67f515bbf88c06c45f6e98539c7961848a5d91da501d9e46c80f211186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a592b67f515bbf88c06c45f6e98539c7961848a5d91da501d9e46c80f211186", kill_on_drop: false }` [INFO] [stdout] 2a592b67f515bbf88c06c45f6e98539c7961848a5d91da501d9e46c80f211186 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b62031262866c1b49d8cfec8e675c032d3cbf0e0f517521fed737e1678a67cf6 [INFO] running `Command { std: "docker" "start" "-a" "b62031262866c1b49d8cfec8e675c032d3cbf0e0f517521fed737e1678a67cf6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling hecs v0.10.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling roblox-rs-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImplItem` and `ItemImpl` [INFO] [stdout] --> src/ast/visitor.rs:5:69 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::{visit::{self, Visit}, File, ItemFn, ItemStruct, ItemEnum, ItemImpl, ImplItem}; [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: `super::*` [INFO] [stdout] --> src/luau.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.09s [INFO] running `Command { std: "docker" "inspect" "b62031262866c1b49d8cfec8e675c032d3cbf0e0f517521fed737e1678a67cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b62031262866c1b49d8cfec8e675c032d3cbf0e0f517521fed737e1678a67cf6", kill_on_drop: false }` [INFO] [stdout] b62031262866c1b49d8cfec8e675c032d3cbf0e0f517521fed737e1678a67cf6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ad8ccb881fc9a3bd487086475a5e1d4c233afd7ec7430b3c053d88a3f2a1913 [INFO] running `Command { std: "docker" "start" "-a" "7ad8ccb881fc9a3bd487086475a5e1d4c233afd7ec7430b3c053d88a3f2a1913", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `ImplItem` and `ItemImpl` [INFO] [stdout] --> src/ast/visitor.rs:5:69 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::{visit::{self, Visit}, File, ItemFn, ItemStruct, ItemEnum, ItemImpl, ImplItem}; [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: `super::*` [INFO] [stdout] --> src/luau.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling roblox-rs-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImplItem` and `ItemImpl` [INFO] [stdout] --> src/ast/visitor.rs:5:69 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::{visit::{self, Visit}, File, ItemFn, ItemStruct, ItemEnum, ItemImpl, ImplItem}; [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: `super::*` [INFO] [stdout] --> src/luau.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::dependencies` [INFO] [stdout] --> tests/dependency_management_test.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use roblox_rs_core::dependencies::{DependencyManager, DependencyConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `dependencies` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::tests` [INFO] [stdout] --> tests/dependency_management_test.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use roblox_rs_core::tests::TestHelper; [INFO] [stdout] | ^^^^^ could not find `tests` in `roblox_rs_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(test)] [INFO] [stdout] | ---- the item is gated here [INFO] [stdout] 34 | mod tests { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> tests/dependency_management_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::runtime` [INFO] [stdout] --> tests/runtime_helpers_test.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use roblox_rs_core::runtime::{ [INFO] [stdout] | ^^^^^^^ could not find `runtime` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::tests` [INFO] [stdout] --> tests/optimization_integration_test.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use roblox_rs_core::tests::TestHelper; [INFO] [stdout] | ^^^^^ could not find `tests` in `roblox_rs_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(test)] [INFO] [stdout] | ---- the item is gated here [INFO] [stdout] 34 | mod tests { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `roblox_rs_core::ast::luau::Array`, `roblox_rs_core::ast::luau::Number`, `roblox_rs_core::ast::luau::String` [INFO] [stdout] --> tests/optimization_integration_test.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use roblox_rs_core::ast::luau::{LuauNode, Table, Array, Number, String as LuauString}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ no `String` in `ast::luau` [INFO] [stdout] | | | [INFO] [stdout] | | no `Number` in `ast::luau` [INFO] [stdout] | no `Array` in `ast::luau` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these variants instead: [INFO] [stdout] roblox_rs_core::ast::TypeRef::Array [INFO] [stdout] syn::Expr::Array [INFO] [stdout] syn::Type::Array [INFO] [stdout] = help: consider importing one of these variants instead: [INFO] [stdout] crate::LuauNode::Number [INFO] [stdout] roblox_rs_core::ast::LuauNode::Number [INFO] [stdout] roblox_rs_core::ast::LuauValue::Number [INFO] [stdout] roblox_rs_core::ast::luau::PrimitiveType::Number [INFO] [stdout] roblox_rs_core::ast::luau::TypeAnnotation::Number [INFO] [stdout] roblox_rs_core::luau::LuauExpr::Number [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::LuauNode::String [INFO] [stdout] std::string::String [INFO] [stdout] roblox_rs_core::ast::Literal::String [INFO] [stdout] roblox_rs_core::ast::LuauNode::String [INFO] [stdout] roblox_rs_core::ast::LuauValue::String [INFO] [stdout] roblox_rs_core::ast::luau::PrimitiveType::String [INFO] [stdout] roblox_rs_core::ast::luau::TypeAnnotation::String [INFO] [stdout] roblox_rs_core::luau::LuauExpr::String [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `runtime` in `roblox_rs_core` [INFO] [stdout] --> tests/optimization_integration_test.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use roblox_rs_core::runtime::optimized::RuntimeOptimizer; [INFO] [stdout] | ^^^^^^^ could not find `runtime` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::codegen` [INFO] [stdout] --> tests/optimization_integration_test.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use roblox_rs_core::codegen::LuauCodeGenerator; [INFO] [stdout] | ^^^^^^^ could not find `codegen` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `packaging` in `roblox_rs_core` [INFO] [stdout] --> tests/place_gen_test.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use roblox_rs_core::packaging::place_gen::PlaceFile; [INFO] [stdout] | ^^^^^^^^^ could not find `packaging` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> tests/dependency_management_test.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::runtime` [INFO] [stdout] --> tests/reorganization_test.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | use roblox_rs_core::runtime::generate_runtime_lib; [INFO] [stdout] | ^^^^^^^ could not find `runtime` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::runtime` [INFO] [stdout] --> tests/reorganization_test.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | use roblox_rs_core::runtime::generate_actor_system; [INFO] [stdout] | ^^^^^^^ could not find `runtime` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::runtime` [INFO] [stdout] --> tests/reorganization_test.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | use roblox_rs_core::runtime::generate_instance_lib; [INFO] [stdout] | ^^^^^^^ could not find `runtime` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::runtime` [INFO] [stdout] --> tests/reorganization_test.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | use roblox_rs_core::runtime::generate_networking_lib; [INFO] [stdout] | ^^^^^^^ could not find `runtime` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> tests/reorganization_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> tests/place_gen_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile; [INFO] [stdout] | ^^^^^^^^ no external crate `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `optimization_hints` in initializer of `roblox_rs_core::ast::luau::Table` [INFO] [stdout] --> tests/optimization_integration_test.rs:177:41 [INFO] [stdout] | [INFO] [stdout] 177 | let complex_table = LuauNode::Table(Table { fields: table_fields }); [INFO] [stdout] | ^^^^^ missing `optimization_hints` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roblox-rs-core` (test "runtime_helpers_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0063, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::runtime` [INFO] [stdout] --> tests/structure_test.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use roblox_rs_core::runtime::{ [INFO] [stdout] | ^^^^^^^ could not find `runtime` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/place_gen_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::transpiler` [INFO] [stdout] --> tests/transpiler_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use roblox_rs_core::transpiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `transpiler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct literal body without path [INFO] [stdout] --> examples/simple_game/main.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 131 | let damage_event = Net::defineEvent("PlayerDamaged", { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 132 | | player_id: "string", [INFO] [stdout] 133 | | damage: "number", [INFO] [stdout] 134 | | position: "Vector3", [INFO] [stdout] 135 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: you might have forgotten to add the struct literal inside the block [INFO] [stdout] | [INFO] [stdout] 131 ~ let damage_event = Net::defineEvent("PlayerDamaged", { SomeStruct { [INFO] [stdout] 132 | player_id: "string", [INFO] [stdout] 133 | damage: "number", [INFO] [stdout] 134 | position: "Vector3", [INFO] [stdout] 135 ~ } }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct literal body without path [INFO] [stdout] --> examples/simple_game/main.rs:144:54 [INFO] [stdout] | [INFO] [stdout] 144 | let heal_function = Net::defineRPC("HealPlayer", { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 145 | | player_id: "string", [INFO] [stdout] 146 | | amount: "number", [INFO] [stdout] 147 | | }, { [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: you might have forgotten to add the struct literal inside the block [INFO] [stdout] | [INFO] [stdout] 144 ~ let heal_function = Net::defineRPC("HealPlayer", { SomeStruct { [INFO] [stdout] 145 | player_id: "string", [INFO] [stdout] 146 | amount: "number", [INFO] [stdout] 147 ~ } }, { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct literal body without path [INFO] [stdout] --> examples/simple_game/main.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | }, { [INFO] [stdout] | ________^ [INFO] [stdout] 148 | | success: "boolean", [INFO] [stdout] 149 | | new_health: "number", [INFO] [stdout] 150 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: you might have forgotten to add the struct literal inside the block [INFO] [stdout] | [INFO] [stdout] 147 ~ }, { SomeStruct { [INFO] [stdout] 148 | success: "boolean", [INFO] [stdout] 149 | new_health: "number", [INFO] [stdout] 150 ~ } }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct literal body without path [INFO] [stdout] --> examples/simple_game/main.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | return { [INFO] [stdout] | ________________^ [INFO] [stdout] 156 | | success: true, [INFO] [stdout] 157 | | new_health: 100, [INFO] [stdout] 158 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: you might have forgotten to add the struct literal inside the block [INFO] [stdout] | [INFO] [stdout] 155 ~ return { SomeStruct { [INFO] [stdout] 156 | success: true, [INFO] [stdout] 157 | new_health: 100, [INFO] [stdout] 158 ~ } }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/transpiler_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roblox-rs-core` (test "optimization_integration_test") due to 5 previous errors [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> tests/run_structure_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::runtime` [INFO] [stdout] --> tests/runtime_simple_test.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use roblox_rs_core::runtime::{ [INFO] [stdout] | ^^^^^^^ could not find `runtime` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/transpiler_test.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let temp_dir = tempfile::tempdir().expect("Failed to create temp directory"); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] --> tests/transpiler_test.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | let temp_dir = tempfile::tempdir().expect("Failed to create temp directory"); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roblox-rs-core` (test "transpiler_test") due to 3 previous errors; 1 warning emitted [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::transpiler` [INFO] [stdout] --> tests/integration_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use roblox_rs_core::transpiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `transpiler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::runtime` [INFO] [stdout] --> tests/integration_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use roblox_rs_core::runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `runtime` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::packaging` [INFO] [stdout] --> tests/integration_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use roblox_rs_core::packaging; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `packaging` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> tests/integration_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile; [INFO] [stdout] | ^^^^^^^^ no external crate `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/integration_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::transform` [INFO] [stdout] --> tests/transform_integration_test.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use roblox_rs_core::transform::RustToLuauTransformer; [INFO] [stdout] | ^^^^^^^^^ could not find `transform` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roblox-rs-core` (test "runtime_simple_test") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::ast::Program` [INFO] [stdout] --> tests/transform_integration_test.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use roblox_rs_core::ast::{LuauNode, Program}; [INFO] [stdout] | ^^^^^^^ no `Program` in `ast` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::LuauNode::Program [INFO] [stdout] roblox_rs_core::ast::LuauNode::Program [INFO] [stdout] roblox_rs_core::ast::luau::Program [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::codegen` [INFO] [stdout] --> tests/transform_integration_test.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use roblox_rs_core::codegen::LuauCodeGenerator; [INFO] [stdout] | ^^^^^^^ could not find `codegen` in `roblox_rs_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::tests` [INFO] [stdout] --> tests/transform_integration_test.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use roblox_rs_core::tests::TestHelper; [INFO] [stdout] | ^^^^^ could not find `tests` in `roblox_rs_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(test)] [INFO] [stdout] | ---- the item is gated here [INFO] [stdout] 34 | mod tests { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roblox-rs-core` (test "reorganization_test") due to 4 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roblox-rs-core` (test "integration_test") due to 4 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `roblox-rs-core` (test "dependency_management_test") due to 3 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::transpiler` [INFO] [stdout] --> tests/simple_game_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use roblox_rs_core::transpiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `transpiler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roblox-rs-core` (test "place_gen_test") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0432]: unresolved import `roblox_rs_core::runtime` [INFO] [stdout] --> tests/simple_game_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use roblox_rs_core::runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `runtime` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> tests/simple_game_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile; [INFO] [stdout] | ^^^^^^^^ no external crate `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roblox-rs-core` (test "structure_test") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roblox-rs-core` (test "simple_game_test") due to 3 previous errors [INFO] [stderr] error: could not compile `roblox-rs-core` (test "transform_integration_test") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Actors` [INFO] [stdout] --> examples/simple_game/main.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let player_actor = Actors::spawn(|mailbox| { [INFO] [stdout] | ^^^^^^ use of undeclared type `Actors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> examples/simple_game/main.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let screen_gui = Instance::new("ScreenGui"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> examples/simple_game/main.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let frame = Instance::new("Frame"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UDim2` [INFO] [stdout] --> examples/simple_game/main.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | frame.Size = UDim2::new(0, 300, 0, 200); [INFO] [stdout] | ^^^^^ use of undeclared type `UDim2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UDim2` [INFO] [stdout] --> examples/simple_game/main.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | frame.Position = UDim2::new(0.5, -150, 0.5, -100); [INFO] [stdout] | ^^^^^ use of undeclared type `UDim2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color3` [INFO] [stdout] --> examples/simple_game/main.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | frame.BackgroundColor3 = Color3::new(0.2, 0.2, 0.2); [INFO] [stdout] | ^^^^^^ use of undeclared type `Color3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> examples/simple_game/main.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let title = Instance::new("TextLabel"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UDim2` [INFO] [stdout] --> examples/simple_game/main.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | title.Size = UDim2::new(1, 0, 0, 30); [INFO] [stdout] | ^^^^^ use of undeclared type `UDim2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color3` [INFO] [stdout] --> examples/simple_game/main.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | title.TextColor3 = Color3::new(1, 1, 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `Color3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> examples/simple_game/main.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | let health_label = Instance::new("TextLabel"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UDim2` [INFO] [stdout] --> examples/simple_game/main.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | health_label.Size = UDim2::new(1, 0, 0, 30); [INFO] [stdout] | ^^^^^ use of undeclared type `UDim2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UDim2` [INFO] [stdout] --> examples/simple_game/main.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | health_label.Position = UDim2::new(0, 0, 0, 40); [INFO] [stdout] | ^^^^^ use of undeclared type `UDim2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color3` [INFO] [stdout] --> examples/simple_game/main.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | health_label.TextColor3 = Color3::new(0, 1, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Color3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> examples/simple_game/main.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | let score_label = Instance::new("TextLabel"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UDim2` [INFO] [stdout] --> examples/simple_game/main.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | score_label.Size = UDim2::new(1, 0, 0, 30); [INFO] [stdout] | ^^^^^ use of undeclared type `UDim2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UDim2` [INFO] [stdout] --> examples/simple_game/main.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | score_label.Position = UDim2::new(0, 0, 0, 80); [INFO] [stdout] | ^^^^^ use of undeclared type `UDim2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color3` [INFO] [stdout] --> examples/simple_game/main.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | score_label.TextColor3 = Color3::new(1, 1, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Color3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> examples/simple_game/main.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | let players = Instance::getService("Players"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Net` [INFO] [stdout] --> examples/simple_game/main.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | let damage_event = Net::defineEvent("PlayerDamaged", { [INFO] [stdout] | ^^^ use of undeclared type `Net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Net` [INFO] [stdout] --> examples/simple_game/main.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | let heal_function = Net::defineRPC("HealPlayer", { [INFO] [stdout] | ^^^ use of undeclared type `Net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roblox-rs-core` (example "simple_game") due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "7ad8ccb881fc9a3bd487086475a5e1d4c233afd7ec7430b3c053d88a3f2a1913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad8ccb881fc9a3bd487086475a5e1d4c233afd7ec7430b3c053d88a3f2a1913", kill_on_drop: false }` [INFO] [stdout] 7ad8ccb881fc9a3bd487086475a5e1d4c233afd7ec7430b3c053d88a3f2a1913