Skip to content

修复一个当年偷懒实现入住顺序导致的BUG(回旋镖!) #100

修复一个当年偷懒实现入住顺序导致的BUG(回旋镖!)

修复一个当年偷懒实现入住顺序导致的BUG(回旋镖!) #100

Triggered via pull request April 2, 2024 09:38
@Funny-pptFunny-ppt
opened #10
dev
Status Success
Total duration 1m 15s
Artifacts 1

dotnet.yml

on: pull_request
build-linux
1m 7s
build-linux
build-windows
0s
build-windows
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
build-linux
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: InfrastSimSourceGenerator/OperatorInstancesSourceGenerator.cs#L10
'InfrastSimSourceGenerator.OperatorInstancesSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux: 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: InfrastSim/TimeDriven/FacilityBase.cs#L20
Nullability of reference types in value of type 'IEnumerable<OperatorBase?>' doesn't match target type 'IEnumerable<OperatorBase>'.
build-linux: InfrastSim/TimeDriven/Dormitory.cs#L44
Dereference of a possibly null reference.
build-linux: InfrastSim/TimeDriven/Dormitory.cs#L44
Dereference of a possibly null reference.
build-linux: InfrastSim/TimeDriven/OperatorBase.cs#L143
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: InfrastSim/TimeDriven/TradingStation.cs#L17
Nullability of reference types in value of type 'IEnumerable<Order?>' doesn't match target type 'IEnumerable<Order>'.
build-linux: InfrastSim/TimeDriven/WebHelper/Helper.cs#L187
Possible null reference argument for parameter 'strategyName' in 'void Helper.SetStrategy(Simulator simu, FacilityBase? fac, string strategyName)'.
build-linux: InfrastSim/TimeDriven/WebHelper/Helper.cs#L190
Possible null reference argument for parameter 'productName' in 'void Helper.SetProduct(Simulator simu, FacilityBase? fac, string productName)'.
build-linux: InfrastSim/TimeDriven/WebHelper/Helper.cs#L193
Possible null reference argument for parameter 'name' in 'OperatorBase Simulator.GetOperator(string name)'.
build-linux: InfrastSimSourceGenerator/OperatorInstancesSourceGenerator.cs#L10
'InfrastSimSourceGenerator.OperatorInstancesSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build-linux: InfrastSim/TimeDriven/FacilityBase.cs#L20
Nullability of reference types in value of type 'IEnumerable<OperatorBase?>' doesn't match target type 'IEnumerable<OperatorBase>'.
build-linux: 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: InfrastSim/TimeDriven/Dormitory.cs#L44
Dereference of a possibly null reference.
build-linux: InfrastSim/TimeDriven/Dormitory.cs#L44
Dereference of a possibly null reference.
build-linux: InfrastSim/TimeDriven/WebHelper/Helper.cs#L187
Possible null reference argument for parameter 'strategyName' in 'void Helper.SetStrategy(Simulator simu, FacilityBase? fac, string strategyName)'.
build-linux: InfrastSim/TimeDriven/WebHelper/Helper.cs#L190
Possible null reference argument for parameter 'productName' in 'void Helper.SetProduct(Simulator simu, FacilityBase? fac, string productName)'.
build-linux: InfrastSim/TimeDriven/WebHelper/Helper.cs#L193
Possible null reference argument for parameter 'name' in 'OperatorBase Simulator.GetOperator(string name)'.
build-linux: InfrastSim/TimeDriven/WebHelper/Helper.cs#L218
Possible null reference argument for parameter 'strategyName' in 'void Helper.SetStrategy(Simulator simu, FacilityBase? fac, string strategyName)'.
build-linux: InfrastSim/TimeDriven/WebHelper/Helper.cs#L221
Possible null reference argument for parameter 'productName' in 'void Helper.SetProduct(Simulator simu, FacilityBase? fac, string productName)'.

Artifacts

Produced during runtime
Name Size
InfrastSim-clib-linux Expired
11.3 MB