Skip to content

Refactor examples to remove use of deprecated winit functions #613

Refactor examples to remove use of deprecated winit functions

Refactor examples to remove use of deprecated winit functions #613

Triggered via pull request November 21, 2024 23:21
Status Success
Total duration 5m 33s
Artifacts

check.yaml

on: pull_request
Matrix: build

Annotations

113 warnings
Format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Format
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/
Format
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/
Format
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/
Format
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 (Web, ubuntu-latest, wasm32-unknown-unknown)
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/
build (Web, ubuntu-latest, wasm32-unknown-unknown)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (Web, ubuntu-latest, wasm32-unknown-unknown)
`/home/runner/work/blade/blade/.cargo/config` is deprecated in favor of `config.toml`
build (Web, ubuntu-latest, wasm32-unknown-unknown)
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 (Web, ubuntu-latest, wasm32-unknown-unknown)
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 (Web, ubuntu-latest, wasm32-unknown-unknown)
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 (Web, ubuntu-latest, wasm32-unknown-unknown)
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 (MacOS, macos-latest, x86_64-apple-darwin)
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/
build (MacOS, macos-latest, x86_64-apple-darwin)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (MacOS, macos-latest, x86_64-apple-darwin)
`/Users/runner/work/blade/blade/.cargo/config` is deprecated in favor of `config.toml`
build (MacOS, macos-latest, x86_64-apple-darwin)
`/Users/runner/work/blade/blade/.cargo/config` is deprecated in favor of `config.toml`
build (MacOS, macos-latest, x86_64-apple-darwin): examples/particle/main.rs#L144
use of deprecated method `winit::event_loop::EventLoop::<T>::create_window`: use `ActiveEventLoop::create_window` instead
build (MacOS, macos-latest, x86_64-apple-darwin): examples/particle/main.rs#L153
use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
build (MacOS, macos-latest, x86_64-apple-darwin): examples/move/main.rs#L40
use of deprecated method `winit::event_loop::EventLoop::<T>::create_window`: use `ActiveEventLoop::create_window` instead
build (MacOS, macos-latest, x86_64-apple-darwin): examples/move/main.rs#L270
use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
build (MacOS, macos-latest, x86_64-apple-darwin)
`blade` (example "particle") generated 2 warnings
build (MacOS, macos-latest, x86_64-apple-darwin): examples/bunnymark/main.rs#L397
use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
build (MacOS, macos-latest, x86_64-apple-darwin)
`blade` (example "move") generated 2 warnings
build (MacOS, macos-latest, x86_64-apple-darwin)
`blade-macros` (test "main") generated 1 warning
build (MacOS, macos-latest, x86_64-apple-darwin): examples/vehicle/main.rs#L659
use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
build (MacOS, macos-latest, x86_64-apple-darwin)
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 (MacOS, macos-latest, x86_64-apple-darwin)
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 (MacOS, macos-latest, x86_64-apple-darwin)
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 (MacOS, macos-latest, x86_64-apple-darwin)
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 (MacOS, macos-latest, x86_64-apple-darwin)
`/Users/runner/work/blade/blade/.cargo/config` is deprecated in favor of `config.toml`
build (MacOS, macos-latest, x86_64-apple-darwin): blade-render/src/model/mod.rs#L3
unused imports: `Entry` and `HashMap`
build (MacOS, macos-latest, x86_64-apple-darwin): blade-render/src/texture/mod.rs#L2
unused imports: `io`, `mem`, and `slice`
build (MacOS, macos-latest, x86_64-apple-darwin): blade-render/src/texture/mod.rs#L116
unused import: `blade_graphics::TextureFormat as Tf`
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
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/
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
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 (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
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 (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
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 (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
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 (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
`/home/runner/work/blade/blade/.cargo/config` is deprecated in favor of `config.toml`
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu): blade-macros/tests/main.rs#L8
struct `ShaderParams` is never constructed
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
`blade-macros` (test "main") generated 1 warning
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu): examples/move/main.rs#L40
use of deprecated method `winit::event_loop::EventLoop::<T>::create_window`: use `ActiveEventLoop::create_window` instead
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu): examples/move/main.rs#L270
use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu): examples/scene/main.rs#L802
use of deprecated method `winit::event_loop::EventLoop::<T>::create_window`: use `ActiveEventLoop::create_window` instead
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu): examples/scene/main.rs#L825
use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu): examples/particle/main.rs#L144
use of deprecated method `winit::event_loop::EventLoop::<T>::create_window`: use `ActiveEventLoop::create_window` instead
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu): examples/particle/main.rs#L153
use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu): examples/bunnymark/main.rs#L368
use of deprecated method `winit::event_loop::EventLoop::<T>::create_window`: use `ActiveEventLoop::create_window` instead
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
`/home/runner/work/blade/blade/.cargo/config` is deprecated in favor of `config.toml`
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
`/home/runner/work/blade/blade/.cargo/config` is deprecated in favor of `config.toml`
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu): blade-render/src/texture/mod.rs#L116
unused import: `blade_graphics::TextureFormat as Tf`
build (Linux, ubuntu-latest, x86_64-unknown-linux-gnu)
`/home/runner/work/blade/blade/.cargo/config` is deprecated in favor of `config.toml`
build (Windows, windows-latest, x86_64-pc-windows-msvc)
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/
build (Windows, windows-latest, x86_64-pc-windows-msvc)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (Windows, windows-latest, x86_64-pc-windows-msvc)
`D:\a\blade\blade\.cargo\config` is deprecated in favor of `config.toml`
build (Windows, windows-latest, x86_64-pc-windows-msvc): blade-render/src/texture/mod.rs#L116
unused import: `blade_graphics::TextureFormat as Tf`
build (Windows, windows-latest, x86_64-pc-windows-msvc)
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 (Windows, windows-latest, x86_64-pc-windows-msvc)
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 (Windows, windows-latest, x86_64-pc-windows-msvc)
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 (Windows, windows-latest, x86_64-pc-windows-msvc)
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 (Windows, windows-latest, x86_64-pc-windows-msvc)
`D:\a\blade\blade\.cargo\config` is deprecated in favor of `config.toml`
build (Windows, windows-latest, x86_64-pc-windows-msvc): blade-macros/tests/main.rs#L8
struct `ShaderParams` is never constructed
build (Windows, windows-latest, x86_64-pc-windows-msvc)
`blade-macros` (test "main") generated 1 warning
build (Windows, windows-latest, x86_64-pc-windows-msvc): examples/scene/main.rs#L825
use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
build (Windows, windows-latest, x86_64-pc-windows-msvc)
`blade` (example "scene") generated 2 warnings
build (Windows, windows-latest, x86_64-pc-windows-msvc): examples/vehicle/main.rs#L92
use of deprecated method `winit::event_loop::EventLoop::<T>::create_window`: use `ActiveEventLoop::create_window` instead
build (Windows, windows-latest, x86_64-pc-windows-msvc): examples/vehicle/main.rs#L659
use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
build (Windows, windows-latest, x86_64-pc-windows-msvc): examples/particle/main.rs#L144
use of deprecated method `winit::event_loop::EventLoop::<T>::create_window`: use `ActiveEventLoop::create_window` instead
build (Windows, windows-latest, x86_64-pc-windows-msvc): examples/particle/main.rs#L153
use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
build (Windows, windows-latest, x86_64-pc-windows-msvc): examples/bunnymark/main.rs#L368
use of deprecated method `winit::event_loop::EventLoop::<T>::create_window`: use `ActiveEventLoop::create_window` instead
build (Windows, windows-latest, x86_64-pc-windows-msvc)
`D:\a\blade\blade\.cargo\config` is deprecated in favor of `config.toml`