Skip to content

Wasm runs failing due to CS1503: Cannot convert #3427

@LoopedBard3

Description

@LoopedBard3

For some reason, some of the microbenchmarks in Perf.Socket.cs are causing the following error for WASM runs in the runtime-perf pipeline:

[2023/10/18 15:29:23][INFO] $ dotnet build /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj --configuration Release --framework net8.0 --no-restore /p:NuGetPackageRoot=/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/artifacts/packages /p:RestorePackagesPath=/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/artifacts/packages /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 --output /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/artifacts/bin/for-running/MicroBenchmarks /p:BuildingForWasm=true
[2023/10/18 15:29:23][INFO] MSBuild version 17.8.0+6cdef4241 for .NET
[2023/10/18 15:29:24][INFO]   Reporting -> /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/artifacts/bin/for-running/MicroBenchmarks/Reporting.dll
[2023/10/18 15:29:25][INFO]   BenchmarkDotNet.Extensions -> /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/artifacts/bin/for-running/MicroBenchmarks/BenchmarkDotNet.Extensions.dll
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(155,96): error CS1503: Argument 3: cannot convert from 'System.Net.SocketAddress' to 'System.Net.EndPoint' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(156,47): error CS1503: Argument 1: cannot convert from 'System.ReadOnlyMemory<byte>' to 'System.ArraySegment<byte>' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(156,79): error CS1503: Argument 3: cannot convert from 'System.Net.SocketAddress' to 'System.Net.EndPoint' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(158,81): error CS1503: Argument 3: cannot convert from 'System.Net.SocketAddress' to 'System.Net.EndPoint' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(159,47): error CS1503: Argument 1: cannot convert from 'System.ReadOnlyMemory<byte>' to 'System.ArraySegment<byte>' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(159,79): error CS1503: Argument 3: cannot convert from 'System.Net.SocketAddress' to 'System.Net.EndPoint' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] 
[2023/10/18 15:29:29][INFO] Build FAILED.
[2023/10/18 15:29:29][INFO] 
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(155,96): error CS1503: Argument 3: cannot convert from 'System.Net.SocketAddress' to 'System.Net.EndPoint' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(156,47): error CS1503: Argument 1: cannot convert from 'System.ReadOnlyMemory<byte>' to 'System.ArraySegment<byte>' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(156,79): error CS1503: Argument 3: cannot convert from 'System.Net.SocketAddress' to 'System.Net.EndPoint' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(158,81): error CS1503: Argument 3: cannot convert from 'System.Net.SocketAddress' to 'System.Net.EndPoint' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(159,47): error CS1503: Argument 1: cannot convert from 'System.ReadOnlyMemory<byte>' to 'System.ArraySegment<byte>' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO] /home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/libraries/System.Net.Sockets/Perf.Socket.cs(159,79): error CS1503: Argument 3: cannot convert from 'System.Net.SocketAddress' to 'System.Net.EndPoint' [/home/helixbot/work/9FE408D9/w/C2A00A3F/e/performance/src/benchmarks/micro/MicroBenchmarks.csproj::TargetFramework=net8.0]
[2023/10/18 15:29:29][INFO]     0 Warning(s)
[2023/10/18 15:29:29][INFO]     6 Error(s)

FYI @radical

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions