Skip to content

修复一些情况下解析错误的问题 #65

修复一些情况下解析错误的问题

修复一些情况下解析错误的问题 #65

Triggered via push January 25, 2024 16:54
Status Success
Total duration 1m 59s
Artifacts 2

dotnet.yml

on: push
build-linux-and-wasm
1m 49s
build-linux-and-wasm
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
build-linux-and-wasm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-linux-and-wasm: InfrastSimSourceGenerator/ScriptSourceGenerator.cs#L11
'InfrastSimSourceGenerator.ScriptSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSimSourceGenerator/OperatorGroupsSourceGenerator.cs#L13
'InfrastSimSourceGenerator.OperatorGroupsSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSimSourceGenerator/OperatorInstancesSourceGenerator.cs#L11
'InfrastSimSourceGenerator.OperatorInstancesSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSim/TimeDriven/FacilityBase.cs#L20
Nullability of reference types in value of type 'IEnumerable<OperatorBase?>' doesn't match target type 'IEnumerable<OperatorBase>'.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Enumerate/MoodScheduler.cs#L11
Non-nullable field 'arrangements' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build-linux-and-wasm: InfrastSim/Algorithms/Combination.cs#L60
Possible null reference return.
build-linux-and-wasm: InfrastSim/Algorithms/Combination.cs#L61
Possible null reference return.
build-linux-and-wasm: InfrastSim/TimeDriven/Simulator.cs#L8
Non-nullable property 'SelectedFacilityString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-linux-and-wasm: InfrastSim/TimeDriven/Dormitory.cs#L44
Dereference of a possibly null reference.
build-linux-and-wasm: InfrastSim/TimeDriven/Dormitory.cs#L44
Dereference of a possibly null reference.
build-linux-and-wasm: InfrastSimWasm/SimulatorService.cs#L166
Possible null reference argument for parameter 'node' in 'JsonNode MowerHelper.RewriteSimulator(Simulator simu, JsonNode node)'.
build-linux-and-wasm: InfrastSimSourceGenerator/ScriptSourceGenerator.cs#L11
'InfrastSimSourceGenerator.ScriptSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSimSourceGenerator/OperatorInstancesSourceGenerator.cs#L11
'InfrastSimSourceGenerator.OperatorInstancesSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSimSourceGenerator/OperatorGroupsSourceGenerator.cs#L13
'InfrastSimSourceGenerator.OperatorGroupsSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux-and-wasm: InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux-and-wasm: InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Enumerate/MoodScheduler.cs#L11
Non-nullable field 'arrangements' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build-linux-and-wasm: InfrastSim/Algorithms/Combination.cs#L60
Possible null reference return.
build-linux-and-wasm: InfrastSim/Algorithms/Combination.cs#L61
Possible null reference return.
build-linux-and-wasm: InfrastSim/TimeDriven/TradingStation.cs#L18
Nullability of reference types in value of type 'IEnumerable<Order?>' doesn't match target type 'IEnumerable<Order>'.
build-linux-and-wasm: InfrastSim/TimeDriven/FacilityBase.cs#L20
Nullability of reference types in value of type 'IEnumerable<OperatorBase?>' doesn't match target type 'IEnumerable<OperatorBase>'.

Artifacts

Produced during runtime
Name Size
AppBundle Expired
8.74 MB
CLib Expired
4.03 MB