Skip to content

Validator Additions (currently working) #219

Validator Additions (currently working)

Validator Additions (currently working) #219

Triggered via pull request February 2, 2024 03:25
Status Failure
Total duration 1m 8s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 36 warnings
fmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
lint: src/validator/util.rs#L79
cannot find value `user_map_space` in this scope
lint: src/validator/util.rs#L81
cannot find value `block_types` in this scope
lint: src/validator/util.rs#L81
cannot find value `BUILDING_TYPE_INDEX` in this scope
lint: src/api/attack/mod.rs#L1
unused import: `remove_game`
lint: src/api/validator/util.rs#L35
variant `PLACE_ATTACKER` should have an upper camel case name
lint: src/api/validator/util.rs#L36
variant `MOVE_ATTACKER` should have an upper camel case name
lint: src/api/validator/util.rs#L37
variant `PLACE_BOMBS` should have an upper camel case name
lint: src/api/validator/util.rs#L44
variant `MINES_EXPLODED` should have an upper camel case name
lint: src/api/validator/util.rs#L45
variant `DEFENDERS_DAMAGED` should have an upper camel case name
lint: src/api/validator/util.rs#L46
variant `DEFENDERS_TRIGGERED` should have an upper camel case name
check: src/validator/util.rs#L79
cannot find value `user_map_space` in this scope
check: src/validator/util.rs#L81
cannot find value `block_types` in this scope
check: src/validator/util.rs#L81
cannot find value `BUILDING_TYPE_INDEX` in this scope
check: src/validator/state.rs#L13
the trait bound `validator::util::Mine: models::_::_serde::Serialize` is not satisfied
check
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@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/
fmt
The `save-state` 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/
fmt
The `save-state` 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/
fmt
The `save-state` 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/
fmt
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/
fmt
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/
fmt
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/
fmt
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/
fmt
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/
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@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/
lint
The `save-state` 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/
lint
The `save-state` 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/
lint
The `save-state` 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/
lint
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/
lint
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/
lint
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/
lint
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/
lint
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check
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: src/api/attack/mod.rs#L1
unused import: `remove_game`
check: src/api/validator/util.rs#L35
variant `PLACE_ATTACKER` should have an upper camel case name
check: src/api/validator/util.rs#L36
variant `MOVE_ATTACKER` should have an upper camel case name
check: src/api/validator/util.rs#L37
variant `PLACE_BOMBS` should have an upper camel case name
check: src/api/validator/util.rs#L44
variant `MINES_EXPLODED` should have an upper camel case name
check: src/api/validator/util.rs#L45
variant `DEFENDERS_DAMAGED` should have an upper camel case name
check: src/api/validator/util.rs#L46
variant `DEFENDERS_TRIGGERED` should have an upper camel case name
check: src/api/validator/util.rs#L47
variant `BUILDINGS_DAMAGED` should have an upper camel case name
check: src/api/validator/util.rs#L49
variant `GAME_OVER` should have an upper camel case name
check: src/validator/state.rs#L1
unused import: `std::ptr::null`
check
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
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
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
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/