Skip to content

Update Rust crate miniquad to 0.4.0 #148

Update Rust crate miniquad to 0.4.0

Update Rust crate miniquad to 0.4.0 #148

Triggered via pull request April 26, 2024 21:03
Status Failure
Total duration 1m 5s
Artifacts

rust.yml

on: pull_request
Matrix: Build release binaries
cargo fmt & cargo clippy
33s
cargo fmt & cargo clippy
wasm compile & deploy
55s
wasm compile & deploy
Create GitHub Release
0s
Create GitHub Release
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 12 warnings
cargo fmt & cargo clippy: src/render.rs#L40
cannot find type `Texture` in this scope
cargo fmt & cargo clippy: src/main.rs#L277
method `update` has 2 parameters but the declaration in trait `miniquad::EventHandler::update` has 1
cargo fmt & cargo clippy: src/main.rs#L296
method `draw` has 2 parameters but the declaration in trait `miniquad::EventHandler::draw` has 1
cargo fmt & cargo clippy: src/main.rs#L309
method `mouse_button_down_event` has 5 parameters but the declaration in trait `mouse_button_down_event` has 4
cargo fmt & cargo clippy: src/main.rs#L325
method `mouse_button_up_event` has 5 parameters but the declaration in trait `mouse_button_up_event` has 4
cargo fmt & cargo clippy: src/main.rs#L334
method `mouse_motion_event` has 4 parameters but the declaration in trait `mouse_motion_event` has 3
cargo fmt & cargo clippy: src/render.rs#L66
failed to resolve: use of undeclared type `Buffer`
cargo fmt & cargo clippy: src/render.rs#L70
failed to resolve: use of undeclared type `Buffer`
cargo fmt & cargo clippy: src/render.rs#L73
failed to resolve: use of undeclared type `Texture`
cargo fmt & cargo clippy: src/render.rs#L78
struct `miniquad::TextureParams` has no field named `filter`
wasm compile & deploy: src/render.rs#L40
cannot find type `Texture` in this scope
wasm compile & deploy: src/main.rs#L277
method `update` has 2 parameters but the declaration in trait `miniquad::EventHandler::update` has 1
wasm compile & deploy: src/main.rs#L296
method `draw` has 2 parameters but the declaration in trait `miniquad::EventHandler::draw` has 1
wasm compile & deploy: src/main.rs#L309
method `mouse_button_down_event` has 5 parameters but the declaration in trait `mouse_button_down_event` has 4
wasm compile & deploy: src/main.rs#L325
method `mouse_button_up_event` has 5 parameters but the declaration in trait `mouse_button_up_event` has 4
wasm compile & deploy: src/main.rs#L334
method `mouse_motion_event` has 4 parameters but the declaration in trait `mouse_motion_event` has 3
wasm compile & deploy: src/render.rs#L66
failed to resolve: use of undeclared type `Buffer`
wasm compile & deploy: src/render.rs#L70
failed to resolve: use of undeclared type `Buffer`
wasm compile & deploy: src/render.rs#L73
failed to resolve: use of undeclared type `Texture`
wasm compile & deploy: src/render.rs#L78
struct `miniquad::TextureParams` has no field named `filter`
cargo fmt & cargo clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
cargo fmt & cargo clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
cargo fmt & cargo clippy
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/
cargo fmt & cargo clippy
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/
cargo fmt & cargo clippy
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/
cargo fmt & cargo clippy
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/
wasm compile & deploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
wasm compile & deploy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
wasm compile & deploy
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/
wasm compile & deploy
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/
wasm compile & deploy
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/
wasm compile & deploy
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/