Version Used:
Archlinux x64
dotnet --version
2.2.0-preview1-007622
md5-e4728a4c6584efedc9e70b828ae8fa87
dotnet build Compilers.sln
Microsoft (R) Build Engine version 15.5.178.35674 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 48.9 ms for /tmp/roslyn/src/CodeStyle/CSharp/Tests/CSharpCodeStyleTests.csproj.
Restore completed in 53.73 ms for /tmp/roslyn/src/CodeStyle/CSharp/CodeFixes/CSharpCodeStyleFixes.csproj.
Restore completed in 39.13 ms for /tmp/roslyn/build/Toolset/Toolset.csproj.
Restore completed in 53.97 ms for /tmp/roslyn/src/CodeStyle/CSharp/Analyzers/CSharpCodeStyle.csproj.
Restore completed in 13.35 ms for /tmp/roslyn/src/CodeStyle/Core/Analyzers/CodeStyle.csproj.
Restore completed in 14.59 ms for /tmp/roslyn/src/CodeStyle/VisualBasic/Analyzers/BasicCodeStyle.vbproj.
Restore completed in 17.07 ms for /tmp/roslyn/src/CodeStyle/Core/CodeFixes/CodeStyleFixes.csproj.
Restore completed in 16.51 ms for /tmp/roslyn/src/Compilers/CSharp/Portable/CSharpCodeAnalysis.csproj.
Restore completed in 21.21 ms for /tmp/roslyn/src/CodeStyle/Core/Tests/CodeStyleTests.csproj.
Restore completed in 8.62 ms for /tmp/roslyn/src/CodeStyle/VisualBasic/CodeFixes/BasicCodeStyleFixes.vbproj.
Restore completed in 20.98 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Semantic/CSharpCompilerSemanticTest.csproj.
Restore completed in 20.59 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Emit/CSharpCompilerEmitTest.csproj.
Restore completed in 21.26 ms for /tmp/roslyn/src/Compilers/CSharp/Test/CommandLine/CSharpCommandLineTest.csproj.
Restore completed in 26.79 ms for /tmp/roslyn/src/Compilers/CSharp/Test/WinRT/CSharpWinRTTest.csproj.
Restore completed in 52.91 ms for /tmp/roslyn/src/CodeStyle/VisualBasic/Tests/BasicCodeStyleTests.vbproj.
Restore completed in 53.92 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Syntax/CSharpCompilerSyntaxTest.csproj.
Restore completed in 20.31 ms for /tmp/roslyn/src/Compilers/Core/MSBuildTask/MSBuildTask.csproj.
Restore completed in 28.16 ms for /tmp/roslyn/src/Compilers/Core/CodeAnalysisTest/CodeAnalysisTest.csproj.
Restore completed in 5.12 ms for /tmp/roslyn/src/Compilers/Core/Portable/CodeAnalysis.csproj.
Restore completed in 33.69 ms for /tmp/roslyn/src/Compilers/Core/MSBuildTaskTests/MSBuildTaskTests.csproj.
Restore completed in 37.1 ms for /tmp/roslyn/src/Compilers/CSharp/csc/csc.csproj.
Restore completed in 31.5 ms for /tmp/roslyn/src/Compilers/Server/PortableServer/PortableServer.csproj.
Restore completed in 19.24 ms for /tmp/roslyn/src/Compilers/Test/Resources/Core/CompilerTestResources.csproj.
Restore completed in 77.61 ms for /tmp/roslyn/src/Compilers/Server/VBCSCompiler/VBCSCompiler.csproj.
Restore completed in 36.78 ms for /tmp/roslyn/src/Compilers/Test/Utilities/CSharp/CSharpCompilerTestUtilities.csproj.
Restore completed in 5.04 ms for /tmp/roslyn/src/Compilers/VisualBasic/Portable/BasicCodeAnalysis.vbproj.
Restore completed in 33.42 ms for /tmp/roslyn/src/Compilers/Test/Utilities/VisualBasic/BasicCompilerTestUtilities.vbproj.
Restore completed in 75.11 ms for /tmp/roslyn/src/Compilers/Server/VBCSCompilerTests/VBCSCompilerTests.csproj.
Restore completed in 49.23 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/CommandLine/BasicCommandLineTest.vbproj.
Restore completed in 41.38 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Emit/BasicCompilerEmitTest.vbproj.
Restore completed in 34.47 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Semantic/BasicCompilerSemanticTest.vbproj.
Restore completed in 34.28 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Symbol/BasicCompilerSymbolTest.vbproj.
Restore completed in 110.2 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Syntax/BasicCompilerSyntaxTest.vbproj.
Restore completed in 25.44 ms for /tmp/roslyn/src/Scripting/CSharp/CSharpScripting.csproj.
Restore completed in 36.44 ms for /tmp/roslyn/src/Compilers/VisualBasic/vbc/vbc.csproj.
Restore completed in 11.74 ms for /tmp/roslyn/src/Scripting/Core/Scripting.csproj.
Restore completed in 80.6 ms for /tmp/roslyn/src/Scripting/CSharpTest/CSharpScriptingTest.csproj.
Restore completed in 30.86 ms for /tmp/roslyn/src/Interactive/csi/csi.csproj.
Restore completed in 31.34 ms for /tmp/roslyn/src/Scripting/VisualBasic/BasicScripting.vbproj.
Restore completed in 33.04 ms for /tmp/roslyn/src/Scripting/CoreTest/ScriptingTest.csproj.
Restore completed in 64.37 ms for /tmp/roslyn/src/Scripting/CoreTestUtilities/ScriptingTestUtilities.csproj.
Restore completed in 41.1 ms for /tmp/roslyn/src/Scripting/VisualBasicTest/BasicScriptingTest.vbproj.
Restore completed in 27.2 ms for /tmp/roslyn/src/Test/PdbUtilities/PdbUtilities.csproj.
Restore completed in 23.94 ms for /tmp/roslyn/src/Test/Utilities/Portable/TestUtilities.csproj.
Restore completed in 1.98 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpErrorFactsGenerator/CSharpErrorFactsGenerator.csproj.
Restore completed in 16.5 ms for /tmp/roslyn/src/Tools/ILAsm/ILAsm.csproj.
Restore completed in 8.93 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/CompilersBoundTreeGenerator.csproj.
Restore completed in 13.52 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator/CSharpSyntaxGenerator.csproj.
Restore completed in 1.74 ms for /tmp/roslyn/src/Tools/Source/RunTests/RunTests.csproj.
Restore completed in 2.98 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator.vbproj.
Restore completed in 9.8 ms for /tmp/roslyn/src/Workspaces/CSharp/Portable/CSharpWorkspace.csproj.
Restore completed in 11.68 ms for /tmp/roslyn/src/Workspaces/Core/Portable/Workspaces.csproj.
Restore completed in 7.62 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj.
Restore completed in 26.8 ms for /tmp/roslyn/src/Workspaces/VisualBasic/Portable/BasicWorkspace.vbproj.
Restore completed in 23 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Symbol/CSharpCompilerSymbolTest.csproj.
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Compilers/Core/Portable/CodeAnalysis.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/CompilersBoundTreeGenerator.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpErrorFactsGenerator/CSharpErrorFactsGenerator.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator/CSharpSyntaxGenerator.csproj]
/opt/microsoft/sdk/sdk/2.2.0-preview1-007622/Roslyn/Microsoft.VisualBasic.Core.targets(73,5): error MSB6006: "RunVbc" exited with code 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj]
/opt/microsoft/sdk/sdk/2.2.0-preview1-007622/Roslyn/Microsoft.VisualBasic.Core.targets(73,5): error MSB6006: "RunVbc" exited with code 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator.vbproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Tools/Source/RunTests/RunTests.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Compilers/Core/MSBuildTask/MSBuildTask.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Tools/ILAsm/ILAsm.csproj]
Build FAILED.
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Compilers/Core/Portable/CodeAnalysis.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/CompilersBoundTreeGenerator.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpErrorFactsGenerator/CSharpErrorFactsGenerator.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator/CSharpSyntaxGenerator.csproj]
/opt/microsoft/sdk/sdk/2.2.0-preview1-007622/Roslyn/Microsoft.VisualBasic.Core.targets(73,5): error MSB6006: "RunVbc" exited with code 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj]
/opt/microsoft/sdk/sdk/2.2.0-preview1-007622/Roslyn/Microsoft.VisualBasic.Core.targets(73,5): error MSB6006: "RunVbc" exited with code 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator.vbproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Tools/Source/RunTests/RunTests.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Compilers/Core/MSBuildTask/MSBuildTask.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 131. [/tmp/roslyn/src/Tools/ILAsm/ILAsm.csproj]
0 Warning(s)
9 Error(s)
@superriva
Would you be able to run the dotnet build with /bl command and share the resulting msbuild.binlog (binary log file) by attaching it to the issue? Thanks
Is it possible to have prebuild binaries of roslyn for linux? Like dotnet-sdk\dotnet-runtime.
Binaries of Roslyn are available as nuget packages.
https://github.com/dotnet/roslyn/wiki/NuGet-packages
@superriva this looks like a bit of an old CLI build. Can you try a more recent build and see if the problem still exists?
@jaredpar
When I try to build with other version sdk then installation script try to download "2.2.0-preview1-007622" sdk. I think it's due to global.json.
$cat global.json
{
"sdk": {
"version": "2.2.0-preview1-007622"
}
}
So, I have to set up "2.2.0-preview1-007622" sdk that installation script downloads nothing. And have got errors.
So, I set up "2.2.0-preview1-008004" sdk and changed global.json to
$cat global.json
{
"sdk": {
"version": "2.2.0-preview1-008004"
}
}
And have got errors:
$dotnet build Compilers.sln
Microsoft (R) Build Engine version 15.6.54.9755 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 132.3 ms for /tmp/roslyn/src/CodeStyle/CSharp/CodeFixes/CSharpCodeStyleFixes.csproj.
Restore completed in 132.05 ms for /tmp/roslyn/src/CodeStyle/CSharp/Analyzers/CSharpCodeStyle.csproj.
Restore completed in 130.61 ms for /tmp/roslyn/src/CodeStyle/CSharp/Tests/CSharpCodeStyleTests.csproj.
Restore completed in 132.29 ms for /tmp/roslyn/build/Toolset/Toolset.csproj.
Restore completed in 1.79 ms for /tmp/roslyn/src/CodeStyle/VisualBasic/Analyzers/BasicCodeStyle.vbproj.
Restore completed in 2.66 ms for /tmp/roslyn/src/CodeStyle/Core/Analyzers/CodeStyle.csproj.
Restore completed in 3.08 ms for /tmp/roslyn/src/CodeStyle/Core/Tests/CodeStyleTests.csproj.
Restore completed in 13.1 ms for /tmp/roslyn/src/CodeStyle/VisualBasic/CodeFixes/BasicCodeStyleFixes.vbproj.
Restore completed in 5.47 ms for /tmp/roslyn/src/CodeStyle/Core/CodeFixes/CodeStyleFixes.csproj.
Restore completed in 2.45 ms for /tmp/roslyn/src/Compilers/CSharp/Portable/CSharpCodeAnalysis.csproj.
Restore completed in 4.83 ms for /tmp/roslyn/src/Compilers/CSharp/Test/CommandLine/CSharpCommandLineTest.csproj.
Restore completed in 3.59 ms for /tmp/roslyn/src/CodeStyle/VisualBasic/Tests/BasicCodeStyleTests.vbproj.
Restore completed in 8.05 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Emit/CSharpCompilerEmitTest.csproj.
Restore completed in 7.84 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Semantic/CSharpCompilerSemanticTest.csproj.
Restore completed in 8.67 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Syntax/CSharpCompilerSyntaxTest.csproj.
Restore completed in 18.71 ms for /tmp/roslyn/src/Compilers/CSharp/Test/WinRT/CSharpWinRTTest.csproj.
Restore completed in 4.24 ms for /tmp/roslyn/src/Compilers/Core/MSBuildTask/MSBuildTask.csproj.
Restore completed in 31.73 ms for /tmp/roslyn/src/Compilers/Core/CodeAnalysisTest/CodeAnalysisTest.csproj.
Restore completed in 1.84 ms for /tmp/roslyn/src/Compilers/Core/Portable/CodeAnalysis.csproj.
Restore completed in 15.83 ms for /tmp/roslyn/src/Compilers/Core/MSBuildTaskTests/MSBuildTaskTests.csproj.
Restore completed in 8.35 ms for /tmp/roslyn/src/Compilers/CSharp/csc/csc.csproj.
Restore completed in 8.92 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Symbol/CSharpCompilerSymbolTest.csproj.
Restore completed in 19.67 ms for /tmp/roslyn/src/Compilers/Server/PortableServer/PortableServer.csproj.
Restore completed in 1.43 ms for /tmp/roslyn/src/Compilers/Test/Resources/Core/CompilerTestResources.csproj.
Restore completed in 4.31 ms for /tmp/roslyn/src/Compilers/Test/Utilities/CSharp/CSharpCompilerTestUtilities.csproj.
Restore completed in 4.05 ms for /tmp/roslyn/src/Compilers/Test/Utilities/VisualBasic/BasicCompilerTestUtilities.vbproj.
Restore completed in 1.29 ms for /tmp/roslyn/src/Compilers/VisualBasic/Portable/BasicCodeAnalysis.vbproj.
Restore completed in 5.2 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/CommandLine/BasicCommandLineTest.vbproj.
Restore completed in 4.46 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Emit/BasicCompilerEmitTest.vbproj.
Restore completed in 52.89 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Semantic/BasicCompilerSemanticTest.vbproj.
Restore completed in 3.24 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Symbol/BasicCompilerSymbolTest.vbproj.
Restore completed in 11.01 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Syntax/BasicCompilerSyntaxTest.vbproj.
Restore completed in 2.88 ms for /tmp/roslyn/src/Compilers/VisualBasic/vbc/vbc.csproj.
Restore completed in 2.47 ms for /tmp/roslyn/src/Scripting/CSharp/CSharpScripting.csproj.
Restore completed in 2.54 ms for /tmp/roslyn/src/Interactive/csi/csi.csproj.
Restore completed in 1.82 ms for /tmp/roslyn/src/Scripting/Core/Scripting.csproj.
Restore completed in 6.46 ms for /tmp/roslyn/src/Scripting/CSharpTest/CSharpScriptingTest.csproj.
Restore completed in 5.05 ms for /tmp/roslyn/src/Scripting/CoreTestUtilities/ScriptingTestUtilities.csproj.
Restore completed in 6.4 ms for /tmp/roslyn/src/Scripting/CoreTest/ScriptingTest.csproj.
Restore completed in 2.61 ms for /tmp/roslyn/src/Scripting/VisualBasic/BasicScripting.vbproj.
Restore completed in 5.47 ms for /tmp/roslyn/src/Scripting/VisualBasicTest/BasicScriptingTest.vbproj.
Restore completed in 3.34 ms for /tmp/roslyn/src/Test/PdbUtilities/PdbUtilities.csproj.
Restore completed in 1.34 ms for /tmp/roslyn/src/Tools/ILAsm/ILAsm.csproj.
Restore completed in 3.02 ms for /tmp/roslyn/src/Test/Utilities/Portable/TestUtilities.csproj.
Restore completed in 0.61 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpErrorFactsGenerator/CSharpErrorFactsGenerator.csproj.
Restore completed in 2.25 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/CompilersBoundTreeGenerator.csproj.
Restore completed in 1.75 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator/CSharpSyntaxGenerator.csproj.
Restore completed in 1.2 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator.vbproj.
Restore completed in 0.98 ms for /tmp/roslyn/src/Tools/Source/RunTests/RunTests.csproj.
Restore completed in 2.49 ms for /tmp/roslyn/src/Workspaces/CSharp/Portable/CSharpWorkspace.csproj.
Restore completed in 1.42 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj.
Restore completed in 1.61 ms for /tmp/roslyn/src/Workspaces/Core/Portable/Workspaces.csproj.
Restore completed in 1.85 ms for /tmp/roslyn/src/Workspaces/VisualBasic/Portable/BasicWorkspace.vbproj.
Restore completed in 3.23 ms for /tmp/roslyn/src/Compilers/Server/VBCSCompiler/VBCSCompiler.csproj.
Restore completed in 6.8 ms for /tmp/roslyn/src/Compilers/Server/VBCSCompilerTests/VBCSCompilerTests.csproj.
CSharpErrorFactsGenerator -> /tmp/roslyn/Binaries/Debug/Exes/CSharpErrorFactsGenerator/CSharpErrorFactsGenerator.dll
CompilersBoundTreeGenerator -> /tmp/roslyn/Binaries/Debug/Exes/CompilersBoundTreeGenerator/BoundTreeGenerator.dll
CSharpSyntaxGenerator -> /tmp/roslyn/Binaries/Debug/Exes/CSharpSyntaxGenerator/CSharpSyntaxGenerator.dll
VisualBasicErrorFactsGenerator -> /tmp/roslyn/Binaries/Debug/Exes/VisualBasicErrorFactsGenerator/VBErrorFactsGenerator.dll
VisualBasicSyntaxGenerator -> /tmp/roslyn/Binaries/Debug/Exes/VisualBasicSyntaxGenerator/VBSyntaxGenerator.dll
RunTests -> /tmp/roslyn/Binaries/Debug/Exes/RunTests/RunTests.exe
ILAsm -> /tmp/roslyn/Binaries/Debug/Exes/ILAsm/IlAsmDeploy.dll
CodeAnalysis -> /tmp/roslyn/Binaries/Debug/Dlls/CodeAnalysis/Microsoft.CodeAnalysis.dll
MSBuildTask -> /tmp/roslyn/Binaries/Debug/Dlls/MSBuildTask/Microsoft.Build.Tasks.CodeAnalysis.dll
CompilerTestResources -> /tmp/roslyn/Binaries/Debug/Dlls/CompilerTestResources/Roslyn.Compilers.Test.Resources.dll
CodeStyle -> /tmp/roslyn/Binaries/Debug/Dlls/CodeStyle/Microsoft.CodeAnalysis.CodeStyle.dll
CSharpCodeAnalysis -> /tmp/roslyn/Binaries/Debug/Dlls/CSharpCodeAnalysis/Microsoft.CodeAnalysis.CSharp.dll
csc -> /tmp/roslyn/Binaries/Debug/Exes/csc/net46/csc.exe
csc -> /tmp/roslyn/Binaries/Debug/Exes/csc/netcoreapp2.0/csc.dll
Workspaces -> /tmp/roslyn/Binaries/Debug/Dlls/Workspaces/Microsoft.CodeAnalysis.Workspaces.dll
Scripting -> /tmp/roslyn/Binaries/Debug/Dlls/Scripting/Microsoft.CodeAnalysis.Scripting.dll
BasicCodeAnalysis -> /tmp/roslyn/Binaries/Debug/Dlls/BasicCodeAnalysis/Microsoft.CodeAnalysis.VisualBasic.dll
PortableServer -> /tmp/roslyn/Binaries/Debug/Exes/PortableServer/VBCSCompilerPortable.dll
TestUtilities -> /tmp/roslyn/Binaries/Debug/Dlls/TestUtilities/netstandard1.3/Roslyn.Test.Utilities.dll
TestUtilities -> /tmp/roslyn/Binaries/Debug/Dlls/TestUtilities/netcoreapp2.0/Roslyn.Test.Utilities.dll
vbc -> /tmp/roslyn/Binaries/Debug/Exes/vbc/netcoreapp2.0/vbc.dll
VBCSCompiler -> /tmp/roslyn/Binaries/Debug/Exes/VBCSCompiler/netcoreapp2.0/VBCSCompiler.dll
TestUtilities -> /tmp/roslyn/Binaries/Debug/Dlls/TestUtilities/net461/Roslyn.Test.Utilities.dll
vbc -> /tmp/roslyn/Binaries/Debug/Exes/vbc/net46/vbc.exe
VBCSCompiler -> /tmp/roslyn/Binaries/Debug/Exes/VBCSCompiler/net46/VBCSCompiler.exe
TestUtilities -> /tmp/roslyn/Binaries/Debug/Dlls/TestUtilities/net46/Roslyn.Test.Utilities.dll
PdbUtilities -> /tmp/roslyn/Binaries/Debug/Dlls/PdbUtilities/Roslyn.Test.PdbUtilities.dll
CSharpCodeStyle -> /tmp/roslyn/Binaries/Debug/Dlls/CSharpCodeStyle/Microsoft.CodeAnalysis.CSharp.CodeStyle.dll
BasicCodeStyle -> /tmp/roslyn/Binaries/Debug/Dlls/BasicCodeStyle/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.dll
CSharpCompilerTestUtilities -> /tmp/roslyn/Binaries/Debug/Dlls/CSharpCompilerTestUtilities/Roslyn.Compilers.CSharp.Test.Utilities.dll
VBCSCompilerTests -> /tmp/roslyn/Binaries/Debug/UnitTests/VBCSCompilerTests/netcoreapp2.0/Roslyn.Compilers.CompilerServer.UnitTests.dll
CSharpCompilerSymbolTest -> /tmp/roslyn/Binaries/Debug/UnitTests/CSharpCompilerSymbolTest/netcoreapp2.0/Roslyn.Compilers.CSharp.Symbol.UnitTests.dll
CSharpCompilerSyntaxTest -> /tmp/roslyn/Binaries/Debug/UnitTests/CSharpCompilerSyntaxTest/netcoreapp2.0/Roslyn.Compilers.CSharp.Syntax.UnitTests.dll
CSharpWinRTTest -> /tmp/roslyn/Binaries/Debug/UnitTests/CSharpWinRTTest/Roslyn.Compilers.CSharp.WinRT.UnitTests.dll
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 134. [/tmp/roslyn/src/Compilers/Core/CodeAnalysisTest/CodeAnalysisTest.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 134. [/tmp/roslyn/src/Compilers/CSharp/Test/Emit/CSharpCompilerEmitTest.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with code 134. [/tmp/roslyn/src/Compilers/CSharp/Test/Semantic/CSharpCompilerSemanticTest.csproj]
MSBuildTaskTests -> /tmp/roslyn/Binaries/Debug/UnitTests/MSBuildTaskTests/Microsoft.Build.Tasks.CodeAnalysis.UnitTests.dll
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/build/Microsoft.NETCore.Compilers.props(34,5): error MSB6003: The specified task executable "sh" could not be run. Cannot allocate memory [/tmp/roslyn/src/Compilers/CSharp/Test/CommandLine/CSharpCommandLineTest.csproj]
/root/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/build/Microsoft.NETCore.Compilers.props(34,5): error MSB6003: The specified task executable "sh" could not be run. Cannot allocate memory [/tmp/roslyn/src/Workspaces/CSharp/Portable/CSharpWorkspace.csproj]
Unhandled Exception: OutOfMemoryException.
Now, I see newer version sdk can make more.
@superriva ah sorry. Missed you were trying to build our repository.
Are you running as root here?
@jaredpar , yes as root. Is it really important?
@superriva hopefully it's not important. However given how frequently we run this command today without error I'm looking for anything to dig into as possible cause.
@jaredpar
Unfortunately, same errors for unprivileged user:
[dart@c]: /tmp/roslyn>$ dotnet --version
2.2.0-preview1-007622
[dart@c]: /tmp/roslyn>$ dotnet build Compilers.sln
Microsoft (R) Build Engine version 15.5.178.35674 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 73.38 ms for /tmp/roslyn/src/CodeStyle/CSharp/CodeFixes/CSharpCodeStyleFixes.csproj.
Restore completed in 65.36 ms for /tmp/roslyn/build/Toolset/Toolset.csproj.
Restore completed in 74.35 ms for /tmp/roslyn/src/CodeStyle/CSharp/Analyzers/CSharpCodeStyle.csproj.
Restore completed in 77.91 ms for /tmp/roslyn/src/CodeStyle/CSharp/Tests/CSharpCodeStyleTests.csproj.
Restore completed in 16.41 ms for /tmp/roslyn/src/CodeStyle/Core/Analyzers/CodeStyle.csproj.
Restore completed in 23.91 ms for /tmp/roslyn/src/CodeStyle/Core/CodeFixes/CodeStyleFixes.csproj.
Restore completed in 9.26 ms for /tmp/roslyn/src/CodeStyle/VisualBasic/Analyzers/BasicCodeStyle.vbproj.
Restore completed in 58.07 ms for /tmp/roslyn/src/CodeStyle/Core/Tests/CodeStyleTests.csproj.
Restore completed in 10.91 ms for /tmp/roslyn/src/Compilers/CSharp/Portable/CSharpCodeAnalysis.csproj.
Restore completed in 54.43 ms for /tmp/roslyn/src/CodeStyle/VisualBasic/CodeFixes/BasicCodeStyleFixes.vbproj.
Restore completed in 63.03 ms for /tmp/roslyn/src/Compilers/CSharp/Test/CommandLine/CSharpCommandLineTest.csproj.
Restore completed in 33.02 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Emit/CSharpCompilerEmitTest.csproj.
Restore completed in 59.47 ms for /tmp/roslyn/src/CodeStyle/VisualBasic/Tests/BasicCodeStyleTests.vbproj.
Restore completed in 64.56 ms for /tmp/roslyn/src/Compilers/CSharp/Test/WinRT/CSharpWinRTTest.csproj.
Restore completed in 80.97 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Syntax/CSharpCompilerSyntaxTest.csproj.
Restore completed in 61.08 ms for /tmp/roslyn/src/Compilers/Core/CodeAnalysisTest/CodeAnalysisTest.csproj.
Restore completed in 42.58 ms for /tmp/roslyn/src/Compilers/CSharp/csc/csc.csproj.
Restore completed in 6.19 ms for /tmp/roslyn/src/Compilers/Core/MSBuildTask/MSBuildTask.csproj.
Restore completed in 6.34 ms for /tmp/roslyn/src/Compilers/Core/Portable/CodeAnalysis.csproj.
Restore completed in 60.69 ms for /tmp/roslyn/src/Compilers/Core/MSBuildTaskTests/MSBuildTaskTests.csproj.
Restore completed in 72.74 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Symbol/CSharpCompilerSymbolTest.csproj.
Restore completed in 29.97 ms for /tmp/roslyn/src/Compilers/Server/PortableServer/PortableServer.csproj.
Restore completed in 10.93 ms for /tmp/roslyn/src/Compilers/Test/Resources/Core/CompilerTestResources.csproj.
Restore completed in 40.55 ms for /tmp/roslyn/src/Compilers/Server/VBCSCompiler/VBCSCompiler.csproj.
Restore completed in 11.31 ms for /tmp/roslyn/src/Compilers/Test/Utilities/VisualBasic/BasicCompilerTestUtilities.vbproj.
Restore completed in 29.28 ms for /tmp/roslyn/src/Compilers/Test/Utilities/CSharp/CSharpCompilerTestUtilities.csproj.
Restore completed in 4.03 ms for /tmp/roslyn/src/Compilers/VisualBasic/Portable/BasicCodeAnalysis.vbproj.
Restore completed in 95.96 ms for /tmp/roslyn/src/Compilers/Server/VBCSCompilerTests/VBCSCompilerTests.csproj.
Restore completed in 24.57 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Emit/BasicCompilerEmitTest.vbproj.
Restore completed in 16.27 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/CommandLine/BasicCommandLineTest.vbproj.
Restore completed in 27.54 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Semantic/BasicCompilerSemanticTest.vbproj.
Restore completed in 9.99 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Symbol/BasicCompilerSymbolTest.vbproj.
Restore completed in 47.56 ms for /tmp/roslyn/src/Compilers/VisualBasic/Test/Syntax/BasicCompilerSyntaxTest.vbproj.
Restore completed in 24.67 ms for /tmp/roslyn/src/Scripting/CSharp/CSharpScripting.csproj.
Restore completed in 28.02 ms for /tmp/roslyn/src/Interactive/csi/csi.csproj.
Restore completed in 30.57 ms for /tmp/roslyn/src/Compilers/VisualBasic/vbc/vbc.csproj.
Restore completed in 4.58 ms for /tmp/roslyn/src/Scripting/Core/Scripting.csproj.
Restore completed in 30.48 ms for /tmp/roslyn/src/Scripting/CSharpTest/CSharpScriptingTest.csproj.
Restore completed in 52.15 ms for /tmp/roslyn/src/Scripting/CoreTestUtilities/ScriptingTestUtilities.csproj.
Restore completed in 61.82 ms for /tmp/roslyn/src/Scripting/CoreTest/ScriptingTest.csproj.
Restore completed in 12.69 ms for /tmp/roslyn/src/Scripting/VisualBasic/BasicScripting.vbproj.
Restore completed in 22.53 ms for /tmp/roslyn/src/Scripting/VisualBasicTest/BasicScriptingTest.vbproj.
Restore completed in 18.89 ms for /tmp/roslyn/src/Test/PdbUtilities/PdbUtilities.csproj.
Restore completed in 2.6 ms for /tmp/roslyn/src/Tools/ILAsm/ILAsm.csproj.
Restore completed in 15.97 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpErrorFactsGenerator/CSharpErrorFactsGenerator.csproj.
Restore completed in 64.36 ms for /tmp/roslyn/src/Test/Utilities/Portable/TestUtilities.csproj.
Restore completed in 15.03 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/CompilersBoundTreeGenerator.csproj.
Restore completed in 2.14 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator. vbproj.
Restore completed in 1.14 ms for /tmp/roslyn/src/Tools/Source/RunTests/RunTests.csproj.
Restore completed in 38.98 ms for /tmp/roslyn/src/Workspaces/CSharp/Portable/CSharpWorkspace.csproj.
Restore completed in 17.59 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj.
Restore completed in 29.09 ms for /tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator/CSharpSyntaxGenerator.csproj.
Restore completed in 7.15 ms for /tmp/roslyn/src/Workspaces/VisualBasic/Portable/BasicWorkspace.vbproj.
Restore completed in 11.32 ms for /tmp/roslyn/src/Workspaces/Core/Portable/Workspaces.csproj.
Restore completed in 21.62 ms for /tmp/roslyn/src/Compilers/CSharp/Test/Semantic/CSharpCompilerSemanticTest.csproj.
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Compilers/Core/Portable/CodeAnalysis.csproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/CompilersBoundTreeGenerator.csproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpErrorFactsGenerator/CSharpErrorFactsGenerator.csproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator/CSharpSyntaxGenerator.csproj]
/opt/microsoft/sdk/sdk/2.2.0-preview1-007622/Roslyn/Microsoft.VisualBasic.Core.targets(73,5): error MSB6006: "RunVbc" exited with code 131. [/tmp/roslyn/src /Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj]
/opt/microsoft/sdk/sdk/2.2.0-preview1-007622/Roslyn/Microsoft.VisualBasic.Core.targets(73,5): error MSB6006: "RunVbc" exited with code 131. [/tmp/roslyn/src /Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator.vbproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Tools/Source/RunTests/RunTests.csproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Compilers/Core/MSBuildTask/MSBuildTask.csproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Tools/ILAsm/ILAsm.csproj]
Build FAILED.
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Compilers/Core/Portable/CodeAnalysis.csproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/CompilersBoundTreeGenerator.csproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpErrorFactsGenerator/CSharpErrorFactsGenerator.csproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator/CSharpSyntaxGenerator.csproj]
/opt/microsoft/sdk/sdk/2.2.0-preview1-007622/Roslyn/Microsoft.VisualBasic.Core.targets(73,5): error MSB6006: "RunVbc" exited with code 131. [/tmp/roslyn/src /Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj]
/opt/microsoft/sdk/sdk/2.2.0-preview1-007622/Roslyn/Microsoft.VisualBasic.Core.targets(73,5): error MSB6006: "RunVbc" exited with code 131. [/tmp/roslyn/src /Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator.vbproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Tools/Source/RunTests/RunTests.csproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Compilers/Core/MSBuildTask/MSBuildTask.csproj]
/home/dart/.nuget/packages/microsoft.netcore.compilers/2.6.0-beta3-62308-01/tools/Microsoft.CSharp.Core.targets(84,5): error MSB6006: "RunCsc" exited with c ode 131. [/tmp/roslyn/src/Tools/ILAsm/ILAsm.csproj]
0 Warning(s)
9 Error(s)
May be my server memory is small? I have only 4Gb. Could I run build in 1 thread? How could I do that?
Thanks for checking that. I'm actually going to be moving us to a new CLI version today or Monday. Our current one is very out of date. If it still repros under that then we're going to get some CoreClr developers involved here. This is very unlikely to be an issue with the compiler given we run just fine on every other OS here. Seems likely to be runtime related.
Hi, I have just encountered simmilar problem, also on Arch Linux. It seems to be caused by broken upgrade process - uninstalling dotnet, removing /opt/dotnet and installing dotnet again helped me:
pacman -R dotnet-runtime dotnet-sdk dotnet-host
rm -rf /opt/dotnet/
sudo pacman -S dotnet-runtime dotnet-sdk dotnet-host
@exyi , maybe you are right. I did reinstall dotnet many times.
@jaredpar, I think you should close my issue because new version of dotnet have been released.
Thanks @superriva I'll go ahead and close the issue.
I tested compilation on my new platform:
debian 9.4 + net core 2.1 -> roslyn was compiled without any errors. Thank you for good work.
Glad to hear. Thanks!
Most helpful comment
Hi, I have just encountered simmilar problem, also on Arch Linux. It seems to be caused by broken upgrade process - uninstalling dotnet, removing
/opt/dotnetand installing dotnet again helped me: