Skip to content

Update LocalAdmin.cs #574

Update LocalAdmin.cs

Update LocalAdmin.cs #574

Triggered via push October 13, 2024 19:57
Status Failure
Total duration 45s
Artifacts

dotnet-core.yml

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

Annotations

6 errors and 10 warnings
.Net 8.0 on ubuntu-20.04: Core/LocalAdmin.cs#L650
The name 'GetVersion' does not exist in the current context
.Net 8.0 on ubuntu-20.04: Core/LocalAdmin.cs#L652
The type or namespace name 'Win32Exception' could not be found (are you missing a using directive or an assembly reference?)
.Net 8.0 on ubuntu-20.04: Core/LocalAdmin.cs#L669
Argument 1: cannot convert from 'sbyte*' to 'nint'
.Net 8.0 on ubuntu-20.04
Process completed with exit code 1.
.Net 8.0 on windows-latest
The job was canceled because "ubuntu-20_04_8_0" failed.
.Net 8.0 on windows-latest
The operation was canceled.
.Net 8.0 on ubuntu-20.04: JSON/JsonGenerated.cs#L1017
Possible null reference argument for parameter 'assets' in 'GitHubRelease.GitHubRelease(string? message, uint id, string? tag_name, DateTime published_at, List<GitHubReleaseAsset> assets)'.
.Net 8.0 on ubuntu-20.04: JSON/JsonGenerated.cs#L903
Possible null reference argument for parameter 'name' in 'GitHubReleaseAsset.GitHubReleaseAsset(string name, string url)'.
.Net 8.0 on ubuntu-20.04: JSON/JsonGenerated.cs#L903
Possible null reference argument for parameter 'url' in 'GitHubReleaseAsset.GitHubReleaseAsset(string name, string url)'.
.Net 8.0 on ubuntu-20.04: JSON/JsonGenerated.cs#L770
Possible null reference return.
.Net 8.0 on ubuntu-20.04: JSON/JsonGenerated.cs#L816
Possible null reference argument for parameter 'installedPlugins' in 'ServerPluginsConfig.ServerPluginsConfig(Dictionary<string, InstalledPlugin> installedPlugins, Dictionary<string, Dependency> dependencies, DateTime? lastUpdateCheck)'.
.Net 8.0 on ubuntu-20.04: JSON/JsonGenerated.cs#L816
Possible null reference argument for parameter 'dependencies' in 'ServerPluginsConfig.ServerPluginsConfig(Dictionary<string, InstalledPlugin> installedPlugins, Dictionary<string, Dependency> dependencies, DateTime? lastUpdateCheck)'.
.Net 8.0 on ubuntu-20.04: JSON/JsonGenerated.cs#L654
Possible null reference return.
.Net 8.0 on ubuntu-20.04: JSON/JsonGenerated.cs#L712
Possible null reference argument for parameter 'installedByPlugins' in 'Dependency.Dependency(string? fileHash, DateTime installationDate, DateTime updateDate, bool manuallyInstalled, List<string> installedByPlugins)'.
.Net 8.0 on ubuntu-20.04: JSON/JsonGenerated.cs#L530
Possible null reference return.
.Net 8.0 on ubuntu-20.04: JSON/JsonGenerated.cs#L381
Possible null reference return.