kekyo / IL2C

IL2C - A translator for ECMA-335 CIL/MSIL to C language.
Apache License 2.0
403 stars 36 forks source link

Failed building target for netstandard1.0 and netcoreapp1.0 on the CI process. #65

Closed kekyo closed 2 years ago

kekyo commented 5 years ago

AppVeyor log: https://ci.appveyor.com/project/kekyo/il2c/builds/22604919

Build started
Fetching repository commit (12775ee)...OK
Total: 3.4 MB in 635 files
nuget restore il2c.sln
MSBuild auto-detection: using msbuild version '15.9.21.664' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin'.
Restoring packages for C:\projects\il2c\IL2C.Interop\IL2C.Interop.csproj...
Restoring packages for C:\projects\il2c\IL2C.Core\IL2C.Core.csproj...
  GET https://api.nuget.org/v3-flatcontainer/mono.cecil/index.json
  GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/index.json
  OK https://api.nuget.org/v3-flatcontainer/mono.cecil/index.json 39ms
  OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/index.json 53ms
  GET https://api.nuget.org/v3-flatcontainer/mono.cecil/0.10.1/mono.cecil.0.10.1.nupkg
  GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/2.0.0/microsoft.netcore.app.2.0.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/mono.cecil/0.10.1/mono.cecil.0.10.1.nupkg 28ms
  OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/2.0.0/microsoft.netcore.app.2.0.0.nupkg 30ms
  GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethostpolicy/index.json
  GET https://api.nuget.org/v3-flatcontainer/netstandard.library/index.json
  OK https://api.nuget.org/v3-flatcontainer/netstandard.library/index.json 23ms
  GET https://api.nuget.org/v3-flatcontainer/netstandard.library/2.0.0/netstandard.library.2.0.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethostpolicy/index.json 28ms
  GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethostpolicy/2.0.0/microsoft.netcore.dotnethostpolicy.2.0.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/netstandard.library/2.0.0/netstandard.library.2.0.0.nupkg 9ms
  OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethostpolicy/2.0.0/microsoft.netcore.dotnethostpolicy.2.0.0.nupkg 24ms
  GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethostresolver/index.json
  OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethostresolver/index.json 26ms
  GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethostresolver/2.0.0/microsoft.netcore.dotnethostresolver.2.0.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnethostresolver/2.0.0/microsoft.netcore.dotnethostresolver.2.0.0.nupkg 25ms
  GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnetapphost/index.json
Installing NETStandard.Library 2.0.3.
Installing Microsoft.NETCore.DotNetAppHost 2.0.0.
  OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnetapphost/index.json 32ms
  GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnetapphost/2.0.0/microsoft.netcore.dotnetapphost.2.0.0.nupkg
Installing Microsoft.NETCore.DotNetHostResolver 2.0.0.
Installing NETStandard.Library 2.0.0.
Installing Microsoft.NETCore.Platforms 2.0.0.
Installing Microsoft.NETCore.DotNetHostPolicy 2.0.0.
Installing Microsoft.NETCore.App 2.0.0.
  OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.dotnetapphost/2.0.0/microsoft.netcore.dotnetapphost.2.0.0.nupkg 29ms
Installing Mono.Cecil 0.10.1.
NU3005: Package 'Microsoft.NETCore.Platforms 2.0.0' from source 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder': The package signature file entry is invalid. The central directory header field 'compression method' has an invalid value (8).
Committing restore...
Generating MSBuild file C:\projects\il2c\IL2C.Core\obj\IL2C.Core.csproj.nuget.g.props.
Generating MSBuild file C:\projects\il2c\IL2C.Core\obj\IL2C.Core.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\projects\il2c\IL2C.Core\obj\project.assets.json
Restore completed in 2.44 sec for C:\projects\il2c\IL2C.Core\IL2C.Core.csproj.
Restoring packages for C:\projects\il2c\IL2C.Tasks\IL2C.Tasks.csproj...
  GET https://api.nuget.org/v3-flatcontainer/microsoft.build.framework/index.json
  GET https://api.nuget.org/v3-flatcontainer/microsoft.build.utilities.core/index.json
  OK https://api.nuget.org/v3-flatcontainer/microsoft.build.utilities.core/index.json 43ms
  GET https://api.nuget.org/v3-flatcontainer/microsoft.build.utilities.core/15.6.82/microsoft.build.utilities.core.15.6.82.nupkg
  OK https://api.nuget.org/v3-flatcontainer/microsoft.build.utilities.core/15.6.82/microsoft.build.utilities.core.15.6.82.nupkg 27ms
  OK https://api.nuget.org/v3-flatcontainer/microsoft.build.framework/index.json 102ms
  GET https://api.nuget.org/v3-flatcontainer/microsoft.build.framework/15.6.82/microsoft.build.framework.15.6.82.nupkg
  GET https://api.nuget.org/v3-flatcontainer/system.diagnostics.tracesource/index.json
  OK https://api.nuget.org/v3-flatcontainer/microsoft.build.framework/15.6.82/microsoft.build.framework.15.6.82.nupkg 25ms
  OK https://api.nuget.org/v3-flatcontainer/system.diagnostics.tracesource/index.json 22ms
  GET https://api.nuget.org/v3-flatcontainer/system.diagnostics.tracesource/4.0.0/system.diagnostics.tracesource.4.0.0.nupkg
  GET https://api.nuget.org/v3-flatcontainer/system.runtime.serialization.xml/index.json
  OK https://api.nuget.org/v3-flatcontainer/system.diagnostics.tracesource/4.0.0/system.diagnostics.tracesource.4.0.0.nupkg 9ms
  OK https://api.nuget.org/v3-flatcontainer/system.runtime.serialization.xml/index.json 32ms
  GET https://api.nuget.org/v3-flatcontainer/system.runtime.serialization.xml/4.1.1/system.runtime.serialization.xml.4.1.1.nupkg
  OK https://api.nuget.org/v3-flatcontainer/system.runtime.serialization.xml/4.1.1/system.runtime.serialization.xml.4.1.1.nupkg 11ms
Installing System.Runtime.Serialization.Xml 4.1.1.
Installing System.Diagnostics.TraceSource 4.0.0.
Installing Microsoft.Build.Utilities.Core 15.6.82.
Installing Microsoft.Build.Framework 15.6.82.
Committing restore...
Generating MSBuild file C:\projects\il2c\IL2C.Tasks\obj\IL2C.Tasks.csproj.nuget.g.props.
Generating MSBuild file C:\projects\il2c\IL2C.Tasks\obj\IL2C.Tasks.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\projects\il2c\IL2C.Tasks\obj\project.assets.json
Restore completed in 665.72 ms for C:\projects\il2c\IL2C.Tasks\IL2C.Tasks.csproj.
Restoring packages for C:\projects\il2c\IL2C\IL2C.csproj...
  GET https://api.nuget.org/v3-flatcontainer/mono.options/index.json
Committing restore...
Generating MSBuild file C:\projects\il2c\IL2C.Interop\obj\IL2C.Interop.csproj.nuget.g.props.
Generating MSBuild file C:\projects\il2c\IL2C.Interop\obj\IL2C.Interop.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\projects\il2c\IL2C.Interop\obj\project.assets.json
Restore failed in 3.23 sec for C:\projects\il2c\IL2C.Interop\IL2C.Interop.csproj.
Restoring packages for C:\projects\il2c\tests\IL2C.Core.Test.Fixture\IL2C.Core.Test.Fixture.csproj...
  GET https://api.nuget.org/v3-flatcontainer/microsoft.net.test.sdk/index.json
  GET https://api.nuget.org/v3-flatcontainer/nunit/index.json
  GET https://api.nuget.org/v3-flatcontainer/nunit3testadapter/index.json
  GET https://api.nuget.org/v3-flatcontainer/system.net.http/index.json
  OK https://api.nuget.org/v3-flatcontainer/mono.options/index.json 100ms
  GET https://api.nuget.org/v3-flatcontainer/mono.options/5.3.0.1/mono.options.5.3.0.1.nupkg
  OK https://api.nuget.org/v3-flatcontainer/microsoft.net.test.sdk/index.json 36ms
  GET https://api.nuget.org/v3-flatcontainer/microsoft.net.test.sdk/15.8.0/microsoft.net.test.sdk.15.8.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/mono.options/5.3.0.1/mono.options.5.3.0.1.nupkg 25ms
Installing Mono.Options 5.3.0.1.
  OK https://api.nuget.org/v3-flatcontainer/nunit/index.json 53ms
  GET https://api.nuget.org/v3-flatcontainer/nunit/3.11.0/nunit.3.11.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/microsoft.net.test.sdk/15.8.0/microsoft.net.test.sdk.15.8.0.nupkg 24ms
  GET https://api.nuget.org/v3-flatcontainer/microsoft.codecoverage/index.json
  OK https://api.nuget.org/v3-flatcontainer/nunit/3.11.0/nunit.3.11.0.nupkg 23ms
  OK https://api.nuget.org/v3-flatcontainer/system.net.http/index.json 63ms
  OK https://api.nuget.org/v3-flatcontainer/microsoft.codecoverage/index.json 23ms
  GET https://api.nuget.org/v3-flatcontainer/system.net.http/4.3.4/system.net.http.4.3.4.nupkg
  GET https://api.nuget.org/v3-flatcontainer/microsoft.codecoverage/15.8.0/microsoft.codecoverage.15.8.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/system.net.http/4.3.4/system.net.http.4.3.4.nupkg 13ms
  GET https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.app/index.json
  GET https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnethostpolicy/index.json
  GET https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnethostresolver/index.json
  GET https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnetapphost/index.json
  OK https://api.nuget.org/v3-flatcontainer/microsoft.codecoverage/15.8.0/microsoft.codecoverage.15.8.0.nupkg 25ms
  GET https://api.nuget.org/v3-flatcontainer/runtime.win7.system.private.uri/index.json
  OK https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnethostpolicy/index.json 27ms
  GET https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnethostpolicy/2.0.0/runtime.win-x86.microsoft.netcore.dotnethostpolicy.2.0.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/nunit3testadapter/index.json 153ms
  GET https://api.nuget.org/v3-flatcontainer/nunit3testadapter/3.10.0/nunit3testadapter.3.10.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.app/index.json 33ms
  GET https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.app/2.0.0/runtime.win-x86.microsoft.netcore.app.2.0.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnethostpolicy/2.0.0/runtime.win-x86.microsoft.netcore.dotnethostpolicy.2.0.0.nupkg 23ms
  OK https://api.nuget.org/v3-flatcontainer/runtime.win7.system.private.uri/index.json 40ms
  GET https://api.nuget.org/v3-flatcontainer/runtime.win7.system.private.uri/4.0.1/runtime.win7.system.private.uri.4.0.1.nupkg
  OK https://api.nuget.org/v3-flatcontainer/nunit3testadapter/3.10.0/nunit3testadapter.3.10.0.nupkg 25ms
  OK https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnetapphost/index.json 62ms
  OK https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.app/2.0.0/runtime.win-x86.microsoft.netcore.app.2.0.0.nupkg 27ms
  OK https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnethostresolver/index.json 76ms
  GET https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnetapphost/2.0.0/runtime.win-x86.microsoft.netcore.dotnetapphost.2.0.0.nupkg
  GET https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnethostresolver/2.0.0/runtime.win-x86.microsoft.netcore.dotnethostresolver.2.0.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/runtime.win7.system.private.uri/4.0.1/runtime.win7.system.private.uri.4.0.1.nupkg 27ms
Installing Microsoft.CodeCoverage 15.8.0.
Installing NUnit3TestAdapter 3.10.0.
Installing Microsoft.NET.Test.Sdk 15.8.0.
Installing System.Net.Http 4.3.4.
Installing NUnit 3.11.0.
  OK https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnetapphost/2.0.0/runtime.win-x86.microsoft.netcore.dotnetapphost.2.0.0.nupkg 26ms
  OK https://api.nuget.org/v3-flatcontainer/runtime.win-x86.microsoft.netcore.dotnethostresolver/2.0.0/runtime.win-x86.microsoft.netcore.dotnethostresolver.2.0.0.nupkg 26ms
Committing restore...
Generating MSBuild file C:\projects\il2c\tests\IL2C.Core.Test.Fixture\obj\IL2C.Core.Test.Fixture.csproj.nuget.g.props.
Generating MSBuild file C:\projects\il2c\tests\IL2C.Core.Test.Fixture\obj\IL2C.Core.Test.Fixture.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\projects\il2c\tests\IL2C.Core.Test.Fixture\obj\project.assets.json
Restore completed in 808.91 ms for C:\projects\il2c\tests\IL2C.Core.Test.Fixture\IL2C.Core.Test.Fixture.csproj.
Restoring packages for C:\projects\il2c\tests\IL2C.Core.Test.Target\IL2C.Core.Test.Target.csproj...
Committing restore...
Generating MSBuild file C:\projects\il2c\tests\IL2C.Core.Test.Target\obj\IL2C.Core.Test.Target.csproj.nuget.g.props.
Generating MSBuild file C:\projects\il2c\tests\IL2C.Core.Test.Target\obj\IL2C.Core.Test.Target.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\projects\il2c\tests\IL2C.Core.Test.Target\obj\project.assets.json
Restore completed in 1.56 ms for C:\projects\il2c\tests\IL2C.Core.Test.Target\IL2C.Core.Test.Target.csproj.
Installing runtime.any.System.Diagnostics.Tracing 4.1.0.
Installing runtime.win-x86.Microsoft.NETCore.DotNetAppHost 2.0.0.
Installing runtime.win.System.Diagnostics.Debug 4.0.11.
Installing runtime.any.System.Globalization 4.0.11.
Installing runtime.win7.System.Private.Uri 4.0.1.
Installing runtime.any.System.Text.Encoding.Extensions 4.0.11.
Installing runtime.win-x86.Microsoft.NETCore.DotNetHostResolver 2.0.0.
Installing runtime.any.System.Runtime.InteropServices 4.1.0.
Installing runtime.any.System.Resources.ResourceManager 4.0.1.
Installing System.Private.Uri 4.0.1.
Installing runtime.any.System.Reflection.Primitives 4.0.1.
Installing runtime.any.System.Threading.Tasks 4.0.11.
Installing runtime.any.System.Text.Encoding 4.0.11.
Installing runtime.any.System.Runtime.Handles 4.0.1.
Installing runtime.any.System.IO 4.1.0.
Installing runtime.win-x86.Microsoft.NETCore.App 2.0.0.
Installing runtime.any.System.Collections 4.0.11.
Installing runtime.any.System.Runtime 4.1.0.
Installing runtime.win-x86.Microsoft.NETCore.DotNetHostPolicy 2.0.0.
Installing runtime.win.System.IO.FileSystem 4.0.1.
Installing runtime.any.System.Reflection 4.1.0.
Installing runtime.win.System.Runtime.Extensions 4.1.0.
Committing restore...
Generating MSBuild file C:\projects\il2c\IL2C\obj\IL2C.csproj.nuget.g.props.
Generating MSBuild file C:\projects\il2c\IL2C\obj\IL2C.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\projects\il2c\IL2C\obj\project.assets.json
Restore completed in 3.2 sec for C:\projects\il2c\IL2C\IL2C.csproj.
Errors in C:\projects\il2c\IL2C.Interop\IL2C.Interop.csproj
    NU3005: Package 'Microsoft.NETCore.Platforms 2.0.0' from source 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder': The package signature file entry is invalid. The central directory header field 'compression method' has an invalid value (8).
NuGet Config files used:
    C:\Users\appveyor\AppData\Roaming\NuGet\NuGet.Config
    C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
    C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
    https://api.nuget.org/v3/index.json
    C:\Program Files\dotnet\sdk\NuGetFallbackFolder
Installed:
    6 package(s) to C:\projects\il2c\IL2C.Core\IL2C.Core.csproj
    10 package(s) to C:\projects\il2c\IL2C.Tasks\IL2C.Tasks.csproj
    7 package(s) to C:\projects\il2c\IL2C.Interop\IL2C.Interop.csproj
    6 package(s) to C:\projects\il2c\tests\IL2C.Core.Test.Fixture\IL2C.Core.Test.Fixture.csproj
    29 package(s) to C:\projects\il2c\IL2C\IL2C.csproj
Command exited with code 1
kekyo commented 5 years ago

Maybe cause broken the signature on AppVeyor environment... https://github.com/NuGet/Home/issues/7414

I omitted target platform netstandard1.0 and netcoreapp1.0 temporary. 9554dec776fab463d2fd8423bad7141b35371a7f

kekyo commented 5 years ago

Partially resurrected only netstandard1.0 configuration in IL2C.Interop project: 232708481ce77b530675cada39349b38677845fb

kekyo commented 2 years ago

By #79