Skip to content

fix: cross platform build and tests #4348

fix: cross platform build and tests

fix: cross platform build and tests #4348

Triggered via pull request September 9, 2025 00:21
Status Failure
Total duration 10m 54s
Artifacts

ci-build.yml

on: pull_request
Matrix: build / build-unix
build  /  collect-coverage
0s
build / collect-coverage
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 10 warnings, and 1 notice
build / build-unix (ubuntu-latest)
Process completed with exit code 1.
build / build-unix (macos-latest)
The operation was canceled.
build / build-unix (macos-latest)
The strategy configuration was canceled because "build.build-unix.ubuntu-latest" failed
build / build-windows
Process completed with exit code 1.
build / build-windows: src/ReactiveUI.Builder.WpfApp/MainWindow.xaml.cs#L30
Using member 'ReactiveUI.RoutedViewHost.RoutedViewHost()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. RoutedViewHost uses methods that require dynamic code generation.
build / build-windows: src/ReactiveUI.Builder.WpfApp/MainWindow.xaml.cs#L30
Using member 'ReactiveUI.RoutedViewHost.RoutedViewHost()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. RoutedViewHost uses methods that may require unreferenced code.
build / build-windows: src/ReactiveUI.Builder.WpfApp/Services/FileJsonSuspensionDriver.cs#L32
Interface member 'ReactiveUI.ISuspensionDriver.InvalidateState()' with 'RequiresUnreferencedCodeAttribute' has an implementation member 'ReactiveUI.Builder.WpfApp.Services.FileJsonSuspensionDriver.InvalidateState()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
build / build-windows: src/ReactiveUI.Builder.WpfApp/Services/FileJsonSuspensionDriver.cs#L68
Interface member 'ReactiveUI.ISuspensionDriver.SaveState(Object)' with 'RequiresUnreferencedCodeAttribute' has an implementation member 'ReactiveUI.Builder.WpfApp.Services.FileJsonSuspensionDriver.SaveState(Object)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
build / build-windows: src/ReactiveUI.Builder.WpfApp/Services/FileJsonSuspensionDriver.cs#L48
Interface member 'ReactiveUI.ISuspensionDriver.LoadState()' with 'RequiresUnreferencedCodeAttribute' has an implementation member 'ReactiveUI.Builder.WpfApp.Services.FileJsonSuspensionDriver.LoadState()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
build / build-windows: src/ReactiveUI.Builder.WpfApp/Services/FileJsonSuspensionDriver.cs#L32
Interface member 'ReactiveUI.ISuspensionDriver.InvalidateState()' with 'RequiresDynamicCodeAttribute' has an implementation member 'ReactiveUI.Builder.WpfApp.Services.FileJsonSuspensionDriver.InvalidateState()' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
build / build-windows: src/ReactiveUI.Builder.WpfApp/Services/FileJsonSuspensionDriver.cs#L68
Interface member 'ReactiveUI.ISuspensionDriver.SaveState(Object)' with 'RequiresDynamicCodeAttribute' has an implementation member 'ReactiveUI.Builder.WpfApp.Services.FileJsonSuspensionDriver.SaveState(Object)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
build / build-windows: src/ReactiveUI.Builder.WpfApp/Services/FileJsonSuspensionDriver.cs#L48
Interface member 'ReactiveUI.ISuspensionDriver.LoadState()' with 'RequiresDynamicCodeAttribute' has an implementation member 'ReactiveUI.Builder.WpfApp.Services.FileJsonSuspensionDriver.LoadState()' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
build / build-windows: src/ReactiveUI.Wpf/obj/Release/net9.0-windows10.0.17763.0/GeneratedInternalTypeHelper.g.cs#L47
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.All' in call to 'System.Type.InvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build / build-windows: src/ReactiveUI.Wpf/obj/Release/net9.0-windows10.0.17763.0/GeneratedInternalTypeHelper.g.cs#L25
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Activator.CreateInstance(Type, BindingFlags, Binder, Object[], CultureInfo)'. The parameter 'type' of method 'XamlGeneratedNamespace.GeneratedInternalTypeHelper.CreateInstance(Type, CultureInfo)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build / build-windows
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677