Skip to content

Fix crashing when transports are loaded via lua #157

Fix crashing when transports are loaded via lua

Fix crashing when transports are loaded via lua #157

Triggered via push September 27, 2023 13:34
Status Failure
Total duration 5m 17s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

22 errors
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/Buildings/FreeActor.cs#L83
Use expression body for lambda expression (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0053)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/SupportPowerBotModule.cs#L55
Use expression body for lambda expression (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0053)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/BaseBuilderBotModule.cs#L279
Private member 'BaseBuilderBotModule.SetRallyPointsForNewProductionBuildings' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/Squads/States/AirStates.cs#L102
Use compound assignment (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0074)
Linux (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/Squads/States/AirStates.cs#L142
Use compound assignment (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0074)
Linux (.NET 6.0): OpenRA.Mods.Cnc/Traits/SupportPowers/ChronoshiftPower.cs#L372
Null check can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0031)
Linux (.NET 6.0): OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L25
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
Linux (.NET 6.0): OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L29
Avoid unnecessary zero-length array allocations. Use Array.Empty<CVec>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
Linux (.NET 6.0): OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L37
'new' expression can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0090)
Linux (mono)
Process completed with exit code 2.
Windows (.NET 6.0): OpenRA.Mods.Common/Traits/BotModules/BaseBuilderBotModule.cs#L279
Private member 'BaseBuilderBotModule.SetRallyPointsForNewProductionBuildings' is unused
Windows (.NET 6.0): OpenRA.Mods.AS/Warheads/TriggerLayerWeaponWarhead.cs#L20
Elements should have the same indentation
Windows (.NET 6.0): OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L25
'new' expression can be simplified
Windows (.NET 6.0): OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L29
Avoid unnecessary zero-length array allocations. Use Array.Empty<CVec>() instead.
Windows (.NET 6.0): OpenRA.Mods.AS/Traits/SpawnNeighboringActors.cs#L37
'new' expression can be simplified
Windows (.NET 6.0): OpenRA.Mods.AS/Traits/World/WeaponTriggerCells.cs#L144
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'WeaponTriggerCells.TickRender(WorldRenderer, Actor)' with a call to 'int.ToString(IFormatProvider)'.
Windows (.NET 6.0)
Process completed with exit code 1.