Skip to content

优化一阶段:内部计算全部迁移到使用int;优化计算过程和数据收集 #74

优化一阶段:内部计算全部迁移到使用int;优化计算过程和数据收集

优化一阶段:内部计算全部迁移到使用int;优化计算过程和数据收集 #74

Triggered via push March 23, 2024 08:53
Status Success
Total duration 1m 52s
Artifacts 2

dotnet.yml

on: push
build-linux-and-wasm
1m 41s
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/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/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: 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/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/TimeDriven/OperatorBase.cs#L144
Argument of type 'FrozenDictionary<string, OperatorBase>' cannot be used for parameter 'dictionary' of type 'IReadOnlyDictionary<string?, OperatorBase>' in 'OperatorBase? CollectionExtensions.GetValueOrDefault<string?, OperatorBase>(IReadOnlyDictionary<string?, OperatorBase> dictionary, string? key)' due to differences in the nullability of reference types.
build-linux-and-wasm: InfrastSim/TimeDriven/TradingStation.cs#L17
Nullability of reference types in value of type 'IEnumerable<Order?>' doesn't match target type 'IEnumerable<Order>'.
build-linux-and-wasm: InfrastSim/Order.cs#L34
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux-and-wasm: InfrastSim/Order.cs#L34
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Helper.cs#L189
Possible null reference argument for parameter 'strategyName' in 'void Helper.SetStrategy(Simulator simu, FacilityBase? fac, string strategyName)'.
build-linux-and-wasm: InfrastSimWasm/SimulatorService.cs#L167
Possible null reference argument for parameter 'node' in 'JsonNode MowerHelper.RewriteSimulator(Simulator simu, JsonNode node)'.
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/TradingStation.cs#L17
Nullability of reference types in value of type 'IEnumerable<Order?>' doesn't match target type 'IEnumerable<Order>'.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Helper.cs#L189
Possible null reference argument for parameter 'strategyName' in 'void Helper.SetStrategy(Simulator simu, FacilityBase? fac, string strategyName)'.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Helper.cs#L192
Possible null reference argument for parameter 'productName' in 'void Helper.SetProduct(Simulator simu, FacilityBase? fac, string productName)'.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Helper.cs#L195
Possible null reference argument for parameter 'name' in 'OperatorBase Simulator.GetOperator(string name)'.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Helper.cs#L220
Possible null reference argument for parameter 'strategyName' in 'void Helper.SetStrategy(Simulator simu, FacilityBase? fac, string strategyName)'.
build-linux-and-wasm: InfrastSim/TimeDriven/WebHelper/Helper.cs#L223
Possible null reference argument for parameter 'productName' in 'void Helper.SetProduct(Simulator simu, FacilityBase? fac, string productName)'.
build-linux-and-wasm: InfrastSim/TimeDriven/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/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.

Artifacts

Produced during runtime
Name Size
AppBundle Expired
8.76 MB
CLib Expired
4.06 MB