Build Information
Failed to build Observation with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLet/Observation.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/0xLet/Observation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
Fetching https://github.com/0xLeif/E.num from cache
Fetching https://github.com/0xLeif/Chain from cache
Fetched https://github.com/0xLeif/Chain (0.23s)
Computing version for https://github.com/0xLeif/Chain
Fetched https://github.com/0xLeif/E.num (0.25s)
Computed https://github.com/0xLeif/Chain at 0.2.0 (0.61s)
Computing version for https://github.com/0xLeif/E.num
Computed https://github.com/0xLeif/E.num at 0.3.0 (0.46s)
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/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "observation",
"name": "Observation",
"url": "https://github.com/0xLet/Observation.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-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/builds/J1XnyXFH/0/finestructure/swiftpackageindex-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/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/E.num",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/0xLet/Observation.git
[2/61] Fetching observation
Fetched https://github.com/0xLet/Observation.git (0.32s)
Fetching https://github.com/0xLeif/Chain from cache
Fetched https://github.com/0xLeif/Chain (0.23s)
Computing version for https://github.com/0xLeif/Chain
Computed https://github.com/0xLeif/Chain at 0.3.0 (0.54s)
Fetching https://github.com/0xLeif/E.num from cache
Fetched https://github.com/0xLeif/E.num (0.21s)
Computing version for https://github.com/0xLeif/E.num
Computed https://github.com/0xLeif/E.num at 0.3.0 (0.03s)
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/0xLet/Observation.git
Working copy of https://github.com/0xLet/Observation.git resolved at main
Creating working copy for https://github.com/0xLeif/E.num
Working copy of https://github.com/0xLeif/E.num resolved at 0.3.0
warning: '.resolve-product-dependencies': dependency 'observation' is not used by any target
Found 1 product dependencies
- Chain
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/5] Compiling E Function.swift
[2/5] Compiling E State.swift
[3/5] Compiling E Variable.swift
[4/5] Emitting module E
[5/5] Compiling E Control.swift
[6/7] Compiling Chain Chain.swift
[7/7] Emitting module Chain
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Emitting module Observation
<unknown>:0: error: circular dependency between modules 'Observation' and 'Foundation'
[9/9] Compiling Observation ObservedValue.swift
<unknown>:0: error: circular dependency between modules 'Observation' and 'Foundation'
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module Observation
<unknown>:0: error: circular dependency between modules 'Observation' and 'Foundation'
[2/2] Compiling Observation ObservedValue.swift
<unknown>:0: error: circular dependency between modules 'Observation' and 'Foundation'
error: fatalError
BUILD FAILURE 5.9 macosSpm