Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paket version should be compatible with FAKE #2193

Closed
matthid opened this issue Nov 10, 2018 · 0 comments
Closed

Paket version should be compatible with FAKE #2193

matthid opened this issue Nov 10, 2018 · 0 comments

Comments

@matthid
Copy link
Member

matthid commented Nov 10, 2018

Description

Starting with 5.10 fake will show a hint to use the matching paket version.
While you can mostly ignore this hint, it is a result of potential incompatibilities like #2181 and #2332

Additionally, this hint has the advantage that pinning the paket version is a good practice for stable builds.

Repro steps

  1. Use fake > 5.10 in combination with an "incompatible" paket version.
  2. Run Fake

Expected behavior

Fake will notify the user

@matthid matthid closed this as completed Nov 10, 2018
mthierba added a commit to pbi-tools/pbi-tools that referenced this issue Aug 29, 2020
knocte added a commit to nblockchain/fantomless that referenced this issue Sep 20, 2021
It is failing with:

Microsoft (R) Build Engine version 16.11.0+0538acc04 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

/Users/runner/.dotnet/sdk/5.0.400/MSBuild.dll -maxcpucount -property:Configuration=Release -property:PackageOutputPath=/Users/runner/work/fantomless/fantomless/bin /p:Title=Fantomas /p:PackageVersion=4.5.1 /p:Authors=Florian Verdonck Jindřich Ivánek /p:Owners=Anh-Dung Phan /p:PackageRequireLicenseAcceptance=false /p:Description=This library aims at formatting F# source files based on a given configuration.
Fantomas will ensure correct indentation and consistent spacing between elements in the source files.
Some common use cases include
(1) Reformatting a code base to conform a universal page width
(2) Converting legacy code from verbose syntax to light syntax
(3) Formatting auto-generated F# signatures. /p:Summary=Source code formatter for F# /p:PackageReleaseNotes=Fix StackOverflow exceptions when collecting ColMultilineItem list. [fsprojects#1839](fsprojects#1839)
Honor .fantomasignore file when processing a folder. [fsprojects#1834](fsprojects#1834)
Fix Overly indented members on a record type with accessibility modifier. [fsprojects#1824](fsprojects#1824)
Fix MultiLineLambdaClosingNewline not respected with function keyword. [fsprojects#1823](fsprojects#1823)
Fix Comment is lost at the end of a match. [fsprojects#1822](fsprojects#1822) /p:Copyright=Copyright © 2021 /p:PackageTags=F# fsharp formatting beautifier indentation indenter /p:PackageProjectUrl=https://github.com/fsprojects/fantomas -target:pack -verbosity:m /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpF67x0C.tmp.binlog /clp:ForceConsoleColor src/Fantomas/Fantomas.fsproj
  Fantomas -> /Users/runner/work/fantomless/fantomless/src/Fantomas/bin/Release/netstandard2.0/Fantomas.dll
  Paket version 6.0.0-rc006
  Total time taken: 0 milliseconds
/Users/runner/work/fantomless/fantomless/.paket/Paket.Restore.targets(370,15): error MSB4030: " " is an invalid value for the "NoDefaultExcludes" parameter of the "PackTask" task. The "NoDefaultExcludes" parameter is of type "System.Boolean". [/Users/runner/work/fantomless/fantomless/src/Fantomas/Fantomas.fsproj]
: /Users/runner/work/fantomless/fantomless/.paket/Paket.Restore.targets(370,15): error MSB4030: " " is an invalid value for the "NoDefaultExcludes" parameter of the "PackTask" task. The "NoDefaultExcludes" parameter is of type "System.Boolean".
Finished (Failed) 'DotNet:pack' in 00:00:17.2484182
Finished (Failed) 'Pack' in 00:00:17.2537065

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target           Duration
------           --------
Clean            00:00:00.0054029
ProjectVersion   00:00:00.0095845
CheckFormat      00:00:28.1530106
Build            00:00:50.1780681
UnitTests        00:00:52.8291326
Benchmark        00:01:18.1282908
Pack             00:00:17.2535228   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
All              00:00:00           (skipped)
Total:           00:03:46.6883141
Status:          Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Pack' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/fantomless/fantomless/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
knocte added a commit to nblockchain/fantomless that referenced this issue Sep 20, 2021
There's an intermittent build issue on macOS, which seems related to:
NuGet/Home#10491 (comment)

Error was:
/Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/lib' contains an invalid version. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/build' contains an invalid version. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj : warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj : error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj : warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj : error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
  Restored /Users/runner/work/fantomless/fantomless/src/Fantomas/Fantomas.fsproj (in 1.04 sec).
  Failed to restore /Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj (in 1.04 sec).
  Failed to restore /Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj (in 1.04 sec).
  Restored /Users/runner/work/fantomless/fantomless/src/Fantomas.Extras/Fantomas.Extras.fsproj (in 82 ms).
  Restored /Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool/Fantomas.CoreGlobalTool.fsproj (in 126 ms).
  Restored /Users/runner/work/fantomless/fantomless/src/Fantomas.Benchmarks/Fantomas.Benchmarks.fsproj (in 233 ms).

Build FAILED.

/Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/lib' contains an invalid version. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/build' contains an invalid version. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj : warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj : warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj : error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj : error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
    4 Warning(s)
    2 Error(s)

Time Elapsed 00:00:08.42
RestoreTask: /Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/lib' contains an invalid version.
RestoreTask: /Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/build' contains an invalid version.
RestoreTask: /Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj(0,0): warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj(0,0): warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj(0,0): error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
RestoreTask: /Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj(0,0): error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
Finished (Failed) 'DotNet:build' in 00:00:10.6671433
Finished (Failed) 'Build' in 00:00:10.6719365

Build            00:00:10.6716931   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
---------------------------------------------------------------------
UnitTests        00:00:00           (skipped)
Build Time Report
Benchmark        00:00:00           (skipped)
---------------------------------------------------------------------
Pack             00:00:00           (skipped)
Target           Duration
All              00:00:00           (skipped)
------           --------
Status:          Failure
Clean            00:00:00.0052406
ProjectVersion   00:00:00.0091144
CheckFormat      00:00:25.0205896
Total:           00:00:35.8285962
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Build' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/fantomless/fantomless/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
knocte added a commit to nblockchain/fantomless that referenced this issue Sep 20, 2021
There was an intermittent build issue on macOS, which seems related to:
NuGet/Home#10491 (comment)
(upgrading to 5.0.202 already fixes this problem, but at the time
of writing this, 5.0.300 already exists so let's just upgrade to
this version).

Error was:
/Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/lib' contains an invalid version. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/build' contains an invalid version. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj : warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj : error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj : warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj : error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
  Restored /Users/runner/work/fantomless/fantomless/src/Fantomas/Fantomas.fsproj (in 1.04 sec).
  Failed to restore /Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj (in 1.04 sec).
  Failed to restore /Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj (in 1.04 sec).
  Restored /Users/runner/work/fantomless/fantomless/src/Fantomas.Extras/Fantomas.Extras.fsproj (in 82 ms).
  Restored /Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool/Fantomas.CoreGlobalTool.fsproj (in 126 ms).
  Restored /Users/runner/work/fantomless/fantomless/src/Fantomas.Benchmarks/Fantomas.Benchmarks.fsproj (in 233 ms).

Build FAILED.

/Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/lib' contains an invalid version. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/build' contains an invalid version. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj : warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj : warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj : error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
/Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj : error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/fantomless/fantomless/fantomas.sln]
    4 Warning(s)
    2 Error(s)

Time Elapsed 00:00:08.42
RestoreTask: /Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/lib' contains an invalid version.
RestoreTask: /Users/runner/.dotnet/sdk/5.0.102/NuGet.targets(131,5): warning : The folder '/Users/runner/.nuget/packages/netstandard.library/build' contains an invalid version.
RestoreTask: /Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj(0,0): warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj(0,0): warning NU3028: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/fantomless/fantomless/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj(0,0): error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
RestoreTask: /Users/runner/work/fantomless/fantomless/src/Fantomas.Tests/Fantomas.Tests.fsproj(0,0): error NU3037: Package 'NETStandard.Library 2.0.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
Finished (Failed) 'DotNet:build' in 00:00:10.6671433
Finished (Failed) 'Build' in 00:00:10.6719365

Build            00:00:10.6716931   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
---------------------------------------------------------------------
UnitTests        00:00:00           (skipped)
Build Time Report
Benchmark        00:00:00           (skipped)
---------------------------------------------------------------------
Pack             00:00:00           (skipped)
Target           Duration
All              00:00:00           (skipped)
------           --------
Status:          Failure
Clean            00:00:00.0052406
ProjectVersion   00:00:00.0091144
CheckFormat      00:00:25.0205896
Total:           00:00:35.8285962
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Build' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/fantomless/fantomless/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
knocte added a commit to knocte/FSharpLint that referenced this issue Sep 20, 2021
See https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028

The (intermittent) errors of the macOS build were:

* Step 'Restore tools':

warning NU3028: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.

Package "fake-cli" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "paket" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "dotnet-fsharplint" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "fornax" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)

Restore failed.
Error: Process completed with exit code 1.

* Step 'Run build':
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.Console.Tests/bin/Release/net5.0/FSharpLint.Console.Tests.dll (net5.0)
Finished (Success) 'DotNet:test' in 00:00:11.1338241
Starting task 'DotNet:restore': tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
/Users/runner/work/FSharpLint/FSharpLint> "/Users/runner/.dotnet/dotnet"  restore tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln /clp:ForceConsoleColor /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog (In: false, Out: false, Err: false)
/Users/runner/.dotnet/sdk/5.0.100/MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll -maxcpucount -target:Restore -verbosity:m /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog /clp:ForceConsoleColor tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
  Determining projects to restore...
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj (in 663 ms).
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj (in 663 ms).
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
Finished (Failed) 'DotNet:restore' in 00:00:02.1316696
Finished (Failed) 'Test' in 00:01:40.7375376

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0059468
Build      00:00:31.4180335
Test       00:01:40.7373066   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
Total:     00:02:12.2927884
Status:    Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Test' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
knocte added a commit to knocte/FSharpLint that referenced this issue Sep 20, 2021
See https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028

The (intermittent) errors of the macOS build were:

* Step 'Restore tools':

warning NU3028: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.

Package "fake-cli" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "paket" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "dotnet-fsharplint" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "fornax" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)

Restore failed.
Error: Process completed with exit code 1.

* Step 'Run build':
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.Console.Tests/bin/Release/net5.0/FSharpLint.Console.Tests.dll (net5.0)
Finished (Success) 'DotNet:test' in 00:00:11.1338241
Starting task 'DotNet:restore': tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
/Users/runner/work/FSharpLint/FSharpLint> "/Users/runner/.dotnet/dotnet"  restore tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln /clp:ForceConsoleColor /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog (In: false, Out: false, Err: false)
/Users/runner/.dotnet/sdk/5.0.100/MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll -maxcpucount -target:Restore -verbosity:m /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog /clp:ForceConsoleColor tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
  Determining projects to restore...
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj (in 663 ms).
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj (in 663 ms).
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
Finished (Failed) 'DotNet:restore' in 00:00:02.1316696
Finished (Failed) 'Test' in 00:01:40.7375376

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0059468
Build      00:00:31.4180335
Test       00:01:40.7373066   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
Total:     00:02:12.2927884
Status:    Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Test' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
knocte added a commit to knocte/FSharpLint that referenced this issue Sep 20, 2021
See https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028
and https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3037

The (intermittent) errors of the macOS build were:

* Step 'Restore tools':

warning NU3028: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.

Package "fake-cli" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "paket" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "dotnet-fsharplint" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "fornax" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)

Restore failed.
Error: Process completed with exit code 1.

* Step 'Run build':
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.Console.Tests/bin/Release/net5.0/FSharpLint.Console.Tests.dll (net5.0)
Finished (Success) 'DotNet:test' in 00:00:11.1338241
Starting task 'DotNet:restore': tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
/Users/runner/work/FSharpLint/FSharpLint> "/Users/runner/.dotnet/dotnet"  restore tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln /clp:ForceConsoleColor /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog (In: false, Out: false, Err: false)
/Users/runner/.dotnet/sdk/5.0.100/MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll -maxcpucount -target:Restore -verbosity:m /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog /clp:ForceConsoleColor tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
  Determining projects to restore...
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj (in 663 ms).
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj (in 663 ms).
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
Finished (Failed) 'DotNet:restore' in 00:00:02.1316696
Finished (Failed) 'Test' in 00:01:40.7375376

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0059468
Build      00:00:31.4180335
Test       00:01:40.7373066   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
Total:     00:02:12.2927884
Status:    Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Test' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
knocte added a commit to knocte/FSharpLint that referenced this issue Sep 20, 2021
There was an intermittent build issue on macOS, which seems related to:
NuGet/Home#10491 (comment)

The (intermittent) errors of the macOS build were:

* Step 'Restore tools':

warning NU3028: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.

Package "fake-cli" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "paket" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "dotnet-fsharplint" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "fornax" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)

Restore failed.
Error: Process completed with exit code 1.

* Step 'Run build':
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.Console.Tests/bin/Release/net5.0/FSharpLint.Console.Tests.dll (net5.0)
Finished (Success) 'DotNet:test' in 00:00:11.1338241
Starting task 'DotNet:restore': tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
/Users/runner/work/FSharpLint/FSharpLint> "/Users/runner/.dotnet/dotnet"  restore tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln /clp:ForceConsoleColor /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog (In: false, Out: false, Err: false)
/Users/runner/.dotnet/sdk/5.0.100/MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll -maxcpucount -target:Restore -verbosity:m /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog /clp:ForceConsoleColor tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
  Determining projects to restore...
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj (in 663 ms).
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj (in 663 ms).
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
Finished (Failed) 'DotNet:restore' in 00:00:02.1316696
Finished (Failed) 'Test' in 00:01:40.7375376

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0059468
Build      00:00:31.4180335
Test       00:01:40.7373066   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
Total:     00:02:12.2927884
Status:    Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Test' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
knocte added a commit to knocte/FSharpLint that referenced this issue Sep 20, 2021
See https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028
and https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3037

(The technique to only run a step in a certain OS in GithubActions
was taken from https://stackoverflow.com/a/57948488/544947 )

The (intermittent) errors of the macOS build were:

* Step 'Restore tools':

warning NU3028: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.

Package "fake-cli" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "paket" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "dotnet-fsharplint" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "fornax" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)

Restore failed.
Error: Process completed with exit code 1.

* Step 'Run build':
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.Console.Tests/bin/Release/net5.0/FSharpLint.Console.Tests.dll (net5.0)
Finished (Success) 'DotNet:test' in 00:00:11.1338241
Starting task 'DotNet:restore': tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
/Users/runner/work/FSharpLint/FSharpLint> "/Users/runner/.dotnet/dotnet"  restore tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln /clp:ForceConsoleColor /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog (In: false, Out: false, Err: false)
/Users/runner/.dotnet/sdk/5.0.100/MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll -maxcpucount -target:Restore -verbosity:m /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog /clp:ForceConsoleColor tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
  Determining projects to restore...
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj (in 663 ms).
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj (in 663 ms).
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
Finished (Failed) 'DotNet:restore' in 00:00:02.1316696
Finished (Failed) 'Test' in 00:01:40.7375376

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0059468
Build      00:00:31.4180335
Test       00:01:40.7373066   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
Total:     00:02:12.2927884
Status:    Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Test' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
knocte added a commit to knocte/FSharpLint that referenced this issue Sep 20, 2021
There was an intermittent build issue on macOS, which seems related to:
NuGet/Home#10491 (comment)

The (intermittent) errors of the macOS build were:

* Step 'Restore tools':

warning NU3028: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.

Package "fake-cli" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "paket" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "dotnet-fsharplint" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "fornax" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)

Restore failed.
Error: Process completed with exit code 1.

* Step 'Run build':
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.Console.Tests/bin/Release/net5.0/FSharpLint.Console.Tests.dll (net5.0)
Finished (Success) 'DotNet:test' in 00:00:11.1338241
Starting task 'DotNet:restore': tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
/Users/runner/work/FSharpLint/FSharpLint> "/Users/runner/.dotnet/dotnet"  restore tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln /clp:ForceConsoleColor /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog (In: false, Out: false, Err: false)
/Users/runner/.dotnet/sdk/5.0.100/MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll -maxcpucount -target:Restore -verbosity:m /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog /clp:ForceConsoleColor tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
  Determining projects to restore...
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj (in 663 ms).
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj (in 663 ms).
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
Finished (Failed) 'DotNet:restore' in 00:00:02.1316696
Finished (Failed) 'Test' in 00:01:40.7375376

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0059468
Build      00:00:31.4180335
Test       00:01:40.7373066   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
Total:     00:02:12.2927884
Status:    Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Test' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
duckmatt pushed a commit to fsprojects/FSharpLint that referenced this issue Sep 20, 2021
… fix it (#503)

* CI: bring back macOS lane

It had to be removed in 3837680
because somehow it started failing.

* CI: try dodge NU3037&NU3028 errors (occuring on macOS)

See https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028
and https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3037

(The technique to only run a step in a certain OS in GithubActions
was taken from https://stackoverflow.com/a/57948488/544947 )

The (intermittent) errors of the macOS build were:

* Step 'Restore tools':

warning NU3028: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.

Package "fake-cli" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "paket" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "dotnet-fsharplint" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "fornax" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)

Restore failed.
Error: Process completed with exit code 1.

* Step 'Run build':
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.Console.Tests/bin/Release/net5.0/FSharpLint.Console.Tests.dll (net5.0)
Finished (Success) 'DotNet:test' in 00:00:11.1338241
Starting task 'DotNet:restore': tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
/Users/runner/work/FSharpLint/FSharpLint> "/Users/runner/.dotnet/dotnet"  restore tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln /clp:ForceConsoleColor /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog (In: false, Out: false, Err: false)
/Users/runner/.dotnet/sdk/5.0.100/MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll -maxcpucount -target:Restore -verbosity:m /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog /clp:ForceConsoleColor tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
  Determining projects to restore...
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj (in 663 ms).
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj (in 663 ms).
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
Finished (Failed) 'DotNet:restore' in 00:00:02.1316696
Finished (Failed) 'Test' in 00:01:40.7375376

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0059468
Build      00:00:31.4180335
Test       00:01:40.7373066   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
Total:     00:02:12.2927884
Status:    Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Test' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.

* Revert "CI: try dodge NU3037&NU3028 errors (occuring on macOS)"

This reverts commit 59401bd
because the intermittent problems of the macOS build still
happen after this commit which tried to solve them.

* CI: upgrade .NET from 5.0.100 to 5.0.202 to fix macOS build

There was an intermittent build issue on macOS, which seems related to:
NuGet/Home#10491 (comment)

The (intermittent) errors of the macOS build were:

* Step 'Restore tools':

warning NU3028: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Fornax 0.13.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'fake-cli 5.20.4-alpha.1642' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'dotnet-fsharplint 0.16.1' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
warning NU3028: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
error NU3037: Package 'Paket 5.252.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.

Package "fake-cli" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "paket" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "dotnet-fsharplint" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
Package "fornax" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)

Restore failed.
Error: Process completed with exit code 1.

* Step 'Run build':
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.Console.Tests/bin/Release/net5.0/FSharpLint.Console.Tests.dll (net5.0)
Finished (Success) 'DotNet:test' in 00:00:11.1338241
Starting task 'DotNet:restore': tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
/Users/runner/work/FSharpLint/FSharpLint> "/Users/runner/.dotnet/dotnet"  restore tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln /clp:ForceConsoleColor /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog (In: false, Out: false, Err: false)
/Users/runner/.dotnet/sdk/5.0.100/MSBuild.dll -nologo -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/Users/runner/.dotnet/sdk/5.0.100/dotnet.dll -maxcpucount -target:Restore -verbosity:m /bl:/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpoIYOVJ.tmp.binlog /clp:ForceConsoleColor tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln
  Determining projects to restore...
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj : error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired. [/Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.sln]
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj (in 663 ms).
  Failed to restore /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj (in 663 ms).
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.NETCore.Platforms 1.1.0' from source 'https://api.nuget.org/v3/index.json': The repository primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.MultiTarget/FSharpLint.FunctionalTest.TestedProject.MultiTarget.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3028: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: ExplicitDistrust: The trust setting for this policy was set to Deny.
RestoreTask: /Users/runner/work/FSharpLint/FSharpLint/tests/FSharpLint.FunctionalTest.TestedProject/FSharpLint.FunctionalTest.TestedProject.NetCore/FSharpLint.FunctionalTest.TestedProject.NetCore.fsproj(0,0): error NU3037: Package 'Microsoft.AspNetCore.App.Ref 3.1.8' from source 'https://api.nuget.org/v3/index.json': The repository countersignature validity period has expired.
Finished (Failed) 'DotNet:restore' in 00:00:02.1316696
Finished (Failed) 'Test' in 00:01:40.7375376

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0059468
Build      00:00:31.4180335
Test       00:01:40.7373066   (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
Total:     00:02:12.2927884
Status:    Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Test' failed.
-> One or more errors occurred. (Exception of type 'Fake.DotNet.MSBuildException' was thrown.)
-> MSBuildException: Exception of type 'Fake.DotNet.MSBuildException' was thrown.
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file (/Users/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
knocte added a commit to fsprojects/FSharpLint that referenced this issue Dec 16, 2023
This reverts commit c7ceca1
because it caused a regression in the Docs CI pipeline, making
it crash[1] with this error:

```
Finished (Success) 'BuildRelease' in 00:00:25.7922921
Starting target 'Docs'
docs> "dotnet" fornax build (In: false, Out: false, Err: false)
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '3.1.0' was not found.
  - The following frameworks were found:
      5.0.5 at [C:\Users\runneradmin\AppData\Local\Microsoft\dotnet\shared\Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=win10-x64
Finished (Failed) 'Docs' in 00:00:00.1705416

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target         Duration
------         --------
Clean          00:00:00.0012597
BuildRelease   00:00:25.7922354
Docs           00:00:00.1704088   (Error while running 'dotnet' with args: fornax build)
Total:         00:00:26.0112517
Status:        Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Docs' failed.
-> One or more errors occurred. (Error while running 'dotnet' with args: fornax build)
-> Error while running 'dotnet' with args: fornax build
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 5.257.0' at the top of your dependencies file
(D:\a\FSharpLint\FSharpLint\paket.dependencies).
Read fsprojects/FAKE#2193 for details.
```

[1] https://github.com/fsprojects/FSharpLint/actions/runs/7230076822/job/19701720218
knocte added a commit to knocte/FSharpLint that referenced this issue Dec 25, 2023
Because we were getting the following build error:
```
Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:20.36
Finished (Failed) 'DotNet:build' in 00:00:20.8917736
Finished (Failed) 'Build' in 00:00:20.8932132

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Clean      00:00:00.0005837
Build      00:00:20.8931029   (Could not load file or assembly 'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. General Exception (0x80131500))
Test       00:00:00           (skipped)
Total:     00:00:20.9348330
Status:    Failure
---------------------------------------------------------------------
Script reported an error:
-> BuildFailedException: Target 'Build' failed.
-> One or more errors occurred. (Could not load file or assembly 'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. General Exception (0x80131500))
-> FileLoadException: Could not load file or assembly 'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. General Exception (0x80131500)
-> Could not load 'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
   This can happen for various reasons:
   - You are trying to load full-framework assemblies which is not supported
     -> You might try to load a legacy-script with the new netcore runner.
       Please take a look at the migration guide: https://fake.build/guide/fake-migrate-to-fake-5.html
   - The nuget cache (or packages folder) might be broken.
     -> Please save your state, open an issue and then
     - delete 'Microsoft.Build.Framework' from the '~/.nuget' cache (and the 'packages' folder)
     - delete 'paket-files/paket.restore.cached' if it exists
     - delete '<script.fsx>.lock' if it exists
     - try running fake again
     - the package should be downloaded again
   - Some package introduced a breaking change in their dependencies and .dll files are missing in the resolution
     -> Try to compare the lockfile with a previous working version
     -> Try to lower transitive dependency versions (for example by adding 'strategy: min' to the paket group)
     see fsprojects/FAKE#1966 where this happend for 'System.Reactive' version 4

   -> If the above doesn't apply or you need help please open an issue!
Hint: To further diagnose the problem you can run fake in verbose mode `fake -v run ...` or set the 'FAKE_DETAILED_ERRORS' environment variable to 'true'
Warning: Paket resolved a FSharp.Core with version '8.0.0.0', but fake runs with a version of '6.0.0.0'. This is not supported.
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 7.1.5' at the top of your dependencies file (/home/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Please either lock the version via 'nuget FSharp.Core <nuget-version>' or upgrade fake.
Read fsprojects/FAKE#2001 for details.
Read fsprojects/FAKE#2193 for details.
```
knocte added a commit to knocte/FSharpLint that referenced this issue Dec 26, 2023
We were getting the error:
```
Download of Microsoft.Extensions.DependencyInjection 5.0.1 done in 154 milliseconds. (9655 kbit/s, 0 MB)
Starting task 'DotNet:version': running dotnet --version
6.0.417
Finished (Success) 'DotNet:version' in 00:00:00.9880854
Script is not valid:
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (7,5)-(7,9): Error FS0039: The namespace or module 'Fake' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (8,5)-(8,9): Error FS0039: The namespace or module 'Fake' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (9,5)-(9,9): Error FS0039: The namespace or module 'Fake' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (10,5)-(10,9): Error FS0039: The namespace or module 'Fake' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (11,5)-(11,9): Error FS0039: The namespace or module 'Fake' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (12,5)-(12,9): Error FS0039: The namespace or module 'Fake' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (13,5)-(13,9): Error FS0039: The namespace or module 'Fake' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (14,5)-(14,9): Error FS0039: The namespace or module 'Fake' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (19,0)-(19,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (41,8)-(41,21): Error FS0039: The value, namespace, type or module 'CreateProcess' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (42,11)-(42,24): Error FS0039: The value, namespace, type or module 'CreateProcess' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (44,17)-(44,30): Error FS0039: The value, namespace, type or module 'CreateProcess' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (45,7)-(45,11): Error FS0039: The value, namespace, type or module 'Proc' is not defined. Maybe you want one of the following:
	   proc
	   project
	   Progress
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (49,28)-(49,38): Error FS0039: The type 'Environment' does not define the field, constructor or member 'environVar'.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (66,16)-(66,25): Error FS0039: The value, namespace, type or module 'Changelog' is not defined. Maybe you want one of the following:
	   changelogFilename
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (77,11)-(77,31): Error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (80,8)-(80,42): Error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (82,22)-(82,56): Error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (82,60)-(82,66): Error FS0039: The value, namespace, type or module 'SemVer' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (84,28)-(84,33): Error FS0039: The record label 'Patch' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (91,12)-(91,25): Error FS0039: The value, namespace, type or module 'CreateProcess' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (98,15)-(98,28): Error FS0039: The value, namespace, type or module 'CreateProcess' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (99,15)-(99,28): Error FS0039: The value, namespace, type or module 'CreateProcess' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (100,15)-(100,19): Error FS0039: The value, namespace, type or module 'Proc' is not defined. Maybe you want one of the following:
	   project
	   Progress
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (101,8)-(101,37): Error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (113,0)-(113,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (117,0)-(117,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (121,30)-(121,36): Error FS0039: The namespace or module 'DotNet' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (121,61)-(121,67): Error FS0039: The record label 'Filter' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (123,0)-(123,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (130,0)-(130,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (138,0)-(138,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (151,0)-(151,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (170,0)-(170,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (211,0)-(211,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (227,0)-(227,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (228,0)-(228,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (231,2)-(231,5): Error FS0043: The type 'string' does not support the operator '==>'
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (236,1)-(236,4): Error FS0043: The type 'string' does not support the operator '==>'
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (240,2)-(240,5): Error FS0043: The type 'string' does not support the operator '==>'
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (244,0)-(244,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
Hint: If you have updated your dependencies you might need to run 'paket install' or delete '/home/runner/work/FSharpLint/FSharpLint/build.fsx.lock' for fake to pick them up.
Hint: If this doesn't help but you are sure this should work try to clean your nuget cache and delete the .fake directory. If this helps please report this problem to Paket.
Hint: Operators now need to be opened manually, try to add 'open Fake.IO.FileSystemOperators' and 'open Fake.IO.Globbing.Operators' to your script to import the most common operators
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 7.1.5' at the top of your dependencies file (/home/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
Hint: The fake-runner has not been updated for at least 6 months. Please consider upgrading to get latest bugfixes, improved suggestions and F# features.
```
knocte added a commit to knocte/FSharpLint that referenced this issue Dec 26, 2023
Because we were getting the following error message:
```
/home/runner/work/FSharpLint/FSharpLint/build.fsx (244,0)-(244,6): Error FS0039: The value, namespace, type or module 'Target' is not defined.
Hint: If you have updated your dependencies you might need to run 'paket install' or delete '/home/runner/work/FSharpLint/FSharpLint/build.fsx.lock' for fake to pick them up.
Hint: If this doesn't help but you are sure this should work try to clean your nuget cache and delete the .fake directory. If this helps please report this problem to Paket.
Hint: Operators now need to be opened manually, try to add 'open Fake.IO.FileSystemOperators' and 'open Fake.IO.Globbing.Operators' to your script to import the most common operators
Hint: Detected paket version '7.2.1' in your paket.dependencies file bootstrapper arguments, consider locking the version to '7.1.5' in your dependencies file (/home/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
Hint: The fake-runner has not been updated for at least 6 months. Please consider upgrading to get latest bugfixes, improved suggestions and F# features.
```
knocte added a commit to knocte/FSharpLint that referenced this issue Dec 26, 2023
Because we were getting:
```
Download of Microsoft.Extensions.DependencyInjection 5.0.1 done in 161 milliseconds. (9235 kbit/s, 0 MB)
Starting task 'DotNet:version': running dotnet --version
6.0.417
Finished (Success) 'DotNet:version' in 00:00:00.3822090
Script is not valid:
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (82,60)-(82,66): Error FS0039: The value, namespace, type or module 'SemVer' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (84,28)-(84,33): Error FS0039: The record label 'Patch' is not defined.
Hint: If you have updated your dependencies you might need to run 'paket install' or delete '/home/runner/work/FSharpLint/FSharpLint/build.fsx.lock' for fake to pick them
up.
Hint: If this doesn't help but you are sure this should work try to clean your nuget cache and delete the .fake directory. If this helps please report this problem to Paket.
Hint: Detected paket version '7.2.1' in your paket.dependencies file bootstrapper arguments, consider locking the version to '7.1.5' in your dependencies file
(/home/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
Hint: The fake-runner has not been updated for at least 6 months. Please consider upgrading to get latest bugfixes, improved suggestions and F# features.
Error: Process completed with exit code 1.
```
knocte added a commit to knocte/FSharpLint that referenced this issue Dec 26, 2023
Because we were getting the following error message:
```
Download of Microsoft.Extensions.DependencyInjection 5.0.1 done in 67 milliseconds. (22192 kbit/s, 0 MB)
Starting task 'DotNet:version': running dotnet --version
6.0.417
Finished (Success) 'DotNet:version' in 00:00:01.0144346
Script is not valid:
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (82,60)-(82,66): Error FS0039: The value, namespace, type or module 'SemVer' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (84,28)-(84,33): Error FS0039: The record label 'Patch' is not defined.
Hint: If you have updated your dependencies you might need to run 'paket install' or delete '/home/runner/work/FSharpLint/FSharpLint/build.fsx.lock' for fake to pick them
up.
Hint: If this doesn't help but you are sure this should work try to clean your nuget cache and delete the .fake directory. If this helps please report this problem to
Paket.
Hint: Detected paket version '7.2.1' in your paket.dependencies file bootstrapper arguments, consider locking the version to '7.1.5' in your dependencies file
(/home/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
Hint: The fake-runner has not been updated for at least 6 months. Please consider upgrading to get latest bugfixes, improved suggestions and F# features.
Error: Process completed with exit code 1.
```
knocte added a commit to knocte/FSharpLint that referenced this issue Dec 28, 2023
With `dotnet paket update --group build`, because we were getting:
```
Script is not valid:
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (82,60)-(82,66): Error FS0039: The value, namespace, type or module 'SemVer' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (84,28)-(84,33): Error FS0039: The record label 'Patch' is not defined.
Hint: If you have updated your dependencies you might need to run 'paket install' or delete '/home/runner/work/FSharpLint/FSharpLint/build.fsx.lock' for fake to pick them up.
Hint: If this doesn't help but you are sure this should work try to clean your nuget cache and delete the .fake directory. If this helps please report this problem to Paket.
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 7.1.5' at the top of your dependencies file (/home/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
Hint: The fake-runner has not been updated for at least 6 months. Please consider upgrading to get latest bugfixes, improved suggestions and F# features.
Error: Process completed with exit code 1.
```
knocte added a commit to knocte/FSharpLint that referenced this issue Dec 28, 2023
With `dotnet paket update --group build`, because we were getting:
```
Script is not valid:
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (82,60)-(82,66): Error FS0039: The value, namespace, type or module 'SemVer' is not defined.
	/home/runner/work/FSharpLint/FSharpLint/build.fsx (84,28)-(84,33): Error FS0039: The record label 'Patch' is not defined.
Hint: If you have updated your dependencies you might need to run 'paket install' or delete '/home/runner/work/FSharpLint/FSharpLint/build.fsx.lock' for fake to pick them up.
Hint: If this doesn't help but you are sure this should work try to clean your nuget cache and delete the .fake directory. If this helps please report this problem to Paket.
Hint: Could not find a version in your paket.dependencies file, consider adding 'version 7.1.5' at the top of your dependencies file (/home/runner/work/FSharpLint/FSharpLint/paket.dependencies).
Read fsprojects/FAKE#2193 for details.
Hint: The fake-runner has not been updated for at least 6 months. Please consider upgrading to get latest bugfixes, improved suggestions and F# features.
Error: Process completed with exit code 1.
```

This fixes the build, but the tests are not passing yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant