The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Cuneiform, reference main (4c9523), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 09:54:18 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jramos57/cuneiform.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Jramos57/cuneiform
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4c95239 fix: install zip command in Linux CI
Cloned https://github.com/Jramos57/cuneiform.git
Revision (git rev-parse @):
4c952394f42c08cde0baef005fe7be7613a290ca
SUCCESS checkout https://github.com/Jramos57/cuneiform.git at main
Fetching https://github.com/swiftlang/swift-testing.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/37268] Fetching swift-testing
[2238/112251] Fetching swift-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (13.01s)
Fetched https://github.com/swiftlang/swift-testing.git from cache (13.01s)
Computing version for https://github.com/swiftlang/swift-testing.git
Computed https://github.com/swiftlang/swift-testing.git at 0.99.0 (13.67s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (3.13s)
Creating working copy for https://github.com/swiftlang/swift-testing.git
Working copy of https://github.com/swiftlang/swift-testing.git resolved at 0.99.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "cuneiform",
      "name": "Cuneiform",
      "url": "https://github.com/Jramos57/cuneiform.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cuneiform",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Jramos57/cuneiform.git
[1/1036] Fetching cuneiform
Fetched https://github.com/Jramos57/cuneiform.git from cache (4.75s)
Creating working copy for https://github.com/Jramos57/cuneiform.git
Working copy of https://github.com/Jramos57/cuneiform.git resolved at main (4c95239)
warning: '.resolve-product-dependencies': dependency 'cuneiform' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Jramos57/cuneiform.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/33] Compiling Cuneiform ContentType.swift
[4/33] Compiling Cuneiform Errors.swift
[5/33] Compiling Cuneiform PartPath.swift
[6/33] Compiling Cuneiform Relationship.swift
[7/33] Compiling Cuneiform PivotTableParser.swift
[8/33] Compiling Cuneiform RichText.swift
[9/33] Compiling Cuneiform SharedStringsParser.swift
[10/36] Compiling Cuneiform CellValue.swift
[11/36] Compiling Cuneiform ChartBuilder.swift
[12/36] Compiling Cuneiform ChartParser.swift
[13/36] Compiling Cuneiform CommentsBuilder.swift
[14/36] Compiling Cuneiform CommentsParser.swift
[15/36] Compiling Cuneiform DependencyGraph.swift
[16/36] Compiling Cuneiform TableParser.swift
[17/36] Compiling Cuneiform VMLCommentsBuilder.swift
[18/36] Compiling Cuneiform Workbook.swift
[19/36] Compiling Cuneiform Cuneiform.swift
[20/36] Compiling Cuneiform ContentTypesParser.swift
[21/36] Compiling Cuneiform OPCBuilders.swift
[22/36] Compiling Cuneiform OPCPackage.swift
[23/36] Compiling Cuneiform Sheet.swift
[24/36] Compiling Cuneiform SpreadsheetMLBuilders.swift
[25/36] Compiling Cuneiform StylesParser.swift
[26/36] Compiling Cuneiform WorkbookParser.swift
[27/36] Compiling Cuneiform WorkbookWriter.swift
[28/36] Compiling Cuneiform WorksheetParser.swift
[29/36] Emitting module Cuneiform
[30/36] Compiling Cuneiform RelationshipsParser.swift
[31/36] Compiling Cuneiform ZipArchive.swift
[32/36] Compiling Cuneiform ZipWriter.swift
[33/36] Compiling Cuneiform CellFormula.swift
[34/36] Compiling Cuneiform FormulaEvaluator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cuneiform/SpreadsheetML/FormulaEvaluator.swift:9614:26: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 9612 |         } else {
 9613 |             // PDF: x^(α-1) * (1-x)^(β-1) / B(α,β)
 9614 |             let logPdf = (alpha - 1) * log(xNorm) + (beta - 1) * log(1 - xNorm) - lgamma(alpha) - lgamma(beta) + lgamma(alpha + beta)
      |                          `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 9615 |             return .number(exp(logPdf) / (b - a))
 9616 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Cuneiform/SpreadsheetML/FormulaEvaluator.swift:10410:31: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10408 |             for k in 0...sampleSuccesses {
10409 |                 // Hypergeometric probability: C(M,k) * C(N-M,n-k) / C(N,n)
10410 |                 let logProb = lgamma(Double(populationSuccesses + 1)) - lgamma(Double(k + 1)) - lgamma(Double(populationSuccesses - k + 1)) +
      |                               `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10411 |                              lgamma(Double(populationSize - populationSuccesses + 1)) - lgamma(Double(sampleSize - k + 1)) - lgamma(Double(populationSize - populationSuccesses - sampleSize + k + 1)) -
10412 |                              (lgamma(Double(populationSize + 1)) - lgamma(Double(sampleSize + 1)) - lgamma(Double(populationSize - sampleSize + 1)))
/Users/admin/builder/spi-builder-workspace/Sources/Cuneiform/SpreadsheetML/FormulaEvaluator.swift:10418:27: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10416 |         } else {
10417 |             // PMF
10418 |             let logProb = lgamma(Double(populationSuccesses + 1)) - lgamma(Double(sampleSuccesses + 1)) - lgamma(Double(populationSuccesses - sampleSuccesses + 1)) +
      |                           `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10419 |                          lgamma(Double(populationSize - populationSuccesses + 1)) - lgamma(Double(sampleSize - sampleSuccesses + 1)) - lgamma(Double(populationSize - populationSuccesses - sampleSize + sampleSuccesses + 1)) -
10420 |                          (lgamma(Double(populationSize + 1)) - lgamma(Double(sampleSize + 1)) - lgamma(Double(populationSize - sampleSize + 1)))
[35/36] Compiling Cuneiform FormulaParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cuneiform/SpreadsheetML/FormulaEvaluator.swift:9614:26: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 9612 |         } else {
 9613 |             // PDF: x^(α-1) * (1-x)^(β-1) / B(α,β)
 9614 |             let logPdf = (alpha - 1) * log(xNorm) + (beta - 1) * log(1 - xNorm) - lgamma(alpha) - lgamma(beta) + lgamma(alpha + beta)
      |                          `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 9615 |             return .number(exp(logPdf) / (b - a))
 9616 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Cuneiform/SpreadsheetML/FormulaEvaluator.swift:10410:31: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10408 |             for k in 0...sampleSuccesses {
10409 |                 // Hypergeometric probability: C(M,k) * C(N-M,n-k) / C(N,n)
10410 |                 let logProb = lgamma(Double(populationSuccesses + 1)) - lgamma(Double(k + 1)) - lgamma(Double(populationSuccesses - k + 1)) +
      |                               `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10411 |                              lgamma(Double(populationSize - populationSuccesses + 1)) - lgamma(Double(sampleSize - k + 1)) - lgamma(Double(populationSize - populationSuccesses - sampleSize + k + 1)) -
10412 |                              (lgamma(Double(populationSize + 1)) - lgamma(Double(sampleSize + 1)) - lgamma(Double(populationSize - sampleSize + 1)))
/Users/admin/builder/spi-builder-workspace/Sources/Cuneiform/SpreadsheetML/FormulaEvaluator.swift:10418:27: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10416 |         } else {
10417 |             // PMF
10418 |             let logProb = lgamma(Double(populationSuccesses + 1)) - lgamma(Double(sampleSuccesses + 1)) - lgamma(Double(populationSuccesses - sampleSuccesses + 1)) +
      |                           `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10419 |                          lgamma(Double(populationSize - populationSuccesses + 1)) - lgamma(Double(sampleSize - sampleSuccesses + 1)) - lgamma(Double(populationSize - populationSuccesses - sampleSize + sampleSuccesses + 1)) -
10420 |                          (lgamma(Double(populationSize + 1)) - lgamma(Double(sampleSize + 1)) - lgamma(Double(populationSize - sampleSize + 1)))
[36/36] Compiling Cuneiform PageSetup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cuneiform/SpreadsheetML/FormulaEvaluator.swift:9614:26: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 9612 |         } else {
 9613 |             // PDF: x^(α-1) * (1-x)^(β-1) / B(α,β)
 9614 |             let logPdf = (alpha - 1) * log(xNorm) + (beta - 1) * log(1 - xNorm) - lgamma(alpha) - lgamma(beta) + lgamma(alpha + beta)
      |                          `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 9615 |             return .number(exp(logPdf) / (b - a))
 9616 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Cuneiform/SpreadsheetML/FormulaEvaluator.swift:10410:31: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10408 |             for k in 0...sampleSuccesses {
10409 |                 // Hypergeometric probability: C(M,k) * C(N-M,n-k) / C(N,n)
10410 |                 let logProb = lgamma(Double(populationSuccesses + 1)) - lgamma(Double(k + 1)) - lgamma(Double(populationSuccesses - k + 1)) +
      |                               `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10411 |                              lgamma(Double(populationSize - populationSuccesses + 1)) - lgamma(Double(sampleSize - k + 1)) - lgamma(Double(populationSize - populationSuccesses - sampleSize + k + 1)) -
10412 |                              (lgamma(Double(populationSize + 1)) - lgamma(Double(sampleSize + 1)) - lgamma(Double(populationSize - sampleSize + 1)))
/Users/admin/builder/spi-builder-workspace/Sources/Cuneiform/SpreadsheetML/FormulaEvaluator.swift:10418:27: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10416 |         } else {
10417 |             // PMF
10418 |             let logProb = lgamma(Double(populationSuccesses + 1)) - lgamma(Double(sampleSuccesses + 1)) - lgamma(Double(populationSuccesses - sampleSuccesses + 1)) +
      |                           `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
10419 |                          lgamma(Double(populationSize - populationSuccesses + 1)) - lgamma(Double(sampleSize - sampleSuccesses + 1)) - lgamma(Double(populationSize - populationSuccesses - sampleSize + sampleSuccesses + 1)) -
10420 |                          (lgamma(Double(populationSize + 1)) - lgamma(Double(sampleSize + 1)) - lgamma(Double(populationSize - sampleSize + 1)))
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install zlib using your system-packager:
    brew install zlib
warning: you may be able to install zlib using your system-packager:
    brew install zlib
BUILD FAILURE 6.3 macosSpm