Skip to content

NCBC-4085: Upgrade from net8 to net10 #52

NCBC-4085: Upgrade from net8 to net10

NCBC-4085: Upgrade from net8 to net10 #52

Triggered via pull request December 5, 2025 00:11
Status Success
Total duration 1m 14s
Artifacts 2

build-and-test.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Query/QueryMetrics.cs#L55
Non-nullable property 'BufferCacheHitRatio' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Query/QueryWarning.cs#L26
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L222
Possible null reference argument for parameter 'certificates' in 'void X509Certificate2Collection.AddRange(X509Certificate2Collection certificates)'.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L218
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L213
Possible null reference argument for parameter 'fileName' in 'X509Certificate2.X509Certificate2(string fileName)'.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L217
'X509Certificate2.X509Certificate2(byte[])' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L213
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Exceptions/AnalyticsException.cs#L39
'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 and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L77
'X509Certificate2.X509Certificate2(byte[], string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Cluster.cs#L108
Cannot convert null literal to non-nullable reference type.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Query/QueryMetrics.cs#L55
Non-nullable property 'BufferCacheHitRatio' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Query/QueryWarning.cs#L26
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L222
Possible null reference argument for parameter 'certificates' in 'void X509Certificate2Collection.AddRange(X509Certificate2Collection certificates)'.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L218
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L213
Possible null reference argument for parameter 'fileName' in 'X509Certificate2.X509Certificate2(string fileName)'.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L217
'X509Certificate2.X509Certificate2(byte[])' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L213
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Exceptions/AnalyticsException.cs#L39
'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 and Unit Tests (windows-latest): src/Couchbase.Analytics/Cluster.cs#L108
Cannot convert null literal to non-nullable reference type.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L77
'X509Certificate2.X509Certificate2(byte[], string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)

Artifacts

Produced during runtime
Name Size Digest
unit-test-results-ubuntu-latest Expired
26.3 KB
sha256:84fe8e535248587595e7ce5ffbc7ea104ff6ad920022a2664d7854fcbe91ad16
unit-test-results-windows-latest Expired
26.3 KB
sha256:687430c6fc369e81541bb0817fbc44d5e0be1be223bfda986b6a5da9ef416e04