Skip to content

[Vertex AI] Add APIConfig to support switching to the Developer API #1008

[Vertex AI] Add APIConfig to support switching to the Developer API

[Vertex AI] Add APIConfig to support switching to the Developer API #1008

Triggered via pull request March 3, 2025 22:16
Status Failure
Total duration 9m 50s
Artifacts

vertexai.yml

on: pull_request
spm-package-resolved
1m 11s
spm-package-resolved
Matrix: pod-lib-lint
Matrix: sample
Matrix: spm-unit
Matrix: testapp-integration
Fit to window
Zoom out
Zoom in

Annotations

134 errors and 42 warnings
testapp-integration (iOS, macos-15): FirebaseVertexAI/Sources/VertexAI.swift#L133
cannot find type 'APIConfig' in scope
pod-lib-lint (macos-14, Xcode_15.2, 5.9, --allow-warnings)
Process completed with exit code 1.
pod-lib-lint (macos-15, Xcode_16.2, 5.9)
The job was canceled because "macos-14_Xcode_15_2_5_9_-" failed.
pod-lib-lint (macos-15, Xcode_16.2, 5.9)
The operation was canceled.
pod-lib-lint (macos-15, Xcode_16.2, 6, --allow-warnings)
The job was canceled because "macos-14_Xcode_15_2_5_9_-" failed.
pod-lib-lint (macos-15, Xcode_16.2, 6, --allow-warnings)
The operation was canceled.
spm-unit (macos-15, Xcode_16.2, catalyst)
The job was canceled because "macos-15_Xcode_16_2_watch" failed.
spm-unit (macos-15, Xcode_16.2, macOS)
The job was canceled because "macos-15_Xcode_16_2_watch" failed.
spm-unit (macos-15, Xcode_16.2, visionOS)
The job was canceled because "macos-15_Xcode_16_2_watch" failed.
spm-unit (macos-15, Xcode_16.2, macOS): FirebaseVertexAI/Sources/VertexAI.swift#L133
cannot find type 'APIConfig' in scope
spm-unit (macos-15, Xcode_16.2, iOS)
The job was canceled because "macos-15_Xcode_16_2_watch" failed.
spm-unit (macos-15, Xcode_16.2, iOS): FirebaseVertexAI/Sources/VertexAI.swift#L133
cannot find type 'APIConfig' in scope
spm-unit (macos-15, Xcode_16.2, tvOS)
The job was canceled because "macos-15_Xcode_16_2_watch" failed.
spm-unit (macos-15, Xcode_16.2, tvOS): FirebaseVertexAI/Sources/VertexAI.swift#L133
cannot find type 'APIConfig' in scope
spm-unit (macos-14, Xcode_15.4, iOS)
The job was canceled because "macos-15_Xcode_16_2_watch" failed.
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/VertexAI.swift#L133
cannot find type 'APIConfig' in scope
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/VertexAI.swift#L154
cannot infer contextual base in reference to member 'vertexAI'
spm-unit (macos-13, Xcode_15.2, iOS)
The job was canceled because "macos-15_Xcode_16_2_watch" failed.
spm-unit (macos-13, Xcode_15.2, iOS): FirebaseVertexAI/Sources/VertexAI.swift#L133
cannot find type 'APIConfig' in scope
sample (macos-15, Xcode_16.2): FirebaseVertexAI/Sources/CountTokensRequest.swift#L26
cannot find type 'APIConfig' in scope
sample (macos-15, Xcode_16.2): FirebaseVertexAI/Sources/GenerativeModel.swift#L26
cannot find type 'APIConfig' in scope
sample (macos-15, Xcode_16.2): FirebaseVertexAI/Sources/GenerativeModel.swift#L65
cannot find type 'APIConfig' in scope
sample (macos-15, Xcode_16.2): FirebaseVertexAI/Sources/VertexAI.swift#L133
cannot find type 'APIConfig' in scope
sample (macos-15, Xcode_16.2): FirebaseVertexAI/Sources/VertexAI.swift#L153
cannot find 'APIConfig' in scope
sample (macos-14, Xcode_15.4)
The job was canceled because "macos-15_Xcode_16_2" failed.
sample (macos-14, Xcode_15.4): FirebaseVertexAI/Sources/CountTokensRequest.swift#L26
cannot find type 'APIConfig' in scope
sample (macos-14, Xcode_15.4): FirebaseVertexAI/Sources/GenerativeModel.swift#L26
cannot find type 'APIConfig' in scope
sample (macos-14, Xcode_15.4): FirebaseVertexAI/Sources/GenerativeModel.swift#L65
cannot find type 'APIConfig' in scope
sample (macos-14, Xcode_15.4): FirebaseVertexAI/Sources/VertexAI.swift#L133
cannot find type 'APIConfig' in scope
sample (macos-14, Xcode_15.4): FirebaseVertexAI/Sources/VertexAI.swift#L153
cannot find 'APIConfig' in scope
sample (macos-13, Xcode_15.2)
The job was canceled because "macos-15_Xcode_16_2" failed.
sample (macos-13, Xcode_15.2): FirebaseVertexAI/Sources/CountTokensRequest.swift#L26
cannot find type 'APIConfig' in scope
sample (macos-13, Xcode_15.2): FirebaseVertexAI/Sources/GenerativeModel.swift#L26
cannot find type 'APIConfig' in scope
sample (macos-13, Xcode_15.2): FirebaseVertexAI/Sources/GenerativeModel.swift#L65
cannot find type 'APIConfig' in scope
sample (macos-13, Xcode_15.2): FirebaseVertexAI/Sources/VertexAI.swift#L133
cannot find type 'APIConfig' in scope
sample (macos-13, Xcode_15.2): FirebaseVertexAI/Sources/VertexAI.swift#L153
cannot find 'APIConfig' in scope
spm-unit (macos-15, Xcode_16.2, watchOS)
Attempt 1 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, watchOS)
Attempt 2 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, catalyst)
Attempt 1 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, catalyst)
Attempt 2 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, macOS)
Attempt 1 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, macOS)
Attempt 2 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, visionOS)
Attempt 1 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, visionOS)
Attempt 2 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, visionOS): FirebaseStorage/Sources/Internal/StorageUtils.swift#L79
'UTTypeCreatePreferredIdentifierForTag' was deprecated in visionOS 1.0: Use the UTType class instead.
spm-unit (macos-15, Xcode_16.2, visionOS): FirebaseStorage/Sources/Internal/StorageUtils.swift#L80
'kUTTagClassFilenameExtension' was deprecated in visionOS 1.0: Use UTTagClassFilenameExtension instead.
spm-unit (macos-15, Xcode_16.2, visionOS): FirebaseStorage/Sources/Internal/StorageUtils.swift#L84
'UTTypeCopyPreferredTagWithClass' was deprecated in visionOS 1.0: Use the UTType class instead.
spm-unit (macos-15, Xcode_16.2, visionOS): FirebaseStorage/Sources/Internal/StorageUtils.swift#L84
'kUTTagClassMIMEType' was deprecated in visionOS 1.0: Use UTTagClassMIMEType instead.
spm-unit (macos-15, Xcode_16.2, iOS)
Attempt 1 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, iOS)
Attempt 2 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, tvOS)
Attempt 1 failed. Reason: Child_process exited with error code 1
spm-unit (macos-15, Xcode_16.2, tvOS)
Attempt 2 failed. Reason: Child_process exited with error code 1
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/Chat.swift#L33
stored property '_history' of 'Sendable'-conforming class 'Chat' is mutable
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/CountTokensRequest.swift#L26
stored property 'apiConfig' of 'Sendable'-conforming struct 'CountTokensRequest' has non-sendable type '<<error type>>'
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/GenerateContentRequest.swift#L27
stored property 'apiConfig' of 'Sendable'-conforming struct 'GenerateContentRequest' has non-sendable type '<<error type>>'
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/GenerativeModel.swift#L26
stored property 'apiConfig' of 'Sendable'-conforming class 'GenerativeModel' has non-sendable type '<<error type>>'
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/Types/Internal/Imagen/ImagenGenerationRequest.swift#L20
stored property 'apiConfig' of 'Sendable'-conforming generic struct 'ImagenGenerationRequest' has non-sendable type '<<error type>>'
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/VertexAI.swift#L264
stored property 'apiConfig' of 'Sendable'-conforming struct 'InstanceKey' has non-sendable type '<<error type>>'
spm-unit (macos-14, Xcode_15.4, iOS)
Attempt 1 failed. Reason: Child_process exited with error code 1
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/Chat.swift#L33
stored property '_history' of 'Sendable'-conforming class 'Chat' is mutable
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/CountTokensRequest.swift#L26
stored property 'apiConfig' of 'Sendable'-conforming struct 'CountTokensRequest' has non-sendable type '<<error type>>'
spm-unit (macos-14, Xcode_15.4, iOS): FirebaseVertexAI/Sources/GenerateContentRequest.swift#L27
stored property 'apiConfig' of 'Sendable'-conforming struct 'GenerateContentRequest' has non-sendable type '<<error type>>'
spm-unit (macos-13, Xcode_15.2, iOS): FirebaseVertexAI/Sources/Chat.swift#L33
stored property '_history' of 'Sendable'-conforming class 'Chat' is mutable
spm-unit (macos-13, Xcode_15.2, iOS): FirebaseVertexAI/Sources/CountTokensRequest.swift#L26
stored property 'apiConfig' of 'Sendable'-conforming struct 'CountTokensRequest' has non-sendable type '<<error type>>'
spm-unit (macos-13, Xcode_15.2, iOS): FirebaseVertexAI/Sources/GenerateContentRequest.swift#L27
stored property 'apiConfig' of 'Sendable'-conforming struct 'GenerateContentRequest' has non-sendable type '<<error type>>'
spm-unit (macos-13, Xcode_15.2, iOS): FirebaseVertexAI/Sources/GenerativeModel.swift#L26
stored property 'apiConfig' of 'Sendable'-conforming class 'GenerativeModel' has non-sendable type '<<error type>>'
spm-unit (macos-13, Xcode_15.2, iOS): FirebaseVertexAI/Sources/Types/Internal/Imagen/ImagenGenerationRequest.swift#L20
stored property 'apiConfig' of 'Sendable'-conforming generic struct 'ImagenGenerationRequest' has non-sendable type '<<error type>>'
spm-unit (macos-13, Xcode_15.2, iOS): FirebaseVertexAI/Sources/VertexAI.swift#L264
stored property 'apiConfig' of 'Sendable'-conforming struct 'InstanceKey' has non-sendable type '<<error type>>'
spm-unit (macos-13, Xcode_15.2, iOS): FirebaseVertexAI/Sources/GenerativeModel.swift#L26
stored property 'apiConfig' of 'Sendable'-conforming class 'GenerativeModel' has non-sendable type '<<error type>>'
spm-unit (macos-13, Xcode_15.2, iOS)
Attempt 1 failed. Reason: Child_process exited with error code 1
spm-unit (macos-13, Xcode_15.2, iOS): FirebaseVertexAI/Sources/Chat.swift#L33
stored property '_history' of 'Sendable'-conforming class 'Chat' is mutable
spm-unit (macos-13, Xcode_15.2, iOS): FirebaseVertexAI/Sources/CountTokensRequest.swift#L26
stored property 'apiConfig' of 'Sendable'-conforming struct 'CountTokensRequest' has non-sendable type '<<error type>>'
sample (macos-15, Xcode_16.2)
Attempt 1 failed. Reason: Child_process exited with error code 1
sample (macos-15, Xcode_16.2)
Attempt 2 failed. Reason: Child_process exited with error code 1
sample (macos-14, Xcode_15.4)
Attempt 1 failed. Reason: Child_process exited with error code 1
sample (macos-14, Xcode_15.4)
Attempt 2 failed. Reason: Child_process exited with error code 1
sample (macos-13, Xcode_15.2)
Attempt 1 failed. Reason: Child_process exited with error code 1
sample (macos-13, Xcode_15.2)
Attempt 2 failed. Reason: Child_process exited with error code 1