Skip to content

Wasm AOT crashes during ILStrip (.NET 10 / Windows) and in the IntegrationTests  #3036

@FreyLuis

Description

@FreyLuis

There seem to be two separate issues with Wasm AOT.

Issue 1: During the ILStrip step, it crashes because *_compiled_methods.txt files are missing. I could only reproduce this with .NET 10 / Windows. Both .NET 8 / Windows and .NET 10 / Linux work fine.

minimal example
public static class Program
{
    private const string _dotnetMonikerString = "net10.0";
    private const RuntimeMoniker _dotnetMoniker = RuntimeMoniker.WasmNet10_0;

    public static void Main()
    {
        CleanupPreviousJob();

        var wasmToolchain = WasmToolchain.From(new NetCoreAppSettings(_dotnetMonikerString, _dotnetMonikerString, "Wasm", aotCompilerMode: MonoAotCompilerMode.wasm));

        var config = DefaultConfig.Instance.AddJob(Job.Dry.WithRuntime(new WasmRuntime(_dotnetMonikerString, _dotnetMoniker, "wasm", aot: true, "v8")).WithToolchain(wasmToolchain));

        config.WithOption(ConfigOptions.LogBuildOutput, true);
        config.WithOption(ConfigOptions.GenerateMSBuildBinLog, true);
        config.WithOption(ConfigOptions.KeepBenchmarkFiles, true);

        BenchmarkRunner.Run<SampleBench>(config);
    }

    public static void CleanupPreviousJob()
    {
        var dir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
        foreach (var item in Directory.GetDirectories(dir!, "WasmBenchmark-Dry-*"))
            Directory.Delete(item, true);
    }
}
error
 AOT'ing 34 assemblies
  [1/27] WasmBenchmark.dll -> WasmBenchmark.dll.bc
  [2/27] System.Collections.Specialized.dll -> System.Collections.Specialized.dll.bc
  [3/27] System.ComponentModel.TypeConverter.dll -> System.ComponentModel.TypeConverter.dll.bc
  [4/27] BenchmarkDotNet.Annotations.dll -> BenchmarkDotNet.Annotations.dll.bc
  [5/27] System.Collections.dll -> System.Collections.dll.bc
  [6/27] System.Management.dll -> System.Management.dll.bc
  [7/27] System.ComponentModel.Primitives.dll -> System.ComponentModel.Primitives.dll.bc
  [8/27] Microsoft.CodeAnalysis.dll -> Microsoft.CodeAnalysis.dll.bc
  [9/27] Microsoft.CodeAnalysis.CSharp.dll -> Microsoft.CodeAnalysis.CSharp.dll.bc
  [10/27] Microsoft.DotNet.PlatformAbstractions.dll -> Microsoft.DotNet.PlatformAbstractions.dll.bc
  [11/27] System.Console.dll -> System.Console.dll.bc
  [12/27] System.Collections.Concurrent.dll -> System.Collections.Concurrent.dll.bc
  [13/27] System.Diagnostics.FileVersionInfo.dll -> System.Diagnostics.FileVersionInfo.dll.bc
  [14/27] System.Diagnostics.Process.dll -> System.Diagnostics.Process.dll.bc
  [15/27] System.ObjectModel.dll -> System.ObjectModel.dll.bc
  [16/27] Pragmastat.dll -> Pragmastat.dll.bc
  [17/27] System.dll -> System.dll.bc
  [18/27] System.Runtime.InteropServices.dll -> System.Runtime.InteropServices.dll.bc
  [19/27] WasmBenchmark-Dry-1.dll -> WasmBenchmark-Dry-1.dll.bc
  [20/27] System.Runtime.InteropServices.JavaScript.dll -> System.Runtime.InteropServices.JavaScript.dll.bc
  [21/27] Perfolizer.dll -> Perfolizer.dll.bc
  [22/27] System.Linq.dll -> System.Linq.dll.bc
  [23/27] System.Runtime.Numerics.dll -> System.Runtime.Numerics.dll.bc
  [24/27] BenchmarkDotNet.dll -> BenchmarkDotNet.dll.bc
  [25/27] System.Text.RegularExpressions.dll -> System.Text.RegularExpressions.dll.bc
  [26/27] System.Private.CoreLib.dll -> System.Private.CoreLib.dll.bc
  [27/27] aot-instances.dll -> aot-instances.dll.bc
  IL stripping assemblies
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\10.0.3\Sdk\WasmApp.Common.targets(697,5): error : C:\Users\luis\source\libraries\BenchmarkDotNet\WasmBenchmark\WasmBenchmark\bin\Release\net10.0\WasmBenchmark-Dry-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net10.0\wasm\for-publish\tokens\Microsoft_DotNet_PlatformAbstractions_dll_compiled_methods.txt doesn't exist. [C:\Users\luis\source\libraries\BenchmarkDotNet\WasmBenchmark\WasmBenchmark\bin\Release\net10.0\WasmBenchmark-Dry-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net10.0]
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\10.0.3\Sdk\WasmApp.Common.targets(697,5): error : C:\Users\luis\source\libraries\BenchmarkDotNet\WasmBenchmark\WasmBenchmark\bin\Release\net10.0\WasmBenchmark-Dry-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net10.0\wasm\for-publish\tokens\System_ComponentModel_TypeConverter_dll_compiled_methods.txt doesn't exist. [C:\Users\luis\source\libraries\BenchmarkDotNet\WasmBenchmark\WasmBenchmark\bin\Release\net10.0\WasmBenchmark-Dry-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net10.0]
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\10.0.3\Sdk\WasmApp.Common.targets(697,5): error : C:\Users\luis\source\libraries\BenchmarkDotNet\WasmBenchmark\WasmBenchmark\bin\Release\net10.0\WasmBenchmark-Dry-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net10.0\wasm\for-publish\tokens\System_Runtime_InteropServices_JavaScript_dll_compiled_methods.txt doesn't exist. [C:\Users\luis\source\libraries\BenchmarkDotNet\WasmBenchmark\WasmBenchmark\bin\Release\net10.0\WasmBenchmark-Dry-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net10.0]

I have also attached msbuild binlogs.

Issue 2: With the changes in #3020 the Wasm AOT IntegrationTests are crashing while trying to aot xunit.runner.visualstudio.testadapter.dll.
This is reproducible on Windows and Linux.

error
/_/src/BenchmarkDotNet/Detectors/Cpu/HardwareIntrinsics.cs(194,13): warning IL2105: BenchmarkDotNet.Detectors.Cpu.HardwareIntrinsics.IsX86Avx10v1Supported.get: Type 'System.Runtime.Intrinsics.X86.Avx10v1' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  /_/src/BenchmarkDotNet/Detectors/Cpu/HardwareIntrinsics.cs(194,13): warning IL2105: BenchmarkDotNet.Detectors.Cpu.HardwareIntrinsics.IsX86Avx10v1Supported.get: Type 'System.Runtime.Intrinsics.X86.Avx10v1+V512' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  /_/src/BenchmarkDotNet/Detectors/Cpu/HardwareIntrinsics.cs(203,13): warning IL2105: BenchmarkDotNet.Detectors.Cpu.HardwareIntrinsics.IsX86Avx10v2Supported.get: Type 'System.Runtime.Intrinsics.X86.Avx10v2' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  /_/src/BenchmarkDotNet/Detectors/Cpu/HardwareIntrinsics.cs(203,13): warning IL2105: BenchmarkDotNet.Detectors.Cpu.HardwareIntrinsics.IsX86Avx10v2Supported.get: Type 'System.Runtime.Intrinsics.X86.Avx10v2+V512' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  /_/src/BenchmarkDotNet/Detectors/Cpu/HardwareIntrinsics.cs(185,13): warning IL2105: BenchmarkDotNet.Detectors.Cpu.HardwareIntrinsics.IsX86Avx512v3Supported.get: Type 'System.Runtime.Intrinsics.X86.Avx512Vbmi2' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  /_/src/BenchmarkDotNet/Detectors/Cpu/HardwareIntrinsics.cs(185,13): warning IL2105: BenchmarkDotNet.Detectors.Cpu.HardwareIntrinsics.IsX86Avx512v3Supported.get: Type 'System.Runtime.Intrinsics.X86.Avx512Vbmi2+VL' was not found in the caller assembly nor in the base library. Type name strings used for dynamically accessing a type should be assembly qualified. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
    AOT'ing 37 assemblies
    [xunit.runner.reporters.netcoreapp10.dll] Exec (with response file contents expanded) in D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in: MONO_PATH=D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\8.0.24\runtimes\browser-wasm\native\;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\8.0.24\runtimes\browser-wasm\lib\net8.0 MONO_ENV_OPTIONS= C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm\8.0.24\Sdk\..\tools\mono-aot-cross.exe --wasm-exceptions --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,mattr=simd,dwarfdebug,llvm-path=C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.win-x64\8.0.24\tools\bin\,static,dedup-skip,llvmonly,interp,asmonly,llvm-outfile=D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\xunit.runner.reporters.netcoreapp10.dll.bc.tmp,temp-path=D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\xunit.runner.reporters.netcoreapp10.dll.tmp" "xunit.runner.reporters.netcoreapp10.dll"
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Precompiling failed for D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in\xunit.runner.reporters.netcoreapp10.dll with exit code 1. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Mono Ahead of Time compiler - compiling assembly D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in\xunit.runner.reporters.netcoreapp10.dll [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Failed to load method 0x6000051 from 'D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in\xunit.runner.reporters.netcoreapp10.dll' due to Could not load file or assembly 'xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' or one of its dependencies.. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Run with MONO_LOG_LEVEL=debug for more information. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : AOT of image D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in\xunit.runner.reporters.netcoreapp10.dll failed. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
    [xunit.runner.utility.netcoreapp10.dll] Exec (with response file contents expanded) in D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in: MONO_PATH=D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\8.0.24\runtimes\browser-wasm\native\;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\8.0.24\runtimes\browser-wasm\lib\net8.0 MONO_ENV_OPTIONS= C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm\8.0.24\Sdk\..\tools\mono-aot-cross.exe --wasm-exceptions --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,mattr=simd,dwarfdebug,llvm-path=C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.win-x64\8.0.24\tools\bin\,static,dedup-skip,llvmonly,interp,asmonly,llvm-outfile=D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\xunit.runner.utility.netcoreapp10.dll.bc.tmp,temp-path=D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\xunit.runner.utility.netcoreapp10.dll.tmp" "xunit.runner.utility.netcoreapp10.dll"
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Precompiling failed for D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in\xunit.runner.utility.netcoreapp10.dll with exit code 1. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Failed to load method 0x6000014 from 'D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in\xunit.runner.utility.netcoreapp10.dll' due to Could not load file or assembly 'xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' or one of its dependencies.. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Run with MONO_LOG_LEVEL=debug for more information. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : AOT of image D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in\xunit.runner.utility.netcoreapp10.dll failed. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Mono Ahead of Time compiler - compiling assembly D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in\xunit.runner.utility.netcoreapp10.dll [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
    [1/31] testhost.dll -> testhost.dll.bc
    [2/31] Microsoft.CodeAnalysis.dll -> Microsoft.CodeAnalysis.dll.bc
    [3/31] Microsoft.CodeAnalysis.CSharp.dll -> Microsoft.CodeAnalysis.CSharp.dll.bc
    [xunit.runner.visualstudio.testadapter.dll] Exec (with response file contents expanded) in D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in: MONO_PATH=D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\8.0.24\runtimes\browser-wasm\native\;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\8.0.24\runtimes\browser-wasm\lib\net8.0 MONO_ENV_OPTIONS= C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm\8.0.24\Sdk\..\tools\mono-aot-cross.exe --wasm-exceptions --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,mattr=simd,dwarfdebug,llvm-path=C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.win-x64\8.0.24\tools\bin\,static,dedup-skip,llvmonly,interp,asmonly,llvm-outfile=D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\xunit.runner.visualstudio.testadapter.dll.bc.tmp,temp-path=D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\xunit.runner.visualstudio.testadapter.dll.tmp" "xunit.runner.visualstudio.testadapter.dll"
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Precompiling failed for D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in\xunit.runner.visualstudio.testadapter.dll with exit code -1073741819. [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Mono Ahead of Time compiler - compiling assembly D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\.artifacts\obj\BenchmarkDotNet.Autogenerated\release_net8.0\wasm\for-publish\aot-in\xunit.runner.visualstudio.testadapter.dll [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
  C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.24\Sdk\WasmApp.Native.targets(686,5): error : Could not load signature of DictionaryExtensions:ToDictionaryIgnoringDuplicateKeys due to: Could not resolve type with token 0100001b from typeref (expected class 'System.Collections.Generic.Dictionary`2' in assembly 'System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') assembly:System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:System.Collections.Generic.Dictionary`2 member:(null) [D:\a\BenchmarkDotNet\BenchmarkDotNet\tests\BenchmarkDotNet.IntegrationTests\bin\Release\net8.0\BenchmarkDotNet.IntegrationTests-1\BenchmarkDotNet.Autogenerated.csproj::TargetFramework=net8.0]
    [4/31] Microsoft.DotNet.PlatformAbstractions.dll -> Microsoft.DotNet.PlatformAbstractions.dll.bc

Windows: https://github.com/twobrainsgmbh/BenchmarkDotNet/actions/runs/22498436768/job/65178957950
Linux: https://github.com/twobrainsgmbh/BenchmarkDotNet/actions/runs/22498342640/job/65178632359

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions