Skip to content

Update dependency Cognite.Simulator.Utils to 1.0.0-beta-008 #23

Update dependency Cognite.Simulator.Utils to 1.0.0-beta-008

Update dependency Cognite.Simulator.Utils to 1.0.0-beta-008 #23

Triggered via pull request November 4, 2024 13:55
Status Failure
Total duration 2m 11s
Artifacts

build-and-test.yml

on: pull_request
common  /  prerequisites
6s
common / prerequisites
common  /  build-installer
1m 45s
common / build-installer
build-installer
0s
build-installer
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 20 warnings
build: Connector/Dwsim/DwsimRoutine.cs#L37
There is no argument given that corresponds to the required parameter 'logger' of 'RoutineImplementationBase.RoutineImplementationBase(SimulatorRoutineRevision, Dictionary<string, SimulatorValueItem>, ILogger)'
build: Connector/Dwsim/DwsimRoutine.cs#L37
There is no argument given that corresponds to the required parameter 'logger' of 'RoutineImplementationBase.RoutineImplementationBase(SimulatorRoutineRevision, Dictionary<string, SimulatorValueItem>, ILogger)'
build
Process completed with exit code 1.
common / build-installer: Connector/Dwsim/DwsimRoutine.cs#L37
There is no argument given that corresponds to the required parameter 'logger' of 'RoutineImplementationBase.RoutineImplementationBase(SimulatorRoutineRevision, Dictionary<string, SimulatorValueItem>, ILogger)'
common / build-installer
Process completed with exit code 1.
common / prerequisites
Will not create release for version 1.0.0-alpha-120 because it already exists.
build: Connector/Dwsim/AutomationConfig.cs#L25
Non-nullable property 'DwsimInstallationPath' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: Connector/Dwsim/DwsimClient.cs#L57
Possible null reference argument for parameter 'source' in 'IEnumerable<DictionaryEntry> Enumerable.Cast<DictionaryEntry>(IEnumerable source)'.
build: Connector/Dwsim/DwsimClient.cs#L57
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build: Connector/Dwsim/DwsimClient.cs#L58
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<DictionaryEntry, string?>' (possibly because of nullability attributes).
build: Connector/Dwsim/DwsimClient.cs#L58
Dereference of a possibly null reference.
build: Connector/Dwsim/DwsimClient.cs#L57
Nullability of reference types in value of type 'Dictionary<string?, string?>' doesn't match target type 'Dictionary<string, string>'.
build: Connector/Dwsim/DwsimRoutine.cs#L266
Converting null literal or possible null value to non-nullable type.
build: Connector/Dwsim/DwsimRoutine.cs#L270
Converting null literal or possible null value to non-nullable type.
build: Connector/Dwsim/AutomationConfig.cs#L25
Non-nullable property 'DwsimInstallationPath' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: Connector/Dwsim/DwsimClient.cs#L57
Possible null reference argument for parameter 'source' in 'IEnumerable<DictionaryEntry> Enumerable.Cast<DictionaryEntry>(IEnumerable source)'.
common / build-installer
The following actions use a deprecated Node.js version and will be forced to run on node20: microsoft/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
common / build-installer: Connector/Dwsim/AutomationConfig.cs#L25
Non-nullable property 'DwsimInstallationPath' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
common / build-installer: Connector/Dwsim/DwsimClient.cs#L57
Possible null reference argument for parameter 'source' in 'IEnumerable<DictionaryEntry> Enumerable.Cast<DictionaryEntry>(IEnumerable source)'.
common / build-installer: Connector/Dwsim/DwsimClient.cs#L57
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
common / build-installer: Connector/Dwsim/DwsimClient.cs#L58
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<DictionaryEntry, string?>' (possibly because of nullability attributes).
common / build-installer: Connector/Dwsim/DwsimClient.cs#L58
Dereference of a possibly null reference.
common / build-installer: Connector/Dwsim/DwsimClient.cs#L57
Nullability of reference types in value of type 'Dictionary<string?, string?>' doesn't match target type 'Dictionary<string, string>'.
common / build-installer: Connector/Dwsim/DwsimRoutine.cs#L266
Converting null literal or possible null value to non-nullable type.
common / build-installer: Connector/Dwsim/DwsimRoutine.cs#L270
Converting null literal or possible null value to non-nullable type.