The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Restructure, reference main (8e152e), with Swift 6.1 for macOS (SPM) on 13 Jul 2025 23:49:19 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stack/Restructure.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stack/Restructure
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8e152e7 Fix README about dateStrategy
Cloned https://github.com/stack/Restructure.git
Revision (git rev-parse @):
8e152e7b64adece0edea6f6e724593b8c3839b37
SUCCESS checkout https://github.com/stack/Restructure.git at main
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
Fetching https://github.com/apple/swift-numerics from cache
[1/209] Fetching swiftlintplugins
[206/2303] Fetching swiftlintplugins, swift-docc-plugin
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (1.20s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.20s)
Fetched https://github.com/apple/swift-numerics from cache (1.24s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.24s)
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.59.1 (1.77s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (3.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.74s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.59.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
[10317/41085097] Downloading https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip (3.29s)
========================================
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",
  "dependencies": [
    {
      "identity": "restructure",
      "name": "Restructure",
      "url": "https://github.com/stack/Restructure.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Restructure",
      "dependencies": [
        {
          "identity": "swiftlintplugins",
          "name": "SwiftLintPlugins",
          "url": "https://github.com/SimplyDanny/SwiftLintPlugins",
          "version": "0.59.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLintPlugins",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/stack/Restructure.git
[1/574] Fetching restructure
Fetched https://github.com/stack/Restructure.git from cache (0.74s)
Fetching https://github.com/SimplyDanny/SwiftLintPlugins from cache
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.44s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.59.1 (0.49s)
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.59.1
Creating working copy for https://github.com/stack/Restructure.git
Working copy of https://github.com/stack/Restructure.git resolved at main (8e152e7)
Fetching binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip from cache
Fetched https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip from cache (1.60s)
warning: '.resolve-product-dependencies': dependency 'restructure' is not used by any target
Found 1 product dependencies
  - SwiftLintPlugins
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/stack/Restructure.git
https://github.com/stack/Restructure.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    },
    {
      "identity" : "swiftlintplugins",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.59.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SimplyDanny/SwiftLintPlugins"
    }
  ],
  "manifest_display_name" : "Restructure",
  "name" : "Restructure",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "Restructure",
      "targets" : [
        "Restructure"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RestructureTests",
      "module_type" : "SwiftTarget",
      "name" : "RestructureTests",
      "path" : "Tests/RestructureTests",
      "product_dependencies" : [
        "Numerics"
      ],
      "sources" : [
        "RestructureInitializationTests.swift",
        "RestructureTests.swift",
        "RowDecoderTests.swift",
        "RowTests.swift",
        "StatementEncoderTests.swift",
        "StatementSequenceTests.swift",
        "StatementTests.swift"
      ],
      "target_dependencies" : [
        "Restructure"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Restructure",
      "module_type" : "SwiftTarget",
      "name" : "Restructure",
      "path" : "Sources/Restructure",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "product_memberships" : [
        "Restructure"
      ],
      "sources" : [
        "ArrayStrategy.swift",
        "AutoVacuum.swift",
        "Date+Julian.swift",
        "DateStrategy.swift",
        "JournalMode.swift",
        "PragmaRepresentable.swift",
        "Restructure.swift",
        "RestructureError.swift",
        "Row.swift",
        "RowDecoder.swift",
        "SecureDelete.swift",
        "Statement.swift",
        "StatementEncoder.swift",
        "StepResult.swift",
        "String+SQLite3.swift",
        "Structurable.swift",
        "WalCheckpointMode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
BUILD FAILURE 6.1 macosSpm