The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Yazman, reference main (1e495a), with Swift 6.1 for Android on 24 Feb 2026 07:29:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alpozcan/yazman.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/alpozcan/yazman
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1e495a1 chore: rename project to Yazman
Cloned https://github.com/alpozcan/yazman.git
Revision (git rev-parse @):
1e495a197b72af01cd5160f3bfd970b5415510a4
SUCCESS checkout https://github.com/alpozcan/yazman.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alpozcan/yazman.git
https://github.com/alpozcan/yazman.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swiftsoup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scinfu/SwiftSoup.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "ollama-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattt/ollama-swift.git"
    }
  ],
  "manifest_display_name" : "Yazman",
  "name" : "Yazman",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "yazman",
      "targets" : [
        "yazman"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "yazman",
      "module_type" : "SwiftTarget",
      "name" : "yazman",
      "path" : "Sources/yazman",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftSoup",
        "Rainbow",
        "Ollama"
      ],
      "product_memberships" : [
        "yazman"
      ],
      "sources" : [
        "Commands/AddCommand.swift",
        "Commands/CheckCommand.swift",
        "Commands/ImproveCommand.swift",
        "Commands/ReviewCommand.swift",
        "Commands/ScrapeCommand.swift",
        "Commands/SearchCommand.swift",
        "Commands/StatsCommand.swift",
        "Core/Checker.swift",
        "Core/Config.swift",
        "Core/Lifecycle.swift",
        "Core/OllamaExtensions.swift",
        "Core/Prompts.swift",
        "Core/Scraper.swift",
        "Core/VectorStore.swift",
        "Utilities/Log.swift",
        "Utilities/Terminal.swift",
        "Yazman.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "YazmanTests",
      "module_type" : "SwiftTarget",
      "name" : "YazmanTests",
      "path" : "Tests/YazmanTests",
      "sources" : [
        "ChunkerTests.swift",
        "ConfigTests.swift",
        "ParagraphExtractionTests.swift",
        "PromptsTests.swift",
        "ScraperTests.swift",
        "SpinnerTests.swift",
        "TerminalTests.swift",
        "TurkishContentTests.swift",
        "VectorStoreTests.swift"
      ],
      "target_dependencies" : [
        "yazman"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/mattt/ollama-swift.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/1420] Fetching rainbow
[797/18589] Fetching rainbow, swift-argument-parser
[1895/19348] Fetching rainbow, swift-argument-parser, ollama-swift
[2825/25107] Fetching rainbow, swift-argument-parser, ollama-swift, swiftsoup
Fetched https://github.com/mattt/ollama-swift.git from cache (1.02s)
Fetched https://github.com/onevcat/Rainbow.git from cache (1.02s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.03s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.25s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.1 (4.74s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.98s)
Computing version for https://github.com/mattt/ollama-swift.git
Computed https://github.com/mattt/ollama-swift.git at 1.8.0 (1.84s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.11.3 (0.53s)
Fetching https://github.com/nicklockwood/LRUCache.git
Fetching https://github.com/apple/swift-atomics.git
[1/360] Fetching lrucache
[361/2180] Fetching lrucache, swift-atomics
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.22s)
[619/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.02s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.2.1 (2.49s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.1
Creating working copy for https://github.com/mattt/ollama-swift.git
Working copy of https://github.com/mattt/ollama-swift.git resolved at 1.8.0
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.11.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/22] Write sources
[10/22] Compiling _AtomicsShims.c
[11/22] Write swift-version-24593BA9C3E375BF.txt
[13/68] Compiling Atomics ManagedAtomic.swift
[14/68] Compiling Atomics ManagedAtomicLazyReference.swift
[15/68] Compiling Atomics UnsafeAtomic.swift
[16/68] Compiling Atomics UnsafeAtomicLazyReference.swift
[17/70] Emitting module ArgumentParserToolInfo
[18/70] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/71] Compiling Atomics AtomicStorage.swift
[20/71] Compiling Atomics AtomicValue.swift
[21/71] Compiling Atomics OptionalRawRepresentable.swift
[22/71] Compiling Atomics RawRepresentable.swift
[23/71] Compiling Atomics AtomicBool.swift
[24/71] Compiling Atomics AtomicMemoryOrderings.swift
[25/71] Compiling Atomics DoubleWord.swift
[26/71] Compiling Atomics AtomicInteger.swift
[27/71] Compiling Atomics AtomicOptionalWrappable.swift
[28/71] Compiling Atomics AtomicReference.swift
[29/71] Compiling Atomics IntegerConformances.swift
[30/71] Compiling Atomics PointerConformances.swift
[31/71] Compiling Atomics Primitives.native.swift
[32/71] Emitting module Atomics
[34/71] Compiling Atomics IntegerOperations.swift
[35/71] Compiling Atomics Unmanaged extensions.swift
[36/72] Wrapping AST for ArgumentParserToolInfo for debugging
[37/118] Wrapping AST for Atomics for debugging
[39/118] Compiling Ollama Tool.swift
[40/119] Compiling ArgumentParser SplitArguments.swift
[41/119] Compiling ArgumentParser ParentCommand.swift
[42/120] Compiling ArgumentParser ParsedValues.swift
[43/120] Compiling ArgumentParser ParserError.swift
[44/120] Compiling ArgumentParser InputOrigin.swift
[45/120] Compiling ArgumentParser Name.swift
[46/120] Compiling ArgumentParser Parsed.swift
[51/126] Compiling ArgumentParser AsyncParsableCommand.swift
[52/126] Compiling ArgumentParser CommandConfiguration.swift
[53/126] Compiling ArgumentParser CommandGroup.swift
[54/126] Compiling ArgumentParser EnumerableFlag.swift
[55/126] Compiling ArgumentParser ExpressibleByArgument.swift
[56/126] Compiling ArgumentParser ParsableArguments.swift
[57/126] Compiling ArgumentParser ArgumentVisibility.swift
[58/126] Compiling ArgumentParser CompletionKind.swift
[59/126] Compiling ArgumentParser Errors.swift
[60/126] Compiling ArgumentParser Flag.swift
[61/126] Compiling ArgumentParser NameSpecification.swift
[62/126] Compiling ArgumentParser Option.swift
[63/126] Compiling ArgumentParser OptionGroup.swift
[64/126] Compiling ArgumentParser Tree.swift
[65/126] Compiling ArgumentParser CodingKeyValidator.swift
[66/126] Compiling ArgumentParser NonsenseFlagsValidator.swift
[67/126] Compiling ArgumentParser ParsableArgumentsValidation.swift
[68/126] Compiling ArgumentParser PositionalArgumentsValidator.swift
[69/126] Compiling ArgumentParser UniqueNamesValidator.swift
[70/126] Compiling ArgumentParser Foundation.swift
[71/126] Compiling ArgumentParser Mutex.swift
[72/126] Compiling ArgumentParser Platform.swift
[73/126] Compiling ArgumentParser SequenceExtensions.swift
[74/126] Compiling ArgumentParser StringExtensions.swift
[75/126] Compiling ArgumentParser SwiftExtensions.swift
[76/126] Compiling Ollama Model.swift
[77/126] Compiling Rainbow StyledStringBuilder.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[80/126] Emitting module ArgumentParser
[81/126] Compiling ArgumentParser BashCompletionsGenerator.swift
[82/126] Compiling ArgumentParser CompletionsGenerator.swift
[83/126] Compiling ArgumentParser FishCompletionsGenerator.swift
[84/126] Compiling ArgumentParser ZshCompletionsGenerator.swift
[85/126] Compiling ArgumentParser Argument.swift
[86/126] Compiling ArgumentParser ArgumentDiscussion.swift
[87/126] Compiling ArgumentParser ArgumentHelp.swift
[88/126] Compiling ArgumentParser DumpHelpGenerator.swift
[89/126] Compiling ArgumentParser HelpCommand.swift
[90/126] Compiling ArgumentParser HelpGenerator.swift
[91/126] Compiling ArgumentParser MessageInfo.swift
[92/126] Compiling ArgumentParser UsageGenerator.swift
[93/126] Compiling ArgumentParser CollectionExtensions.swift
[94/126] Compiling ArgumentParser ParsableCommand.swift
[95/126] Compiling ArgumentParser ArgumentDecoder.swift
[96/126] Compiling ArgumentParser ArgumentDefinition.swift
[97/126] Compiling ArgumentParser ArgumentSet.swift
[98/126] Compiling ArgumentParser CommandParser.swift
[99/126] Compiling ArgumentParser InputKey.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[100/127] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[109/127] Emitting module LRUCache
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write swift-version-24593BA9C3E375BF.txt
[4/59] Emitting module ArgumentParserToolInfo
[5/59] Compiling Rainbow StringGenerator.swift
[6/59] Compiling Rainbow Style.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/60] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[8/60] Compiling Rainbow BackgroundColor.swift
[9/60] Compiling Rainbow CodesParser.swift
[10/60] Compiling Ollama KeepAlive.swift
[13/63] Emitting module LRUCache
[14/63] Compiling Ollama JSONDecoder+Extensions.swift
[15/63] Compiling Ollama Model.swift
[16/63] Compiling Atomics UnsafeAtomic.swift
[17/63] Compiling Atomics UnsafeAtomicLazyReference.swift
[18/63] Compiling Rainbow StyledStringBuilder.swift
[19/63] Compiling Ollama Tool.swift
[20/63] Compiling Rainbow String+Rainbow.swift
[23/63] Compiling Atomics DoubleWord.swift
[24/63] Compiling LRUCache LRUCache.swift
[25/64] Compiling Rainbow OutputTarget.swift
[26/64] Compiling Rainbow Rainbow.swift
[27/64] Compiling Rainbow String+ConditionalStyling.swift
[28/64] Emitting module Ollama
[29/64] Compiling Rainbow ConditionalStyleBuilder.swift
[30/64] Compiling Rainbow ControlCode.swift
[31/64] Compiling Rainbow HSLColorConverter.swift
[32/64] Compiling Rainbow ModesExtractor.swift
[34/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[35/65] Compiling Atomics IntegerOperations.swift
[36/65] Compiling Atomics Unmanaged extensions.swift
[37/64] Wrapping AST for LRUCache for debugging
[39/64] Compiling Rainbow Color.swift
[40/64] Compiling Rainbow ColorApproximation.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[45/64] Compiling Ollama Embeddings.swift
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:149:63: error: value of type 'URLSession' has no member 'bytes'
 147 |                 do {
 148 |                     let request = try createRequest(method, path, params: params)
 149 |                     let (bytes, response) = try await session.bytes(for: request)
     |                                                               `- error: value of type 'URLSession' has no member 'bytes'
 150 |                     let httpResponse = try validateResponse(response)
 151 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:149:63: error: value of type 'URLSession' has no member 'bytes'
 147 |                 do {
 148 |                     let request = try createRequest(method, path, params: params)
 149 |                     let (bytes, response) = try await session.bytes(for: request)
     |                                                               `- error: value of type 'URLSession' has no member 'bytes'
 150 |                     let httpResponse = try validateResponse(response)
 151 |
BUILD FAILURE 6.1 android