Skip to content

Log error on accessing non-initialized lifetime #1051

Log error on accessing non-initialized lifetime

Log error on accessing non-initialized lifetime #1051

Triggered via pull request January 15, 2025 14:06
Status Failure
Total duration 5m 39s
Artifacts 3

build-rd-net.yml

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

Annotations

3 errors and 61 warnings
build (ubuntu-22.04)
Process completed with exit code 1.
build (macos-13)
Process completed with exit code 1.
build (windows-2022)
Process completed with exit code 1.
build (ubuntu-22.04): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-22.04): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (ubuntu-22.04): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-22.04): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (ubuntu-22.04): rd-net/Test.RdFramework/Components/TestWire.cs#L20
'WireBase.WireBase(IScheduler)' is obsolete
build (ubuntu-22.04): rd-net/Test.RdFramework/RdTaskTest.cs#L256
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (ubuntu-22.04): rd-net/Test.RdFramework/RdTaskTest.cs#L250
The variable 'entity_id' is assigned but its value is never used
build (ubuntu-22.04): rd-net/Test.RdFramework/RdTaskTest.cs#L281
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (ubuntu-22.04): rd-net/Test.RdFramework/RdTaskTest.cs#L274
The variable 'entity_id' is assigned but its value is never used
build (ubuntu-22.04): rd-net/Test.RdFramework/Reflection/ProxyGeneratorCancellationTest.cs#L82
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-22.04): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-22.04): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (ubuntu-22.04): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-22.04): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (ubuntu-22.04): rd-net/Test.RdFramework/Components/TestWire.cs#L20
'WireBase.WireBase(IScheduler)' is obsolete
build (ubuntu-22.04): rd-net/Test.RdFramework/Reflection/ProxyGeneratorCancellationTest.cs#L82
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-22.04): rd-net/Test.RdFramework/RdTaskTest.cs#L256
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (ubuntu-22.04): rd-net/Test.RdFramework/RdTaskTest.cs#L250
The variable 'entity_id' is assigned but its value is never used
build (ubuntu-22.04): rd-net/Test.RdFramework/RdTaskTest.cs#L281
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (ubuntu-22.04): rd-net/Test.RdFramework/RdTaskTest.cs#L274
The variable 'entity_id' is assigned but its value is never used
build (macos-13): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-13): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (macos-13): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-13): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (macos-13): rd-net/Test.RdFramework/Components/TestWire.cs#L20
'WireBase.WireBase(IScheduler)' is obsolete
build (macos-13): rd-net/Test.RdFramework/RdTaskTest.cs#L256
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (macos-13): rd-net/Test.RdFramework/RdTaskTest.cs#L250
The variable 'entity_id' is assigned but its value is never used
build (macos-13): rd-net/Test.RdFramework/RdTaskTest.cs#L281
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (macos-13): rd-net/Test.RdFramework/RdTaskTest.cs#L274
The variable 'entity_id' is assigned but its value is never used
build (macos-13): rd-net/Test.RdFramework/Reflection/ProxyGeneratorCancellationTest.cs#L82
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-13): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-13): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (macos-13): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-13): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (macos-13): rd-net/Test.RdFramework/Components/TestWire.cs#L20
'WireBase.WireBase(IScheduler)' is obsolete
build (macos-13): rd-net/Test.RdFramework/Reflection/ProxyGeneratorCancellationTest.cs#L82
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-13): rd-net/Test.RdFramework/RdTaskTest.cs#L256
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (macos-13): rd-net/Test.RdFramework/RdTaskTest.cs#L250
The variable 'entity_id' is assigned but its value is never used
build (macos-13): rd-net/Test.RdFramework/RdTaskTest.cs#L281
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (macos-13): rd-net/Test.RdFramework/RdTaskTest.cs#L274
The variable 'entity_id' is assigned but its value is never used
build (windows-2022): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (windows-2022): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (windows-2022): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (windows-2022): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (windows-2022): rd-net/Test.RdFramework/Components/TestWire.cs#L20
'WireBase.WireBase(IScheduler)' is obsolete
build (windows-2022): rd-net/Test.RdFramework/RdTaskTest.cs#L256
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (windows-2022): rd-net/Test.RdFramework/RdTaskTest.cs#L250
The variable 'entity_id' is assigned but its value is never used
build (windows-2022): rd-net/Test.RdFramework/RdTaskTest.cs#L281
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (windows-2022): rd-net/Test.RdFramework/RdTaskTest.cs#L274
The variable 'entity_id' is assigned but its value is never used
build (windows-2022): rd-net/Test.RdFramework/Reflection/ProxyGeneratorCancellationTest.cs#L82
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (windows-2022): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (windows-2022): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (windows-2022): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L226
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (windows-2022): rd-net/Test.Lifetimes/Lifetimes/LifetimeTest.cs#L251
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (windows-2022): rd-net/Test.RdFramework/Components/TestWire.cs#L20
'WireBase.WireBase(IScheduler)' is obsolete
build (windows-2022): rd-net/Test.RdFramework/RdTaskTest.cs#L256
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (windows-2022): rd-net/Test.RdFramework/RdTaskTest.cs#L250
The variable 'entity_id' is assigned but its value is never used
build (windows-2022): rd-net/Test.RdFramework/RdTaskTest.cs#L281
'RdCall<int, string>.Set(Func<Lifetime, int, RdTask<string>>, IScheduler?, IScheduler?)' is obsolete: 'This is an internal API. It is preferable to use SetSync or SetAsync extension methods'
build (windows-2022): rd-net/Test.RdFramework/RdTaskTest.cs#L274
The variable 'entity_id' is assigned but its value is never used
build (windows-2022): rd-net/Test.RdFramework/Reflection/ProxyGeneratorCancellationTest.cs#L82
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Linux.test-results", "macOS.test-results", "Windows.test-results". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
Linux.test-results
1.76 MB
Windows.test-results
2.68 MB
macOS.test-results
1.83 MB