Skip to content

NCBC-4125: Fix or supress all unit and integration test build warnings #17

NCBC-4125: Fix or supress all unit and integration test build warnings

NCBC-4125: Fix or supress all unit and integration test build warnings #17

Triggered via push January 23, 2026 04:35
Status Failure
Total duration 3m 46s
Artifacts 4
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 44 warnings
Build and Unit Tests (windows-latest)
Process completed with exit code 1.
Build and Unit Tests (ubuntu-24.04)
The process '/usr/bin/git' failed with exit code 128
Build and Unit Tests (ubuntu-24.04): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L21
Nullability in constraints for type parameter 'TState' of method 'TransactionsLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Build and Unit Tests (ubuntu-24.04): src/Couchbase.Extensions.DependencyInjection/Internal/ClusterProvider.cs#L127
The type 'MemberNotNullAttribute' in '/home/runner/work/couchbase-net-client/couchbase-net-client/src/Couchbase.Extensions.DependencyInjection/../Couchbase/NullableAttributes.cs' conflicts with the imported type 'MemberNotNullAttribute' in 'Couchbase.NetClient, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/couchbase-net-client/couchbase-net-client/src/Couchbase.Extensions.DependencyInjection/../Couchbase/NullableAttributes.cs'.
Build and Unit Tests (ubuntu-24.04): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L23
The type 'TState' cannot be used as type parameter 'TState' in the generic type or method 'ILogger.BeginScope<TState>(TState)'. Nullability of type argument 'TState' doesn't match 'notnull' constraint.
Build and Unit Tests (ubuntu-24.04): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L21
Nullability in constraints for type parameter 'TState' of method 'TransactionsLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Build and Unit Tests (ubuntu-24.04): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L23
The type 'TState' cannot be used as type parameter 'TState' in the generic type or method 'ILogger.BeginScope<TState>(TState)'. Nullability of type argument 'TState' doesn't match 'notnull' constraint.
Build and Unit Tests (ubuntu-24.04): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L21
Nullability in constraints for type parameter 'TState' of method 'TransactionsLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Build and Unit Tests (ubuntu-24.04-arm)
The process '/usr/bin/git' failed with exit code 128
Build and Unit Tests (ubuntu-24.04-arm): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L21
Nullability in constraints for type parameter 'TState' of method 'TransactionsLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Build and Unit Tests (ubuntu-24.04-arm): src/Couchbase.Extensions.DependencyInjection/Internal/ClusterProvider.cs#L127
The type 'MemberNotNullAttribute' in '/home/runner/work/couchbase-net-client/couchbase-net-client/src/Couchbase.Extensions.DependencyInjection/../Couchbase/NullableAttributes.cs' conflicts with the imported type 'MemberNotNullAttribute' in 'Couchbase.NetClient, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/couchbase-net-client/couchbase-net-client/src/Couchbase.Extensions.DependencyInjection/../Couchbase/NullableAttributes.cs'.
Build and Unit Tests (ubuntu-24.04-arm): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L23
The type 'TState' cannot be used as type parameter 'TState' in the generic type or method 'ILogger.BeginScope<TState>(TState)'. Nullability of type argument 'TState' doesn't match 'notnull' constraint.
Build and Unit Tests (ubuntu-24.04-arm): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L21
Nullability in constraints for type parameter 'TState' of method 'TransactionsLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Build and Unit Tests (ubuntu-24.04-arm): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L23
The type 'TState' cannot be used as type parameter 'TState' in the generic type or method 'ILogger.BeginScope<TState>(TState)'. Nullability of type argument 'TState' doesn't match 'notnull' constraint.
Build and Unit Tests (ubuntu-24.04-arm): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L21
Nullability in constraints for type parameter 'TState' of method 'TransactionsLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Build and Unit Tests (macos-latest)
The process '/opt/homebrew/bin/git' failed with exit code 128
Build and Unit Tests (macos-latest): src/Couchbase.Extensions.DependencyInjection/Internal/ClusterProvider.cs#L127
The type 'MemberNotNullAttribute' in '/Users/runner/work/couchbase-net-client/couchbase-net-client/src/Couchbase.Extensions.DependencyInjection/../Couchbase/NullableAttributes.cs' conflicts with the imported type 'MemberNotNullAttribute' in 'Couchbase.NetClient, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/Users/runner/work/couchbase-net-client/couchbase-net-client/src/Couchbase.Extensions.DependencyInjection/../Couchbase/NullableAttributes.cs'.
Build and Unit Tests (macos-latest): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L23
The type 'TState' cannot be used as type parameter 'TState' in the generic type or method 'ILogger.BeginScope<TState>(TState)'. Nullability of type argument 'TState' doesn't match 'notnull' constraint.
Build and Unit Tests (macos-latest): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L21
Nullability in constraints for type parameter 'TState' of method 'TransactionsLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Build and Unit Tests (macos-latest): src/Couchbase.Extensions.DependencyInjection/Internal/ClusterProvider.cs#L127
The type 'MemberNotNullAttribute' in '/Users/runner/work/couchbase-net-client/couchbase-net-client/src/Couchbase.Extensions.DependencyInjection/../Couchbase/NullableAttributes.cs' conflicts with the imported type 'MemberNotNullAttribute' in 'Couchbase.NetClient, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/Users/runner/work/couchbase-net-client/couchbase-net-client/src/Couchbase.Extensions.DependencyInjection/../Couchbase/NullableAttributes.cs'.
Build and Unit Tests (macos-latest): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L23
The type 'TState' cannot be used as type parameter 'TState' in the generic type or method 'ILogger.BeginScope<TState>(TState)'. Nullability of type argument 'TState' doesn't match 'notnull' constraint.
Build and Unit Tests (macos-latest): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L21
Nullability in constraints for type parameter 'TState' of method 'TransactionsLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Build and Unit Tests (windows-latest)
The process 'C:\Program Files\Git\bin\git.exe' failed with exit code 128
Build and Unit Tests (windows-latest): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L23
The type 'TState' cannot be used as type parameter 'TState' in the generic type or method 'ILogger.BeginScope<TState>(TState)'. Nullability of type argument 'TState' doesn't match 'notnull' constraint.
Build and Unit Tests (windows-latest): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L21
Nullability in constraints for type parameter 'TState' of method 'TransactionsLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Build and Unit Tests (windows-latest): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L23
The type 'TState' cannot be used as type parameter 'TState' in the generic type or method 'ILogger.BeginScope<TState>(TState)'. Nullability of type argument 'TState' doesn't match 'notnull' constraint.
Build and Unit Tests (windows-latest): src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs#L21
Nullability in constraints for type parameter 'TState' of method 'TransactionsLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
Build and Unit Tests (windows-latest): tests/Couchbase.Test.Common/Utils/LazyServiceShimFactory.cs#L17
Possible null reference argument for parameter 'value' in 'IReturnsResult<IServiceProvider> IReturns<IServiceProvider, object>.Returns(object value)'.

Artifacts

Produced during runtime
Name Size Digest
unit-test-results-macos-latest Expired
594 KB
sha256:a291d5bc9343f1ebd29c2ab29db00a001111b4b36fa0230f5666cf458126a041
unit-test-results-ubuntu-24.04 Expired
597 KB
sha256:2fabebfec8ec29b728d1b8d2ae07579c6749d14087d6532f004d20b6513632b8
unit-test-results-ubuntu-24.04-arm Expired
595 KB
sha256:c83747416199fa67d5cd25ddbf7a9ee8fee38eb79854ac10e5b134c1563a1427
unit-test-results-windows-latest Expired
569 KB
sha256:82c81f49d69eac7fb8d10f8f1d3708911d2562a6d4210b9941ca697cd1a8cc20