Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wasm runs failing due to CS1503: Cannot convert #3427

Closed
LoopedBard3 opened this issue Oct 18, 2023 · 2 comments
Closed

Wasm runs failing due to CS1503: Cannot convert #3427

LoopedBard3 opened this issue Oct 18, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@LoopedBard3
Copy link
Member

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

@LoopedBard3 LoopedBard3 added the bug Something isn't working label Oct 18, 2023
@radical
Copy link
Member

radical commented Oct 18, 2023

Fix in progress.

@radical radical self-assigned this Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants