Skip to content

Payment Command Workflow #258

Payment Command Workflow

Payment Command Workflow #258

Triggered via push November 17, 2023 08:59
Status Failure
Total duration 24m 41s
Artifacts
Matrix: workflow / build / build
Matrix: workflow / test / test
workflow  /  ...  /  analyze
workflow / quality / analyze
Matrix: workflow / security / analyze
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

1 error and 30 warnings
workflow / test / ubuntu-latest
Process completed with exit code 1.
workflow / build / ubuntu-latest: src/Services/Payment/Command/Domain/Aggregates/Payment.cs#L109
Argument of type 'Money' cannot be used as an output of type 'Dto.Money' for parameter 'Amount' in 'void PaymentRequested.Deconstruct(out Guid PaymentId, out Guid OrderId, out Money Amount, out Address BillingAddress, out string Status, out long Version)' due to differences in the nullability of reference types.
workflow / build / ubuntu-latest: src/Services/Payment/Command/Domain/Aggregates/Payment.cs#L109
Argument of type 'Address' cannot be used as an output of type 'Dto.Address' for parameter 'BillingAddress' in 'void PaymentRequested.Deconstruct(out Guid PaymentId, out Guid OrderId, out Money Amount, out Address BillingAddress, out string Status, out long Version)' due to differences in the nullability of reference types.
workflow / build / ubuntu-latest: src/Services/Payment/Command/Domain/Aggregates/Payment.cs#L109
Argument of type 'PaymentStatus' cannot be used as an output of type 'string' for parameter 'Status' in 'void PaymentRequested.Deconstruct(out Guid PaymentId, out Guid OrderId, out Money Amount, out Address BillingAddress, out string Status, out long Version)' due to differences in the nullability of reference types.
workflow / build / ubuntu-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L12
Nullability of reference types in return type of 'Task<IPaymentResult>? PaymentService.HandleAsync(Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult?>> behaviorProcessor, PaymentMethod method, CancellationToken cancellationToken)' doesn't match implicitly implemented member 'Task<IPaymentResult> IPaymentService.HandleAsync(Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult>> behaviorProcessor, PaymentMethod method, CancellationToken cancellationToken)' (possibly because of nullability attributes).
workflow / build / ubuntu-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L15
Nullability of reference types in return type of 'Task<IPaymentResult?> PaymentService.AuthorizeAsync(PaymentMethod method, CancellationToken cancellationToken)' doesn't match implicitly implemented member 'Task<IPaymentResult> IPaymentService.AuthorizeAsync(PaymentMethod method, CancellationToken cancellationToken)'.
workflow / build / ubuntu-latest: src/Services/Payment/Command/Application/Abstractions/Http/HttpResponse.cs#L6
Non-nullable property 'ActionResult' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
workflow / build / ubuntu-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L13
Argument of type 'Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult?>>' cannot be used for parameter 'behaviorProcessor' of type 'Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult>>' in 'Task<IPaymentResult> IPaymentService.HandleAsync(Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult>> behaviorProcessor, PaymentMethod method, CancellationToken cancellationToken)' due to differences in the nullability of reference types.
workflow / build / ubuntu-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L7
Non-nullable field '_next' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
workflow / build / ubuntu-latest: src/Services/Payment/Command/Application/Services/PayPal/PaypalPaymentResult.cs#L9
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
workflow / build / ubuntu-latest: src/Services/Payment/Command/Application/Services/DebitCards/DebitCardPaymentResult.cs#L9
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
workflow / build / windows-latest: src/Services/Payment/Command/Domain/Aggregates/Payment.cs#L109
Argument of type 'Money' cannot be used as an output of type 'Dto.Money' for parameter 'Amount' in 'void PaymentRequested.Deconstruct(out Guid PaymentId, out Guid OrderId, out Money Amount, out Address BillingAddress, out string Status, out long Version)' due to differences in the nullability of reference types.
workflow / build / windows-latest: src/Services/Payment/Command/Domain/Aggregates/Payment.cs#L109
Argument of type 'Address' cannot be used as an output of type 'Dto.Address' for parameter 'BillingAddress' in 'void PaymentRequested.Deconstruct(out Guid PaymentId, out Guid OrderId, out Money Amount, out Address BillingAddress, out string Status, out long Version)' due to differences in the nullability of reference types.
workflow / build / windows-latest: src/Services/Payment/Command/Domain/Aggregates/Payment.cs#L109
Argument of type 'PaymentStatus' cannot be used as an output of type 'string' for parameter 'Status' in 'void PaymentRequested.Deconstruct(out Guid PaymentId, out Guid OrderId, out Money Amount, out Address BillingAddress, out string Status, out long Version)' due to differences in the nullability of reference types.
workflow / build / windows-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L12
Nullability of reference types in return type of 'Task<IPaymentResult>? PaymentService.HandleAsync(Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult?>> behaviorProcessor, PaymentMethod method, CancellationToken cancellationToken)' doesn't match implicitly implemented member 'Task<IPaymentResult> IPaymentService.HandleAsync(Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult>> behaviorProcessor, PaymentMethod method, CancellationToken cancellationToken)' (possibly because of nullability attributes).
workflow / build / windows-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L15
Nullability of reference types in return type of 'Task<IPaymentResult?> PaymentService.AuthorizeAsync(PaymentMethod method, CancellationToken cancellationToken)' doesn't match implicitly implemented member 'Task<IPaymentResult> IPaymentService.AuthorizeAsync(PaymentMethod method, CancellationToken cancellationToken)'.
workflow / build / windows-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L13
Argument of type 'Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult?>>' cannot be used for parameter 'behaviorProcessor' of type 'Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult>>' in 'Task<IPaymentResult> IPaymentService.HandleAsync(Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult>> behaviorProcessor, PaymentMethod method, CancellationToken cancellationToken)' due to differences in the nullability of reference types.
workflow / build / windows-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L7
Non-nullable field '_next' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
workflow / build / windows-latest: src/Services/Payment/Command/Application/Abstractions/Http/HttpResponse.cs#L6
Non-nullable property 'ActionResult' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
workflow / build / windows-latest: src/Services/Payment/Command/Application/Services/PayPal/PaypalPaymentResult.cs#L9
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
workflow / build / windows-latest: src/Services/Payment/Command/Application/Services/CreditCards/CreditCardPaymentResult.cs#L9
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
workflow / build / macOS-latest: src/Services/Payment/Command/Domain/Aggregates/Payment.cs#L109
Argument of type 'Money' cannot be used as an output of type 'Dto.Money' for parameter 'Amount' in 'void PaymentRequested.Deconstruct(out Guid PaymentId, out Guid OrderId, out Money Amount, out Address BillingAddress, out string Status, out long Version)' due to differences in the nullability of reference types.
workflow / build / macOS-latest: src/Services/Payment/Command/Domain/Aggregates/Payment.cs#L109
Argument of type 'Address' cannot be used as an output of type 'Dto.Address' for parameter 'BillingAddress' in 'void PaymentRequested.Deconstruct(out Guid PaymentId, out Guid OrderId, out Money Amount, out Address BillingAddress, out string Status, out long Version)' due to differences in the nullability of reference types.
workflow / build / macOS-latest: src/Services/Payment/Command/Domain/Aggregates/Payment.cs#L109
Argument of type 'PaymentStatus' cannot be used as an output of type 'string' for parameter 'Status' in 'void PaymentRequested.Deconstruct(out Guid PaymentId, out Guid OrderId, out Money Amount, out Address BillingAddress, out string Status, out long Version)' due to differences in the nullability of reference types.
workflow / build / macOS-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L12
Nullability of reference types in return type of 'Task<IPaymentResult>? PaymentService.HandleAsync(Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult?>> behaviorProcessor, PaymentMethod method, CancellationToken cancellationToken)' doesn't match implicitly implemented member 'Task<IPaymentResult> IPaymentService.HandleAsync(Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult>> behaviorProcessor, PaymentMethod method, CancellationToken cancellationToken)' (possibly because of nullability attributes).
workflow / build / macOS-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L15
Nullability of reference types in return type of 'Task<IPaymentResult?> PaymentService.AuthorizeAsync(PaymentMethod method, CancellationToken cancellationToken)' doesn't match implicitly implemented member 'Task<IPaymentResult> IPaymentService.AuthorizeAsync(PaymentMethod method, CancellationToken cancellationToken)'.
workflow / build / macOS-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L13
Argument of type 'Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult?>>' cannot be used for parameter 'behaviorProcessor' of type 'Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult>>' in 'Task<IPaymentResult> IPaymentService.HandleAsync(Func<IPaymentService, PaymentMethod, CancellationToken, Task<IPaymentResult>> behaviorProcessor, PaymentMethod method, CancellationToken cancellationToken)' due to differences in the nullability of reference types.
workflow / build / macOS-latest: src/Services/Payment/Command/Application/Abstractions/Services/PaymentService.cs#L7
Non-nullable field '_next' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
workflow / build / macOS-latest: src/Services/Payment/Command/Application/Abstractions/Http/HttpResponse.cs#L6
Non-nullable property 'ActionResult' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
workflow / build / macOS-latest: src/Services/Payment/Command/Application/Services/PayPal/PaypalPaymentResult.cs#L9
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
workflow / build / macOS-latest: src/Services/Payment/Command/Application/Services/CreditCards/CreditCardPaymentResult.cs#L9
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.