The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Observation, reference 0.0.2 (9e04c7), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 16:05:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLet/Observation.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xLet/Observation
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 9e04c70 Merge pull request #2 from 0xLeif/develop
Cloned https://github.com/0xLet/Observation.git
Revision (git rev-parse @):
9e04c7056782c73a8f2ad6cea43f71a1c5a9700b
SUCCESS checkout https://github.com/0xLet/Observation.git at 0.0.2
Fetching https://github.com/0xLeif/Chain
Fetching https://github.com/0xLeif/E.num
[1/130] Fetching e.num
[91/249] Fetching e.num, chain
Fetched https://github.com/0xLeif/Chain from cache (0.61s)
Fetched https://github.com/0xLeif/E.num from cache (0.61s)
Computing version for https://github.com/0xLeif/Chain
Computed https://github.com/0xLeif/Chain at 0.2.0 (1.23s)
Computing version for https://github.com/0xLeif/E.num
Computed https://github.com/0xLeif/E.num at 0.3.0 (0.59s)
Creating working copy for https://github.com/0xLeif/Chain
Working copy of https://github.com/0xLeif/Chain resolved at 0.2.0
Creating working copy for https://github.com/0xLeif/E.num
Working copy of https://github.com/0xLeif/E.num resolved at 0.3.0
========================================
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": "observation",
      "name": "Observation",
      "url": "https://github.com/0xLet/Observation.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Observation",
      "dependencies": [
        {
          "identity": "chain",
          "name": "Chain",
          "url": "https://github.com/0xLeif/Chain",
          "version": "0.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Chain",
          "dependencies": [
            {
              "identity": "e.num",
              "name": "E",
              "url": "https://github.com/0xLeif/E.num",
              "version": "0.3.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/E.num",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/0xLet/Observation.git
[1/61] Fetching observation
Fetched https://github.com/0xLet/Observation.git from cache (0.58s)
Fetching https://github.com/0xLeif/Chain from cache
Fetched https://github.com/0xLeif/Chain from cache (0.41s)
Computing version for https://github.com/0xLeif/Chain
Computed https://github.com/0xLeif/Chain at 0.3.0 (1.01s)
Fetching https://github.com/0xLeif/E.num from cache
Fetched https://github.com/0xLeif/E.num from cache (0.49s)
Computing version for https://github.com/0xLeif/E.num
Computed https://github.com/0xLeif/E.num at 0.3.0 (0.53s)
Creating working copy for https://github.com/0xLeif/Chain
Working copy of https://github.com/0xLeif/Chain resolved at 0.3.0
Creating working copy for https://github.com/0xLeif/E.num
Working copy of https://github.com/0xLeif/E.num resolved at 0.3.0
Creating working copy for https://github.com/0xLet/Observation.git
Working copy of https://github.com/0xLet/Observation.git resolved at 0.0.2 (9e04c70)
warning: '.resolve-product-dependencies': dependency 'observation' is not used by any target
Found 1 product dependencies
  - Chain
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xLet/Observation.git
https://github.com/0xLet/Observation.git
{
  "dependencies" : [
    {
      "identity" : "chain",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Chain"
    }
  ],
  "manifest_display_name" : "Observation",
  "name" : "Observation",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Observation",
      "targets" : [
        "Observation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ObservationTests",
      "module_type" : "SwiftTarget",
      "name" : "ObservationTests",
      "path" : "Tests/ObservationTests",
      "sources" : [
        "ObservationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Observation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Observation",
      "module_type" : "SwiftTarget",
      "name" : "Observation",
      "path" : "Sources/Observation",
      "product_dependencies" : [
        "Chain"
      ],
      "product_memberships" : [
        "Observation"
      ],
      "sources" : [
        "ObservedValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/9] Compiling E State.swift
[6/9] Emitting module E
[7/9] Compiling E Variable.swift
[8/9] Compiling E Control.swift
[9/9] Compiling E Function.swift
[10/11] Emitting module Chain
[11/11] Compiling Chain Chain.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] Emitting module Observation
<unknown>:0: error: circular dependency between modules 'Observation' and 'Foundation'
[13/13] Compiling Observation ObservedValue.swift
<unknown>:0: error: circular dependency between modules 'Observation' and 'Foundation'
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling E State.swift
[3/6] Compiling E Control.swift
[4/6] Emitting module E
[5/6] Compiling E Function.swift
[6/6] Compiling E Variable.swift
[7/8] Compiling Chain Chain.swift
[8/8] Emitting module Chain
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module Observation
<unknown>:0: error: circular dependency between modules 'Observation' and 'Foundation'
[10/10] Compiling Observation ObservedValue.swift
<unknown>:0: error: circular dependency between modules 'Observation' and 'Foundation'
BUILD FAILURE 6.1 macosSpm