Skip to content

Enable nullable annotations (#803) #187

Enable nullable annotations (#803)

Enable nullable annotations (#803) #187

Triggered via push March 17, 2024 18:51
Status Success
Total duration 16m 11s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v3, actions/cache@v2. 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: actions/checkout@v2, actions/cache@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: 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/Util/StackDictionary.cs#L10
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/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: src/UglyToad.PdfPig/Writer/PdfDedupStreamWriter.cs#L74
Nullability of reference types in type of parameter 'y' 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: src/UglyToad.PdfPig/Util/StackDictionary.cs#L10
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/Content/OptionalContentGroupElement.cs#L154
Possible null reference argument for parameter 'values' in 'string string.Join(string? separator, IEnumerable<string?> values)'.
build: src/UglyToad.PdfPig/Util/StackDictionary.cs#L56
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/Writer/Xmp/XmpWriter.cs#L252
Possible null reference argument for parameter 'other' in 'XDocument.XDocument(XDocument other)'.