Skip to content

修复编译错误 #119

修复编译错误

修复编译错误 #119

Triggered via push November 29, 2024 16:34
Status Success
Total duration 5m 11s
Artifacts 4

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

41 warnings
build (Debug, x64): src/NonsPlayer.Launcher/NonsPlayer.Launcher.cpp#L23
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Debug, x64): src/NonsPlayer.Launcher/NonsPlayer.Launcher.cpp#L24
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Debug, x64): src/NonsPlayer.Core/Contracts/Models/Nons/IAccount.cs#L7
'IAccount.Name' hides inherited member 'INonsModel.Name'. Use the new keyword if hiding was intended.
build (Debug, x64): src/NonsPlayer.Core/Contracts/Models/Music/IMusic.cs#L17
'IMusic.Name' hides inherited member 'INonsModel.Name'. Use the new keyword if hiding was intended.
build (Debug, x64): src/NonsPlayer.Core/Utils/HttpUtils.cs#L23
Cannot convert null literal to non-nullable reference type.
build (Debug, x64): src/NonsPlayer.Core/Models/LocalArtist.cs#L19
'LocalArtist.GetHashCode()' hides inherited member 'object.GetHashCode()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Debug, x64): src/NonsPlayer.Core/Models/LocalArtist.cs#L24
'LocalArtist.Equals(object)' hides inherited member 'object.Equals(object?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Debug, x64): src/NonsPlayer.Core/Models/LocalAlbum.cs#L21
'LocalAlbum.GetHashCode()' hides inherited member 'object.GetHashCode()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Debug, x64): src/NonsPlayer.Core/Models/LocalAlbum.cs#L26
'LocalAlbum.Equals(object)' hides inherited member 'object.Equals(object?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Debug, x64): src/NonsPlayer.Core/Models/LocalMusic.cs#L141
Nullability of reference types in return type of 'Task<Lyric?> LocalMusic.GetLyric()' doesn't match implicitly implemented member 'Task<Lyric> IMusic.GetLyric()'.
build (Release, x64): src/NonsPlayer.Launcher/NonsPlayer.Launcher.cpp#L23
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Release, x64): src/NonsPlayer.Launcher/NonsPlayer.Launcher.cpp#L24
'argument': conversion from 'size_t' to 'DWORD', possible loss of data
build (Release, x64): src/NonsPlayer.Core/Contracts/Models/Music/IMusic.cs#L17
'IMusic.Name' hides inherited member 'INonsModel.Name'. Use the new keyword if hiding was intended.
build (Release, x64): src/NonsPlayer.Core/Utils/HttpUtils.cs#L23
Cannot convert null literal to non-nullable reference type.
build (Release, x64): src/NonsPlayer.Core/Contracts/Models/Nons/IAccount.cs#L7
'IAccount.Name' hides inherited member 'INonsModel.Name'. Use the new keyword if hiding was intended.
build (Release, x64): src/NonsPlayer.Core/Models/LocalArtist.cs#L19
'LocalArtist.GetHashCode()' hides inherited member 'object.GetHashCode()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Release, x64): src/NonsPlayer.Core/Models/LocalArtist.cs#L24
'LocalArtist.Equals(object)' hides inherited member 'object.Equals(object?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Release, x64): src/NonsPlayer.Core/Models/LocalAlbum.cs#L21
'LocalAlbum.GetHashCode()' hides inherited member 'object.GetHashCode()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Release, x64): src/NonsPlayer.Core/Models/LocalAlbum.cs#L26
'LocalAlbum.Equals(object)' hides inherited member 'object.Equals(object?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Release, x64): src/NonsPlayer.Core/Models/LocalMusic.cs#L141
Nullability of reference types in return type of 'Task<Lyric?> LocalMusic.GetLyric()' doesn't match implicitly implemented member 'Task<Lyric> IMusic.GetLyric()'.
build (Release, arm64): src/NonsPlayer.Core/Models/LocalAlbum.cs#L21
'LocalAlbum.GetHashCode()' hides inherited member 'object.GetHashCode()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Release, arm64): src/NonsPlayer.Core/Models/LocalAlbum.cs#L26
'LocalAlbum.Equals(object)' hides inherited member 'object.Equals(object?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Release, arm64): src/NonsPlayer.Core/Models/LocalArtist.cs#L19
'LocalArtist.GetHashCode()' hides inherited member 'object.GetHashCode()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Release, arm64): src/NonsPlayer.Core/Models/LocalArtist.cs#L24
'LocalArtist.Equals(object)' hides inherited member 'object.Equals(object?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Release, arm64): src/NonsPlayer.Core/Utils/HttpUtils.cs#L23
Cannot convert null literal to non-nullable reference type.
build (Release, arm64): src/NonsPlayer.Core/Contracts/Models/Music/IMusic.cs#L17
'IMusic.Name' hides inherited member 'INonsModel.Name'. Use the new keyword if hiding was intended.
build (Release, arm64): src/NonsPlayer.Core/Models/LocalMusic.cs#L141
Nullability of reference types in return type of 'Task<Lyric?> LocalMusic.GetLyric()' doesn't match implicitly implemented member 'Task<Lyric> IMusic.GetLyric()'.
build (Release, arm64): src/NonsPlayer.Core/Contracts/Models/Nons/IAccount.cs#L7
'IAccount.Name' hides inherited member 'INonsModel.Name'. Use the new keyword if hiding was intended.
build (Release, arm64): src/NonsPlayer.Core/AMLL/Models/LyricWord.cs#L10
Non-nullable property 'Pure' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (Release, arm64): src/NonsPlayer.Core/Contracts/Plugins/IPlugin.cs#L14
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (Debug, arm64): src/NonsPlayer.Core/Models/LocalAlbum.cs#L21
'LocalAlbum.GetHashCode()' hides inherited member 'object.GetHashCode()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Debug, arm64): src/NonsPlayer.Core/Models/LocalAlbum.cs#L26
'LocalAlbum.Equals(object)' hides inherited member 'object.Equals(object?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Debug, arm64): src/NonsPlayer.Core/Models/LocalArtist.cs#L19
'LocalArtist.GetHashCode()' hides inherited member 'object.GetHashCode()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Debug, arm64): src/NonsPlayer.Core/Models/LocalArtist.cs#L24
'LocalArtist.Equals(object)' hides inherited member 'object.Equals(object?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
build (Debug, arm64): src/NonsPlayer.Core/Utils/HttpUtils.cs#L23
Cannot convert null literal to non-nullable reference type.
build (Debug, arm64): src/NonsPlayer.Core/Models/LocalMusic.cs#L141
Nullability of reference types in return type of 'Task<Lyric?> LocalMusic.GetLyric()' doesn't match implicitly implemented member 'Task<Lyric> IMusic.GetLyric()'.
build (Debug, arm64): src/NonsPlayer.Core/Contracts/Models/Music/IMusic.cs#L17
'IMusic.Name' hides inherited member 'INonsModel.Name'. Use the new keyword if hiding was intended.
build (Debug, arm64): src/NonsPlayer.Core/Contracts/Models/Nons/IAccount.cs#L7
'IAccount.Name' hides inherited member 'INonsModel.Name'. Use the new keyword if hiding was intended.
build (Debug, arm64): src/NonsPlayer.Core/Models/SearchResult.cs#L13
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (Debug, arm64): src/NonsPlayer.Core/Models/SearchResult.cs#L13
Non-nullable property 'Md5' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "NonsPlayerDebug_arm64_faa89e7", "NonsPlayerDebug_x64_faa89e7", "NonsPlayerRelease_arm64_faa89e7", "NonsPlayerRelease_x64_faa89e7". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
NonsPlayerDebug_arm64_faa89e7
211 MB
NonsPlayerDebug_x64_faa89e7
195 MB
NonsPlayerRelease_arm64_faa89e7
204 MB
NonsPlayerRelease_x64_faa89e7
192 MB