Skip to content

fix build?

fix build? #35

Re-run triggered June 29, 2024 22:52
Status Failure
Total duration 1m 32s
Artifacts
build-and-test
55s
build-and-test
build-and-deploy
1m 24s
build-and-deploy
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 22 warnings
build-and-deploy
ENOTFOUND
build-and-deploy
Execution Exception (state: ValidateAzureResource) (step: Invocation)
build-and-deploy
When request Azure resource at ValidateAzureResource, Get Function App Settings : Failed to acquire app settings from https://<scmsite>/api/settings with publish-profile
build-and-deploy
Failed to fetch Kudu App Settings. getaddrinfo ENOTFOUND luasapifunction.scm.azurewebsites.net
build-and-deploy
Error: Failed to fetch Kudu App Settings. getaddrinfo ENOTFOUND luasapifunction.scm.azurewebsites.net at Kudu.<anonymous> (/home/runner/work/_actions/Azure/functions-action/v1/lib/appservice-rest/Kudu/azure-app-kudu-service.js:72:23) at Generator.throw (<anonymous>) at rejected (/home/runner/work/_actions/Azure/functions-action/v1/lib/appservice-rest/Kudu/azure-app-kudu-service.js:6:65) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
build-and-deploy
Deployment Failed!
build-and-test
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build-and-test: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-test: LuasAPI.NET/Models/Station.cs#L27
Change 'InboundStations' to be read-only by removing the property setter. (https://docs.microsoft.com/visualstudio/code-quality/ca2227-collection-properties-should-be-read-only)
build-and-test: LuasAPI.NET/Models/Station.cs#L27
Change 'InboundStations' to be read-only by removing the property setter. (https://docs.microsoft.com/visualstudio/code-quality/ca2227-collection-properties-should-be-read-only)
build-and-test: LuasAPI.NET/Models/Station.cs#L29
Change 'OutboundStations' to be read-only by removing the property setter. (https://docs.microsoft.com/visualstudio/code-quality/ca2227-collection-properties-should-be-read-only)
build-and-test: LuasAPI.NET/Models/Station.cs#L31
Change 'WalkingTransfer' to be read-only by removing the property setter. (https://docs.microsoft.com/visualstudio/code-quality/ca2227-collection-properties-should-be-read-only)
build-and-test: LuasAPI.NET/Models/Station.cs#L29
Change 'OutboundStations' to be read-only by removing the property setter. (https://docs.microsoft.com/visualstudio/code-quality/ca2227-collection-properties-should-be-read-only)
build-and-test: LuasAPI.NET/Models/Station.cs#L31
Change 'WalkingTransfer' to be read-only by removing the property setter. (https://docs.microsoft.com/visualstudio/code-quality/ca2227-collection-properties-should-be-read-only)
build-and-test: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-test: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(string message, Exception innerException). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-test
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build-and-test
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build-and-deploy: LuasAPI.NET/Models/Station.cs#L27
Change 'InboundStations' to be read-only by removing the property setter. (https://docs.microsoft.com/visualstudio/code-quality/ca2227-collection-properties-should-be-read-only)
build-and-deploy: LuasAPI.NET/Models/Station.cs#L31
Change 'WalkingTransfer' to be read-only by removing the property setter. (https://docs.microsoft.com/visualstudio/code-quality/ca2227-collection-properties-should-be-read-only)
build-and-deploy: LuasAPI.NET/Models/Station.cs#L29
Change 'OutboundStations' to be read-only by removing the property setter. (https://docs.microsoft.com/visualstudio/code-quality/ca2227-collection-properties-should-be-read-only)
build-and-deploy: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-deploy: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(string message, Exception innerException). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-deploy: LuasAPI.NET/Infrastructure/LuasForecastApiClient.cs#L28
Cache a 'CompositeFormat' for repeated use in this formatting operation (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1863)
build-and-deploy: LuasAPI.NET/Models/TimeConverter.cs#L24
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
build-and-deploy: LuasAPI.NET/Models/TimeConverter.cs#L13
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
build-and-deploy: LuasAPI.NET/LuasAPI.cs#L36
Change type of variable 'client' from 'LuasAPI.NET.Infrastructure.IForecastClient' to 'LuasAPI.NET.Infrastructure.LuasForecastApiClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build-and-deploy: LuasAPI.NET/Models/TramForecast.cs#L22
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)