Skip to content

Update to Avalonia version 11.1.0-rc1 #1338

Update to Avalonia version 11.1.0-rc1

Update to Avalonia version 11.1.0-rc1 #1338

Triggered via push June 16, 2024 18:02
Status Success
Total duration 1m 49s
Artifacts

build.yml

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

Annotations

36 warnings
Build ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build ubuntu-latest: src/Core2D/Program.cs#L133
Possible null reference argument for parameter 'host' in 'int HeadlessVncPlatformExtensions.StartWithHeadlessVncPlatform(AppBuilder builder, string host, int port, string[] args, ShutdownMode shutdownMode = ShutdownMode.OnLastWindowClose)'.
Build ubuntu-latest: src/Core2D/Behaviors/AttachEditorBehavior.cs#L11
Base member 'Avalonia.Xaml.Interactivity.Behavior<T>.OnAttached()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'Core2D.Behaviors.AttachEditorBehavior.OnAttached()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Build ubuntu-latest: src/Core2D/Json/ListContractResolver.cs#L24
Call to 'System.Type.MakeGenericType(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
Build ubuntu-latest: src/Core2D/AppModule.cs#L54
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build ubuntu-latest: src/Core2D/AppModule.cs#L96
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build ubuntu-latest: src/Core2D/AppModule.cs#L103
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build ubuntu-latest: src/Core2D/AppModule.cs#L112
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build ubuntu-latest: src/Core2D/Behaviors/CancelContextMenuBehavior.cs#L29
Base member 'Avalonia.Xaml.Interactivity.Behavior<T>.OnAttached()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'Core2D.Behaviors.EnableContextMenuBehavior.OnAttached()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Build ubuntu-latest: src/Core2D/Views/Data/DatabaseView.axaml.cs#L157
Using member 'Avalonia.Data.Binding.Binding(String, BindingMode)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. BindingExpression and ReflectionBinding heavily use reflection. Consider using CompiledBindings instead.
Build ubuntu-latest: src/Core2D/ViewLocator.cs#L15
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
Build macos-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build macos-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build macos-latest: src/Core2D/Program.cs#L133
Possible null reference argument for parameter 'host' in 'int HeadlessVncPlatformExtensions.StartWithHeadlessVncPlatform(AppBuilder builder, string host, int port, string[] args, ShutdownMode shutdownMode = ShutdownMode.OnLastWindowClose)'.
Build macos-latest: src/Core2D/Behaviors/AttachEditorBehavior.cs#L11
Base member 'Avalonia.Xaml.Interactivity.Behavior<T>.OnAttached()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'Core2D.Behaviors.AttachEditorBehavior.OnAttached()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Build macos-latest: src/Core2D/Behaviors/CancelContextMenuBehavior.cs#L29
Base member 'Avalonia.Xaml.Interactivity.Behavior<T>.OnAttached()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'Core2D.Behaviors.EnableContextMenuBehavior.OnAttached()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Build macos-latest: src/Core2D/AppModule.cs#L54
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build macos-latest: src/Core2D/AppModule.cs#L96
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build macos-latest: src/Core2D/AppModule.cs#L103
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build macos-latest: src/Core2D/AppModule.cs#L112
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build macos-latest: src/Core2D/Json/ListContractResolver.cs#L24
Call to 'System.Type.MakeGenericType(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
Build macos-latest: src/Core2D/Views/Data/DatabaseView.axaml.cs#L157
Using member 'Avalonia.Data.Binding.Binding(String, BindingMode)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. BindingExpression and ReflectionBinding heavily use reflection. Consider using CompiledBindings instead.
Build macos-latest: src/Core2D/Program.cs#L122
This call site is reachable on all platforms. 'ManagedFileDialogExtensions.UseManagedSystemDialogs(AppBuilder)' is only supported on: 'linux', 'macOS/OSX', 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build windows-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build windows-latest: src/Core2D/Program.cs#L133
Possible null reference argument for parameter 'host' in 'int HeadlessVncPlatformExtensions.StartWithHeadlessVncPlatform(AppBuilder builder, string host, int port, string[] args, ShutdownMode shutdownMode = ShutdownMode.OnLastWindowClose)'.
Build windows-latest: src/Core2D/AppModule.cs#L54
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build windows-latest: src/Core2D/AppModule.cs#L96
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build windows-latest: src/Core2D/AppModule.cs#L103
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build windows-latest: src/Core2D/AppModule.cs#L112
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
Build windows-latest: src/Core2D/Behaviors/AttachEditorBehavior.cs#L11
Base member 'Avalonia.Xaml.Interactivity.Behavior<T>.OnAttached()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'Core2D.Behaviors.AttachEditorBehavior.OnAttached()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Build windows-latest: src/Core2D/Behaviors/CancelContextMenuBehavior.cs#L29
Base member 'Avalonia.Xaml.Interactivity.Behavior<T>.OnAttached()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'Core2D.Behaviors.EnableContextMenuBehavior.OnAttached()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
Build windows-latest: src/Core2D/Json/ListContractResolver.cs#L24
Call to 'System.Type.MakeGenericType(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
Build windows-latest: src/Core2D/Views/Data/DatabaseView.axaml.cs#L157
Using member 'Avalonia.Data.Binding.Binding(String, BindingMode)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. BindingExpression and ReflectionBinding heavily use reflection. Consider using CompiledBindings instead.
Build windows-latest: src/Core2D/Program.cs#L122
This call site is reachable on all platforms. 'ManagedFileDialogExtensions.UseManagedSystemDialogs(AppBuilder)' is only supported on: 'linux', 'macOS/OSX', 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)