Skip to content

Stop using __Nonexhaustive for market type conversion #462

Stop using __Nonexhaustive for market type conversion

Stop using __Nonexhaustive for market type conversion #462

Triggered via push August 14, 2024 20:29
Status Failure
Total duration 36s
Artifacts

test.yml

on: push
Matrix: check
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 62 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)]`
test (stable): src/constants/types.rs#L837
no variant or associated item named `__Nonexhaustive` found for enum `types::ResourceType` in the current scope
test (stable): src/constants/types.rs#L848
no variant or associated item named `__Nonexhaustive` found for enum `types::ResourceType` in the current scope
test (stable): src/constants/types.rs#L860
no variant or associated item named `__Nonexhaustive` found for enum `types::ResourceType` in the current scope
test (stable): src/constants/types.rs#L873
no variant or associated item named `__Nonexhaustive` found for enum `types::ResourceType` in the current scope
test (stable): src/constants/types.rs#L890
no variant or associated item named `__Nonexhaustive` found for enum `types::IntershardResourceType` in the current scope
test (stable): src/constants/types.rs#L901
no variant or associated item named `__Nonexhaustive` found for enum `types::IntershardResourceType` in the current scope
test (stable): src/constants/types.rs#L913
no variant or associated item named `__Nonexhaustive` found for enum `types::IntershardResourceType` in the current scope
test (stable): src/constants/types.rs#L927
no variant or associated item named `__Nonexhaustive` found for enum `types::IntershardResourceType` in the current scope
test (stable): src/constants/types.rs#L944
no variant or associated item named `__Nonexhaustive` found for enum `types::ResourceType` in the current scope
test (stable): src/constants/types.rs#L947
no variant or associated item named `__Nonexhaustive` found for enum `types::IntershardResourceType` in the current scope
test (nightly)
The job was canceled because "stable" failed.
test (nightly): src/constants/types.rs#L837
no variant or associated item named `__Nonexhaustive` found for enum `types::ResourceType` in the current scope
test (nightly): src/constants/types.rs#L848
no variant or associated item named `__Nonexhaustive` found for enum `types::ResourceType` in the current scope
test (nightly): src/constants/types.rs#L860
no variant or associated item named `__Nonexhaustive` found for enum `types::ResourceType` in the current scope
test (nightly): src/constants/types.rs#L873
no variant or associated item named `__Nonexhaustive` found for enum `types::ResourceType` in the current scope
test (nightly): src/constants/types.rs#L890
no variant or associated item named `__Nonexhaustive` found for enum `types::IntershardResourceType` in the current scope
test (nightly): src/constants/types.rs#L901
no variant or associated item named `__Nonexhaustive` found for enum `types::IntershardResourceType` in the current scope
test (nightly): src/constants/types.rs#L913
no variant or associated item named `__Nonexhaustive` found for enum `types::IntershardResourceType` in the current scope
test (nightly): src/constants/types.rs#L927
no variant or associated item named `__Nonexhaustive` found for enum `types::IntershardResourceType` in the current scope
test (nightly): src/constants/types.rs#L944
no variant or associated item named `__Nonexhaustive` found for enum `types::ResourceType` in the current scope
test (nightly): src/constants/types.rs#L947
no variant or associated item named `__Nonexhaustive` found for enum `types::IntershardResourceType` in the current scope
check (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/
check (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-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/
check (stable): src/memory.rs#L25
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
check (stable): src/objects/impls/cost_matrix.rs#L6
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (stable): src/objects/impls/cost_matrix.rs#L78
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (stable): src/objects/impls/room_position.rs#L11
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (stable): src/objects/impls/room_position.rs#L399
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (stable): src/objects/impls/room_position.rs#L413
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (stable): src/objects/impls/room_position.rs#L421
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (stable): src/prototypes.rs#L13
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
check (stable): src/prototypes.rs#L20
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
check (stable): src/memory.rs#L25
use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead
check (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/
check (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/
check (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/
check (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/
check (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/
check (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-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/
check (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/
check (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/
check (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/
check (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/
check (nightly): src/memory.rs#L25
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
check (nightly): src/objects/impls/cost_matrix.rs#L6
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (nightly): src/objects/impls/cost_matrix.rs#L78
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (nightly): src/objects/impls/room_position.rs#L11
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (nightly): src/objects/impls/room_position.rs#L399
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (nightly): src/objects/impls/room_position.rs#L413
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (nightly): src/objects/impls/room_position.rs#L421
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
check (nightly): src/prototypes.rs#L13
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
check (nightly): src/prototypes.rs#L20
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
check (nightly): src/memory.rs#L25
use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead
test (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/
test (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-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/
test (stable): src/memory.rs#L25
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
test (stable): src/objects/impls/cost_matrix.rs#L6
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (stable): src/objects/impls/cost_matrix.rs#L78
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (stable): src/objects/impls/room_position.rs#L11
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (stable): src/objects/impls/room_position.rs#L399
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (stable): src/objects/impls/room_position.rs#L413
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (stable): src/objects/impls/room_position.rs#L421
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (stable): src/prototypes.rs#L13
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
test (stable): src/prototypes.rs#L20
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
test (stable): src/memory.rs#L25
use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead
test (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/
test (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/
test (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/
test (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/
test (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/
test (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/
test (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/
test (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/
test (nightly): src/memory.rs#L25
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
test (nightly): src/objects/impls/cost_matrix.rs#L6
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (nightly): src/objects/impls/cost_matrix.rs#L78
use of deprecated static `prototypes::COST_MATRIX_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (nightly): src/objects/impls/room_position.rs#L11
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (nightly): src/objects/impls/room_position.rs#L399
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (nightly): src/objects/impls/room_position.rs#L413
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (nightly): src/objects/impls/room_position.rs#L421
use of deprecated static `prototypes::ROOM_POSITION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
test (nightly): src/prototypes.rs#L13
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
test (nightly): src/prototypes.rs#L20
use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local)]` instead
test (nightly): src/memory.rs#L25
use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local)]` instead