Skip to content

.Net: Improve the ITextToImageService abstractions to support ExecutionSettings #17696

.Net: Improve the ITextToImageService abstractions to support ExecutionSettings

.Net: Improve the ITextToImageService abstractions to support ExecutionSettings #17696

Triggered via pull request September 13, 2024 17:31
Status Failure
Total duration 7m 1s
Artifacts

dotnet-build-and-test.yml

on: pull_request
paths-filter
3s
paths-filter
Matrix: dotnet-build-and-test
dotnet-build-and-test-check
4s
dotnet-build-and-test-check
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 5 warnings
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration)
Cannot add interface member 'System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ImageContent>> Microsoft.SemanticKernel.TextToImage.ITextToImageService.GetImageContentsAsync(Microsoft.SemanticKernel.TextContent, Microsoft.SemanticKernel.PromptExecutionSettings?, Microsoft.SemanticKernel.Kernel?, System.Threading.CancellationToken)' to lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll because it does not exist on
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration)
Cannot add interface member 'System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ImageContent>> Microsoft.SemanticKernel.TextToImage.ITextToImageService.GetImageContentsAsync(Microsoft.SemanticKernel.TextContent, Microsoft.SemanticKernel.PromptExecutionSettings?, Microsoft.SemanticKernel.Kernel?, System.Threading.CancellationToken)' to lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll because it does not exist on
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.AzureOpenAI.UnitTests/Services/AzureOpenAITextToImageServiceTests.cs#L159
Change the type of parameter 'uri' of method 'AzureOpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' from 'string' to 'System.Uri', or provide an overload to 'AzureOpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' that allows 'uri' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Services/OpenAITextToImageServiceTests.cs#L83
Change the type of parameter 'uri' of method 'OpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' from 'string' to 'System.Uri', or provide an overload to 'OpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' that allows 'uri' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration): dotnet/samples/Concepts/TextToImage/OpenAI_TextToImageDalle3.cs#L95
'OpenAITextToImageExecutionSettings' does not contain a definition for 'Width'
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration): dotnet/samples/Concepts/TextToImage/OpenAI_TextToImageDalle3.cs#L95
'OpenAITextToImageExecutionSettings' does not contain a definition for 'Height'
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration)
Cannot add interface member 'System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ImageContent>> Microsoft.SemanticKernel.TextToImage.ITextToImageService.GetImageContentsAsync(Microsoft.SemanticKernel.TextContent, Microsoft.SemanticKernel.PromptExecutionSettings?, Microsoft.SemanticKernel.Kernel?, System.Threading.CancellationToken)' to lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll because it does not exist on
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration)
Cannot add interface member 'System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ImageContent>> Microsoft.SemanticKernel.TextToImage.ITextToImageService.GetImageContentsAsync(Microsoft.SemanticKernel.TextContent, Microsoft.SemanticKernel.PromptExecutionSettings?, Microsoft.SemanticKernel.Kernel?, System.Threading.CancellationToken)' to lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll because it does not exist on
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.AzureOpenAI.UnitTests/Services/AzureOpenAITextToImageServiceTests.cs#L159
Change the type of parameter 'uri' of method 'AzureOpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' from 'string' to 'System.Uri', or provide an overload to 'AzureOpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' that allows 'uri' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Services/OpenAITextToImageServiceTests.cs#L83
Change the type of parameter 'uri' of method 'OpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' from 'string' to 'System.Uri', or provide an overload to 'OpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' that allows 'uri' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
dotnet-build-and-test (8.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.AzureOpenAI.UnitTests/Services/AzureOpenAITextToImageServiceTests.cs#L159
Change the type of parameter 'uri' of method 'AzureOpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' from 'string' to 'System.Uri', or provide an overload to 'AzureOpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' that allows 'uri' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
dotnet-build-and-test (8.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Services/OpenAITextToImageServiceTests.cs#L83
Change the type of parameter 'uri' of method 'OpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' from 'string' to 'System.Uri', or provide an overload to 'OpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' that allows 'uri' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
dotnet-build-and-test (8.0, windows-latest, Debug): dotnet/samples/Concepts/TextToImage/OpenAI_TextToImageDalle3.cs#L95
'OpenAITextToImageExecutionSettings' does not contain a definition for 'Width'
dotnet-build-and-test (8.0, windows-latest, Debug): dotnet/samples/Concepts/TextToImage/OpenAI_TextToImageDalle3.cs#L95
'OpenAITextToImageExecutionSettings' does not contain a definition for 'Height'
dotnet-build-and-test (8.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.AzureOpenAI.UnitTests/Services/AzureOpenAITextToImageServiceTests.cs#L159
Change the type of parameter 'uri' of method 'AzureOpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' from 'string' to 'System.Uri', or provide an overload to 'AzureOpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' that allows 'uri' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
dotnet-build-and-test (8.0, windows-latest, Debug): dotnet/src/Connectors/Connectors.OpenAI.UnitTests/Services/OpenAITextToImageServiceTests.cs#L83
Change the type of parameter 'uri' of method 'OpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' from 'string' to 'System.Uri', or provide an overload to 'OpenAITextToImageServiceTests.GetUriImageContentsResponseFormatRequestWorksCorrectlyAsync(string, string)' that allows 'uri' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
dotnet-build-and-test (8.0, windows-latest, Debug): dotnet/samples/Concepts/TextToImage/OpenAI_TextToImageDalle3.cs#L95
'OpenAITextToImageExecutionSettings' does not contain a definition for 'Width'
dotnet-build-and-test (8.0, windows-latest, Debug): dotnet/samples/Concepts/TextToImage/OpenAI_TextToImageDalle3.cs#L95
'OpenAITextToImageExecutionSettings' does not contain a definition for 'Height'
dotnet-build-and-test (8.0, windows-latest, Debug)
Process completed with exit code 1.
dotnet-build-and-test (8.0, windows-latest, Release)
Cannot add interface member 'System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ImageContent>> Microsoft.SemanticKernel.TextToImage.ITextToImageService.GetImageContentsAsync(Microsoft.SemanticKernel.TextContent, Microsoft.SemanticKernel.PromptExecutionSettings?, Microsoft.SemanticKernel.Kernel?, System.Threading.CancellationToken)' to lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll because it does not exist on
dotnet-build-and-test (8.0, windows-latest, Release)
Cannot add interface member 'System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ImageContent>> Microsoft.SemanticKernel.TextToImage.ITextToImageService.GetImageContentsAsync(Microsoft.SemanticKernel.TextContent, Microsoft.SemanticKernel.PromptExecutionSettings?, Microsoft.SemanticKernel.Kernel?, System.Threading.CancellationToken)' to lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll because it does not exist on
dotnet-build-and-test (8.0, windows-latest, Release)
Cannot add interface member 'System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ImageContent>> Microsoft.SemanticKernel.TextToImage.ITextToImageService.GetImageContentsAsync(Microsoft.SemanticKernel.TextContent, Microsoft.SemanticKernel.PromptExecutionSettings?, Microsoft.SemanticKernel.Kernel?, System.Threading.CancellationToken)' to lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll because it does not exist on
dotnet-build-and-test (8.0, windows-latest, Release)
Cannot add interface member 'System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ImageContent>> Microsoft.SemanticKernel.TextToImage.ITextToImageService.GetImageContentsAsync(Microsoft.SemanticKernel.TextContent, Microsoft.SemanticKernel.PromptExecutionSettings?, Microsoft.SemanticKernel.Kernel?, System.Threading.CancellationToken)' to lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll because it does not exist on
dotnet-build-and-test (8.0, windows-latest, Release)
Process completed with exit code 1.
dotnet-build-and-test-check
Integration Tests Failed!
paths-filter
The following actions use a deprecated Node.js version and will be forced to run on node20: dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dotnet-build-and-test (8.0, ubuntu-latest, Release, true, integration)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dotnet-build-and-test (8.0, windows-latest, Debug)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dotnet-build-and-test (8.0, windows-latest, Release)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dotnet-build-and-test-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/