Azure / Azure/azure-functions-dotnet-worker
Race condition when building a solution that contains many Azure Functions
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 466
- Forks
- 215
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 7
Description
Description
When building a solution that has 2 Azure Functions (isolated worker), I get random errors like:
click here to see full log
Run dotnet build -c Release --no-restore --warnaserror
HandlerGenerator.Common -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.Common/bin/Release/netstandard2.0/HandlerGenerator.Common.dll
Shared -> /home/runner/work/NetCord/NetCord/SourceGenerators/Shared/bin/Release/netstandard2.0/Shared.dll
ShardedGatewayClientEventsGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/ShardedGatewayClientEventsGenerator/bin/Release/netstandard2.0/ShardedGatewayClientEventsGenerator.dll
UserAgentHeaderGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/UserAgentHeaderGenerator/bin/Release/netstandard2.0/UserAgentHeaderGenerator.dll
HandlerGenerator.Webhook -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.Webhook/bin/Release/netstandard2.0/HandlerGenerator.Webhook.dll
RestClientMethodAliasesGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/RestClientMethodAliasesGenerator/bin/Release/netstandard2.0/RestClientMethodAliasesGenerator.dll
HandlerGenerator.HttpInteraction -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.HttpInteraction/bin/Release/netstandard2.0/HandlerGenerator.HttpInteraction.dll
HandlerGenerator.Gateway -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.Gateway/bin/Release/netstandard2.0/HandlerGenerator.Gateway.dll
MethodsForPropertiesGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/MethodsForPropertiesGenerator/bin/Release/netstandard2.0/MethodsForPropertiesGenerator.dll
WebSocketClientEventsGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/WebSocketClientEventsGenerator/bin/Release/netstandard2.0/WebSocketClientEventsGenerator.dll
NetCord -> /home/runner/work/NetCord/NetCord/NetCord/bin/Release/net10.0/NetCord.dll
Troubleshooting -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/Troubleshooting/bin/Release/net10.0/MyBot.dll
VoiceConnection -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/VoiceConnection/bin/Release/net10.0/MyBot.dll
ColorTest -> /home/runner/work/NetCord/NetCord/Tests/ColorTest/bin/Release/net10.0/ColorTest.dll
NetCord.Rest.Tests -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Rest.Tests/bin/Release/net10.0/NetCord.Rest.Tests.dll
TimestampTest -> /home/runner/work/NetCord/NetCord/Tests/TimestampTest/bin/Release/net10.0/TimestampTest.dll
TokenTest -> /home/runner/work/NetCord/NetCord/Tests/TokenTest/bin/Release/net10.0/TokenTest.dll
Sharding -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/Sharding/bin/Release/net10.0/MyBot.dll
RespondingToInteractions -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/RespondingToInteractions/bin/Release/net10.0/MyBot.dll
SendingVoice -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/SendingVoice/bin/Release/net10.0/MyBot.dll
NetCord.Services -> /home/runner/work/NetCord/NetCord/NetCord.Services/bin/Release/net10.0/NetCord.Services.dll
Introduction -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/component-interactions/Introduction/bin/Release/net10.0/MyBot.dll
Parameters -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/Parameters/bin/Release/net10.0/MyBot.dll
NetCord.Test -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test/bin/Release/net10.0/NetCord.Test.dll
NetCord.Test.Sharded -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Sharded/bin/Release/net10.0/NetCord.Test.Sharded.dll
CustomContexts -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/CustomModuleBasesAndContexts/CustomContexts/bin/Release/net10.0/MyBot.dll
Permissions -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Permissions/bin/Release/net10.0/MyBot.dll
Parameters -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Parameters/bin/Release/net10.0/MyBot.dll
Introduction -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Introduction/bin/Release/net10.0/MyBot.dll
Voice -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/Voice/bin/Release/net10.0/MyBot.dll
ServicesTest -> /home/runner/work/NetCord/NetCord/Tests/ServicesTest/bin/Release/net10.0/ServicesTest.dll
NetCord.Hosting -> /home/runner/work/NetCord/NetCord/Hosting/NetCord.Hosting/bin/Release/net10.0/NetCord.Hosting.dll
Parameters -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/component-interactions/Parameters/bin/Release/net10.0/MyBot.dll
Subcommands -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Subcommands/bin/Release/net10.0/MyBot.dll
MultipleServices -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/MultipleServices/bin/Release/net10.0/MyBot.dll
Localizations -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Localizations/bin/Release/net10.0/MyBot.dll
SendingMessages -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/SendingMessages/bin/Release/net10.0/MyBot.dll
FirstEvents -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/FirstEvents/bin/Release/net10.0/MyBot.dll
Intents -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/Intents/bin/Release/net10.0/MyBot.dll
Coding -> /home/runner/work/NetCord/NetCord/Documentation/guides/getting-started/Coding/bin/Release/net10.0/MyBot.dll
ReceivingVoice -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/ReceivingVoice/bin/Release/net10.0/MyBot.dll
MentionTest -> /home/runner/work/NetCord/NetCord/Tests/MentionTest/bin/Release/net10.0/MentionTest.dll
RoleTest -> /home/runner/work/NetCord/NetCord/Tests/RoleTest/bin/Release/net10.0/RoleTest.dll
SnowflakeTest -> /home/runner/work/NetCord/NetCord/Tests/SnowflakeTest/bin/Release/net10.0/SnowflakeTest.dll
VoiceEncryptionTest -> /home/runner/work/NetCord/NetCord/Tests/VoiceEncryptionTest/bin/Release/net10.0/VoiceEncryptionTest.dll
CustomModuleBases -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/CustomModuleBasesAndContexts/CustomModuleBases/bin/Release/net10.0/MyBot.dll
Aliases -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/Aliases/bin/Release/net10.0/MyBot.dll
Introduction -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/Introduction/bin/Release/net10.0/MyBot.dll
ShardingHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/ShardingHosting/bin/Release/net10.0/MyBot.dll
CodingHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/getting-started/CodingHosting/bin/Release/net10.0/MyBot.dll
IntentsHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/IntentsHosting/bin/Release/net10.0/MyBot.dll
FirstEventsHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/FirstEventsHosting/bin/Release/net10.0/MyBot.dll
NetCord.Hosting.AspNetCore -> /home/runner/work/NetCord/NetCord/Hosting/NetCord.Hosting.AspNetCore/bin/Release/net10.0/NetCord.Hosting.AspNetCore.dll
NetCord.Hosting.Services -> /home/runner/work/NetCord/NetCord/Hosting/NetCord.Hosting.Services/bin/Release/net10.0/NetCord.Hosting.Services.dll
VoiceSetup -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/VoiceSetup/bin/Release/net10.0/MyBot.dll
ParameterPreconditions -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/Preconditions/ParameterPreconditions/bin/Release/net10.0/MyBot.dll
LocalizationsHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/LocalizationsHosting/bin/Release/net10.0/MyBot.dll
IntroductionHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/IntroductionHosting/bin/Release/net10.0/MyBot.dll
DependencyInjection -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/DependencyInjection/bin/Release/net10.0/MyBot.dll
Voice -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/Voice/bin/Release/net10.0/MyBot.dll
NetCord.Test.Hosting -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Hosting/bin/Release/net10.0/NetCord.Test.Hosting.dll
Determining projects to restore...
NetCord.Test.Sharded.Hosting -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Sharded.Hosting/bin/Release/net10.0/NetCord.Test.Sharded.Hosting.dll
IntroductionHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/IntroductionHosting/bin/Release/net10.0/MyBot.dll
HandlersTest -> /home/runner/work/NetCord/NetCord/Tests/HandlersTest/bin/Release/net10.0/HandlersTest.dll
Determining projects to restore...
Preconditions -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/Preconditions/Preconditions/bin/Release/net10.0/MyBot.dll
IntroductionHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/component-interactions/IntroductionHosting/bin/Release/net10.0/MyBot.dll
Introduction.HttpInteractions -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/Introduction.HttpInteractions/bin/Release/net10.0/MyBot.dll
Introduction.WebhookEvents -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/Introduction.WebhookEvents/bin/Release/net10.0/MyBot.dll
Failed to download package 'System.Globalization.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.globalization/4.3.0/system.globalization.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.globalization.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'System.Collections.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.collections/4.3.0/system.collections.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.collections.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl.4.3.2' from 'https://api.nuget.org/v3-flatcontainer/runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl/4.3.2/runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl.4.3.2.dat-new' because it is being used by another process.
Failed to download package 'runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl.4.3.2' from 'https://api.nuget.org/v3-flatcontainer/runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl/4.3.2/runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl.4.3.2.dat-new' because it is being used by another process.
Failed to download package 'runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl.4.3.2' from 'https://api.nuget.org/v3-flatcontainer/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl/4.3.2/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl.4.3.2.dat-new' because it is being used by another process.
Failed to download package 'System.Reflection.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.reflection/4.3.0/system.reflection.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.reflection.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'Microsoft.AspNetCore.Routing.Abstractions.2.2.0' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.routing.abstractions/2.2.0/microsoft.aspnetcore.routing.abstractions.2.2.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_microsoft.aspnetcore.routing.abstractions.2.2.0.dat-new' because it is being used by another process.
Failed to download package 'Microsoft.AspNetCore.Http.Extensions.2.2.0' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.http.extensions/2.2.0/microsoft.aspnetcore.http.extensions.2.2.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_microsoft.aspnetcore.http.extensions.2.2.0.dat-new' because it is being used by another process.
Failed to download package 'Microsoft.AspNet.WebApi.Client.5.2.6' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnet.webapi.client/5.2.6/microsoft.aspnet.webapi.client.5.2.6.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_microsoft.aspnet.webapi.client.5.2.6.dat-new' because it is being used by another process.
Failed to download package 'Microsoft.AspNetCore.Mvc.Core.2.2.0' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.mvc.core/2.2.0/microsoft.aspnetcore.mvc.core.2.2.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_microsoft.aspnetcore.mvc.core.2.2.0.dat-new' because it is being used by another process.
Failed to download package 'Newtonsoft.Json.Bson.1.0.1' from 'https://api.nuget.org/v3-flatcontainer/newtonsoft.json.bson/1.0.1/newtonsoft.json.bson.1.0.1.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_newtonsoft.json.bson.1.0.1.dat-new' because it is being used by another process.
Failed to download package 'System.Globalization.4.0.11' from 'https://api.nuget.org/v3-flatcontainer/system.globalization/4.0.11/system.globalization.4.0.11.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.globalization.4.0.11.dat-new' because it is being used by another process.
Failed to download package 'System.Text.Json.4.6.0' from 'https://api.nuget.org/v3-flatcontainer/system.text.json/4.6.0/system.text.json.4.6.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.text.json.4.6.0.dat-new' because it is being used by another process.
Failed to download package 'Microsoft.AspNetCore.Http.Abstractions.2.2.0' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.http.abstractions/2.2.0/microsoft.aspnetcore.http.abstractions.2.2.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_microsoft.aspnetcore.http.abstractions.2.2.0.dat-new' because it is being used by another process.
Failed to download package 'System.IO.4.1.0' from 'https://api.nuget.org/v3-flatcontainer/system.io/4.1.0/system.io.4.1.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.io.4.1.0.dat-new' because it is being used by another process.
Failed to download package 'Newtonsoft.Json.10.0.1' from 'https://api.nuget.org/v3-flatcontainer/newtonsoft.json/10.0.1/newtonsoft.json.10.0.1.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_newtonsoft.json.10.0.1.dat-new' because it is being used by another process.
Failed to download package 'System.Diagnostics.TraceSource.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.diagnostics.tracesource/4.3.0/system.diagnostics.tracesource.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.diagnostics.tracesource.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'System.ComponentModel.Annotations.4.4.0' from 'https://api.nuget.org/v3-flatcontainer/system.componentmodel.annotations/4.4.0/system.componentmodel.annotations.4.4.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.componentmodel.annotations.4.4.0.dat-new' because it is being used by another process.
Failed to download package 'System.Collections.4.0.11' from 'https://api.nuget.org/v3-flatcontainer/system.collections/4.0.11/system.collections.4.0.11.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.collections.4.0.11.dat-new' because it is being used by another process.
Failed to download package 'System.IO.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.io/4.3.0/system.io.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.io.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'System.Threading.Tasks.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.threading.tasks/4.3.0/system.threading.tasks.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.threading.tasks.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'System.Runtime.Extensions.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.runtime.extensions/4.3.0/system.runtime.extensions.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.runtime.extensions.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'System.Runtime.4.3.1' from 'https://api.nuget.org/v3-flatcontainer/system.runtime/4.3.1/system.runtime.4.3.1.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.runtime.4.3.1.dat-new' because it is being used by another process.
Failed to download package 'System.Security.Cryptography.X509Certificates.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.security.cryptography.x509certificates/4.3.0/system.security.cryptography.x509certificates.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.security.cryptography.x509certificates.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'System.Runtime.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.runtime/4.3.0/system.runtime.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.runtime.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'WindowsAzure.Storage.9.3.1' from 'https://api.nuget.org/v3-flatcontainer/windowsazure.storage/9.3.1/windowsazure.storage.9.3.1.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_windowsazure.storage.9.3.1.dat-new' because it is being used by another process.
Failed to download package 'System.Security.Cryptography.Algorithms.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.security.cryptography.algorithms/4.3.0/system.security.cryptography.algorithms.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.security.cryptography.algorithms.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'System.Diagnostics.Tracing.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.diagnostics.tracing/4.3.0/system.diagnostics.tracing.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.diagnostics.tracing.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'System.Net.Primitives.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.net.primitives/4.3.0/system.net.primitives.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.net.primitives.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'System.Resources.ResourceManager.4.0.1' from 'https://api.nuget.org/v3-flatcontainer/system.resources.resourcemanager/4.0.1/system.resources.resourcemanager.4.0.1.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.resources.resourcemanager.4.0.1.dat-new' because it is being used by another process.
Failed to download package 'System.Net.Primitives.4.0.11' from 'https://api.nuget.org/v3-flatcontainer/system.net.primitives/4.0.11/system.net.primitives.4.0.11.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.net.primitives.4.0.11.dat-new' because it is being used by another process.
Failed to download package 'System.Threading.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.threading/4.3.0/system.threading.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.threading.4.3.0.dat-new' because it is being used by another process.
Failed to download package 'System.Security.Cryptography.Encoding.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.security.cryptography.encoding/4.3.0/system.security.cryptography.encoding.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.security.cryptography.encoding.4.3.0.dat' because it is being used by another process.
Failed to download package 'Microsoft.Net.Http.Headers.2.2.0' from 'https://api.nuget.org/v3-flatcontainer/microsoft.net.http.headers/2.2.0/microsoft.net.http.headers.2.2.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_microsoft.net.http.headers.2.2.0.dat' because it is being used by another process.
Failed to download package 'runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl.4.3.2' from 'https://api.nuget.org/v3-flatcontainer/runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl/4.3.2/runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.2.dat-new' because it is being used by another process.
NetCord.Test.Hosting.AspNetCore -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Hosting.AspNetCore/bin/Release/net10.0/NetCord.Test.Hosting.AspNetCore.dll
Failed to download package 'System.Text.Encoding.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.text.encoding/4.3.0/system.text.encoding.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.text.encoding.4.3.0.dat' because it is being used by another process.
Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl/index.json'.
Could not find file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/list_runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.dat-new'.
Failed to download package 'System.Security.Cryptography.Encoding.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.security.cryptography.encoding/4.3.0/system.security.cryptography.encoding.4.3.0.nupkg'.
Could not find file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.security.cryptography.encoding.4.3.0.dat-new'.
Failed to download package 'Microsoft.Net.Http.Headers.2.2.0' from 'https://api.nuget.org/v3-flatcontainer/microsoft.net.http.headers/2.2.0/microsoft.net.http.headers.2.2.0.nupkg'.
Could not find file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_microsoft.net.http.headers.2.2.0.dat-new'.
Failed to download package 'System.Text.Encoding.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.text.encoding/4.3.0/system.text.encoding.4.3.0.nupkg'.
Could not find file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.text.encoding.4.3.0.dat-new'.
Failed to download package 'System.Globalization.Calendars.4.3.0' from 'https://api.nuget.org/v3-flatcontainer/system.globalization.calendars/4.3.0/system.globalization.calendars.4.3.0.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_system.globalization.calendars.4.3.0.dat-new' because it is being used by another process.
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/microsoft.azure.functions.analyzers/1.0.0/05onyc1p.5fl'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.HttpInteractions/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/system.security.cryptography.x509certificates/4.3.0/trz2nsbs.nzd'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.WebhookEvents/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
AWSLambda.WebhookEvents -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AWSLambda.WebhookEvents/bin/Release/net10.0/MyBot.dll
AWSLambda.HttpInteractions -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AWSLambda.HttpInteractions/bin/Release/net10.0/MyBot.dll
Build FAILED.
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/microsoft.azure.functions.analyzers/1.0.0/05onyc1p.5fl'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.HttpInteractions/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/system.security.cryptography.x509certificates/4.3.0/trz2nsbs.nzd'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.WebhookEvents/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:01:01.41
click here to see another full log
Run dotnet build -c Release --no-restore --warnaserror
HandlerGenerator.Common -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.Common/bin/Release/netstandard2.0/HandlerGenerator.Common.dll
Shared -> /home/runner/work/NetCord/NetCord/SourceGenerators/Shared/bin/Release/netstandard2.0/Shared.dll
ShardedGatewayClientEventsGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/ShardedGatewayClientEventsGenerator/bin/Release/netstandard2.0/ShardedGatewayClientEventsGenerator.dll
UserAgentHeaderGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/UserAgentHeaderGenerator/bin/Release/netstandard2.0/UserAgentHeaderGenerator.dll
WebSocketClientEventsGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/WebSocketClientEventsGenerator/bin/Release/netstandard2.0/WebSocketClientEventsGenerator.dll
HandlerGenerator.Gateway -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.Gateway/bin/Release/netstandard2.0/HandlerGenerator.Gateway.dll
HandlerGenerator.Webhook -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.Webhook/bin/Release/netstandard2.0/HandlerGenerator.Webhook.dll
HandlerGenerator.HttpInteraction -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.HttpInteraction/bin/Release/netstandard2.0/HandlerGenerator.HttpInteraction.dll
RestClientMethodAliasesGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/RestClientMethodAliasesGenerator/bin/Release/netstandard2.0/RestClientMethodAliasesGenerator.dll
MethodsForPropertiesGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/MethodsForPropertiesGenerator/bin/Release/netstandard2.0/MethodsForPropertiesGenerator.dll
NetCord -> /home/runner/work/NetCord/NetCord/NetCord/bin/Release/net10.0/NetCord.dll
FirstEvents -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/FirstEvents/bin/Release/net10.0/MyBot.dll
Coding -> /home/runner/work/NetCord/NetCord/Documentation/guides/getting-started/Coding/bin/Release/net10.0/MyBot.dll
Troubleshooting -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/Troubleshooting/bin/Release/net10.0/MyBot.dll
ColorTest -> /home/runner/work/NetCord/NetCord/Tests/ColorTest/bin/Release/net10.0/ColorTest.dll
MentionTest -> /home/runner/work/NetCord/NetCord/Tests/MentionTest/bin/Release/net10.0/MentionTest.dll
TimestampTest -> /home/runner/work/NetCord/NetCord/Tests/TimestampTest/bin/Release/net10.0/TimestampTest.dll
VoiceEncryptionTest -> /home/runner/work/NetCord/NetCord/Tests/VoiceEncryptionTest/bin/Release/net10.0/VoiceEncryptionTest.dll
Sharding -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/Sharding/bin/Release/net10.0/MyBot.dll
RespondingToInteractions -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/RespondingToInteractions/bin/Release/net10.0/MyBot.dll
ReceivingVoice -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/ReceivingVoice/bin/Release/net10.0/MyBot.dll
VoiceConnection -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/VoiceConnection/bin/Release/net10.0/MyBot.dll
NetCord.Services -> /home/runner/work/NetCord/NetCord/NetCord.Services/bin/Release/net10.0/NetCord.Services.dll
Aliases -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/Aliases/bin/Release/net10.0/MyBot.dll
CustomModuleBases -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/CustomModuleBasesAndContexts/CustomModuleBases/bin/Release/net10.0/MyBot.dll
Parameters -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Parameters/bin/Release/net10.0/MyBot.dll
ServicesTest -> /home/runner/work/NetCord/NetCord/Tests/ServicesTest/bin/Release/net10.0/ServicesTest.dll
Localizations -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Localizations/bin/Release/net10.0/MyBot.dll
Voice -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/Voice/bin/Release/net10.0/MyBot.dll
NetCord.Test -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test/bin/Release/net10.0/NetCord.Test.dll
Parameters -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/Parameters/bin/Release/net10.0/MyBot.dll
Parameters -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/component-interactions/Parameters/bin/Release/net10.0/MyBot.dll
Introduction -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/component-interactions/Introduction/bin/Release/net10.0/MyBot.dll
Permissions -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Permissions/bin/Release/net10.0/MyBot.dll
NetCord.Hosting -> /home/runner/work/NetCord/NetCord/Hosting/NetCord.Hosting/bin/Release/net10.0/NetCord.Hosting.dll
NetCord.Test.Sharded -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Sharded/bin/Release/net10.0/NetCord.Test.Sharded.dll
Introduction -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/Introduction/bin/Release/net10.0/MyBot.dll
CustomContexts -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/CustomModuleBasesAndContexts/CustomContexts/bin/Release/net10.0/MyBot.dll
Subcommands -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Subcommands/bin/Release/net10.0/MyBot.dll
MultipleServices -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/MultipleServices/bin/Release/net10.0/MyBot.dll
Introduction -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Introduction/bin/Release/net10.0/MyBot.dll
SendingMessages -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/SendingMessages/bin/Release/net10.0/MyBot.dll
Intents -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/Intents/bin/Release/net10.0/MyBot.dll
SendingVoice -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/SendingVoice/bin/Release/net10.0/MyBot.dll
NetCord.Rest.Tests -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Rest.Tests/bin/Release/net10.0/NetCord.Rest.Tests.dll
RoleTest -> /home/runner/work/NetCord/NetCord/Tests/RoleTest/bin/Release/net10.0/RoleTest.dll
SnowflakeTest -> /home/runner/work/NetCord/NetCord/Tests/SnowflakeTest/bin/Release/net10.0/SnowflakeTest.dll
TokenTest -> /home/runner/work/NetCord/NetCord/Tests/TokenTest/bin/Release/net10.0/TokenTest.dll
ShardingHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/ShardingHosting/bin/Release/net10.0/MyBot.dll
NetCord.Hosting.Services -> /home/runner/work/NetCord/NetCord/Hosting/NetCord.Hosting.Services/bin/Release/net10.0/NetCord.Hosting.Services.dll
IntentsHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/IntentsHosting/bin/Release/net10.0/MyBot.dll
NetCord.Test.Sharded.Hosting -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Sharded.Hosting/bin/Release/net10.0/NetCord.Test.Sharded.Hosting.dll
NetCord.Test.Hosting -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Hosting/bin/Release/net10.0/NetCord.Test.Hosting.dll
VoiceSetup -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/VoiceSetup/bin/Release/net10.0/MyBot.dll
NetCord.Hosting.AspNetCore -> /home/runner/work/NetCord/NetCord/Hosting/NetCord.Hosting.AspNetCore/bin/Release/net10.0/NetCord.Hosting.AspNetCore.dll
ParameterPreconditions -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/Preconditions/ParameterPreconditions/bin/Release/net10.0/MyBot.dll
HandlersTest -> /home/runner/work/NetCord/NetCord/Tests/HandlersTest/bin/Release/net10.0/HandlersTest.dll
FirstEventsHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/FirstEventsHosting/bin/Release/net10.0/MyBot.dll
CodingHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/getting-started/CodingHosting/bin/Release/net10.0/MyBot.dll
IntroductionHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/IntroductionHosting/bin/Release/net10.0/MyBot.dll
IntroductionHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/component-interactions/IntroductionHosting/bin/Release/net10.0/MyBot.dll
Voice -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/Voice/bin/Release/net10.0/MyBot.dll
Preconditions -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/Preconditions/Preconditions/bin/Release/net10.0/MyBot.dll
Determining projects to restore...
LocalizationsHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/LocalizationsHosting/bin/Release/net10.0/MyBot.dll
IntroductionHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/IntroductionHosting/bin/Release/net10.0/MyBot.dll
DependencyInjection -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/DependencyInjection/bin/Release/net10.0/MyBot.dll
AWSLambda.HttpInteractions -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AWSLambda.HttpInteractions/bin/Release/net10.0/MyBot.dll
Determining projects to restore...
Introduction.HttpInteractions -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/Introduction.HttpInteractions/bin/Release/net10.0/MyBot.dll
AWSLambda.WebhookEvents -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AWSLambda.WebhookEvents/bin/Release/net10.0/MyBot.dll
NetCord.Test.Hosting.AspNetCore -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Hosting.AspNetCore/bin/Release/net10.0/NetCord.Test.Hosting.AspNetCore.dll
Introduction.WebhookEvents -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/Introduction.WebhookEvents/bin/Release/net10.0/MyBot.dll
Failed to download package 'Microsoft.AspNetCore.App.Ref.8.0.30' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.ref/8.0.30/microsoft.aspnetcore.app.ref.8.0.30.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_microsoft.aspnetcore.app.ref.8.0.30.dat-new' because it is being used by another process.
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.30/jm31jxat.naz'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.WebhookEvents/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/system.reflection.emit.ilgeneration/4.0.1/f1ayaf00.3p2'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.HttpInteractions/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
Build FAILED.
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.30/jm31jxat.naz'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.WebhookEvents/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/system.reflection.emit.ilgeneration/4.0.1/f1ayaf00.3p2'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.HttpInteractions/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:01:14.87
click here to see yet another full log
Run dotnet build -c Release --no-restore --warnaserror
HandlerGenerator.Common -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.Common/bin/Release/netstandard2.0/HandlerGenerator.Common.dll
Shared -> /home/runner/work/NetCord/NetCord/SourceGenerators/Shared/bin/Release/netstandard2.0/Shared.dll
WebSocketClientEventsGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/WebSocketClientEventsGenerator/bin/Release/netstandard2.0/WebSocketClientEventsGenerator.dll
ShardedGatewayClientEventsGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/ShardedGatewayClientEventsGenerator/bin/Release/netstandard2.0/ShardedGatewayClientEventsGenerator.dll
UserAgentHeaderGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/UserAgentHeaderGenerator/bin/Release/netstandard2.0/UserAgentHeaderGenerator.dll
RestClientMethodAliasesGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/RestClientMethodAliasesGenerator/bin/Release/netstandard2.0/RestClientMethodAliasesGenerator.dll
MethodsForPropertiesGenerator -> /home/runner/work/NetCord/NetCord/SourceGenerators/MethodsForPropertiesGenerator/bin/Release/netstandard2.0/MethodsForPropertiesGenerator.dll
HandlerGenerator.HttpInteraction -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.HttpInteraction/bin/Release/netstandard2.0/HandlerGenerator.HttpInteraction.dll
NetCord -> /home/runner/work/NetCord/NetCord/NetCord/bin/Release/net10.0/NetCord.dll
Coding -> /home/runner/work/NetCord/NetCord/Documentation/guides/getting-started/Coding/bin/Release/net10.0/MyBot.dll
ReceivingVoice -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/ReceivingVoice/bin/Release/net10.0/MyBot.dll
VoiceConnection -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/VoiceConnection/bin/Release/net10.0/MyBot.dll
HandlerGenerator.Webhook -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.Webhook/bin/Release/netstandard2.0/HandlerGenerator.Webhook.dll
HandlerGenerator.Gateway -> /home/runner/work/NetCord/NetCord/SourceGenerators/HandlerGenerator.Gateway/bin/Release/netstandard2.0/HandlerGenerator.Gateway.dll
SnowflakeTest -> /home/runner/work/NetCord/NetCord/Tests/SnowflakeTest/bin/Release/net10.0/SnowflakeTest.dll
FirstEvents -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/FirstEvents/bin/Release/net10.0/MyBot.dll
SendingVoice -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/SendingVoice/bin/Release/net10.0/MyBot.dll
TimestampTest -> /home/runner/work/NetCord/NetCord/Tests/TimestampTest/bin/Release/net10.0/TimestampTest.dll
TokenTest -> /home/runner/work/NetCord/NetCord/Tests/TokenTest/bin/Release/net10.0/TokenTest.dll
VoiceEncryptionTest -> /home/runner/work/NetCord/NetCord/Tests/VoiceEncryptionTest/bin/Release/net10.0/VoiceEncryptionTest.dll
RoleTest -> /home/runner/work/NetCord/NetCord/Tests/RoleTest/bin/Release/net10.0/RoleTest.dll
MentionTest -> /home/runner/work/NetCord/NetCord/Tests/MentionTest/bin/Release/net10.0/MentionTest.dll
NetCord.Rest.Tests -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Rest.Tests/bin/Release/net10.0/NetCord.Rest.Tests.dll
ColorTest -> /home/runner/work/NetCord/NetCord/Tests/ColorTest/bin/Release/net10.0/ColorTest.dll
Troubleshooting -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/Troubleshooting/bin/Release/net10.0/MyBot.dll
RespondingToInteractions -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/RespondingToInteractions/bin/Release/net10.0/MyBot.dll
Intents -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/Intents/bin/Release/net10.0/MyBot.dll
Sharding -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/Sharding/bin/Release/net10.0/MyBot.dll
NetCord.Services -> /home/runner/work/NetCord/NetCord/NetCord.Services/bin/Release/net10.0/NetCord.Services.dll
SendingMessages -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/SendingMessages/bin/Release/net10.0/MyBot.dll
CustomModuleBases -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/CustomModuleBasesAndContexts/CustomModuleBases/bin/Release/net10.0/MyBot.dll
Voice -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/Voice/bin/Release/net10.0/MyBot.dll
Introduction -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Introduction/bin/Release/net10.0/MyBot.dll
Subcommands -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Subcommands/bin/Release/net10.0/MyBot.dll
NetCord.Test -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test/bin/Release/net10.0/NetCord.Test.dll
MultipleServices -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/MultipleServices/bin/Release/net10.0/MyBot.dll
Permissions -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Permissions/bin/Release/net10.0/MyBot.dll
Parameters -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/component-interactions/Parameters/bin/Release/net10.0/MyBot.dll
Aliases -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/Aliases/bin/Release/net10.0/MyBot.dll
NetCord.Hosting -> /home/runner/work/NetCord/NetCord/Hosting/NetCord.Hosting/bin/Release/net10.0/NetCord.Hosting.dll
Localizations -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Localizations/bin/Release/net10.0/MyBot.dll
Parameters -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/Parameters/bin/Release/net10.0/MyBot.dll
Introduction -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/component-interactions/Introduction/bin/Release/net10.0/MyBot.dll
CustomContexts -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/CustomModuleBasesAndContexts/CustomContexts/bin/Release/net10.0/MyBot.dll
Introduction -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/Introduction/bin/Release/net10.0/MyBot.dll
Parameters -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/Parameters/bin/Release/net10.0/MyBot.dll
NetCord.Test.Sharded -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Sharded/bin/Release/net10.0/NetCord.Test.Sharded.dll
ServicesTest -> /home/runner/work/NetCord/NetCord/Tests/ServicesTest/bin/Release/net10.0/ServicesTest.dll
ShardingHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/basic-concepts/ShardingHosting/bin/Release/net10.0/MyBot.dll
NetCord.Hosting.Services -> /home/runner/work/NetCord/NetCord/Hosting/NetCord.Hosting.Services/bin/Release/net10.0/NetCord.Hosting.Services.dll
IntentsHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/IntentsHosting/bin/Release/net10.0/MyBot.dll
Preconditions -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/Preconditions/Preconditions/bin/Release/net10.0/MyBot.dll
VoiceSetup -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/VoiceSetup/bin/Release/net10.0/MyBot.dll
NetCord.Test.Hosting -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Hosting/bin/Release/net10.0/NetCord.Test.Hosting.dll
CodingHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/getting-started/CodingHosting/bin/Release/net10.0/MyBot.dll
IntroductionHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/component-interactions/IntroductionHosting/bin/Release/net10.0/MyBot.dll
IntroductionHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/IntroductionHosting/bin/Release/net10.0/MyBot.dll
IntroductionHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/text-commands/IntroductionHosting/bin/Release/net10.0/MyBot.dll
ParameterPreconditions -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/Preconditions/ParameterPreconditions/bin/Release/net10.0/MyBot.dll
FirstEventsHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/events/FirstEventsHosting/bin/Release/net10.0/MyBot.dll
DependencyInjection -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/DependencyInjection/bin/Release/net10.0/MyBot.dll
Voice -> /home/runner/work/NetCord/NetCord/Documentation/guides/voice/Voice/bin/Release/net10.0/MyBot.dll
LocalizationsHosting -> /home/runner/work/NetCord/NetCord/Documentation/guides/services/application-commands/LocalizationsHosting/bin/Release/net10.0/MyBot.dll
NetCord.Test.Sharded.Hosting -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Sharded.Hosting/bin/Release/net10.0/NetCord.Test.Sharded.Hosting.dll
NetCord.Hosting.AspNetCore -> /home/runner/work/NetCord/NetCord/Hosting/NetCord.Hosting.AspNetCore/bin/Release/net10.0/NetCord.Hosting.AspNetCore.dll
HandlersTest -> /home/runner/work/NetCord/NetCord/Tests/HandlersTest/bin/Release/net10.0/HandlersTest.dll
AWSLambda.HttpInteractions -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AWSLambda.HttpInteractions/bin/Release/net10.0/MyBot.dll
Introduction.HttpInteractions -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/Introduction.HttpInteractions/bin/Release/net10.0/MyBot.dll
AWSLambda.WebhookEvents -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AWSLambda.WebhookEvents/bin/Release/net10.0/MyBot.dll
Determining projects to restore...
NetCord.Test.Hosting.AspNetCore -> /home/runner/work/NetCord/NetCord/Tests/NetCord.Test.Hosting.AspNetCore/bin/Release/net10.0/NetCord.Test.Hosting.AspNetCore.dll
Determining projects to restore...
Failed to download package 'Microsoft.NETCore.App.Ref.8.0.30' from 'https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.ref/8.0.30/microsoft.netcore.app.ref.8.0.30.nupkg'.
The process cannot access the file '/home/runner/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_microsoft.netcore.app.ref.8.0.30.dat-new' because it is being used by another process.
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.30/i0rnx4pj.3z4'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.WebhookEvents/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/microsoft.extensions.logging.abstractions/2.1.0/bwiiv2qm.mmv'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.HttpInteractions/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
Introduction.WebhookEvents -> /home/runner/work/NetCord/NetCord/Documentation/guides/http-events/Introduction.WebhookEvents/bin/Release/net10.0/MyBot.dll
Build FAILED.
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.30/i0rnx4pj.3z4'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.WebhookEvents/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
/nix/store/ivvl56fbr2kqrxhk6lfv6y4gm2xw3in3-dotnet-sdk-10.0.400/share/dotnet/sdk/10.0.400/NuGet.targets(198,5): error : Could not find file '/home/runner/.nuget/packages/microsoft.extensions.logging.abstractions/2.1.0/bwiiv2qm.mmv'. [/home/runner/work/NetCord/NetCord/Documentation/guides/http-events/AzureFunction.HttpInteractions/obj/Release/net10.0/WorkerExtensions/WorkerExtensions.csproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:01:13.48
I can provide more of them if needed. Had to remove some because of the 65536 characters limit of GitHub.
Steps to reproduce
This happens regularly in CI, but I am not able to reproduce it locally (reproduced it exactly once and I can't anymore).
In theory this should reproduce this, you may need to run it a few times, but it may never happen
git clone https://github.com/NetCordDev/NetCord
cd NetCord
git checkout e8a05469d95ed156ec322fe606c5e35893e5cfb6
dotnet nuget locals --clear all
dotnet restore
dotnet build -c Release --no-restore
cd ..
rm -rf NetCord
On the ubuntu-latest GitHub hosted runner it happens almost all the time.
7 out of 9 runs failed because of this (not counting reruns):
~ from https://github.com/NetCordDev/NetCord/pull/358
You can see the workflow file here: https://github.com/NetCordDev/NetCord/blob/e8a05469d95ed156ec322fe606c5e35893e5cfb6/.github/workflows/build.yml
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with dotnet build -c Release --no-restore --warnaserror on a solution containing two isolated-worker Azure Functions. Inspect the NuGet HTTP-cache paths reported in the log and determine which concurrent build activity owns the .dat-new files. Done means repeated solution builds no longer fail with file-in-use errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100