Skip to content

fix: Resolve/mute nullability-related warnings in Intersect.Framework #691

fix: Resolve/mute nullability-related warnings in Intersect.Framework

fix: Resolve/mute nullability-related warnings in Intersect.Framework #691

Triggered via pull request November 2, 2024 21:14
Status Success
Total duration 11m 11s
Artifacts 3

pull_request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
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: "intersect-linux-x64-0.8.0-pr2391.691+build.9a6f04a94011d34bda97c6f62ccc2209c4b29e96", "intersect-osx-x64-0.8.0-pr2391.691+build.9a6f04a94011d34bda97c6f62ccc2209c4b29e96", "intersect-win-x64-0.8.0-pr2391.691+build.9a6f04a94011d34bda97c6f62ccc2209c4b29e96". 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/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/setup-dotnet@v3, AscensionGameDev/actions@a573cea975b37832c9fe4a9ee880e22af93696de, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
build: Framework/Intersect.Framework/Reflection/TypeExtensions.cs#L203
Cannot convert null literal to non-nullable reference type.
build: Framework/Intersect.Framework/Reflection/TypeExtensions.cs#L203
Cannot convert null literal to non-nullable reference type.
build: Intersect (Core)/Core/ExperimentalFeatures/ExperimentalFlag.cs#L8
'ExperimentalFlag' defines operator == or operator != but does not override Object.Equals(object o)
build: Intersect (Core)/Core/ExperimentalFeatures/ExperimentalFlag.cs#L8
'ExperimentalFlag' defines operator == or operator != but does not override Object.GetHashCode()
build: Intersect (Core)/Compression/GzipCompression.cs#L14
'AesCryptoServiceProvider' is obsolete: 'Derived cryptographic types are obsolete. Use the Create method on the base type instead.' (https://aka.ms/dotnet-warnings/SYSLIB0021)
build: Intersect (Core)/IO/ConsoleWriter.cs#L55
Member 'ConsoleWriter.InitializeLifetimeService()' overrides obsolete member 'MarshalByRefObject.InitializeLifetimeService()'. Add the Obsolete attribute to 'ConsoleWriter.InitializeLifetimeService()'.
build: Intersect (Core)/GameObjects/GuildVariableBase.cs#L26
'GuildVariableBase.Type' hides inherited member 'DatabaseObject<GuildVariableBase>.Type'. Use the new keyword if hiding was intended.
build: Intersect (Core)/GameObjects/UserVariableBase.cs#L28
'UserVariableBase.Type' hides inherited member 'DatabaseObject<UserVariableBase>.Type'. Use the new keyword if hiding was intended.
build: Intersect (Core)/Color.cs#L7
'Color' overrides Object.Equals(object o) but does not override Object.GetHashCode()

Artifacts

Produced during runtime
Name Size
intersect-linux-x64-0.8.0-pr2391.691+build.9a6f04a94011d34bda97c6f62ccc2209c4b29e96 Expired
132 MB
intersect-osx-x64-0.8.0-pr2391.691+build.9a6f04a94011d34bda97c6f62ccc2209c4b29e96 Expired
131 MB
intersect-win-x64-0.8.0-pr2391.691+build.9a6f04a94011d34bda97c6f62ccc2209c4b29e96 Expired
130 MB