cake icon indicating copy to clipboard operation
cake copied to clipboard

ArgumentOutOfRangeException: The DateTimeOffset specified cannot be converted into a Zip file timestamp - Part Two

Open Sobieck opened this issue 3 years ago • 5 comments

What You Are Seeing?

image

What is Expected?

It should silently correct the date being out of range. This behavior was fixed originally in #2803.

What version of Cake are you using?

0.38.4

Are you running on a 32 or 64 bit system?

64

What environment are you running on? Windows? Linux? Mac?

Windows 10 Version 10.0.18363 Build 18363

Are you running on a CI Server? If so, which one?

This is only showing up locally so far. I'm in US Central Time.

How Did You Get This To Happen? (Steps to Reproduce)

I run Cake locally.

Output Log

Preparing to run build script...
Running build script...
0.38.4
Module directory does not exist.
NuGet Config not specified. Will use NuGet default mechanism for resolving it.
Analyzing build script...
Analyzing C:/Users/thomas.sobieck/Documents/GitHub/school/build.cake...
Processing build script...
Installing tools...
Installing addins...
The addin Cake.FileHelpers will reference Cake.FileHelpers.dll.
Verifying assembly 'Cake.FileHelpers, Version=3.2.1.0, Culture=neutral, PublicKeyToken=null'.
Adding assembly reference to mscorlib.dll...
Adding assembly reference to System.Core.dll...
Adding assembly reference to Microsoft.CSharp.dll...
Adding assembly reference to Cake.Core.dll...
Adding assembly reference to Cake.Common.dll...
Adding assembly reference to Cake.exe...
Adding assembly reference to System.dll...
Adding assembly reference to System.Xml.dll...
Adding assembly reference to System.Xml.Linq.dll...
Adding assembly reference to System.Data.dll...
Adding assembly reference to System.Runtime.dll...
Adding assembly reference to System.Collections.dll...
Adding assembly reference to System.Net.Http.dll...
Adding assembly reference to netstandard.dll...
Adding assembly reference to Cake.FileHelpers.dll...
Importing namespace Cake.Common...
Importing namespace Cake.Common.Build...
Importing namespace Cake.Common.Build.AppVeyor...
Importing namespace Cake.Common.Build.AppVeyor.Data...
Importing namespace Cake.Common.Build.AzurePipelines...
Importing namespace Cake.Common.Build.AzurePipelines.Data...
Importing namespace Cake.Common.Build.Bamboo...
Importing namespace Cake.Common.Build.Bamboo.Data...
Importing namespace Cake.Common.Build.BitbucketPipelines...
Importing namespace Cake.Common.Build.BitbucketPipelines.Data...
Importing namespace Cake.Common.Build.Bitrise...
Importing namespace Cake.Common.Build.Bitrise.Data...
Importing namespace Cake.Common.Build.ContinuaCI...
Importing namespace Cake.Common.Build.ContinuaCI.Data...
Importing namespace Cake.Common.Build.GitHubActions...
Importing namespace Cake.Common.Build.GitHubActions.Data...
Importing namespace Cake.Common.Build.GitLabCI...
Importing namespace Cake.Common.Build.GitLabCI.Data...
Importing namespace Cake.Common.Build.GoCD...
Importing namespace Cake.Common.Build.GoCD.Data...
Importing namespace Cake.Common.Build.Jenkins...
Importing namespace Cake.Common.Build.Jenkins.Data...
Importing namespace Cake.Common.Build.MyGet...
Importing namespace Cake.Common.Build.TeamCity...
Importing namespace Cake.Common.Build.TFBuild...
Importing namespace Cake.Common.Build.TFBuild.Data...
Importing namespace Cake.Common.Build.TravisCI...
Importing namespace Cake.Common.Build.TravisCI.Data...
Importing namespace Cake.Common.Diagnostics...
Importing namespace Cake.Common.IO...
Importing namespace Cake.Common.IO.Paths...
Importing namespace Cake.Common.Net...
Importing namespace Cake.Common.Security...
Importing namespace Cake.Common.Solution...
Importing namespace Cake.Common.Solution.Project...
Importing namespace Cake.Common.Solution.Project.Properties...
Importing namespace Cake.Common.Solution.Project.XmlDoc...
Importing namespace Cake.Common.Text...
Importing namespace Cake.Common.Tools...
Importing namespace Cake.Common.Tools.Cake...
Importing namespace Cake.Common.Tools.Chocolatey...
Importing namespace Cake.Common.Tools.Chocolatey.ApiKey...
Importing namespace Cake.Common.Tools.Chocolatey.Config...
Importing namespace Cake.Common.Tools.Chocolatey.Download...
Importing namespace Cake.Common.Tools.Chocolatey.Features...
Importing namespace Cake.Common.Tools.Chocolatey.Install...
Importing namespace Cake.Common.Tools.Chocolatey.New...
Importing namespace Cake.Common.Tools.Chocolatey.Pack...
Importing namespace Cake.Common.Tools.Chocolatey.Pin...
Importing namespace Cake.Common.Tools.Chocolatey.Push...
Importing namespace Cake.Common.Tools.Chocolatey.Sources...
Importing namespace Cake.Common.Tools.Chocolatey.Uninstall...
Importing namespace Cake.Common.Tools.Chocolatey.Upgrade...
Importing namespace Cake.Common.Tools.DotCover...
Importing namespace Cake.Common.Tools.DotCover.Analyse...
Importing namespace Cake.Common.Tools.DotCover.Cover...
Importing namespace Cake.Common.Tools.DotCover.Merge...
Importing namespace Cake.Common.Tools.DotCover.Report...
Importing namespace Cake.Common.Tools.DotNetCore...
Importing namespace Cake.Common.Tools.DotNetCore.Build...
Importing namespace Cake.Common.Tools.DotNetCore.BuildServer...
Importing namespace Cake.Common.Tools.DotNetCore.Clean...
Importing namespace Cake.Common.Tools.DotNetCore.Execute...
Importing namespace Cake.Common.Tools.DotNetCore.MSBuild...
Importing namespace Cake.Common.Tools.DotNetCore.NuGet.Delete...
Importing namespace Cake.Common.Tools.DotNetCore.NuGet.Push...
Importing namespace Cake.Common.Tools.DotNetCore.NuGet.Source...
Importing namespace Cake.Common.Tools.DotNetCore.Pack...
Importing namespace Cake.Common.Tools.DotNetCore.Publish...
Importing namespace Cake.Common.Tools.DotNetCore.Restore...
Importing namespace Cake.Common.Tools.DotNetCore.Run...
Importing namespace Cake.Common.Tools.DotNetCore.Test...
Importing namespace Cake.Common.Tools.DotNetCore.Tool...
Importing namespace Cake.Common.Tools.DotNetCore.VSTest...
Importing namespace Cake.Common.Tools.DupFinder...
Importing namespace Cake.Common.Tools.Fixie...
Importing namespace Cake.Common.Tools.GitLink...
Importing namespace Cake.Common.Tools.GitReleaseManager...
Importing namespace Cake.Common.Tools.GitReleaseManager.AddAssets...
Importing namespace Cake.Common.Tools.GitReleaseManager.Close...
Importing namespace Cake.Common.Tools.GitReleaseManager.Create...
Importing namespace Cake.Common.Tools.GitReleaseManager.Discard...
Importing namespace Cake.Common.Tools.GitReleaseManager.Export...
Importing namespace Cake.Common.Tools.GitReleaseManager.Label...
Importing namespace Cake.Common.Tools.GitReleaseManager.Open...
Importing namespace Cake.Common.Tools.GitReleaseManager.Publish...
Importing namespace Cake.Common.Tools.GitReleaseNotes...
Importing namespace Cake.Common.Tools.GitVersion...
Importing namespace Cake.Common.Tools.ILMerge...
Importing namespace Cake.Common.Tools.ILRepack...
Importing namespace Cake.Common.Tools.InnoSetup...
Importing namespace Cake.Common.Tools.InspectCode...
Importing namespace Cake.Common.Tools.MSBuild...
Importing namespace Cake.Common.Tools.MSpec...
Importing namespace Cake.Common.Tools.MSTest...
Importing namespace Cake.Common.Tools.NSIS...
Importing namespace Cake.Common.Tools.NuGet...
Importing namespace Cake.Common.Tools.NuGet.Add...
Importing namespace Cake.Common.Tools.NuGet.Delete...
Importing namespace Cake.Common.Tools.NuGet.Init...
Importing namespace Cake.Common.Tools.NuGet.Install...
Importing namespace Cake.Common.Tools.NuGet.List...
Importing namespace Cake.Common.Tools.NuGet.Pack...
Importing namespace Cake.Common.Tools.NuGet.Push...
Importing namespace Cake.Common.Tools.NuGet.Restore...
Importing namespace Cake.Common.Tools.NuGet.SetApiKey...
Importing namespace Cake.Common.Tools.NuGet.SetProxy...
Importing namespace Cake.Common.Tools.NuGet.Sources...
Importing namespace Cake.Common.Tools.NuGet.Update...
Importing namespace Cake.Common.Tools.NUnit...
Importing namespace Cake.Common.Tools.OctopusDeploy...
Importing namespace Cake.Common.Tools.OpenCover...
Importing namespace Cake.Common.Tools.ReportGenerator...
Importing namespace Cake.Common.Tools.ReportUnit...
Importing namespace Cake.Common.Tools.Roundhouse...
Importing namespace Cake.Common.Tools.SignTool...
Importing namespace Cake.Common.Tools.SpecFlow...
Importing namespace Cake.Common.Tools.SpecFlow.StepDefinitionReport...
Importing namespace Cake.Common.Tools.SpecFlow.TestExecutionReport...
Importing namespace Cake.Common.Tools.TextTransform...
Importing namespace Cake.Common.Tools.VSTest...
Importing namespace Cake.Common.Tools.VSWhere...
Importing namespace Cake.Common.Tools.VSWhere.All...
Importing namespace Cake.Common.Tools.VSWhere.Latest...
Importing namespace Cake.Common.Tools.VSWhere.Legacy...
Importing namespace Cake.Common.Tools.VSWhere.Product...
Importing namespace Cake.Common.Tools.WiX...
Importing namespace Cake.Common.Tools.WiX.Heat...
Importing namespace Cake.Common.Tools.XBuild...
Importing namespace Cake.Common.Tools.XUnit...
Importing namespace Cake.Common.Xml...
Importing namespace Cake.Core...
Importing namespace Cake.Core.Diagnostics...
Importing namespace Cake.Core.IO...
Importing namespace Cake.Core.Scripting...
Importing namespace Cake.FileHelpers...
Importing namespace System...
Importing namespace System.Collections.Generic...
Importing namespace System.IO...
Importing namespace System.Linq...
Importing namespace System.Text...
Importing namespace System.Threading.Tasks...
Compiling build script...

========================================
Clean
========================================
Executing task: Clean
Cleaning directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts
Finished executing task: Clean

========================================
Restore-NuGet-Packages
========================================
Executing task: Restore-NuGet-Packages
Could not resolve path for tool "dotnet" using these directories: C:/Windows/system32,C:/Windows,C:/Windows/System32/Wbem,C:/Windows/System32/WindowsPowerShell/v1.0,C:/Windows/System32/OpenSSH,C:/Program Files/dotnet,C:/Program Files/Microsoft SQL Server/130/Tools/Binn,C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn,C:/Program Files (x86)/Microsoft SQL Server/150/DTS/Binn,C:/Program Files/nodejs,C:/ProgramData/chocolatey/bin,C:/Program Files/Docker/Docker/resources/bin,C:/ProgramData/DockerDesktop/version-bin,C:/Users/thomas.sobieck/AppData/Local/Microsoft/WindowsApps,C:/Users/thomas.sobieck/AppData/Local/hyper/app-3.0.2/resources/bin,C:/Users/thomas.sobieck/AppData/Local/GitHubDesktop/bin,C:/Users/thomas.sobieck/AppData/Local/Programs/Microsoft VS Code/bin,C:/Users/thomas.sobieck/AppData/Local/Programs/Git/cmd,C:/Users/thomas.sobieck/.dotnet/tools,C:/Users/thomas.sobieck/AppData/Roaming/npm,C:/Users/thomas.sobieck/AppData/Local/Programs/Fiddler,C:/tools,C:/tools
Resolved tool to path C:/Program Files/dotnet/dotnet.exe
Executing: "C:/Program Files/dotnet/dotnet.exe" restore "C:/Users/thomas.sobieck/Documents/GitHub/school/school.sln"
  Determining projects to restore...
  Restored C:\Users\thomas.sobieck\Documents\GitHub\school\src\KnightSchool.Host\KnightSchool.Host.csproj (in 244 ms).
Finished executing task: Restore-NuGet-Packages

========================================
Build
========================================
Executing task: Build
Could not resolve path for tool "dotnet" using these directories: C:/Windows/system32,C:/Windows,C:/Windows/System32/Wbem,C:/Windows/System32/WindowsPowerShell/v1.0,C:/Windows/System32/OpenSSH,C:/Program Files/dotnet,C:/Program Files/Microsoft SQL Server/130/Tools/Binn,C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn,C:/Program Files (x86)/Microsoft SQL Server/150/DTS/Binn,C:/Program Files/nodejs,C:/ProgramData/chocolatey/bin,C:/Program Files/Docker/Docker/resources/bin,C:/ProgramData/DockerDesktop/version-bin,C:/Users/thomas.sobieck/AppData/Local/Microsoft/WindowsApps,C:/Users/thomas.sobieck/AppData/Local/hyper/app-3.0.2/resources/bin,C:/Users/thomas.sobieck/AppData/Local/GitHubDesktop/bin,C:/Users/thomas.sobieck/AppData/Local/Programs/Microsoft VS Code/bin,C:/Users/thomas.sobieck/AppData/Local/Programs/Git/cmd,C:/Users/thomas.sobieck/.dotnet/tools,C:/Users/thomas.sobieck/AppData/Roaming/npm,C:/Users/thomas.sobieck/AppData/Local/Programs/Fiddler,C:/tools,C:/tools
Resolved tool to path C:/Program Files/dotnet/dotnet.exe
Executing: "C:/Program Files/dotnet/dotnet.exe" build "C:/Users/thomas.sobieck/Documents/GitHub/school/school.sln" --configuration Release /property:Version=0.0.1 /fileLogger /fileloggerparameters:LogFile="C:/Users/thomas.sobieck/Documents/GitHub/school/msbuild.log" /warnaserror
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored C:\Users\thomas.sobieck\Documents\GitHub\school\src\KnightSchool.Host\KnightSchool.Host.csproj (in 244 ms).
  KnightSchool.Host -> C:\Users\thomas.sobieck\Documents\GitHub\school\src\KnightSchool.Host\bin\Release\netcoreapp3.1\KnightSchool.Host.dll
  KnightSchool.Host -> C:\Users\thomas.sobieck\Documents\GitHub\school\src\KnightSchool.Host\bin\Release\netcoreapp3.1\KnightSchool.Host.Views.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:03.02
Finished executing task: Build

========================================
Run-Tests
========================================
Executing task: Run-Tests
Finished executing task: Run-Tests

========================================
Package
========================================
Executing task: Package
Could not resolve path for tool "dotnet" using these directories: C:/Windows/system32,C:/Windows,C:/Windows/System32/Wbem,C:/Windows/System32/WindowsPowerShell/v1.0,C:/Windows/System32/OpenSSH,C:/Program Files/dotnet,C:/Program Files/Microsoft SQL Server/130/Tools/Binn,C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn,C:/Program Files (x86)/Microsoft SQL Server/150/DTS/Binn,C:/Program Files/nodejs,C:/ProgramData/chocolatey/bin,C:/Program Files/Docker/Docker/resources/bin,C:/ProgramData/DockerDesktop/version-bin,C:/Users/thomas.sobieck/AppData/Local/Microsoft/WindowsApps,C:/Users/thomas.sobieck/AppData/Local/hyper/app-3.0.2/resources/bin,C:/Users/thomas.sobieck/AppData/Local/GitHubDesktop/bin,C:/Users/thomas.sobieck/AppData/Local/Programs/Microsoft VS Code/bin,C:/Users/thomas.sobieck/AppData/Local/Programs/Git/cmd,C:/Users/thomas.sobieck/.dotnet/tools,C:/Users/thomas.sobieck/AppData/Roaming/npm,C:/Users/thomas.sobieck/AppData/Local/Programs/Fiddler,C:/tools,C:/tools
Resolved tool to path C:/Program Files/dotnet/dotnet.exe
Executing: "C:/Program Files/dotnet/dotnet.exe" publish "C:/Users/thomas.sobieck/Documents/GitHub/school/src/KnightSchool.Host/KnightSchool.Host.csproj" --output "C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host" --configuration Release /property:Version=0.0.1-dev
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored C:\Users\thomas.sobieck\Documents\GitHub\school\src\KnightSchool.Host\KnightSchool.Host.csproj (in 279 ms).
  KnightSchool.Host -> C:\Users\thomas.sobieck\Documents\GitHub\school\src\KnightSchool.Host\bin\Release\netcoreapp3.1\KnightSchool.Host.dll
  KnightSchool.Host -> C:\Users\thomas.sobieck\Documents\GitHub\school\src\KnightSchool.Host\bin\Release\netcoreapp3.1\KnightSchool.Host.Views.dll
  npm WARN [email protected] No repository field.
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

  audited 783 packages in 3.813s
  found 305 low severity vulnerabilities
    run `npm audit fix` to fix them, or `npm audit` for details

  > [email protected] build C:\Users\thomas.sobieck\Documents\GitHub\school\src\KnightSchool.Host
  > parcel build assets/bundle.js --out-dir wwwroot/dist/

  √  Built in 721ms.

  wwwroot\dist\bundle.css.map                   233.55 KB     26ms
  wwwroot\dist\platform-icons.22cf3a25.svg      221.37 KB     37ms
  wwwroot\dist\bundle.css                       166.72 KB    245ms
  wwwroot\dist\platform-icons.a42de49f.eot       43.87 KB     13ms
  wwwroot\dist\platform-icons.d05b2269.ttf       43.68 KB     37ms
  wwwroot\dist\platform-icons.46ff27c9.woff      24.52 KB     12ms
  wwwroot\dist\bundle.js.map                     21.29 KB      4ms
  wwwroot\dist\platform-icons.adb5f27a.woff2     20.45 KB     13ms
  wwwroot\dist\bundle.js                          9.67 KB    274ms
  KnightSchool.Host -> C:\Users\thomas.sobieck\Documents\GitHub\school\artifacts\Host\
Creating zip file: C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/KnightSchool.Host.zip
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/cs
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/de
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/es
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/fr
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/it
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/ja
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/ko
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/pl
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/pt-BR
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/ru
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/tr
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/wwwroot
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/zh-Hans
Storing directory C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/zh-Hant
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/appsettings.Development.json
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/appsettings.json
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/githash.txt
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/KnightSchool.Host.deps.json
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/KnightSchool.Host.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/KnightSchool.Host.exe
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/KnightSchool.Host.pdb
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/KnightSchool.Host.runtimeconfig.json
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/KnightSchool.Host.Views.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/KnightSchool.Host.Views.pdb
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/Microsoft.AspNetCore.Mvc.Razor.Extensions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/Microsoft.AspNetCore.Razor.Language.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/Microsoft.CodeAnalysis.CSharp.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/Microsoft.CodeAnalysis.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/Microsoft.CodeAnalysis.Razor.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/Microsoft.Extensions.DependencyModel.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/package-lock.json
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/package.json
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/System.Text.Json.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/web.config
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/cs/Microsoft.CodeAnalysis.CSharp.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/cs/Microsoft.CodeAnalysis.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/de/Microsoft.CodeAnalysis.CSharp.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/de/Microsoft.CodeAnalysis.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/es/Microsoft.CodeAnalysis.CSharp.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/es/Microsoft.CodeAnalysis.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/fr/Microsoft.CodeAnalysis.CSharp.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/fr/Microsoft.CodeAnalysis.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/it/Microsoft.CodeAnalysis.CSharp.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/it/Microsoft.CodeAnalysis.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/ja/Microsoft.CodeAnalysis.CSharp.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/ja/Microsoft.CodeAnalysis.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/ko/Microsoft.CodeAnalysis.CSharp.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/ko/Microsoft.CodeAnalysis.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/pl/Microsoft.CodeAnalysis.CSharp.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/pl/Microsoft.CodeAnalysis.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/pt-BR/Microsoft.CodeAnalysis.resources.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Antiforgery.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Authentication.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Authentication.Cookies.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Authentication.Core.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Authentication.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Authentication.OAuth.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Authorization.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Authorization.Policy.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Components.Authorization.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Components.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Components.Forms.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Components.Server.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Components.Web.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Connections.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.CookiePolicy.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Cors.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Cryptography.Internal.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Cryptography.KeyDerivation.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.DataProtection.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.DataProtection.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.DataProtection.Extensions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Diagnostics.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Diagnostics.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Diagnostics.HealthChecks.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.HostFiltering.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Hosting.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Hosting.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Hosting.Server.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Html.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Http.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Http.Connections.Common.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Http.Connections.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Http.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Http.Extensions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Http.Features.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.HttpOverrides.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.HttpsPolicy.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Identity.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Localization.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Localization.Routing.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Metadata.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.ApiExplorer.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.Core.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.Cors.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.DataAnnotations.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.Formatters.Json.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.Formatters.Xml.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.Localization.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.Razor.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.RazorPages.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.TagHelpers.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Mvc.ViewFeatures.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Razor.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Razor.Runtime.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.ResponseCaching.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.ResponseCaching.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.ResponseCompression.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Rewrite.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Routing.Abstractions.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Routing.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Server.HttpSys.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Server.IIS.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Server.IISIntegration.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Server.Kestrel.Core.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Server.Kestrel.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.Session.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.SignalR.Common.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.SignalR.Core.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.SignalR.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.SignalR.Protocols.Json.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.StaticFiles.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.WebSockets.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.AspNetCore.WebUtilities.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.CSharp.dll
Compressing file C:/Users/thomas.sobieck/Documents/GitHub/school/artifacts/Host/refs/Microsoft.Extensions.Caching.Abstractions.dll
An error occurred when executing task 'Package'.
Error: System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: The DateTimeOffset specified cannot be converted into a Zip file timestamp.
Parameter name: value
   at System.IO.Compression.ZipArchiveEntry.set_LastWriteTime(DateTimeOffset value)
   at Cake.Common.IO.Zipper.Zip(DirectoryPath rootPath, FilePath outputPath, IEnumerable`1 paths)
   at Submission#0.Zip(DirectoryPath rootPath, FilePath outputPath) in :line 2423
   at Submission#0.<<Initialize>>b__0_4() in C:\Users\thomas.sobieck\Documents\GitHub\school\build.cake:line 110
   at Cake.Core.CakeTaskBuilderExtensions.<>c__DisplayClass32_0.<Does>b__0(ICakeContext x)
   at Cake.Core.CakeTask.<Execute>d__43.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Core.DefaultExecutionStrategy.<ExecuteAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Core.CakeEngine.<ExecuteTaskAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Cake.Core.CakeEngine.<ExecuteTaskAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Cake.Core.CakeEngine.<ExecuteTaskAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Core.CakeEngine.<RunTask>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Cake.Core.CakeEngine.<RunTargetAsync>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Scripting.BuildScriptHost.<RunTargetAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Core.Scripting.ScriptHost.RunTarget(String target)
   at Submission#0.<<Initialize>>d__0.MoveNext() in C:\Users\thomas.sobieck\Documents\GitHub\school\build.cake:line 135
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.<RunSubmissionsAsync>d__9`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.CodeAnalysis.Scripting.Script`1.<RunSubmissionsAsync>d__21.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Cake.Scripting.Roslyn.RoslynScriptSession.Execute(Script script)
   at Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath, IDictionary`2 arguments)
   at Cake.Commands.BuildCommand.Execute(CakeOptions options)
   at Cake.CakeApplication.Run(CakeOptions options)
   at Cake.Program.Main()
---> (Inner Exception #0) System.ArgumentOutOfRangeException: The DateTimeOffset specified cannot be converted into a Zip file timestamp.
Parameter name: value
   at System.IO.Compression.ZipArchiveEntry.set_LastWriteTime(DateTimeOffset value)
   at Cake.Common.IO.Zipper.Zip(DirectoryPath rootPath, FilePath outputPath, IEnumerable`1 paths)
   at Submission#0.Zip(DirectoryPath rootPath, FilePath outputPath) in :line 2423
   at Submission#0.<<Initialize>>b__0_4() in C:\Users\thomas.sobieck\Documents\GitHub\school\build.cake:line 110
   at Cake.Core.CakeTaskBuilderExtensions.<>c__DisplayClass32_0.<Does>b__0(ICakeContext x)
   at Cake.Core.CakeTask.<Execute>d__43.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Core.DefaultExecutionStrategy.<ExecuteAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Core.CakeEngine.<ExecuteTaskAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Cake.Core.CakeEngine.<ExecuteTaskAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Cake.Core.CakeEngine.<ExecuteTaskAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Core.CakeEngine.<RunTask>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Cake.Core.CakeEngine.<RunTargetAsync>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Scripting.BuildScriptHost.<RunTargetAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Cake.Core.Scripting.ScriptHost.RunTarget(String target)
   at Submission#0.<<Initialize>>d__0.MoveNext() in C:\Users\thomas.sobieck\Documents\GitHub\school\build.cake:line 135
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.<RunSubmissionsAsync>d__9`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.CodeAnalysis.Scripting.Script`1.<RunSubmissionsAsync>d__21.MoveNext()<---

I believe these are the files causing the problems.

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       12/31/1979  11:00 PM          20344 Microsoft.Extensions.Caching.Abstractions.dll
-a----       12/31/1979  11:00 PM          17272 Microsoft.Extensions.Caching.Memory.dll
-a----       12/31/1979  11:00 PM          16248 Microsoft.Extensions.Configuration.Abstractions.dll
-a----       12/31/1979  11:00 PM          15224 Microsoft.Extensions.Configuration.Binder.dll
-a----       12/31/1979  11:00 PM          15736 Microsoft.Extensions.Configuration.CommandLine.dll
-a----       12/31/1979  11:00 PM          18808 Microsoft.Extensions.Configuration.dll
-a----       12/31/1979  11:00 PM          15224 Microsoft.Extensions.Configuration.EnvironmentVariables.dll
-a----       12/31/1979  11:00 PM          16760 Microsoft.Extensions.Configuration.FileExtensions.dll
-a----       12/31/1979  11:00 PM          15736 Microsoft.Extensions.Configuration.Ini.dll
-a----       12/31/1979  11:00 PM          15736 Microsoft.Extensions.Configuration.Json.dll
-a----       12/31/1979  11:00 PM          15736 Microsoft.Extensions.Configuration.KeyPerFile.dll
-a----       12/31/1979  11:00 PM          15224 Microsoft.Extensions.Configuration.UserSecrets.dll
-a----       12/31/1979  11:00 PM          16248 Microsoft.Extensions.Configuration.Xml.dll
-a----       12/31/1979  11:00 PM          20344 Microsoft.Extensions.DependencyInjection.Abstractions.dll
-a----       12/31/1979  11:00 PM          16760 Microsoft.Extensions.DependencyInjection.dll
-a----       12/31/1979  11:00 PM          17272 Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.dll
-a----       12/31/1979  11:00 PM          17784 Microsoft.Extensions.Diagnostics.HealthChecks.dll
-a----       12/31/1979  11:00 PM          16248 Microsoft.Extensions.FileProviders.Abstractions.dll
-a----       12/31/1979  11:00 PM          15224 Microsoft.Extensions.FileProviders.Composite.dll
-a----       12/31/1979  11:00 PM          15736 Microsoft.Extensions.FileProviders.Embedded.dll
-a----       12/31/1979  11:00 PM          17784 Microsoft.Extensions.FileProviders.Physical.dll
-a----       12/31/1979  11:00 PM          20856 Microsoft.Extensions.FileSystemGlobbing.dll
-a----       12/31/1979  11:00 PM          19832 Microsoft.Extensions.Hosting.Abstractions.dll
-a----       12/31/1979  11:00 PM          18808 Microsoft.Extensions.Hosting.dll
-a----       12/31/1979  11:00 PM          18808 Microsoft.Extensions.Http.dll
-a----       12/31/1979  11:00 PM          16248 Microsoft.Extensions.Localization.Abstractions.dll
-a----       12/31/1979  11:00 PM          18296 Microsoft.Extensions.Localization.dll
-a----       12/31/1979  11:00 PM          19832 Microsoft.Extensions.Logging.Abstractions.dll
-a----       12/31/1979  11:00 PM          15736 Microsoft.Extensions.Logging.Configuration.dll
-a----       12/31/1979  11:00 PM          15736 Microsoft.Extensions.Logging.Console.dll
-a----       12/31/1979  11:00 PM          14712 Microsoft.Extensions.Logging.Debug.dll
-a----       12/31/1979  11:00 PM          17784 Microsoft.Extensions.Logging.dll
-a----       12/31/1979  11:00 PM          15736 Microsoft.Extensions.Logging.EventLog.dll
-a----       12/31/1979  11:00 PM          15224 Microsoft.Extensions.Logging.EventSource.dll
-a----       12/31/1979  11:00 PM          15224 Microsoft.Extensions.Logging.TraceSource.dll
-a----       12/31/1979  11:00 PM          16248 Microsoft.Extensions.ObjectPool.dll
-a----       12/31/1979  11:00 PM          16248 Microsoft.Extensions.Options.ConfigurationExtensions.dll
-a----       12/31/1979  11:00 PM          14712 Microsoft.Extensions.Options.DataAnnotations.dll
-a----       12/31/1979  11:00 PM          27512 Microsoft.Extensions.Options.dll
-a----       12/31/1979  11:00 PM          22392 Microsoft.Extensions.Primitives.dll
-a----       12/31/1979  11:00 PM          16760 Microsoft.Extensions.WebEncoders.dll
-a----       12/31/1979  11:00 PM          17784 Microsoft.JSInterop.dll

Sobieck avatar Jul 20 '20 17:07 Sobieck

I had the exact same problem and updated to the most recent 3.1.407 SDK and the issue seems to be gone.

robertmuehsig avatar Mar 12 '21 09:03 robertmuehsig

@robertmuehsig @Sobieck Would either of you be able to provide a reproducible example of a build.cake script that produces the error above?

augustoproiete avatar Mar 12 '21 16:03 augustoproiete

I vaguely remember hitting this a while ago. Update the SDK? See https://github.com/NuGet/Home/issues/7001#issuecomment-640350856 and https://github.com/dotnet/extensions/issues/2750.

gitfool avatar Mar 12 '21 20:03 gitfool

@augustoproiete It has nothing to do with the actual build script. Somehow the above files had a "invalid" "LastWriteTime" timestamp. Not even Windows was capable of zipping those files. At first I tried to "modify" those timestamps like this:

Get-ChildItem  C:\foo.dll | % {$_.LastWriteTime = '03/11/2021 18:30:00'}

Which "worked", but seemed "wrong". After the SDK update everything was fine. Maybe a bug inside the SDK.

robertmuehsig avatar Mar 15 '21 10:03 robertmuehsig

I'm starting to think it's some edge case like a TimeZone difference or something, we do have Min/Max dates.

https://github.com/cake-build/cake/blob/a1893a2bba26f49e089d66beeb78421cedf6126d/src/Cake.Common/IO/Zipper.cs#L24-L26

A workaround could be if we could repro we could tweak Min to a day later, sorting if these happened to be just on the border of valid from/to.

Reading zip spec

The format does not support dates prior to 1980-01-01 0:00 UTC. Avoid file dates 1980-01-01 or earlier (local or UTC time).

So maybe just change to the 2nd of January and that addresses potential UTC +/- issues, and validate day too

https://github.com/cake-build/cake/blob/a1893a2bba26f49e089d66beeb78421cedf6126d/src/Cake.Common/IO/Zipper.cs#L238

The issue with the SDK was that they shipped some packages with the SDK where some assemblies had below ZIP possible min value date, which indeed seems as an SDK bug as it should be when assemblies compiled.

devlead avatar Mar 15 '21 12:03 devlead