Skip to content

Merge branch 'resitAdel' of https://github.com/Adel-Atzouza/CargoHub … #664

Merge branch 'resitAdel' of https://github.com/Adel-Atzouza/CargoHub …

Merge branch 'resitAdel' of https://github.com/Adel-Atzouza/CargoHub … #664

Triggered via push February 7, 2025 14:17
Status Failure
Total duration 1m 32s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 40 warnings
integration-tests
Process completed with exit code 1.
build: CargoHub/Models/APIKey.cs#L9
'APIKey.Id' hides inherited member 'BaseModel.Id'. Use the new keyword if hiding was intended.
build: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'BaseStorageService<Warehouse> storage' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build: CargoHub/Models/Transfer.cs#L40
Non-nullable property 'ItemId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: CargoHub/Controllers/TransfersController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build: CargoHub/Models/MonthlyReport.cs#L24
Non-nullable property 'ShipmentStatus' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
build: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
build: CargoHub/Controllers/ShipmentsController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build: CargoHub/Controllers/ShipmentsController.cs#L10
Parameter 'itemStorageService' is unread.
unit-tests: CargoHub/Models/APIKey.cs#L9
'APIKey.Id' hides inherited member 'BaseModel.Id'. Use the new keyword if hiding was intended.
unit-tests: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'BaseStorageService<Warehouse> storage' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
unit-tests: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
unit-tests: CargoHub/Controllers/TransfersController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
unit-tests: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
unit-tests: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
unit-tests: CargoHub/Controllers/ShipmentsController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
unit-tests: CargoHub/Controllers/ShipmentsController.cs#L10
Parameter 'itemStorageService' is unread.
unit-tests: CargoHub/Services/ShipmentStorageService.cs#L32
Dereference of a possibly null reference.
unit-tests: CargoHub/Services/ShipmentStorageService.cs#L36
Dereference of a possibly null reference.
unit-tests: UnitTest/OrderStorageServiceTest.cs#L4
Non-nullable field 'appDbContext' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
unit-tests: UnitTest/OrderStorageServiceTest.cs#L5
Non-nullable field '_service' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
unit-tests: UnitTest/Test_APIKey.cs#L74
Converting null literal or possible null value to non-nullable type.
unit-tests: UnitTest/Test_APIKey.cs#L107
Converting null literal or possible null value to non-nullable type.
unit-tests: UnitTest/SupplierServiceTests.cs#L140
Dereference of a possibly null reference.
unit-tests: UnitTest/Test_APIKey.cs#L127
Converting null literal or possible null value to non-nullable type.
unit-tests: UnitTest/Test_APIKey.cs#L19
Non-nullable field '_dbContext' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
unit-tests: UnitTest/Test_APIKey.cs#L20
Non-nullable field 'APIKeyController' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
unit-tests: UnitTest/Test_APIKey.cs#L21
Non-nullable field 'APIKeyService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
unit-tests: UnitTest/ItemTypesServiceTests.cs#L96
Cannot convert null literal to non-nullable reference type.
integration-tests: CargoHub/Models/APIKey.cs#L9
'APIKey.Id' hides inherited member 'BaseModel.Id'. Use the new keyword if hiding was intended.
integration-tests: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'BaseStorageService<Warehouse> storage' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
integration-tests: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
integration-tests: CargoHub/Models/Transfer.cs#L40
Non-nullable property 'ItemId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-tests: CargoHub/Controllers/TransfersController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
integration-tests: CargoHub/Models/MonthlyReport.cs#L24
Non-nullable property 'ShipmentStatus' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-tests: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
integration-tests: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
integration-tests: CargoHub/Controllers/ShipmentsController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
integration-tests: CargoHub/Controllers/ShipmentsController.cs#L10
Parameter 'itemStorageService' is unread.