Skip to content

attempt to fix tests, looks like bindgen broke our string enums though #473

attempt to fix tests, looks like bindgen broke our string enums though

attempt to fix tests, looks like bindgen broke our string enums though #473

Triggered via push August 14, 2024 20:54
Status Success
Total duration 29s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 12 warnings
use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead: src/prototypes.rs#L20
error: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead --> src/prototypes.rs:20:16 | 20 | pub static COST_MATRIX_PROTOTYPE: Object; | ^^^^^^^^^^^^^^^^^^^^^
use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead: src/prototypes.rs#L13
error: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead --> src/prototypes.rs:13:16 | 13 | pub static ROOM_POSITION_PROTOTYPE: Object; | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead: src/memory.rs#L25
error: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead --> src/memory.rs:25:16 | 25 | pub static ROOT: Object; | ^^^^
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead: src/prototypes.rs#L20
error: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead --> src/prototypes.rs:20:16 | 20 | pub static COST_MATRIX_PROTOTYPE: Object; | ^^^^^^^^^^^^^^^^^^^^^
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead: src/prototypes.rs#L13
error: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead --> src/prototypes.rs:13:16 | 13 | pub static ROOM_POSITION_PROTOTYPE: Object; | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/room_position.rs#L421
error: use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/room_position.rs:421:71 | 421 | let js_pos = RoomPosition::from(JsValue::from(Object::create(&ROOM_POSITION_PROTOTYPE))); | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/room_position.rs#L413
error: use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/room_position.rs:413:71 | 413 | let js_pos = RoomPosition::from(JsValue::from(Object::create(&ROOM_POSITION_PROTOTYPE))); | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/room_position.rs#L399
error: use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/room_position.rs:399:72 | 399 | let new_pos = RoomPosition::from(JsValue::from(Object::create(&ROOM_POSITION_PROTOTYPE))); | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/room_position.rs#L11
error: use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/room_position.rs:11:17 | 11 | prototypes::ROOM_POSITION_PROTOTYPE, | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/cost_matrix.rs#L78
error: use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/cost_matrix.rs:78:69 | 78 | let matrix = CostMatrix::from(JsValue::from(Object::create(&COST_MATRIX_PROTOTYPE))); | ^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/cost_matrix.rs#L6
error: use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/cost_matrix.rs:6:17 | 6 | prototypes::COST_MATRIX_PROTOTYPE, | ^^^^^^^^^^^^^^^^^^^^^
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead: src/memory.rs#L25
error: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead --> src/memory.rs:25:16 | 25 | pub static ROOT: Object; | ^^^^ | = note: `-D deprecated` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(deprecated)]`
use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead: src/prototypes.rs#L20
error: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead --> src/prototypes.rs:20:16 | 20 | pub static COST_MATRIX_PROTOTYPE: Object; | ^^^^^^^^^^^^^^^^^^^^^
use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead: src/prototypes.rs#L13
error: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead --> src/prototypes.rs:13:16 | 13 | pub static ROOM_POSITION_PROTOTYPE: Object; | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead: src/memory.rs#L25
error: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead --> src/memory.rs:25:16 | 25 | pub static ROOT: Object; | ^^^^
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead: src/prototypes.rs#L20
error: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead --> src/prototypes.rs:20:16 | 20 | pub static COST_MATRIX_PROTOTYPE: Object; | ^^^^^^^^^^^^^^^^^^^^^
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead: src/prototypes.rs#L13
error: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead --> src/prototypes.rs:13:16 | 13 | pub static ROOM_POSITION_PROTOTYPE: Object; | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/room_position.rs#L421
error: use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/room_position.rs:421:71 | 421 | let js_pos = RoomPosition::from(JsValue::from(Object::create(&ROOM_POSITION_PROTOTYPE))); | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/room_position.rs#L413
error: use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/room_position.rs:413:71 | 413 | let js_pos = RoomPosition::from(JsValue::from(Object::create(&ROOM_POSITION_PROTOTYPE))); | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/room_position.rs#L399
error: use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/room_position.rs:399:72 | 399 | let new_pos = RoomPosition::from(JsValue::from(Object::create(&ROOM_POSITION_PROTOTYPE))); | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/room_position.rs#L11
error: use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/room_position.rs:11:17 | 11 | prototypes::ROOM_POSITION_PROTOTYPE, | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/cost_matrix.rs#L78
error: use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/cost_matrix.rs:78:69 | 78 | let matrix = CostMatrix::from(JsValue::from(Object::create(&COST_MATRIX_PROTOTYPE))); | ^^^^^^^^^^^^^^^^^^^^^
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead: src/objects/impls/cost_matrix.rs#L6
error: use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead --> src/objects/impls/cost_matrix.rs:6:17 | 6 | prototypes::COST_MATRIX_PROTOTYPE, | ^^^^^^^^^^^^^^^^^^^^^
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead: src/memory.rs#L25
error: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead --> src/memory.rs:25:16 | 25 | pub static ROOT: Object; | ^^^^ | = note: `-D deprecated` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(deprecated)]`
build (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions/checkout@v3, actions-rs/cargo@v1, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions/checkout@v3, actions-rs/cargo@v1, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/