Skip to content

GlobalPackageReference version is not detected #306

GlobalPackageReference version is not detected

GlobalPackageReference version is not detected #306

Triggered via pull request November 13, 2024 23:30
Status Failure
Total duration 5m 14s
Artifacts 1

build.yml

on: pull_request
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 35 warnings
Build (ubuntu-latest)
Process completed with exit code 1.
Build (windows-latest)
The job was canceled because "ubuntu-latest" failed.
Build (windows-latest)
The operation was canceled.
Build (macos-12)
The job was canceled because "ubuntu-latest" failed.
Build (macos-12)
The operation was canceled.
Buildalyzer.Tests.Integration.SimpleProjectsFixture ► Global_package_references: tests/Buildalyzer.Tests/Integration/SimpleProjectsFixture.cs#L743
Failed test found in: tests/Buildalyzer.Tests/TestResults/test-results.trx Error: Expected version to be "1.2.0-beta.556" with a length of 14, but "" has a length of 0, differs near "" (index 0).
Build (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@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 (ubuntu-latest): src/Buildalyzer.Logger/BuildalyzerLogger.cs#L10
Non-nullable field '_pipeHandleAsString' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build (ubuntu-latest): src/Buildalyzer/AnalyzerManager.cs#L42
Cannot convert null literal to non-nullable reference type.
Build (ubuntu-latest): src/Buildalyzer/AnalyzerManager.cs#L47
Cannot convert null literal to non-nullable reference type.
Build (ubuntu-latest): src/Buildalyzer/AnalyzerManager.cs#L89
Cannot convert null literal to non-nullable reference type.
Build (ubuntu-latest): src/Buildalyzer/AnalyzerResult.cs#L170
Nullability of reference types in type of parameter 'x' of 'bool ProjectItemItemSpecEqualityComparer.Equals(IProjectItem x, IProjectItem y)' doesn't match implicitly implemented member 'bool IEqualityComparer<IProjectItem>.Equals(IProjectItem? x, IProjectItem? y)' (possibly because of nullability attributes).
Build (ubuntu-latest): src/Buildalyzer/AnalyzerResult.cs#L170
Nullability of reference types in type of parameter 'y' of 'bool ProjectItemItemSpecEqualityComparer.Equals(IProjectItem x, IProjectItem y)' doesn't match implicitly implemented member 'bool IEqualityComparer<IProjectItem>.Equals(IProjectItem? x, IProjectItem? y)' (possibly because of nullability attributes).
Build (ubuntu-latest): src/Buildalyzer/IAnalyzerManager.cs#L22
Cannot convert null literal to non-nullable reference type.
Build (ubuntu-latest): src/Buildalyzer/IProjectAnalyzer.cs#L126
Cannot convert null literal to non-nullable reference type.
Build (ubuntu-latest): src/Buildalyzer/Logging/TextWriterLogger.cs#L12
Nullability of reference types in type of parameter 'exception' of 'void TextWriterLogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)' doesn't match implicitly implemented member 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' (possibly because of nullability attributes).
Build (ubuntu-latest): src/Buildalyzer/AnalyzerResults.cs#L42
Nullability of reference types in type of parameter 'x' of 'int TargetFrameworkComparer.Compare(string x, string y)' doesn't match implicitly implemented member 'int IComparer<string>.Compare(string? x, string? y)' (possibly because of nullability attributes).
Build (ubuntu-latest)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
Build (windows-latest): src/Buildalyzer.Logger/BuildalyzerLogger.cs#L10
Non-nullable field '_pipeHandleAsString' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build (windows-latest): src/Buildalyzer/AnalyzerManager.cs#L42
Cannot convert null literal to non-nullable reference type.
Build (windows-latest): src/Buildalyzer/AnalyzerManager.cs#L47
Cannot convert null literal to non-nullable reference type.
Build (windows-latest): src/Buildalyzer/AnalyzerManager.cs#L89
Cannot convert null literal to non-nullable reference type.
Build (windows-latest): src/Buildalyzer/AnalyzerResult.cs#L170
Nullability of reference types in type of parameter 'x' of 'bool ProjectItemItemSpecEqualityComparer.Equals(IProjectItem x, IProjectItem y)' doesn't match implicitly implemented member 'bool IEqualityComparer<IProjectItem>.Equals(IProjectItem? x, IProjectItem? y)' (possibly because of nullability attributes).
Build (windows-latest): src/Buildalyzer/AnalyzerResult.cs#L170
Nullability of reference types in type of parameter 'y' of 'bool ProjectItemItemSpecEqualityComparer.Equals(IProjectItem x, IProjectItem y)' doesn't match implicitly implemented member 'bool IEqualityComparer<IProjectItem>.Equals(IProjectItem? x, IProjectItem? y)' (possibly because of nullability attributes).
Build (windows-latest): src/Buildalyzer/AnalyzerResults.cs#L42
Nullability of reference types in type of parameter 'x' of 'int TargetFrameworkComparer.Compare(string x, string y)' doesn't match implicitly implemented member 'int IComparer<string>.Compare(string? x, string? y)' (possibly because of nullability attributes).
Build (windows-latest): src/Buildalyzer/AnalyzerResults.cs#L42
Nullability of reference types in type of parameter 'y' of 'int TargetFrameworkComparer.Compare(string x, string y)' doesn't match implicitly implemented member 'int IComparer<string>.Compare(string? x, string? y)' (possibly because of nullability attributes).
Build (windows-latest): src/Buildalyzer/IProjectAnalyzer.cs#L126
Cannot convert null literal to non-nullable reference type.
Build (windows-latest): src/Buildalyzer/Logging/TextWriterLogger.cs#L12
Nullability of reference types in type of parameter 'exception' of 'void TextWriterLogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)' doesn't match implicitly implemented member 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' (possibly because of nullability attributes).
Build (windows-latest)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
Build (macos-12): src/Buildalyzer.Logger/BuildalyzerLogger.cs#L10
Non-nullable field '_pipeHandleAsString' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build (macos-12): src/Buildalyzer/AnalyzerResult.cs#L170
Nullability of reference types in type of parameter 'x' of 'bool ProjectItemItemSpecEqualityComparer.Equals(IProjectItem x, IProjectItem y)' doesn't match implicitly implemented member 'bool IEqualityComparer<IProjectItem>.Equals(IProjectItem? x, IProjectItem? y)' (possibly because of nullability attributes).
Build (macos-12): src/Buildalyzer/AnalyzerResult.cs#L170
Nullability of reference types in type of parameter 'y' of 'bool ProjectItemItemSpecEqualityComparer.Equals(IProjectItem x, IProjectItem y)' doesn't match implicitly implemented member 'bool IEqualityComparer<IProjectItem>.Equals(IProjectItem? x, IProjectItem? y)' (possibly because of nullability attributes).
Build (macos-12): src/Buildalyzer/AnalyzerResults.cs#L42
Nullability of reference types in type of parameter 'x' of 'int TargetFrameworkComparer.Compare(string x, string y)' doesn't match implicitly implemented member 'int IComparer<string>.Compare(string? x, string? y)' (possibly because of nullability attributes).
Build (macos-12): src/Buildalyzer/AnalyzerResults.cs#L42
Nullability of reference types in type of parameter 'y' of 'int TargetFrameworkComparer.Compare(string x, string y)' doesn't match implicitly implemented member 'int IComparer<string>.Compare(string? x, string? y)' (possibly because of nullability attributes).
Build (macos-12): src/Buildalyzer/IProjectAnalyzer.cs#L126
Cannot convert null literal to non-nullable reference type.
Build (macos-12): src/Buildalyzer/Logging/TextWriterLogger.cs#L12
Nullability of reference types in type of parameter 'exception' of 'void TextWriterLogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)' doesn't match implicitly implemented member 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' (possibly because of nullability attributes).
Build (macos-12): src/Buildalyzer/AnalyzerManager.cs#L42
Cannot convert null literal to non-nullable reference type.
Build (macos-12): src/Buildalyzer/AnalyzerManager.cs#L47
Cannot convert null literal to non-nullable reference type.
Build (macos-12): src/Buildalyzer/AnalyzerManager.cs#L89
Cannot convert null literal to non-nullable reference type.
Build (macos-12)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']

Artifacts

Produced during runtime
Name Size
test-results-ubuntu-latest Expired
46.8 KB