[INFO] fetching crate horizon_event_system 0.21.0-rc3... [INFO] testing horizon_event_system-0.21.0-rc3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate horizon_event_system 0.21.0-rc3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate horizon_event_system 0.21.0-rc3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate horizon_event_system 0.21.0-rc3 [INFO] tweaked toml for crates.io crate horizon_event_system 0.21.0-rc3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate horizon_event_system 0.21.0-rc3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate horizon_event_system 0.21.0-rc3 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70bd32ba47bcae24769569550ed9fc2f66eba72634c42995a5bbf2317b690746 [INFO] running `Command { std: "docker" "start" "-a" "70bd32ba47bcae24769569550ed9fc2f66eba72634c42995a5bbf2317b690746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70bd32ba47bcae24769569550ed9fc2f66eba72634c42995a5bbf2317b690746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70bd32ba47bcae24769569550ed9fc2f66eba72634c42995a5bbf2317b690746", kill_on_drop: false }` [INFO] [stdout] 70bd32ba47bcae24769569550ed9fc2f66eba72634c42995a5bbf2317b690746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 319e810a7529cfb0cf98a9b731fe084072a48444afeed5c86c5146005f9ada39 [INFO] running `Command { std: "docker" "start" "-a" "319e810a7529cfb0cf98a9b731fe084072a48444afeed5c86c5146005f9ada39", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling horizon_event_system v0.21.0-rc3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling luminal_rt v0.3.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stdout] warning: unused import: `emitters::*` [INFO] [stdout] --> src/system/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use emitters::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handlers::*` [INFO] [stdout] --> src/system/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use handlers::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.36s [INFO] running `Command { std: "docker" "inspect" "319e810a7529cfb0cf98a9b731fe084072a48444afeed5c86c5146005f9ada39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "319e810a7529cfb0cf98a9b731fe084072a48444afeed5c86c5146005f9ada39", kill_on_drop: false }` [INFO] [stdout] 319e810a7529cfb0cf98a9b731fe084072a48444afeed5c86c5146005f9ada39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a39dec086f99b7e13691c2da7f90140f7ef2310e9652babc311508cefaca194 [INFO] running `Command { std: "docker" "start" "-a" "8a39dec086f99b7e13691c2da7f90140f7ef2310e9652babc311508cefaca194", kill_on_drop: false }` [INFO] [stderr] Compiling horizon_event_system v0.21.0-rc3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `emitters::*` [INFO] [stdout] --> src/system/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use emitters::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handlers::*` [INFO] [stdout] --> src/system/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use handlers::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> examples/auth_core_events_example.rs:54:77 [INFO] [stdout] | [INFO] [stdout] 54 | ...t: RawClientMessageEvent, player_id: horizon_event_system::PlayerId, connection: horizon_event_system::ClientConnectionRef| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> examples/auth_core_events_example.rs:54:120 [INFO] [stdout] | [INFO] [stdout] 54 | ..._event_system::PlayerId, connection: horizon_event_system::ClientConnectionRef| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `emitters::*` [INFO] [stdout] --> src/system/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use emitters::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handlers::*` [INFO] [stdout] --> src/system/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use handlers::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/gorc/replication_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.80s [INFO] running `Command { std: "docker" "inspect" "8a39dec086f99b7e13691c2da7f90140f7ef2310e9652babc311508cefaca194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a39dec086f99b7e13691c2da7f90140f7ef2310e9652babc311508cefaca194", kill_on_drop: false }` [INFO] [stdout] 8a39dec086f99b7e13691c2da7f90140f7ef2310e9652babc311508cefaca194 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 655f89081a56b02fa95418e4a9873db58cf8a753f9c7caaa3f48108c22d0a8d4 [INFO] running `Command { std: "docker" "start" "-a" "655f89081a56b02fa95418e4a9873db58cf8a753f9c7caaa3f48108c22d0a8d4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `emitters::*` [INFO] [stderr] --> src/system/mod.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub use emitters::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `handlers::*` [INFO] [stderr] --> src/system/mod.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub use handlers::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/gorc/replication_test.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `horizon_event_system` (lib) generated 2 warnings (run `cargo fix --lib -p horizon_event_system` to apply 2 suggestions) [INFO] [stderr] warning: `horizon_event_system` (lib test) generated 3 warnings (2 duplicates) (run `cargo fix --lib -p horizon_event_system --tests` to apply 1 suggestion) [INFO] [stderr] warning: unused variable: `player_id` [INFO] [stderr] --> examples/auth_core_events_example.rs:54:77 [INFO] [stderr] | [INFO] [stderr] 54 | ...t: RawClientMessageEvent, player_id: horizon_event_system::PlayerId, connection: horizon_event_system::ClientConnectionRef| { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connection` [INFO] [stderr] --> examples/auth_core_events_example.rs:54:120 [INFO] [stderr] | [INFO] [stderr] 54 | ..._event_system::PlayerId, connection: horizon_event_system::ClientConnectionRef| { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stderr] [INFO] [stderr] warning: `horizon_event_system` (example "auth_core_events_example") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/horizon_event_system-41637448cf9b4a5e) [INFO] [stdout] [INFO] [stdout] running 69 tests [INFO] [stdout] test auth_tests::tests::test_auth_status_default ... ok [INFO] [stdout] test events::tests::tests::test_client_event_wrapper_creation ... ok [INFO] [stdout] test auth_tests::tests::test_auth_status_serialization ... ok [INFO] [stdout] test auth_tests::tests::test_auth_status_changed_event ... ok [INFO] [stdout] test auth_tests::tests::test_auth_event_handler_registration ... ok [INFO] [stdout] test auth_tests::tests::test_auth_status_get_response_event ... ok [INFO] [stdout] test auth_tests::tests::test_auth_status_set_event ... ok [INFO] [stdout] test events::tests::tests::test_client_event_wrapper_deserialization ... ok [INFO] [stdout] test events::tests::tests::test_client_event_wrapper_implements_event_trait ... ok [INFO] [stdout] test events::tests::tests::test_client_event_wrapper_methods ... ok [INFO] [stdout] test auth_tests::tests::test_auth_status_get_event ... ok [INFO] [stdout] test events::tests::tests::test_client_event_wrapper_serialization ... ok [INFO] [stdout] test gorc::examples::tests::test_all_typed_examples_zero_strings ... ok [INFO] [stdout] test events::tests::tests::test_client_event_wrapper_roundtrip ... ok [INFO] [stdout] test events::tests::tests::test_emit_client_with_context_format_compatibility ... ok [INFO] [stdout] test gorc::examples::tests::test_type_based_system_features ... ok [INFO] [stdout] test gorc::examples::tests::test_typed_asteroid_creation ... ok [INFO] [stdout] test gorc::examples::tests::test_typed_asteroid_serialization ... ok [INFO] [stdout] test gorc::examples::tests::test_typed_asteroid_zone_data_serialization ... ok [INFO] [stdout] test gorc::examples::tests::test_typed_asteroid_zone_data_types ... ok [INFO] [stdout] test gorc::examples::tests::test_zero_runtime_string_operations ... ok [INFO] [stdout] test gorc::examples::tests::test_typed_projectile_functionality ... ok [INFO] [stdout] test gorc::examples::tests::test_typed_player_functionality ... ok [INFO] [stdout] test gorc::spatial::quadtree::tests::test_object_removal ... ok [INFO] [stdout] test gorc::replication_test::tests::test_cross_pattern_predictions ... ok [INFO] [stdout] test gorc::spatial::quadtree::tests::test_quadtree_subdivision ... ok [INFO] [stdout] test gorc::spatial::quadtree::tests::test_stats_tracking ... ok [INFO] [stdout] test gorc::subscription::tests::test_proximity_subscription ... ok [INFO] [stdout] test gorc::examples::tests::test_compile_time_type_checking ... ok [INFO] [stdout] test gorc::spatial::quadtree::tests::test_spatial_bounds_checking ... ok [INFO] [stdout] test gorc::replication_test::tests::test_boundary_calculations ... ok [INFO] [stdout] test gorc::subscription::tests::test_relationship_subscription ... ok [INFO] [stdout] test gorc::spatial::quadtree::tests::test_child_index_calculation ... ok [INFO] [stdout] test gorc::system::tests::test_example_asteroid ... ok [INFO] [stdout] test gorc::subscription::tests::test_subscription_manager ... ok [INFO] [stdout] test gorc::system::tests::test_performance_report_with_issues ... ok [INFO] [stdout] test gorc::spatial::quadtree::tests::test_bounds_checking ... ok [INFO] [stdout] test gorc::subscription::tests::test_interest_subscription ... ok [INFO] [stdout] test gorc::zones::tests::test_object_zone_creation ... ok [INFO] [stdout] test gorc::zones::tests::test_zone_contains ... ok [INFO] [stdout] test gorc::system::tests::test_complete_gorc_system ... ok [INFO] [stdout] test gorc::zones::tests::test_zone_hysteresis ... ok [INFO] [stdout] test gorc::system::tests::test_performance_report ... ok [INFO] [stdout] test gorc::zones::tests::test_zone_analysis ... ok [INFO] [stdout] test system::path_router::tests::test_basic_registration_and_lookup ... ok [INFO] [stdout] test gorc::zones::tests::test_zone_manager ... ok [INFO] [stdout] test system::path_router::tests::test_hierarchical_paths ... ok [INFO] [stdout] test system::path_router::tests::test_multiple_handlers_per_path ... ok [INFO] [stdout] test system::path_router::tests::test_similar_path_finding ... ok [INFO] [stdout] test gorc::spatial::quadtree::tests::test_query_performance ... ok [INFO] [stdout] test system::tests::tests::test_async_handlers ... ok [INFO] [stdout] test system::tests::tests::test_core_event_registration_and_emission ... ok [INFO] [stdout] test system::tests::tests::test_event_validation ... ok [INFO] [stdout] test system::tests::tests::test_handler_category_stats ... ok [INFO] [stdout] test system::tests::tests::test_event_system_creation ... ok [INFO] [stdout] test system::tests::tests::test_system_stats ... ok [INFO] [stdout] test test_integration::test_complete_system_integration ... ok [INFO] [stdout] test test_integration::test_monitoring_system ... ok [INFO] [stdout] test system::tests::tests::test_handler_removal ... ok [INFO] [stdout] test system::tests::tests::test_connection_aware_handler ... ok [INFO] [stdout] test test_integration::test_event_handler_error_handling ... ok [INFO] [stdout] test gorc::examples::tests::test_performance_no_string_comparisons ... ok [INFO] [stdout] test test_integration::test_multiple_typed_handlers_same_event ... ok [INFO] [stdout] test test_integration::test_typed_core_event_handlers ... ok [INFO] [stdout] test test_integration::test_typed_vs_json_handlers_compatibility ... ok [INFO] [stdout] test gorc::spatial::quadtree::tests::test_performance_scaling ... ok [INFO] [stdout] test gorc::integration_test::tests::test_gorc_integration ... ok [INFO] [stdout] test test_integration::test_typed_client_event_handlers ... ok [INFO] [stderr] Doc-tests horizon_event_system [INFO] [stdout] test test_integration::test_debug_event_emission_and_handling ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 69 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 50 tests [INFO] [stdout] test src/api.rs - api::create_simple_horizon_system (line 104) - compile ... ok [INFO] [stdout] test src/context.rs - context::ServerContext (line 55) - compile ... FAILED [INFO] [stdout] test src/events.rs - events::ClientEventWrapper (line 796) ... FAILED [INFO] [stdout] test src/events.rs - events::RawClientMessageEvent (line 690) ... FAILED [INFO] [stdout] test src/events.rs - events::GorcEvent (line 728) ... FAILED [INFO] [stdout] test src/api.rs - api::create_complete_horizon_system (line 19) - compile ... ok [INFO] [stdout] test src/gorc/migration_guide.rs - gorc::migration_guide::MigrationGuide (line 137) ... ignored [INFO] [stdout] test src/gorc/migration_guide.rs - gorc::migration_guide::MigrationGuide (line 147) ... ignored [INFO] [stdout] test src/gorc/migration_guide.rs - gorc::migration_guide::MigrationGuide (line 37) ... ignored [INFO] [stdout] test src/gorc/migration_guide.rs - gorc::migration_guide::MigrationGuide (line 9) ... ignored [INFO] [stdout] test src/events.rs - events::AuthenticationStatusGetEvent (line 419) ... FAILED [INFO] [stdout] test src/gorc_macros.rs - gorc_macros::GorcZoneData (line 7) ... ignored [INFO] [stdout] test src/gorc_macros.rs - gorc_macros::impl_gorc_object (line 66) ... ignored [INFO] [stdout] test src/context.rs - context::LogLevel (line 187) ... ok [INFO] [stdout] test src/events.rs - events::T (line 91) ... FAILED [INFO] [stdout] test src/gorc/system.rs - gorc::system::CompleteGorcSystem (line 20) - compile ... FAILED [INFO] [stdout] test src/gorc/utils.rs - gorc::utils::create_complete_gorc_system (line 28) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 36) - compile ... FAILED [INFO] [stdout] test src/events.rs - events::TypedEventHandler (line 190) ... FAILED [INFO] [stdout] test src/macros.rs - macros::register_handlers (line 269) ... FAILED [INFO] [stdout] test src/lib.rs - (line 92) - compile ... FAILED [INFO] [stdout] test src/macros.rs - macros::register_handlers (line 288) ... FAILED [INFO] [stdout] test src/events.rs - events::PluginLoadedEvent (line 557) ... ok [INFO] [stdout] test src/plugin.rs - plugin::SimplePlugin (line 61) - compile ... FAILED [INFO] [stdout] test src/macros.rs - macros::on_event (line 376) ... FAILED [INFO] [stdout] test src/events.rs - events::PluginUnloadedEvent (line 591) ... ok [INFO] [stdout] test src/system/emitters.rs - system::emitters::EventSystem::broadcast (line 425) - compile ... ok [INFO] [stdout] test src/system/handlers.rs - system::handlers::EventSystem::on_client (line 36) - compile ... ok [INFO] [stdout] test src/macros.rs - macros::defObject (line 418) ... FAILED [INFO] [stdout] test src/system/emitters.rs - system::emitters::EventSystem::emit_gorc_instance (line 99) - compile ... ok [INFO] [stdout] test src/system/management.rs - system::management::EventSystem::broadcast_gorc_instance (line 28) ... FAILED [INFO] [stdout] test src/system/handlers.rs - system::handlers::EventSystem::on_gorc_client (line 189) - compile ... FAILED [INFO] [stdout] test src/system/handlers.rs - system::handlers::EventSystem::on_client_async (line 89) - compile ... ok [INFO] [stdout] test src/system/handlers.rs - system::handlers::EventSystem::on_gorc_instance (line 248) - compile ... ok [INFO] [stdout] test src/events.rs - events::RegionStoppedEvent (line 655) ... ok [INFO] [stdout] test src/events.rs - events::PlayerDisconnectedEvent (line 350) ... ok [INFO] [stdout] test src/events.rs - events::AuthenticationStatusSetEvent (line 387) ... ok [INFO] [stdout] test src/events.rs - events::PlayerMovementEvent (line 521) ... ok [INFO] [stdout] test src/events.rs - events::AuthenticationStatusGetResponseEvent (line 451) ... ok [INFO] [stdout] test src/types.rs - types::RegionBounds (line 289) ... ok [INFO] [stdout] test src/events.rs - events::PlayerConnectedEvent (line 312) ... ok [INFO] [stdout] test src/types.rs - types::PlayerId (line 48) ... ok [INFO] [stdout] test src/events.rs - events::AuthenticationStatusChangedEvent (line 486) ... ok [INFO] [stdout] test src/events.rs - events::RegionStartedEvent (line 620) ... ok [INFO] [stdout] test src/macros.rs - macros::create_simple_plugin (line 53) ... ok [INFO] [stdout] test src/types.rs - types::Vec3 (line 194) ... ok [INFO] [stdout] test src/types.rs - types::PlayerId (line 35) ... ok [INFO] [stdout] test src/types.rs - types::Position (line 142) ... ok [INFO] [stdout] test src/types.rs - types::PlayerId::from_str (line 74) ... ok [INFO] [stdout] test src/types.rs - types::RegionId (line 112) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/context.rs - context::ServerContext (line 55) stdout ---- [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `send_to_player`, `broadcast`, `luminal_handle`, `gorc_instance_manager` [INFO] [stdout] --> src/context.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl ServerContext for TestServerContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `send_to_player`, `broadcast`, `luminal_handle`, `gorc_instance_manager` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn send_to_player(&'life0 self, _: PlayerId, _: &'life1 [u8]) -> Pin> + std::marker::Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn broadcast(&'life0 self, _: &'life1 [u8]) -> Pin> + std::marker::Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn luminal_handle(&self) -> luminal::runtime::handle::Handle { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn gorc_instance_manager(&self) -> Option> { todo!() }` [INFO] [stdout] [INFO] [stdout] error[E0277]: `TestServerContext` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/context.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 27 | impl ServerContext for TestServerContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `TestServerContext` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `TestServerContext` or manually `impl std::fmt::Debug for TestServerContext` [INFO] [stdout] note: required by a bound in `ServerContext` [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | pub trait ServerContext: Send + Sync + Debug { [INFO] [stdout] | ^^^^^ required by this bound in `ServerContext` [INFO] [stdout] help: consider annotating `TestServerContext` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Debug)] [INFO] [stdout] 23 | struct TestServerContext { events: std::sync::Arc } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/events.rs - events::ClientEventWrapper (line 796) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `events` in this scope [INFO] [stdout] --> src/events.rs:808:1 [INFO] [stdout] | [INFO] [stdout] 15 | events.on_client_typed("chat", "message", [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/events.rs:813:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_events_rs_796_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 20 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/events.rs - events::RawClientMessageEvent (line 690) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/events.rs:702:11 [INFO] [stdout] | [INFO] [stdout] 14 | data: serde_json::json!({"x": 100, "y": 200}), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `Value` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `Value` [INFO] [stdout] = note: this error originates in the macro `$crate::json_internal` which comes from the expansion of the macro `serde_json::json` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/events.rs - events::GorcEvent (line 728) stdout ---- [INFO] [stdout] error[E0599]: no method named `emit_gorc` found for struct `Arc` in the current scope [INFO] [stdout] --> src/events.rs:737:8 [INFO] [stdout] | [INFO] [stdout] 11 | events.emit_gorc("Asteroid", 0, "position_update", &GorcEvent { [INFO] [stdout] | -------^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `emit_gorc_client` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/system/emitters.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | / pub async fn emit_gorc_client( [INFO] [stdout] 370 | | &self, [INFO] [stdout] 371 | | client_player_id: crate::PlayerId, [INFO] [stdout] 372 | | target_object_id: GorcObjectId, [INFO] [stdout] ... | [INFO] [stdout] 377 | | where [INFO] [stdout] 378 | | T: Event + serde::Serialize, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/events.rs:741:11 [INFO] [stdout] | [INFO] [stdout] 15 | data: serde_json::json!({"x": 100.0, "y": 200.0, "z": 300.0}), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `Value` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `Value` [INFO] [stdout] = note: this error originates in the macro `$crate::json_internal` which comes from the expansion of the macro `serde_json::json` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/events.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 16 | priority: ReplicationPriority::Critical, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `ReplicationPriority` [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `instance_uuid` in initializer of `GorcEvent` [INFO] [stdout] --> src/events.rs:737:53 [INFO] [stdout] | [INFO] [stdout] 11 | events.emit_gorc("Asteroid", 0, "position_update", &GorcEvent { [INFO] [stdout] | ^^^^^^^^^ missing `instance_uuid` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/events.rs - events::AuthenticationStatusGetEvent (line 419) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/events.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 11 | request_id: Some("req_123".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/events.rs - events::T (line 91) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/events.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use horizon_event_system::Serialize; [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/events.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use horizon_event_system::Deserialize; [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/gorc/system.rs - gorc::system::CompleteGorcSystem (line 20) stdout ---- [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `events`, `region_id`, `log`, `send_to_player`, `broadcast`, `luminal_handle`, `gorc_instance_manager` [INFO] [stdout] --> src/gorc/system.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl horizon_event_system::context::ServerContext for MyServerContext {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `events`, `region_id`, `log`, `send_to_player`, `broadcast`, `luminal_handle`, `gorc_instance_manager` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn events(&self) -> Arc { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn region_id(&self) -> RegionId { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn log(&self, _: LogLevel, _: &str) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn send_to_player(&'life0 self, _: PlayerId, _: &'life1 [u8]) -> Pin> + std::marker::Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn broadcast(&'life0 self, _: &'life1 [u8]) -> Pin> + std::marker::Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn luminal_handle(&self) -> luminal::runtime::handle::Handle { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn gorc_instance_manager(&self) -> Option> { todo!() }` [INFO] [stdout] [INFO] [stdout] error[E0277]: `MyServerContext` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/gorc/system.rs:29:55 [INFO] [stdout] | [INFO] [stdout] 11 | impl horizon_event_system::context::ServerContext for MyServerContext {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `MyServerContext` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `MyServerContext` or manually `impl std::fmt::Debug for MyServerContext` [INFO] [stdout] note: required by a bound in `ServerContext` [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | pub trait ServerContext: Send + Sync + Debug { [INFO] [stdout] | ^^^^^ required by this bound in `ServerContext` [INFO] [stdout] help: consider annotating `MyServerContext` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 10 + #[derive(Debug)] [INFO] [stdout] 11 | struct MyServerContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/gorc/utils.rs - gorc::utils::create_complete_gorc_system (line 28) stdout ---- [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `events`, `region_id`, `log`, `send_to_player`, `broadcast`, `luminal_handle`, `gorc_instance_manager` [INFO] [stdout] --> src/gorc/utils.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 9 | impl horizon_event_system::context::ServerContext for MyServerContext {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `events`, `region_id`, `log`, `send_to_player`, `broadcast`, `luminal_handle`, `gorc_instance_manager` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn events(&self) -> Arc { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn region_id(&self) -> RegionId { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn log(&self, _: LogLevel, _: &str) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn send_to_player(&'life0 self, _: PlayerId, _: &'life1 [u8]) -> Pin> + std::marker::Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn broadcast(&'life0 self, _: &'life1 [u8]) -> Pin> + std::marker::Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn luminal_handle(&self) -> luminal::runtime::handle::Handle { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn gorc_instance_manager(&self) -> Option> { todo!() }` [INFO] [stdout] [INFO] [stdout] error[E0277]: `MyServerContext` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/gorc/utils.rs:35:55 [INFO] [stdout] | [INFO] [stdout] 9 | impl horizon_event_system::context::ServerContext for MyServerContext {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `MyServerContext` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `MyServerContext` or manually `impl std::fmt::Debug for MyServerContext` [INFO] [stdout] note: required by a bound in `ServerContext` [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | pub trait ServerContext: Send + Sync + Debug { [INFO] [stdout] | ^^^^^ required by this bound in `ServerContext` [INFO] [stdout] help: consider annotating `MyServerContext` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Debug)] [INFO] [stdout] 9 | struct MyServerContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 36) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerTickEvent` in this scope [INFO] [stdout] --> src/lib.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 47 | events.emit_core("tick", &ServerTickEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `events`, `region_id`, `log`, `send_to_player`, `broadcast`, `luminal_handle`, `gorc_instance_manager` [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 9 | impl context::ServerContext for MyServerContext {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `events`, `region_id`, `log`, `send_to_player`, `broadcast`, `luminal_handle`, `gorc_instance_manager` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn events(&self) -> Arc { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn region_id(&self) -> RegionId { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn log(&self, _: LogLevel, _: &str) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn send_to_player(&'life0 self, _: horizon_event_system::PlayerId, _: &'life1 [u8]) -> Pin> + std::marker::Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn broadcast(&'life0 self, _: &'life1 [u8]) -> Pin> + std::marker::Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn luminal_handle(&self) -> luminal::runtime::handle::Handle { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn gorc_instance_manager(&self) -> Option> { todo!() }` [INFO] [stdout] [INFO] [stdout] error[E0277]: `MyServerContext` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/lib.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 9 | impl context::ServerContext for MyServerContext {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `MyServerContext` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `MyServerContext` or manually `impl std::fmt::Debug for MyServerContext` [INFO] [stdout] note: required by a bound in `ServerContext` [INFO] [stdout] --> /opt/rustwide/workdir/src/context.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | pub trait ServerContext: Send + Sync + Debug { [INFO] [stdout] | ^^^^^ required by this bound in `ServerContext` [INFO] [stdout] help: consider annotating `MyServerContext` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Debug)] [INFO] [stdout] 9 | struct MyServerContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0422. [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/events.rs - events::TypedEventHandler (line 190) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypedEventHandler` [INFO] [stdout] --> src/events.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 3 | let handler = TypedEventHandler::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TypedEventHandler` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use horizon_event_system::TypedEventHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEvent` in this scope [INFO] [stdout] --> src/events.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 5 | |event: MyEvent| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::register_handlers (line 269) stdout ---- [INFO] [stdout] error: cannot find macro `register_handlers` in this scope [INFO] [stdout] --> src/macros.rs:270:1 [INFO] [stdout] | [INFO] [stdout] 3 | register_handlers!(events; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use horizon_event_system::register_handlers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 92) stdout ---- [INFO] [stdout] error[E0050]: method `register_handlers` has 2 parameters but the declaration in trait `register_handlers` has 3 [INFO] [stdout] --> src/lib.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 23 | async fn register_handlers(&mut self, events: Arc) -> Result<(), plugin::PluginError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `register_handlers` from trait: `fn(&'life0 mut Self, Arc, Arc<(dyn ServerContext + 'static)>) -> Pin> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `PluginError` [INFO] [stdout] --> src/lib.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 25 | / events.on_gorc_instance("Asteroid", 3, "composition_discovered", [INFO] [stdout] 26 | | |event: GorcEvent, instance: &mut ObjectInstance| { [INFO] [stdout] 27 | | if let Some(asteroid) = instance.get_object::() { [INFO] [stdout] 28 | | println!("Discovered {:?} asteroid with {} minerals", [INFO] [stdout] ... | [INFO] [stdout] 33 | | ).await?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `PluginError` [INFO] [stdout] | |_______________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, EventError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 3 arguments, but it takes 1 argument [INFO] [stdout] --> src/lib.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 36 | events.on_client("mining", "start_mining", |event: RawClientMessageEvent| { [INFO] [stdout] | ^^^^^^^^^ ------------------------------ takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 3 arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0277, E0593. [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::register_handlers (line 288) stdout ---- [INFO] [stdout] error: cannot find macro `register_handlers` in this scope [INFO] [stdout] --> src/macros.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 3 | register_handlers!(events; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use horizon_event_system::register_handlers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/plugin.rs - plugin::SimplePlugin (line 61) stdout ---- [INFO] [stdout] error[E0593]: closure is expected to take 3 arguments, but it takes 1 argument [INFO] [stdout] --> src/plugin.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 24 | events.on_client("chat", "message", |event: RawClientMessageEvent| { [INFO] [stdout] | ^^^^^^^^^ ------------------------------ takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 3 arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::on_event (line 376) stdout ---- [INFO] [stdout] error: cannot find macro `on_event` in this scope [INFO] [stdout] --> src/macros.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 16 | on_event!(events, plugin "inventory", "item_used" => |event: ItemUsedEvent| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use horizon_event_system::on_event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `on_event` in this scope [INFO] [stdout] --> src/macros.rs:384:1 [INFO] [stdout] | [INFO] [stdout] 10 | on_event!(events, client "movement", "jump" => |event: RawClientMessageEvent| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use horizon_event_system::on_event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `on_event` in this scope [INFO] [stdout] --> src/macros.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 4 | on_event!(events, core "server_started" => |event: ServerStartedEvent| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use horizon_event_system::on_event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::defObject (line 418) stdout ---- [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `serialize_for_layer`, `update_position`, `as_any`, `as_any_mut`, `clone_object` [INFO] [stdout] --> src/macros.rs:432:1 [INFO] [stdout] | [INFO] [stdout] 17 | impl GorcObject for Asteroid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `serialize_for_layer`, `update_position`, `as_any`, `as_any_mut`, `clone_object` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn serialize_for_layer(&self, _: &ReplicationLayer) -> Result, Box<(dyn StdError + 'static)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn update_position(&mut self, _: Vec3) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn as_any(&self) -> &(dyn std::any::Any + 'static) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn as_any_mut(&mut self) -> &mut (dyn std::any::Any + 'static) { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn clone_object(&self) -> Box<(dyn GorcObject + 'static)> { todo!() }` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/system/management.rs - system::management::EventSystem::broadcast_gorc_instance (line 28) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `events` in this scope [INFO] [stdout] --> src/system/management.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 4 | let subscriber_count = events.broadcast_gorc_instance( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `player_id` in this scope [INFO] [stdout] --> src/system/management.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 5 | player_id, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HealthCriticalEvent` in this scope [INFO] [stdout] --> src/system/management.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 8 | &HealthCriticalEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/system/management.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_system_management_rs_28_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 13 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/system/handlers.rs - system::handlers::EventSystem::on_gorc_client (line 189) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/system/handlers.rs:209:83 [INFO] [stdout] | [INFO] [stdout] 12 | |event: GorcEvent, client_player: PlayerId, connection: ClientConnectionRef, instance: &mut ObjectInstance| { [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 23 | connection.respond_json(&serde_json::json!({"status": "mining_started"})).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/system/handlers.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 11 | events.on_gorc_client("Asteroid", 3, "mine", [INFO] [stdout] | ^^^^^^^^^^^^^^ ---------- argument #1 of type `luminal::runtime::handle::Handle` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/system/handlers.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | pub async fn on_gorc_client( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 11 ~ events.on_gorc_client(/* luminal::runtime::handle::Handle */, "Asteroid", 3, "mine", |event: GorcEvent, client_player: PlayerId, connection: ClientConnectionRef, instance: &mut ObjectInstance| { [INFO] [stdout] 12 + // Validate authentication status [INFO] [stdout] 13 + if !connection.is_authenticated() { [INFO] [stdout] 14 + return Err(EventError::HandlerExecution("Not authenticated".to_string())); [INFO] [stdout] 15 + } [INFO] [stdout] 16 + [INFO] [stdout] 17 + // Validate that the client is close enough to mine [INFO] [stdout] 18 + // Update object state if valid [INFO] [stdout] 19 + println!("Player {} from {} attempting to mine asteroid {}", client_player, connection.remote_addr, event.object_id); [INFO] [stdout] 20 + [INFO] [stdout] 21 + // Send direct response to client [INFO] [stdout] 22 + connection.respond_json(&serde_json::json!({"status": "mining_started"})).await?; [INFO] [stdout] 23 + Ok(()) [INFO] [stdout] 24 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/context.rs - context::ServerContext (line 55) [INFO] [stdout] src/events.rs - events::AuthenticationStatusGetEvent (line 419) [INFO] [stdout] src/events.rs - events::ClientEventWrapper (line 796) [INFO] [stdout] src/events.rs - events::GorcEvent (line 728) [INFO] [stdout] src/events.rs - events::RawClientMessageEvent (line 690) [INFO] [stdout] src/events.rs - events::T (line 91) [INFO] [stdout] src/events.rs - events::TypedEventHandler (line 190) [INFO] [stdout] src/gorc/system.rs - gorc::system::CompleteGorcSystem (line 20) [INFO] [stdout] src/gorc/utils.rs - gorc::utils::create_complete_gorc_system (line 28) [INFO] [stdout] src/lib.rs - (line 36) [INFO] [stdout] src/lib.rs - (line 92) [INFO] [stdout] src/macros.rs - macros::defObject (line 418) [INFO] [stdout] src/macros.rs - macros::on_event (line 376) [INFO] [stdout] src/macros.rs - macros::register_handlers (line 269) [INFO] [stdout] src/macros.rs - macros::register_handlers (line 288) [INFO] [stdout] src/plugin.rs - plugin::SimplePlugin (line 61) [INFO] [stdout] src/system/handlers.rs - system::handlers::EventSystem::on_gorc_client (line 189) [INFO] [stdout] src/system/management.rs - system::management::EventSystem::broadcast_gorc_instance (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 26 passed; 18 failed; 6 ignored; 0 measured; 0 filtered out; finished in 3.77s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "655f89081a56b02fa95418e4a9873db58cf8a753f9c7caaa3f48108c22d0a8d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655f89081a56b02fa95418e4a9873db58cf8a753f9c7caaa3f48108c22d0a8d4", kill_on_drop: false }` [INFO] [stdout] 655f89081a56b02fa95418e4a9873db58cf8a753f9c7caaa3f48108c22d0a8d4