Skip to content

Optimize memory usage of the SvgSource #1646

Optimize memory usage of the SvgSource

Optimize memory usage of the SvgSource #1646

Triggered via pull request March 26, 2024 21:19
Status Failure
Total duration 1m 55s
Artifacts

build.yml

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

Annotations

14 errors and 12 warnings
Build ubuntu-latest: tests/Avalonia.Svg.Skia.UnitTests/SvgImageTests.cs#L19
Argument 1: cannot convert from 'System.IO.Stream' to 'string'
Build ubuntu-latest: samples/TestApp/ViewModels/MainWindowViewModel.cs#L125
'Svg' does not contain a definition for 'Model' and no accessible extension method 'Model' accepting a first argument of type 'Svg' could be found (are you missing a using directive or an assembly reference?)
Build ubuntu-latest: samples/TestApp/ViewModels/MainWindowViewModel.cs#L162
'Svg' does not contain a definition for 'Model' and no accessible extension method 'Model' accepting a first argument of type 'Svg' could be found (are you missing a using directive or an assembly reference?)
Build ubuntu-latest: samples/TestApp/ViewModels/MainWindowViewModel.cs#L167
'Svg' does not contain a definition for 'Model' and no accessible extension method 'Model' accepting a first argument of type 'Svg' could be found (are you missing a using directive or an assembly reference?)
Build ubuntu-latest: samples/TestApp/ViewModels/MainWindowViewModel.cs#L373
'Svg' does not contain a definition for 'Model' and no accessible extension method 'Model' accepting a first argument of type 'Svg' could be found (are you missing a using directive or an assembly reference?)
Build ubuntu-latest: samples/TestApp/ViewModels/MainWindowViewModel.cs#L427
'Svg' does not contain a definition for 'Model' and no accessible extension method 'Model' accepting a first argument of type 'Svg' could be found (are you missing a using directive or an assembly reference?)
Build ubuntu-latest: tests/Avalonia.Svg.Skia.UnitTests/SvgImageTests.cs#L19
Argument 1: cannot convert from 'System.IO.Stream' to 'string'
Build ubuntu-latest: samples/TestApp/ViewModels/MainWindowViewModel.cs#L125
'Svg' does not contain a definition for 'Model' and no accessible extension method 'Model' accepting a first argument of type 'Svg' could be found (are you missing a using directive or an assembly reference?)
Build ubuntu-latest: samples/TestApp/ViewModels/MainWindowViewModel.cs#L162
'Svg' does not contain a definition for 'Model' and no accessible extension method 'Model' accepting a first argument of type 'Svg' could be found (are you missing a using directive or an assembly reference?)
Build ubuntu-latest: samples/TestApp/ViewModels/MainWindowViewModel.cs#L167
'Svg' does not contain a definition for 'Model' and no accessible extension method 'Model' accepting a first argument of type 'Svg' could be found (are you missing a using directive or an assembly reference?)
Build windows-latest
The job was canceled because "ubuntu-latest" failed.
Build windows-latest
The operation was canceled.
Build macos-latest
The job was canceled because "ubuntu-latest" failed.
Build macos-latest
The operation was canceled.
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/Svg.Skia/SKSvg.Model.cs#L199
Possible null reference argument for parameter 'path' in 'SKPicture? SKSvg.Load(string path, SvgParameters? parameters = null)'.
Build ubuntu-latest: src/Svg.Skia/SKSvg.Model.cs#L199
Possible null reference argument for parameter 'path' in 'SKPicture? SKSvg.Load(string path, SvgParameters? parameters = null)'.
Build ubuntu-latest: src/Avalonia.Svg.Skia/SvgSource.cs#L51
'SvgSource.Picture.set': new protected member declared in sealed type
Build ubuntu-latest: src/Avalonia.Svg.Skia/SvgSource.cs#L107
Possible null reference argument for parameter 'path' in 'SKPicture? SvgSource.Load(SvgSource source, string path, SvgParameters? parameters)'.
Build ubuntu-latest: src/Avalonia.Svg.Skia/SvgSource.cs#L51
'SvgSource.Picture.set': new protected member declared in sealed type
Build ubuntu-latest: src/Avalonia.Svg.Skia/SvgSource.cs#L107
Possible null reference argument for parameter 'path' in 'SKPicture? SvgSource.Load(SvgSource source, string path, SvgParameters? parameters)'.
Build ubuntu-latest: src/Svg.Skia/SKSvg.Model.cs#L199
Possible null reference argument for parameter 'path' in 'SKPicture? SKSvg.Load(string path, SvgParameters? parameters = null)'.
Build ubuntu-latest: src/Avalonia.Svg.Skia/SvgSource.cs#L51
'SvgSource.Picture.set': new protected member declared in sealed type
Build ubuntu-latest: src/Avalonia.Svg.Skia/SvgSource.cs#L107
Possible null reference argument for parameter 'path' in 'SKPicture? SvgSource.Load(SvgSource source, string path, SvgParameters? parameters)'.
Build ubuntu-latest: src/Svg.Skia/SKSvg.Model.cs#L199
Possible null reference argument for parameter 'path' in 'SKPicture? SKSvg.Load(string path, SvgParameters? parameters = null)'.