Skip to content

Port to avalonia

Port to avalonia #316

Triggered via pull request September 9, 2025 17:16
Status Failure
Total duration 2m 20s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 1 notice
build: tests/ImageSort.UnitTests/ViewModels/MainViewModelTests.cs#L114
There is no argument given that corresponds to the required parameter 'folderWatcherFactory' of 'FolderTreeItemViewModel.FolderTreeItemViewModel(IFileSystem, Func<FileSystemWatcher>, IScheduler, FolderTreeItemViewModel?)'
build: tests/ImageSort.UnitTests/ViewModels/MainViewModelTests.cs#L112
Property or indexer 'MainViewModel.Folders' cannot be assigned to -- it is read only
build: tests/ImageSort.UnitTests/ViewModels/MainViewModelTests.cs#L111
Property or indexer 'MainViewModel.Actions' cannot be assigned to -- it is read only
build: tests/ImageSort.UnitTests/ViewModels/MainViewModelTests.cs#L109
There is no argument given that corresponds to the required parameter 'imagesViewModel' of 'MainViewModel.MainViewModel(FoldersViewModel, ImagesViewModel, ActionsViewModel, IFileSystem, IRecycleBin, IScheduler)'
build: tests/ImageSort.UnitTests/ViewModels/MainViewModelTests.cs#L37
There is no argument given that corresponds to the required parameter 'folderWatcherFactory' of 'FolderTreeItemViewModel.FolderTreeItemViewModel(IFileSystem, Func<FileSystemWatcher>, IScheduler, FolderTreeItemViewModel?)'
build: tests/ImageSort.UnitTests/ViewModels/MainViewModelTests.cs#L36
There is no argument given that corresponds to the required parameter 'folderWatcherFactory' of 'FolderTreeItemViewModel.FolderTreeItemViewModel(IFileSystem, Func<FileSystemWatcher>, IScheduler, FolderTreeItemViewModel?)'
build: tests/ImageSort.UnitTests/ViewModels/MainViewModelTests.cs#L34
Property or indexer 'MainViewModel.Folders' cannot be assigned to -- it is read only
build: tests/ImageSort.UnitTests/ViewModels/MainViewModelTests.cs#L30
Property or indexer 'MainViewModel.Images' cannot be assigned to -- it is read only
build: tests/ImageSort.UnitTests/ViewModels/MainViewModelTests.cs#L28
There is no argument given that corresponds to the required parameter 'imagesViewModel' of 'MainViewModel.MainViewModel(FoldersViewModel, ImagesViewModel, ActionsViewModel, IFileSystem, IRecycleBin, IScheduler)'
build: tests/ImageSort.UnitTests/ViewModels/FoldersViewModelTests.cs#L26
There is no argument given that corresponds to the required parameter 'folderWatcherFactory' of 'FolderTreeItemViewModel.FolderTreeItemViewModel(IFileSystem, Func<FileSystemWatcher>, IScheduler, FolderTreeItemViewModel?)'
build: src/ImageSort.Avalonia/FileSystem/TemporaryRecycleBin.cs#L81
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build: src/ImageSort.Avalonia/FileSystem/TemporaryRecycleBin.cs#L13
Non-nullable field '_fileSystem' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: src/ImageSort.Avalonia/FileSystem/TemporaryRecycleBin.cs#L15
Possible null reference assignment.
build: src/ImageSort.Avalonia/Views/InputDialog.axaml.cs#L57
Cannot convert null literal to non-nullable reference type.
build: src/ImageSort.Avalonia/Views/InputDialog.axaml.cs#L44
Cannot convert null literal to non-nullable reference type.
build: src/ImageSort.Avalonia/FileSystem/TemporaryRecycleBin.cs#L13
Cannot convert null literal to non-nullable reference type.
build: src/ImageSort/ViewModels/ImagesViewModel.cs#L17
The using directive for 'ImageSort.Actions' appeared previously in this namespace
build: src/ImageSort.WindowsUpdater/GitHubUpdateFetcher.cs#L44
'SemVersion.CompareByPrecedence(SemVersion)' is obsolete: 'Method is obsolete. Use ComparePrecedenceTo() or CompareSortOrderTo() instead.'
build: src/ImageSort.WindowsUpdater/GitHubUpdateFetcher.cs#L42
'SemVersion.Parse(string, bool)' is obsolete: 'Method is obsolete. Use Parse() overload with SemVersionStyles instead.'
build: src/ImageSort.WindowsUpdater/GitHubUpdateFetcher.cs#L27
'SemVersion.Parse(string, bool)' is obsolete: 'Method is obsolete. Use Parse() overload with SemVersionStyles instead.'
build
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