Skip to content

Enable nullable annotations #534

Enable nullable annotations

Enable nullable annotations #534

Triggered via pull request March 16, 2024 22:33
Status Success
Total duration 7m 13s
Artifacts

build_and_test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

24 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v2, microsoft/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: microsoft/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build: src/UglyToad.PdfPig.Core/PdfDocumentFormatException.cs#L35
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/UglyToad.PdfPig/PdfFonts/Cmap/CMapUtils.cs#L18
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
build: src/UglyToad.PdfPig/Graphics/Colors/CMYKColor.cs#L70
Nullability of reference types in type of parameter 'other' of 'bool CMYKColor.Equals(CMYKColor other)' doesn't match implicitly implemented member 'bool IEquatable<CMYKColor>.Equals(CMYKColor? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Graphics/Colors/GrayColor.cs#L50
Nullability of reference types in type of parameter 'other' of 'bool GrayColor.Equals(GrayColor other)' doesn't match implicitly implemented member 'bool IEquatable<GrayColor>.Equals(GrayColor? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Util/Matrix3x3.cs#L162
Nullability of reference types in type of parameter 'other' of 'bool Matrix3x3.Equals(Matrix3x3 other)' doesn't match implicitly implemented member 'bool IEquatable<Matrix3x3>.Equals(Matrix3x3? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Graphics/Colors/PatternColor.cs#L152
Nullability of reference types in type of parameter 'other' of 'bool TilingPatternColor.Equals(TilingPatternColor other)' doesn't match implicitly implemented member 'bool IEquatable<TilingPatternColor>.Equals(TilingPatternColor? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Graphics/Colors/PatternColor.cs#L214
Nullability of reference types in type of parameter 'other' of 'bool ShadingPatternColor.Equals(ShadingPatternColor other)' doesn't match implicitly implemented member 'bool IEquatable<ShadingPatternColor>.Equals(ShadingPatternColor? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Util/StackDictionary.cs#L9
The type 'K' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'K' doesn't match 'notnull' constraint.
build: src/UglyToad.PdfPig/Graphics/Colors/RGBColor.cs#L65
Nullability of reference types in type of parameter 'other' of 'bool RGBColor.Equals(RGBColor other)' doesn't match implicitly implemented member 'bool IEquatable<RGBColor>.Equals(RGBColor? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Writer/PdfDedupStreamWriter.cs#L74
Nullability of reference types in type of parameter 'x' of 'bool FNVByteComparison.Equals(byte[] x, byte[] y)' doesn't match implicitly implemented member 'bool IEqualityComparer<byte[]>.Equals(byte[]? x, byte[]? y)' (possibly because of nullability attributes).
build
.NET Core 2.1 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
build: src/UglyToad.PdfPig.Core/PdfDocumentFormatException.cs#L35
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/UglyToad.PdfPig.Fonts/CorruptCompressedDataException.cs#L30
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/UglyToad.PdfPig.Fonts/InvalidFontFormatException.cs#L32
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/UglyToad.PdfPig/Graphics/Colors/CMYKColor.cs#L70
Nullability of reference types in type of parameter 'other' of 'bool CMYKColor.Equals(CMYKColor other)' doesn't match implicitly implemented member 'bool IEquatable<CMYKColor>.Equals(CMYKColor? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/PdfFonts/Cmap/CMapUtils.cs#L18
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
build: src/UglyToad.PdfPig/Graphics/Colors/GrayColor.cs#L50
Nullability of reference types in type of parameter 'other' of 'bool GrayColor.Equals(GrayColor other)' doesn't match implicitly implemented member 'bool IEquatable<GrayColor>.Equals(GrayColor? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Graphics/Colors/PatternColor.cs#L152
Nullability of reference types in type of parameter 'other' of 'bool TilingPatternColor.Equals(TilingPatternColor other)' doesn't match implicitly implemented member 'bool IEquatable<TilingPatternColor>.Equals(TilingPatternColor? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Graphics/Colors/PatternColor.cs#L214
Nullability of reference types in type of parameter 'other' of 'bool ShadingPatternColor.Equals(ShadingPatternColor other)' doesn't match implicitly implemented member 'bool IEquatable<ShadingPatternColor>.Equals(ShadingPatternColor? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Graphics/Colors/RGBColor.cs#L65
Nullability of reference types in type of parameter 'other' of 'bool RGBColor.Equals(RGBColor other)' doesn't match implicitly implemented member 'bool IEquatable<RGBColor>.Equals(RGBColor? other)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Util/Matrix3x3.cs#L162
Nullability of reference types in type of parameter 'other' of 'bool Matrix3x3.Equals(Matrix3x3 other)' doesn't match implicitly implemented member 'bool IEquatable<Matrix3x3>.Equals(Matrix3x3? other)' (possibly because of nullability attributes).