The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Replicate, reference main (efd033), with Swift 6.1 for Android on 29 May 2025 17:17:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/replicate/replicate-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/replicate/replicate-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at efd033f Bump version to 0.24.0
Cloned https://github.com/replicate/replicate-swift.git
Revision (git rev-parse @):
efd033f4e421112b70e82221c813417e164aab7a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/replicate/replicate-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/replicate/replicate-swift.git
https://github.com/replicate/replicate-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Replicate",
  "name" : "Replicate",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Replicate",
      "targets" : [
        "Replicate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ReplicateTests",
      "module_type" : "SwiftTarget",
      "name" : "ReplicateTests",
      "path" : "Tests/ReplicateTests",
      "sources" : [
        "ClientTests.swift",
        "DateDecodingTests.swift",
        "Helpers/MockURLProtocol.swift",
        "PredictionTests.swift",
        "RetryPolicyTests.swift",
        "URIEncodingTests.swift"
      ],
      "target_dependencies" : [
        "Replicate"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Replicate",
      "module_type" : "SwiftTarget",
      "name" : "Replicate",
      "path" : "Sources/Replicate",
      "product_memberships" : [
        "Replicate"
      ],
      "sources" : [
        "Account.swift",
        "Client.swift",
        "Deployment.swift",
        "Error.swift",
        "Extensions/Data+uriEncoded.swift",
        "Hardware.swift",
        "Identifier.swift",
        "Model.swift",
        "Predictable.swift",
        "Prediction.swift",
        "Status.swift",
        "Training.swift",
        "Value.swift",
        "Webhook.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling Replicate Value.swift
[4/16] Compiling Replicate Status.swift
[5/16] Compiling Replicate Training.swift
[6/17] Compiling Replicate Data+uriEncoded.swift
[7/17] Compiling Replicate Hardware.swift
[8/17] Emitting module Replicate
/host/spi-builder-workspace/Sources/Replicate/Client.swift:947:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Client.RetryPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
 896 | extension Client {
 897 |     /// A policy for how often a client should retry a request.
 898 |     public struct RetryPolicy: Equatable, Sequence {
     |                   `- note: consider making struct 'RetryPolicy' conform to the 'Sendable' protocol
 899 |         /// A strategy used to determine how long to wait between retries.
 900 |         public enum Strategy: Hashable {
     :
 945 |
 946 |         /// The default retry policy.
 947 |         static let `default` = RetryPolicy(strategy: .exponential(),
     |                    |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Client.RetryPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
     |                    |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 948 |                                            timeout: 300.0,
 949 |                                            maximumInterval: 30.0,
[9/17] Compiling Replicate Account.swift
/host/spi-builder-workspace/Sources/Replicate/Client.swift:947:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Client.RetryPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
 896 | extension Client {
 897 |     /// A policy for how often a client should retry a request.
 898 |     public struct RetryPolicy: Equatable, Sequence {
     |                   `- note: consider making struct 'RetryPolicy' conform to the 'Sendable' protocol
 899 |         /// A strategy used to determine how long to wait between retries.
 900 |         public enum Strategy: Hashable {
     :
 945 |
 946 |         /// The default retry policy.
 947 |         static let `default` = RetryPolicy(strategy: .exponential(),
     |                    |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Client.RetryPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
     |                    |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 948 |                                            timeout: 300.0,
 949 |                                            maximumInterval: 30.0,
/host/spi-builder-workspace/Sources/Replicate/Client.swift:1032:36: error: value of type 'DispatchTime' has no member 'advanced'
1030 |             return Retrier(policy: self,
1031 |                            deadline: timeout.flatMap {
1032 |                             .now().advanced(by: .nanoseconds(Int($0 * 1e+9)))
     |                                    `- error: value of type 'DispatchTime' has no member 'advanced'
1033 |                            })
1034 |         }
/host/spi-builder-workspace/Sources/Replicate/Client.swift:1032:50: error: cannot infer contextual base in reference to member 'nanoseconds'
1030 |             return Retrier(policy: self,
1031 |                            deadline: timeout.flatMap {
1032 |                             .now().advanced(by: .nanoseconds(Int($0 * 1e+9)))
     |                                                  `- error: cannot infer contextual base in reference to member 'nanoseconds'
1033 |                            })
1034 |         }
[10/17] Compiling Replicate Client.swift
/host/spi-builder-workspace/Sources/Replicate/Client.swift:947:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Client.RetryPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
 896 | extension Client {
 897 |     /// A policy for how often a client should retry a request.
 898 |     public struct RetryPolicy: Equatable, Sequence {
     |                   `- note: consider making struct 'RetryPolicy' conform to the 'Sendable' protocol
 899 |         /// A strategy used to determine how long to wait between retries.
 900 |         public enum Strategy: Hashable {
     :
 945 |
 946 |         /// The default retry policy.
 947 |         static let `default` = RetryPolicy(strategy: .exponential(),
     |                    |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Client.RetryPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
     |                    |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 948 |                                            timeout: 300.0,
 949 |                                            maximumInterval: 30.0,
/host/spi-builder-workspace/Sources/Replicate/Client.swift:1032:36: error: value of type 'DispatchTime' has no member 'advanced'
1030 |             return Retrier(policy: self,
1031 |                            deadline: timeout.flatMap {
1032 |                             .now().advanced(by: .nanoseconds(Int($0 * 1e+9)))
     |                                    `- error: value of type 'DispatchTime' has no member 'advanced'
1033 |                            })
1034 |         }
/host/spi-builder-workspace/Sources/Replicate/Client.swift:1032:50: error: cannot infer contextual base in reference to member 'nanoseconds'
1030 |             return Retrier(policy: self,
1031 |                            deadline: timeout.flatMap {
1032 |                             .now().advanced(by: .nanoseconds(Int($0 * 1e+9)))
     |                                                  `- error: cannot infer contextual base in reference to member 'nanoseconds'
1033 |                            })
1034 |         }
[11/17] Compiling Replicate Webhook.swift
[12/17] Compiling Replicate Identifier.swift
[13/17] Compiling Replicate Model.swift
[14/17] Compiling Replicate Predictable.swift
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:195:33: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
193 |
194 |         let id = current.id
195 |         let updated = try await withThrowingTaskGroup(of: Self.self) { group in
    |                                 `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
196 |             group.addTask {
197 |                 try await Task.sleep(nanoseconds: UInt64(delay * 1e+9))
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:195:70: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
193 |
194 |         let id = current.id
195 |         let updated = try await withThrowingTaskGroup(of: Self.self) { group in
    |                                                                      `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
196 |             group.addTask {
197 |                 try await Task.sleep(nanoseconds: UInt64(delay * 1e+9))
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:196:19: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
194 |         let id = current.id
195 |         let updated = try await withThrowingTaskGroup(of: Self.self) { group in
196 |             group.addTask {
    |                   `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
197 |                 try await Task.sleep(nanoseconds: UInt64(delay * 1e+9))
198 |                 return try await client.getPrediction(Self.self, id: id)
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:202:23: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
200 |
201 |             if let deadline = retrier.deadline {
202 |                 group.addTask {
    |                       `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
203 |                     try await Task.sleep(nanoseconds: deadline.uptimeNanoseconds - DispatchTime.now().uptimeNanoseconds)
204 |                     throw CancellationError()
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:208:41: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
206 |             }
207 |
208 |             let value = try await group.next()
    |                                         `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 |             group.cancelAll()
210 |
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:209:19: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
207 |
208 |             let value = try await group.next()
209 |             group.cancelAll()
    |                   `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
210 |
211 |             return value ?? current
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:196:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
194 |         let id = current.id
195 |         let updated = try await withThrowingTaskGroup(of: Self.self) { group in
196 |             group.addTask {
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
197 |                 try await Task.sleep(nanoseconds: UInt64(delay * 1e+9))
198 |                 return try await client.getPrediction(Self.self, id: id)
    |                                  `- note: closure captures 'client' which is accessible to code in the current task
199 |             }
200 |
[15/17] Compiling Replicate Prediction.swift
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:195:33: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
193 |
194 |         let id = current.id
195 |         let updated = try await withThrowingTaskGroup(of: Self.self) { group in
    |                                 `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
196 |             group.addTask {
197 |                 try await Task.sleep(nanoseconds: UInt64(delay * 1e+9))
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:195:70: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
193 |
194 |         let id = current.id
195 |         let updated = try await withThrowingTaskGroup(of: Self.self) { group in
    |                                                                      `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
196 |             group.addTask {
197 |                 try await Task.sleep(nanoseconds: UInt64(delay * 1e+9))
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:196:19: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
194 |         let id = current.id
195 |         let updated = try await withThrowingTaskGroup(of: Self.self) { group in
196 |             group.addTask {
    |                   `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
197 |                 try await Task.sleep(nanoseconds: UInt64(delay * 1e+9))
198 |                 return try await client.getPrediction(Self.self, id: id)
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:202:23: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
200 |
201 |             if let deadline = retrier.deadline {
202 |                 group.addTask {
    |                       `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
203 |                     try await Task.sleep(nanoseconds: deadline.uptimeNanoseconds - DispatchTime.now().uptimeNanoseconds)
204 |                     throw CancellationError()
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:208:41: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
206 |             }
207 |
208 |             let value = try await group.next()
    |                                         `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 |             group.cancelAll()
210 |
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:209:19: warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |
 12 | /// A prediction made by a model hosted on Replicate.
 13 | public struct Prediction<Input, Output>: Identifiable where Input: Codable, Output: Codable {
    |               `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
 14 |     public typealias ID = String
 15 |
    :
207 |
208 |             let value = try await group.next()
209 |             group.cancelAll()
    |                   `- warning: type 'Prediction<Input, Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
210 |
211 |             return value ?? current
/host/spi-builder-workspace/Sources/Replicate/Prediction.swift:196:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
194 |         let id = current.id
195 |         let updated = try await withThrowingTaskGroup(of: Self.self) { group in
196 |             group.addTask {
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
197 |                 try await Task.sleep(nanoseconds: UInt64(delay * 1e+9))
198 |                 return try await client.getPrediction(Self.self, id: id)
    |                                  `- note: closure captures 'client' which is accessible to code in the current task
199 |             }
200 |
[16/17] Compiling Replicate Deployment.swift
[17/17] Compiling Replicate Error.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Replicate Value.swift
[3/16] Emitting module Replicate
[4/16] Compiling Replicate Account.swift
/host/spi-builder-workspace/Sources/Replicate/Client.swift:1032:36: error: value of type 'DispatchTime' has no member 'advanced'
1030 |             return Retrier(policy: self,
1031 |                            deadline: timeout.flatMap {
1032 |                             .now().advanced(by: .nanoseconds(Int($0 * 1e+9)))
     |                                    `- error: value of type 'DispatchTime' has no member 'advanced'
1033 |                            })
1034 |         }
/host/spi-builder-workspace/Sources/Replicate/Client.swift:1032:50: error: cannot infer contextual base in reference to member 'nanoseconds'
1030 |             return Retrier(policy: self,
1031 |                            deadline: timeout.flatMap {
1032 |                             .now().advanced(by: .nanoseconds(Int($0 * 1e+9)))
     |                                                  `- error: cannot infer contextual base in reference to member 'nanoseconds'
1033 |                            })
1034 |         }
[5/16] Compiling Replicate Client.swift
/host/spi-builder-workspace/Sources/Replicate/Client.swift:1032:36: error: value of type 'DispatchTime' has no member 'advanced'
1030 |             return Retrier(policy: self,
1031 |                            deadline: timeout.flatMap {
1032 |                             .now().advanced(by: .nanoseconds(Int($0 * 1e+9)))
     |                                    `- error: value of type 'DispatchTime' has no member 'advanced'
1033 |                            })
1034 |         }
/host/spi-builder-workspace/Sources/Replicate/Client.swift:1032:50: error: cannot infer contextual base in reference to member 'nanoseconds'
1030 |             return Retrier(policy: self,
1031 |                            deadline: timeout.flatMap {
1032 |                             .now().advanced(by: .nanoseconds(Int($0 * 1e+9)))
     |                                                  `- error: cannot infer contextual base in reference to member 'nanoseconds'
1033 |                            })
1034 |         }
[6/16] Compiling Replicate Status.swift
[7/16] Compiling Replicate Training.swift
[8/16] Compiling Replicate Webhook.swift
[9/16] Compiling Replicate Identifier.swift
[10/16] Compiling Replicate Model.swift
[11/16] Compiling Replicate Data+uriEncoded.swift
[12/16] Compiling Replicate Hardware.swift
[13/16] Compiling Replicate Deployment.swift
[14/16] Compiling Replicate Error.swift
[15/16] Compiling Replicate Predictable.swift
[16/16] Compiling Replicate Prediction.swift
BUILD FAILURE 6.1 android