Skip to content

[3.0] Input Rewrite #1320

[3.0] Input Rewrite

[3.0] Input Rewrite #1320

Triggered via pull request March 23, 2026 00:29
Status Failure
Total duration 7m 27s
Artifacts 3

dotnet.yml

on: pull_request
Matrix: Test
Report Coverage
43s
Report Coverage
Release
Release
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 45 warnings
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/InputTesting.cs(84,9): error CS0103: The name 'TestLog' does not exist in the current context [/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/Playground.csproj]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/InputTesting.cs(79,9): error CS0103: The name 'TestLog' does not exist in the current context [/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/Playground.csproj]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/InputTesting.cs(74,9): error CS0103: The name 'TestLog' does not exist in the current context [/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/Playground.csproj]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/InputTesting.cs(69,9): error CS0103: The name 'TestLog' does not exist in the current context [/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/Playground.csproj]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/InputTesting.cs(64,9): error CS0103: The name 'TestLog' does not exist in the current context [/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/Playground.csproj]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/InputTesting.cs(59,9): error CS0103: The name 'TestLog' does not exist in the current context [/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/Playground.csproj]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/InputTesting.cs(54,9): error CS0103: The name 'TestLog' does not exist in the current context [/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/Playground.csproj]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/InputTesting.cs(49,9): error CS0103: The name 'TestLog' does not exist in the current context [/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/Playground.csproj]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/InputTesting.cs(44,9): error CS0103: The name 'TestLog' does not exist in the current context [/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/Playground.csproj]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/InputTesting.cs(12,9): error CS0103: The name 'TestLog' does not exist in the current context [/Users/runner/work/Silk.NET/Silk.NET/sources/Playground/Playground.csproj]
Test (linux-x64, ubuntu-22.04, linux-x64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (linux-x64, ubuntu-22.04, linux-x64): sources/Input/Input/GamepadState.cs#L18
XML comment has a param tag for 'joystickTriggerIndicesLR', but there is no parameter by that name
Test (linux-x64, ubuntu-22.04, linux-x64): sources/Input/Input/GamepadState.cs#L17
XML comment has a param tag for 'joystickYAxisIndicesDU', but there is no parameter by that name
Test (linux-x64, ubuntu-22.04, linux-x64): sources/Input/Input/GamepadState.cs#L16
XML comment has a param tag for 'joystickXAxisIndicesLR', but there is no parameter by that name
Test (linux-x64, ubuntu-22.04, linux-x64): sources/Input/Input/DualReadOnlyList.cs#L14
XML comment has a typeparam tag for 'T', but there is no type parameter by that name
Test (linux-x64, ubuntu-22.04, linux-x64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlGamepad.cs#L20
Non-nullable field '_state' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (linux-x64, ubuntu-22.04, linux-x64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs#L68
Non-nullable field '_rawAxisState' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (linux-x64, ubuntu-22.04, linux-x64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs#L68
Non-nullable field '_rawButtonState' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (linux-x64, ubuntu-22.04, linux-x64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs#L68
Non-nullable property 'State' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (linux-x64, ubuntu-22.04, linux-x64): sources/Input/Input/CustomCursor.cs#L6
'CustomCursor' defines operator == or operator != but does not override Object.GetHashCode()
Test (linux-x64, ubuntu-22.04, linux-x64): sources/Input/Input/CustomCursor.cs#L6
'CustomCursor' defines operator == or operator != but does not override Object.Equals(object o)
Test (osx-arm64, macos-latest, osx-arm64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (osx-arm64, macos-latest, osx-arm64): sources/Input/Input/GamepadState.cs#L18
XML comment has a param tag for 'joystickTriggerIndicesLR', but there is no parameter by that name
Test (osx-arm64, macos-latest, osx-arm64): sources/Input/Input/GamepadState.cs#L17
XML comment has a param tag for 'joystickYAxisIndicesDU', but there is no parameter by that name
Test (osx-arm64, macos-latest, osx-arm64): sources/Input/Input/GamepadState.cs#L16
XML comment has a param tag for 'joystickXAxisIndicesLR', but there is no parameter by that name
Test (osx-arm64, macos-latest, osx-arm64): sources/Input/Input/DualReadOnlyList.cs#L14
XML comment has a typeparam tag for 'T', but there is no type parameter by that name
Test (osx-arm64, macos-latest, osx-arm64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlGamepad.cs#L20
Non-nullable field '_state' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (osx-arm64, macos-latest, osx-arm64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs#L68
Non-nullable field '_rawAxisState' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (osx-arm64, macos-latest, osx-arm64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs#L68
Non-nullable field '_rawButtonState' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (osx-arm64, macos-latest, osx-arm64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs#L68
Non-nullable property 'State' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (osx-arm64, macos-latest, osx-arm64): sources/Input/Input/CustomCursor.cs#L6
'CustomCursor' defines operator == or operator != but does not override Object.GetHashCode()
Test (osx-arm64, macos-latest, osx-arm64): sources/Input/Input/CustomCursor.cs#L6
'CustomCursor' defines operator == or operator != but does not override Object.Equals(object o)
Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/GamepadState.cs(18,22): warning CS1572: XML comment has a param tag for 'joystickTriggerIndicesLR', but there is no parameter by that name [/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Silk.NET.Input.csproj::TargetFramework=net10.0]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/GamepadState.cs(17,22): warning CS1572: XML comment has a param tag for 'joystickYAxisIndicesDU', but there is no parameter by that name [/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Silk.NET.Input.csproj::TargetFramework=net10.0]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/GamepadState.cs(16,22): warning CS1572: XML comment has a param tag for 'joystickXAxisIndicesLR', but there is no parameter by that name [/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Silk.NET.Input.csproj::TargetFramework=net10.0]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/DualReadOnlyList.cs(14,26): warning CS1711: XML comment has a typeparam tag for 'T', but there is no type parameter by that name [/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Silk.NET.Input.csproj::TargetFramework=net10.0]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlGamepad.cs(20,13): warning CS8618: Non-nullable field '_state' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Silk.NET.Input.csproj::TargetFramework=net10.0]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs(68,13): warning CS8618: Non-nullable field '_rawAxisState' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Silk.NET.Input.csproj::TargetFramework=net10.0]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs(68,13): warning CS8618: Non-nullable field '_rawButtonState' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Silk.NET.Input.csproj::TargetFramework=net10.0]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs(68,13): warning CS8618: Non-nullable property 'State' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Silk.NET.Input.csproj::TargetFramework=net10.0]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/CustomCursor.cs(6,28): warning CS0661: 'CustomCursor' defines operator == or operator != but does not override Object.GetHashCode() [/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Silk.NET.Input.csproj::TargetFramework=net10.0]
Build
/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/CustomCursor.cs(6,28): warning CS0660: 'CustomCursor' defines operator == or operator != but does not override Object.Equals(object o) [/Users/runner/work/Silk.NET/Silk.NET/sources/Input/Input/Silk.NET.Input.csproj::TargetFramework=net10.0]
Test (win-x64, windows-latest, win-x64)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (win-x64, windows-latest, win-x64): sources/Input/Input/GamepadState.cs#L18
XML comment has a param tag for 'joystickTriggerIndicesLR', but there is no parameter by that name
Test (win-x64, windows-latest, win-x64): sources/Input/Input/GamepadState.cs#L17
XML comment has a param tag for 'joystickYAxisIndicesDU', but there is no parameter by that name
Test (win-x64, windows-latest, win-x64): sources/Input/Input/GamepadState.cs#L16
XML comment has a param tag for 'joystickXAxisIndicesLR', but there is no parameter by that name
Test (win-x64, windows-latest, win-x64): sources/Input/Input/DualReadOnlyList.cs#L14
XML comment has a typeparam tag for 'T', but there is no type parameter by that name
Test (win-x64, windows-latest, win-x64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlGamepad.cs#L20
Non-nullable field '_state' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (win-x64, windows-latest, win-x64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs#L68
Non-nullable field '_rawAxisState' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (win-x64, windows-latest, win-x64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs#L68
Non-nullable field '_rawButtonState' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (win-x64, windows-latest, win-x64): sources/Input/Input/Implementations/SDL3/Devices/Joysticks/SdlJoystick.cs#L68
Non-nullable property 'State' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test (win-x64, windows-latest, win-x64): sources/Input/Input/CustomCursor.cs#L6
'CustomCursor' defines operator == or operator != but does not override Object.GetHashCode()
Test (win-x64, windows-latest, win-x64): sources/Input/Input/CustomCursor.cs#L6
'CustomCursor' defines operator == or operator != but does not override Object.Equals(object o)
Report Coverage
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 5monkeys/cobertura-action@master, actions/download-artifact@v4, actions/setup-dotnet@v1, danielpalme/ReportGenerator-GitHub-Action@5.1.9. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
coverage-linux-x64
1020 KB
sha256:c8ec490cb7b02753589917b448c7d99d6a119b84136894acdb7d330e7c09a088
coverage-osx-arm64
1020 KB
sha256:088f28e6f10447d1e4a6340c95226b9a1fd11593e32f97162b7a857106c323a7
coverage-win-x64
1010 KB
sha256:8b4a9903e148f53f349f28e9e923a3142e5714aabb56208622480e164d2e7798