Skip to content

Enable PersistentProxyBuilder on .NET 9+ (albeit without type cache) #137

Enable PersistentProxyBuilder on .NET 9+ (albeit without type cache)

Enable PersistentProxyBuilder on .NET 9+ (albeit without type cache) #137

Triggered via push December 7, 2025 18:29
Status Failure
Total duration 1m 23s
Artifacts

build.yml

on: push
Matrix: Build and test
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 12 warnings, and 1 notice
Build and test (ubuntu-latest)
Process completed with exit code 1.
Build and test (windows-latest)
The strategy configuration was canceled because "build-and-test.ubuntu-latest" failed
Build and test (windows-latest)
The operation was canceled.
Build and test (macos-13)
The strategy configuration was canceled because "build-and-test.ubuntu-latest" failed
Build and test (macos-13)
The operation was canceled.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/ProxyGenerator.cs#L568
The 'ref' modifier for argument 2 corresponding to 'in' parameter is equivalent to 'in'. Consider using 'in' instead.
Build and test (ubuntu-latest): src/Castle.Core/Core/Resource/ResourceException.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 and test (ubuntu-latest): src/Castle.Core/DynamicProxy/Generators/Emitters/ClassEmitter.cs#L28
'TypeAttributes.Serializable' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/Generators/Emitters/AbstractTypeEmitter.cs#L157
'FieldAttributes.NotSerialized' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
Build and test (ubuntu-latest): src/Castle.Core/Core/Resource/ResourceException.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 and test (ubuntu-latest): src/Castle.Core/Core/Logging/LoggerException.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 and test (ubuntu-latest): src/Castle.Core/DynamicProxy/DynamicProxyException.cs#L37
'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 test (ubuntu-latest): src/Castle.Core/DynamicProxy/Generators/Emitters/ClassEmitter.cs#L28
'TypeAttributes.Serializable' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/Internal/TypeUtil.cs#L142
Dereference of a possibly null reference.
Build and test (ubuntu-latest): src/Castle.Core/DynamicProxy/Internal/TypeUtil.cs#L142
Dereference of a possibly null reference.
Build and test (macos-13): src/Castle.Core/DynamicProxy/Internal/TypeUtil.cs#L142
Dereference of a possibly null reference.
Build and test (macos-13): src/Castle.Core/DynamicProxy/Internal/TypeUtil.cs#L142
Dereference of a possibly null reference.
Build and test (macos-13)
The macOS-13 based runner images are being deprecated, consider switching to macOS-15 (macos-15-intel) or macOS 15 arm64 (macos-latest) instead. For more details see https://github.com/actions/runner-images/issues/13046