aspnet / Benchmarks

Benchmarks for ASP.NET Core
Other
1.17k stars 241 forks source link

Cannot build Benchmarks #2030

Open a74nh opened 1 week ago

a74nh commented 1 week ago

Building src/Benchmarks errors with unable to find a 9.0 version of Microsoft.Extensions.Logging

❯ ~/.dotnet/dotnet --info
.NET SDK:
 Version:           9.0.100-rc.2.24474.11
 Commit:            315e1305db
 Workload version:  9.0.100-manifests.cea95dba
 MSBuild version:   17.12.0-preview-24473-03+fea15fbd1

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  22.04
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /data_sdb/alahay01/.dotnet/sdk/9.0.100-rc.2.24474.11/

.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.

Host:
  Version:      9.0.0-rc.2.24473.5
  Architecture: x64
  Commit:       990ebf52fc

.NET SDKs installed:
  6.0.405 [/data_sdb/alahay01/.dotnet/sdk]
  7.0.102 [/data_sdb/alahay01/.dotnet/sdk]
  9.0.100-rc.2.24474.11 [/data_sdb/alahay01/.dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.13 [/data_sdb/alahay01/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.2 [/data_sdb/alahay01/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 9.0.0-rc.2.24474.3 [/data_sdb/alahay01/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.13 [/data_sdb/alahay01/.dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.2 [/data_sdb/alahay01/.dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 9.0.0-rc.2.24473.5 [/data_sdb/alahay01/.dotnet/shared/Microsoft.NETCore.App]
❯ git clone https://github.com/aspnet/Benchmarks.git
❯ cd Benchmarks/src/Benchmarks
❯ ~/.dotnet/dotnet build -c Release
Welcome to .NET 9.0!
---------------------
SDK Version: 9.0.100-rc.2.24474.11

Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https

----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
    /data_sdb/alahay01/foo/Benchmarks/src/Benchmarks/Benchmarks.csproj : error NU1102:
      Unable to find package Microsoft.Extensions.Logging with version (>= 9.0.0)
        - Found 2071 version(s) in dotnet6 [ Nearest version: 6.0.2-mauipre.1.22102.15 ]
        - Found 1562 version(s) in dotnet7 [ Nearest version: 7.0.0-rtm.22511.4 ]
        - Found 1459 version(s) in dotnet8 [ Nearest version: 8.0.0-rtm.23523.3 ]
        - Found 1414 version(s) in dotnet9 [ Nearest version: 9.0.0-rtm.24516.5 ]
        - Found 126 version(s) in dotnet-public [ Nearest version: 9.0.0-rc.2.24473.5 ]
        - Found 1 version(s) in dotnet7-transport [ Nearest version: 7.0.0-rc.1.22426.10 ]
        - Found 0 version(s) in dotnet-eng
        - Found 0 version(s) in dotnet10-transport
        - Found 0 version(s) in dotnet6-transport
        - Found 0 version(s) in dotnet8-transport
        - Found 0 version(s) in dotnet9-transport
    /data_sdb/alahay01/foo/Benchmarks/src/Benchmarks/Benchmarks.csproj : error NU1102:
      Unable to find package System.ServiceProcess.ServiceController with version (>= 9.0.0)
        - Found 2069 version(s) in dotnet6 [ Nearest version: 6.0.2-mauipre.1.22102.15 ]
        - Found 1560 version(s) in dotnet7 [ Nearest version: 7.0.0-rtm.22511.4 ]
        - Found 1458 version(s) in dotnet8 [ Nearest version: 8.0.0-rtm.23523.3 ]
        - Found 1414 version(s) in dotnet9 [ Nearest version: 9.0.0-rtm.24516.5 ]
        - Found 94 version(s) in dotnet-public [ Nearest version: 9.0.0-rc.2.24473.5 ]
        - Found 1 version(s) in dotnet-eng [ Nearest version: 5.0.0-alpha.1.19618.1 ]
        - Found 1 version(s) in dotnet7-transport [ Nearest version: 7.0.0-rc.1.22426.10 ]
        - Found 0 version(s) in dotnet10-transport
        - Found 0 version(s) in dotnet6-transport
        - Found 0 version(s) in dotnet8-transport
        - Found 0 version(s) in dotnet9-transport
    /data_sdb/alahay01/foo/Benchmarks/src/Benchmarks/Benchmarks.csproj : error NU1103:
      Unable to find a stable package Microsoft.Extensions.FileProviders.Embedded with version (>= 9.0.0)
        - Found 2100 version(s) in dotnet6 [ Nearest version: 6.0.0-rtm.21520.4 ]
        - Found 1621 version(s) in dotnet7 [ Nearest version: 7.0.0-rtm.22513.3 ]
        - Found 1593 version(s) in dotnet8 [ Nearest version: 9.0.0-alpha.1.23417.3 ]
        - Found 1148 version(s) in dotnet9 [ Nearest version: 10.0.0-alpha.1.24416.1 ]
        - Found 198 version(s) in dotnet-public [ Nearest version: 9.0.0-rc.2.24474.3 ]
        - Found 1 version(s) in dotnet7-transport [ Nearest version: 7.0.0-rc.1.22427.2 ]
        - Found 0 version(s) in dotnet-eng
        - Found 0 version(s) in dotnet10-transport
        - Found 0 version(s) in dotnet6-transport
        - Found 0 version(s) in dotnet8-transport
        - Found 0 version(s) in dotnet9-transport
    /data_sdb/alahay01/foo/Benchmarks/src/Benchmarks/Benchmarks.csproj : error NU1102:
      Unable to find package Microsoft.Extensions.Logging.Console with version (>= 9.0.0)
        - Found 2071 version(s) in dotnet6 [ Nearest version: 6.0.2-mauipre.1.22102.15 ]
        - Found 1562 version(s) in dotnet7 [ Nearest version: 7.0.0-rtm.22511.4 ]
        - Found 1459 version(s) in dotnet8 [ Nearest version: 8.0.0-rtm.23523.3 ]
        - Found 1414 version(s) in dotnet9 [ Nearest version: 9.0.0-rtm.24516.5 ]
        - Found 126 version(s) in dotnet-public [ Nearest version: 9.0.0-rc.2.24473.5 ]
        - Found 1 version(s) in dotnet7-transport [ Nearest version: 7.0.0-rc.1.22426.10 ]
        - Found 0 version(s) in dotnet-eng
        - Found 0 version(s) in dotnet10-transport
        - Found 0 version(s) in dotnet6-transport
        - Found 0 version(s) in dotnet8-transport
        - Found 0 version(s) in dotnet9-transport
    /data_sdb/alahay01/foo/Benchmarks/src/Benchmarks/Benchmarks.csproj : error NU1102:
      Unable to find package Microsoft.Extensions.DependencyInjection with version (>= 9.0.0)
        - Found 2071 version(s) in dotnet6 [ Nearest version: 6.0.2-mauipre.1.22102.15 ]
        - Found 1562 version(s) in dotnet7 [ Nearest version: 7.0.0-rtm.22511.4 ]
        - Found 1459 version(s) in dotnet8 [ Nearest version: 8.0.0-rtm.23523.3 ]
        - Found 1414 version(s) in dotnet9 [ Nearest version: 9.0.0-rtm.24516.5 ]
        - Found 126 version(s) in dotnet-public [ Nearest version: 9.0.0-rc.2.24473.5 ]
        - Found 1 version(s) in dotnet7-transport [ Nearest version: 7.0.0-rc.1.22426.10 ]
        - Found 0 version(s) in dotnet-eng
        - Found 0 version(s) in dotnet10-transport
        - Found 0 version(s) in dotnet6-transport
        - Found 0 version(s) in dotnet8-transport
        - Found 0 version(s) in dotnet9-transport

Restore failed with 5 error(s) in 18.1s
a74nh commented 4 days ago

Curious - rewinding the HEAD to an older version (.... July 2024) doesn't fix this. Sounds like an dependency breakage external to this repo ?

sebastienros commented 3 days ago

This is currently unstable because we are pointing to nightly builds feed, which since last week have references to GA version (9.0.0) but are not yet available on public feeds or nuget.org. This will work again in two weeks when 9.0 ships.

a74nh commented 23 hours ago

This is currently unstable because we are pointing to nightly builds feed, which since last week have references to GA version (9.0.0) but are not yet available on public feeds or nuget.org. This will work again in two weeks when 9.0 ships.

Ok, thanks for the update. Happy to leave this ticket open until then.