The Swift Package Index logo.Swift Package Index

Build Information

Failed to build generative-ai-swift, reference 0.5.6 (44b8ce), with Swift 6.1 for Wasm on 30 May 2025 19:37:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google-gemini/deprecated-generative-ai-swift.git
Reference: 0.5.6
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/google-gemini/deprecated-generative-ai-swift
 * tag               0.5.6      -> FETCH_HEAD
HEAD is now at 44b8ce1 Update version to 0.5.6 (#206)
Cloned https://github.com/google-gemini/deprecated-generative-ai-swift.git
Revision (git rev-parse @):
44b8ce120425f9cf53ca756f3434ca2c2696f8bd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/google-gemini/deprecated-generative-ai-swift.git at 0.5.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/google-gemini/deprecated-generative-ai-swift.git
https://github.com/google-gemini/deprecated-generative-ai-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "generative-ai-swift",
  "name" : "generative-ai-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "GoogleGenerativeAI",
      "targets" : [
        "GoogleGenerativeAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoogleGenerativeAITests",
      "module_type" : "SwiftTarget",
      "name" : "GoogleGenerativeAITests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/CountTokenResponses/failure-model-not-found.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/CountTokenResponses/success-total-tokens.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-empty-content.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-error-mid-stream.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-finish-reason-safety.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-invalid-json.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-malformed-content.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-prompt-blocked-safety.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-recitation-no-content.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-unknown-finish-enum.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-success-basic-reply-long.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-success-basic-reply-short.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-success-citations.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-success-code-execution.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-success-unknown-safety-enum.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-api-key.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-empty-content.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-finish-reason-safety-no-content.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-finish-reason-safety.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-image-rejected.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-invalid-response.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-malformed-content.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-prompt-blocked-safety.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-unknown-enum-finish-reason.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-unknown-enum-prompt-blocked.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-unknown-model.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-unsupported-user-location.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-basic-reply-long.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-basic-reply-short.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-citations.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-code-execution.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-function-call-empty-arguments.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-function-call-mixed-content.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-function-call-no-arguments.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-function-call-parallel-calls.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-function-call-with-arguments.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-missing-safety-ratings.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-quote-reply.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-unknown-enum-safety-ratings.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "GoogleAITests/ChatTests.swift",
        "GoogleAITests/CodeExecutionTests.swift",
        "GoogleAITests/GenerateContentRequestTests.swift",
        "GoogleAITests/GenerateContentResponseTests.swift",
        "GoogleAITests/GenerationConfigTests.swift",
        "GoogleAITests/GenerativeModelTests.swift",
        "GoogleAITests/GoogleAITests.swift",
        "GoogleAITests/JSONValueTests.swift",
        "GoogleAITests/MockURLProtocol.swift",
        "GoogleAITests/ModelContentTests.swift",
        "GoogleAITests/PartsRepresentableTests.swift"
      ],
      "target_dependencies" : [
        "GoogleGenerativeAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoogleGenerativeAI",
      "module_type" : "SwiftTarget",
      "name" : "GoogleGenerativeAI",
      "path" : "Sources",
      "product_memberships" : [
        "GoogleGenerativeAI"
      ],
      "sources" : [
        "GoogleAI/Chat.swift",
        "GoogleAI/CountTokensRequest.swift",
        "GoogleAI/Errors.swift",
        "GoogleAI/FunctionCalling.swift",
        "GoogleAI/GenerateContentError.swift",
        "GoogleAI/GenerateContentRequest.swift",
        "GoogleAI/GenerateContentResponse.swift",
        "GoogleAI/GenerationConfig.swift",
        "GoogleAI/GenerativeAIRequest.swift",
        "GoogleAI/GenerativeAIService.swift",
        "GoogleAI/GenerativeAISwift.swift",
        "GoogleAI/GenerativeModel.swift",
        "GoogleAI/JSONValue.swift",
        "GoogleAI/Logging.swift",
        "GoogleAI/ModelContent.swift",
        "GoogleAI/PartsRepresentable+Image.swift",
        "GoogleAI/PartsRepresentable.swift",
        "GoogleAI/Safety.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CodeSnippetTests",
      "module_type" : "SwiftTarget",
      "name" : "CodeSnippetTests",
      "path" : "samples",
      "sources" : [
        "APIKey.swift",
        "ChatSnippets.swift",
        "CodeExecution.swift",
        "ControlledGeneration.swift",
        "CountTokens.swift",
        "FunctionCalling.swift",
        "GenerationConfig.swift",
        "SafetySettings.swift",
        "SystemInstructions.swift",
        "TextGeneration.swift"
      ],
      "target_dependencies" : [
        "GoogleGenerativeAI"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.7.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/19] Compiling GoogleGenerativeAI Chat.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[4/19] Compiling GoogleGenerativeAI CountTokensRequest.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[5/19] Compiling GoogleGenerativeAI Errors.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[6/21] Compiling GoogleGenerativeAI GenerateContentResponse.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[7/21] Compiling GoogleGenerativeAI GenerationConfig.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/21] Emitting module GoogleGenerativeAI
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[9/21] Compiling GoogleGenerativeAI JSONValue.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[10/21] Compiling GoogleGenerativeAI Logging.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[11/21] Compiling GoogleGenerativeAI GenerativeAIRequest.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[12/21] Compiling GoogleGenerativeAI GenerativeAIService.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[13/21] Compiling GoogleGenerativeAI ModelContent.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[14/21] Compiling GoogleGenerativeAI PartsRepresentable+Image.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[15/21] Compiling GoogleGenerativeAI FunctionCalling.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[16/21] Compiling GoogleGenerativeAI GenerateContentError.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[17/21] Compiling GoogleGenerativeAI GenerateContentRequest.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[18/21] Compiling GoogleGenerativeAI GenerativeAISwift.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[19/21] Compiling GoogleGenerativeAI GenerativeModel.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[20/21] Compiling GoogleGenerativeAI PartsRepresentable.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[21/21] Compiling GoogleGenerativeAI Safety.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/samples/README.md
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/18] Emitting module GoogleGenerativeAI
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[3/20] Compiling GoogleGenerativeAI FunctionCalling.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[4/20] Compiling GoogleGenerativeAI GenerateContentError.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[5/20] Compiling GoogleGenerativeAI GenerateContentRequest.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[6/20] Compiling GoogleGenerativeAI Chat.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[7/20] Compiling GoogleGenerativeAI CountTokensRequest.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[8/20] Compiling GoogleGenerativeAI Errors.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[9/20] Compiling GoogleGenerativeAI JSONValue.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[10/20] Compiling GoogleGenerativeAI Logging.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[11/20] Compiling GoogleGenerativeAI ModelContent.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[12/20] Compiling GoogleGenerativeAI PartsRepresentable+Image.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[13/20] Compiling GoogleGenerativeAI GenerateContentResponse.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[14/20] Compiling GoogleGenerativeAI GenerationConfig.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[15/20] Compiling GoogleGenerativeAI GenerativeAIRequest.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[16/20] Compiling GoogleGenerativeAI GenerativeAIService.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[17/20] Compiling GoogleGenerativeAI GenerativeAISwift.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[18/20] Compiling GoogleGenerativeAI GenerativeModel.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[19/20] Compiling GoogleGenerativeAI PartsRepresentable.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[20/20] Compiling GoogleGenerativeAI Safety.swift
/host/spi-builder-workspace/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
BUILD FAILURE 6.1 wasm