/_/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
There seem to be two separate issues with Wasm AOT.
Issue 1: During the ILStrip step, it crashes because
*_compiled_methods.txtfiles are missing. I could only reproduce this with .NET 10 / Windows. Both .NET 8 / Windows and .NET 10 / Linux work fine.minimal example
error
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
Windows: https://github.com/twobrainsgmbh/BenchmarkDotNet/actions/runs/22498436768/job/65178957950
Linux: https://github.com/twobrainsgmbh/BenchmarkDotNet/actions/runs/22498342640/job/65178632359