Build Information
Failed to build Observation with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.22.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLet/Observation.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/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 into /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
Revision (git rev-parse @):
9e04c7056782c73a8f2ad6cea43f71a1c5a9700b
SUCCESS checkout https://github.com/0xLet/Observation.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
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 Control.swift
[3/5] Compiling E State.swift
[4/5] Emitting module E
[5/5] Compiling E Variable.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
Fetching https://github.com/0xLeif/Chain from cache
Fetching https://github.com/0xLeif/E.num from cache
Fetched https://github.com/0xLeif/Chain (0.19s)
Fetched https://github.com/0xLeif/E.num (0.19s)
Computing version for https://github.com/0xLeif/Chain
Computed https://github.com/0xLeif/Chain at 0.2.0 (0.46s)
Computing version for https://github.com/0xLeif/E.num
Computed https://github.com/0xLeif/E.num at 0.3.0 (0.43s)
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/0xLeif/Chain
Working copy of https://github.com/0xLeif/Chain resolved at 0.2.0
[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