dotnet / core

.NET news, announcements, release notes, and more!
https://dot.net
MIT License
20.91k stars 4.89k forks source link

Package Downgrade error with mysql 8.0.21 nuget package while publishing for linux-x64 #5278

Open roshanbudhathoki opened 4 years ago

roshanbudhathoki commented 4 years ago

Package Downgrade error with mysql 8.0.21 nuget package while publishing for linux-x64

With .netcore 3.1 runtime when I try to publish application for linux-x64 runtime it shows package downgrade error.

Severity    Code    Description Project File    Line    Suppression State
Error       Detected package downgrade: System.Net.Primitives from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.Primitives (>= 4.3.0) 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> System.Net.Primitives (>= 4.0.11) Crystal.Pos.Cafe    D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0
Severity    Code    Description Project File    Line    Suppression State
Error       Detected package downgrade: System.Net.NameResolution from 4.3.0 to 4.0.0. Reference the package directly from the project to select a different version. 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.NameResolution (>= 4.3.0) 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.NameResolution (>= 4.0.0)  Crystal.Pos.Cafe    D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0   
Severity    Code    Description Project File    Line    Suppression State
Error       Detected package downgrade: System.Threading.ThreadPool from 4.3.0 to 4.0.10. Reference the package directly from the project to select a different version. 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Threading.ThreadPool (>= 4.3.0) 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Threading.ThreadPool (>= 4.0.10)   Crystal.Pos.Cafe    D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0   
Severity    Code    Description Project File    Line    Suppression State
Error       Detected package downgrade: System.Net.Primitives from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.Primitives (>= 4.3.0) 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> System.Net.Primitives (>= 4.0.11) Crystal.Pos.Cafe    D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0
Severity    Code    Description Project File    Line    Suppression State
Error       Detected package downgrade: System.Net.NameResolution from 4.3.0 to 4.0.0. Reference the package directly from the project to select a different version. 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.NameResolution (>= 4.3.0) 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.NameResolution (>= 4.0.0)  Crystal.Pos.Cafe    D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0
Severity    Code    Description Project File    Line    Suppression State
Error       Detected package downgrade: System.Threading.ThreadPool from 4.3.0 to 4.0.10. Reference the package directly from the project to select a different version. 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Threading.ThreadPool (>= 4.3.0) 
 Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Threading.ThreadPool (>= 4.0.10)   Crystal.Pos.Cafe    D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0   
carlossanlop commented 3 years ago

@rrelyea is this something you could help with?

favill42 commented 3 years ago

I’m also experiencing this issue when using the latest version of the driver in a C# AWS Lambda Application.

TylerNielsen commented 3 years ago

I got this same error with 8.0.22. I downgraded MySql.Data to 8.0.15 (previous version) and it resolved the issue.

carlossanlop commented 3 years ago

Ping @rrelyea @nkolev92

@roshanbudhathoki @TylerNielsen @favill42 Can you please share the contents of your csproj? Can you print the output of dotnet --info?

rrelyea commented 3 years ago

When i try to repro with:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="MySql.Data" Version="8.0.21" />
  </ItemGroup>

</Project>

and a global.json of:

{
  "sdk": {
    "version": "3.1.403"
  }
}

and run: dotnet publish -r linux-x86

i see no errors or warnings.

What is wrong with my repro steps?

mubeda commented 3 years ago

Same problem here while trying to publish under .net 5.

dotnet publish -r linux-x64 --self-contained true /p:PublishSingleFile=false error NU1605: xxxx-> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Threading.ThreadPool (>= 4.3.0)

karljohan12 commented 3 years ago

@mubeda try downgrading to 8.0.21 in csproj

NGE2015 commented 3 years ago

I'm also having the same issue with the version 8.0.22 Downgrading to version : 8.0.15 did the job

nkolev92 commented 3 years ago

Issues getting a repro aside, i think this is likely equivalent to https://github.com/NuGet/Home/issues/3541.

vickyRathee commented 3 years ago

I am also having the same issue on .net core 5.0 on AWS codebuild image just released https://github.com/aws/aws-codebuild-docker-images/releases/tag/21.01.08

[Container] 2021/01/09 07:08:16 Running command echo Publish started on `date`
Publish started on Sat Jan 9 07:08:16 UTC 2021

[Container] 2021/01/09 07:08:16 Running command dotnet publish -c Release -r linux-x64 -o ./publish_output test-api/test-api.csproj
Microsoft (R) Build Engine version 16.8.0+126527ff1 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Diagnostics.Debug (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Diagnostics.Debug (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Globalization from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Globalization (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Globalization (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.IO.FileSystem from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.IO.FileSystem (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.IO.FileSystem (>= 4.0.1)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Net.Primitives from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.Primitives (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> System.Net.Primitives (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Runtime.Extensions (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Runtime.Extensions (>= 4.1.0)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Threading (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Threading (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.IO.FileSystem 4.0.1 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.Diagnostics.Debug (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Diagnostics.Debug (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.IO.FileSystem.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.IO.FileSystem 4.0.1 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.IO.FileSystem.Primitives (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.IO.FileSystem.Primitives (>= 4.0.1)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.IO.FileSystem 4.0.1 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.Runtime.Extensions (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Runtime.Extensions (>= 4.1.0)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.IO.FileSystem 4.0.1 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.Threading (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Threading (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Globalization from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.NameResolution 4.0.0 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Globalization (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Globalization (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.NameResolution 4.0.0 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Runtime.Extensions (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Runtime.Extensions (>= 4.1.0)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.NameResolution 4.0.0 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Threading (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Threading (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Globalization from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Globalization (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Globalization (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Runtime.Extensions (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Runtime.Extensions (>= 4.1.0)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Threading (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Threading (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Globalization from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.IO.FileSystem 4.0.1 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.Resources.ResourceManager 4.3.0 -> System.Globalization (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> SSH.NET 2016.1.0 -> System.Globalization (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.IO.FileSystem 4.0.1 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.Diagnostics.Debug (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Diagnostics.Debug (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.IO.FileSystem.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.IO.FileSystem 4.0.1 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.IO.FileSystem.Primitives (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.IO.FileSystem.Primitives (>= 4.0.1)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.IO.FileSystem 4.0.1 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.Runtime.Extensions (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Runtime.Extensions (>= 4.1.0)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.IO.FileSystem 4.0.1 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.Threading (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Threading (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Globalization from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Globalization (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Globalization (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Runtime.Extensions (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Runtime.Extensions (>= 4.1.0)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Threading (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Threading (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.IO.FileSystem.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Console 4.0.0 -> runtime.unix.System.Console 4.3.0 -> System.IO.FileSystem.Primitives (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.IO.FileSystem.Primitives (>= 4.0.1)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Console 4.0.0 -> runtime.unix.System.Console 4.3.0 -> System.Runtime.Extensions (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Runtime.Extensions (>= 4.1.0)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Console 4.0.0 -> runtime.unix.System.Console 4.3.0 -> System.Threading (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Threading (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Diagnostics.Debug (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Diagnostics.Debug (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Globalization from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Globalization (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Globalization (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.IO.FileSystem from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.IO.FileSystem (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.IO.FileSystem (>= 4.0.1)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Net.Primitives from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.Primitives (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Net.Primitives (>= 4.0.11)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Runtime.Extensions (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Runtime.Extensions (>= 4.1.0)
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Threading (>= 4.3.0) 
/codebuild/output/src877024027/src/test-api/test-api.csproj : error NU1605:  testApi -> MySql.Data 8.0.22 -> BouncyCastle.NetCore 1.8.3 -> NETStandard.Library 1.6.0 -> System.Threading (>= 4.0.11)
  Failed to restore /codebuild/output/src877024027/src/test-api/test-api.csproj (in 4.59 sec).

[Container] 2021/01/09 07:08:22 Command did not exit successfully dotnet publish -c Release -r linux-x64 -o ./publish_output test-api/test-api.csproj exit status 1
[Container] 2021/01/09 07:08:22 Phase complete: POST_BUILD State: FAILED
[Container] 2021/01/09 07:08:22 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: dotnet publish -c Release -r linux-x64 -o ./publish_output test-api/test-api.csproj. Reason: exit status 1