Skip to content

Fix some 'Pattern discard is not allowed for union case that takes no data' build warnings #666

Fix some 'Pattern discard is not allowed for union case that takes no data' build warnings

Fix some 'Pattern discard is not allowed for union case that takes no data' build warnings #666

Triggered via pull request January 8, 2025 01:03
Status Failure
Total duration 8m 1s
Artifacts 2

build_and_test.yml

on: pull_request
Publish event file
2s
Publish event file
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 39 warnings, and 1 notice
build (ubuntu-latest)
Process completed with exit code 1.
build (windows-latest)
The job was canceled because "ubuntu-latest" failed.
build (windows-latest)
The operation was canceled.
build (macOS-13)
The job was canceled because "ubuntu-latest" failed.
build (macOS-13)
The operation was canceled.
Publish event file
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest): src/app/Fake.Runtime/Tooling.fs#L30
This construct is deprecated. WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.
build (ubuntu-latest)
This construct is deprecated. WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.
build (ubuntu-latest)
Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:
build (ubuntu-latest)
- Add lib or ref assemblies for the net6.0 target framework
build (ubuntu-latest)
- Add lib or ref assemblies for the netstandard2.0 target framework
build (ubuntu-latest)
The assembly 'content/Microsoft.TestPlatform.PlatformAbstractions.dll' is not inside the 'lib' folder and hence it won't be added as a reference when the package is installed into a project. Move it into the 'lib' folder if it needs to be referenced.
build (ubuntu-latest)
The assembly 'contentFiles/any/net6.0/Microsoft.TestPlatform.PlatformAbstractions.dll' is not inside the 'lib' folder and hence it won't be added as a reference when the package is installed into a project. Move it into the 'lib' folder if it needs to be referenced.
build (ubuntu-latest)
This construct is deprecated. WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.
build (ubuntu-latest)
The assembly 'content/Microsoft.TestPlatform.PlatformAbstractions.dll' is not inside the 'lib' folder and hence it won't be added as a reference when the package is installed into a project. Move it into the 'lib' folder if it needs to be referenced.
build (ubuntu-latest)
The assembly 'contentFiles/any/net6.0/Microsoft.TestPlatform.PlatformAbstractions.dll' is not inside the 'lib' folder and hence it won't be added as a reference when the package is installed into a project. Move it into the 'lib' folder if it needs to be referenced.
build (ubuntu-latest)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Paket.Core
build (windows-latest)
This construct is deprecated. WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.
build (windows-latest)
Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:
build (windows-latest)
- Add lib or ref assemblies for the net6.0 target framework
build (windows-latest)
- Add lib or ref assemblies for the netstandard2.0 target framework
build (windows-latest)
No files were found with the provided path: testresults. No artifacts will be uploaded.
build (windows-latest): src/app/Fake.Runtime/Tooling.fs#L30
This construct is deprecated. WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.
build (macOS-13): src/app/Fake.Runtime/Tooling.fs#L30
This construct is deprecated. WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.
build (macOS-13)
No files were found with the provided path: testresults. No artifacts will be uploaded.
build (macOS-13)
This construct is deprecated. WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.
build (macOS-13)
Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:
build (macOS-13)
- Add lib or ref assemblies for the net6.0 target framework
build (macOS-13)
- Add lib or ref assemblies for the netstandard2.0 target framework
[Fake.Tools.Pickles.Tests; Test that new argument generation works with minimal parameters] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 1s]
[Fake.Tools.Pickles.Tests; Test that new argument generation works with all parameters] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 1s]
[Fake.Tools.Pickles.Tests; Test that output file format is ommitted if it is HTML] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.Testing.ReportGenerator.Tests; Test that new argument generation with default parameters] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.Testing.ReportGenerator.Tests; Test that new argument generation with all parameters] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.Testing.ReportGenerator.Tests; Test that ReportType Cobertura works] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.DotNet.Testing.SpecFlow.Tests; Test that new argument generation works] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.Testing.ReportGenerator.Tests; Test that full Framework works] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.DotNet.Testing.SpecFlow.Tests; Test that argument generation works with default arguments] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.DotNet.Testing.SpecFlow.Tests; Test that argument generation works with all arguments set] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.DotNet.Testing.NUnit.Tests; Test that we write and delete arguments file] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.Tools.GitVersion.Tests; Test that full Framework works] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.Tools.GitVersion.Tests; Test that new argument generation with default parameters] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
[Fake.DotNet.Testing.NUnit.Tests; Test that we support file-paths with space - #2180] failed: /#L0
test-results/test-results-ubuntu-latest/Fake_Core_UnitTests.TestResults.xml [took 0s]
280 tests found
There are 280 tests, see "Raw output" for the full list of tests.

Artifacts

Produced during runtime
Name Size
EventFile
3.62 KB
test-results-ubuntu-latest
6.26 KB