Build Information
Failed to build Draftsman with Swift 6.0 (beta) for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hainayanda/Draftsman.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hainayanda/Draftsman
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3098b62 Update Draftsman.podspec
Cloned https://github.com/hainayanda/Draftsman.git
Revision (git rev-parse @):
3098b6291c852346b9637589f558fe953863317f
SUCCESS checkout https://github.com/hainayanda/Draftsman.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/hainayanda/Draftsman.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/14] Compiling Clavier SafeAreaKeyboardLayoutGuide.swift
[6/14] Compiling Clavier ClavierLayoutGuide.swift
[7/14] Emitting module Clavier
[8/14] Compiling Clavier Extensions.swift
[9/14] Compiling Clavier ClavierGlobalConfig.swift
[10/14] Compiling Builder BuilderConfig.swift
[11/14] Emitting module Builder
[12/14] Compiling Builder Builder.swift
[13/14] Compiling Builder Protocols.swift
[14/14] Compiling Builder PropertyAssigner.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/87] Emitting module Draftsman
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:48:32: error: cannot find type 'NSLayoutConstraint' in scope
46 | }
47 |
48 | extension Array where Element: NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
50 | reduce([:]) { partialResult, constraint in
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:49:53: error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | extension Array where Element: NSLayoutConstraint {
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
50 | reduce([:]) { partialResult, constraint in
51 | guard let draftsmanIdentifier = constraint.draftsmanIdentifier else {
[16/94] Compiling Draftsman LayoutAxisAnchor.swift
[17/94] Compiling Draftsman LayoutWithAnchors.swift
[18/94] Compiling Draftsman AxisAnchorRelation.swift
[19/94] Compiling Draftsman DimensionAnchorRelation.swift
[20/94] Compiling Draftsman IdentifiedAnchorRelation.swift
[21/94] Compiling Draftsman PairAnchorRelation.swift
[22/94] Compiling Draftsman PrioritizedAnchorRelation.swift
[23/94] Compiling Draftsman QuadAnchorRelation.swift
[24/94] Compiling Draftsman AnchorExtractable.swift
[25/94] Compiling Draftsman AxisAnchor.swift
[26/94] Compiling Draftsman DimensionAnchor.swift
[27/94] Compiling Draftsman PairAnchor.swift
[28/94] Compiling Draftsman QuadAnchor.swift
[29/94] Compiling Draftsman SingleAnchor.swift
[30/94] Compiling Draftsman SizeAnchor.swift
[31/94] Compiling Draftsman TriAnchor.swift
[32/94] Compiling Draftsman ViewPlanBuilder.swift
[33/94] Compiling Draftsman AnchorPair.swift
[34/94] Compiling Draftsman Enumeration.swift
[35/94] Compiling Draftsman PairConstant.swift
[36/94] Compiling Draftsman TriConstant.swift
[37/94] Compiling Draftsman ConstraintBuilder.swift
[38/94] Compiling Draftsman ScrollableStackView.swift
[39/94] Compiling Draftsman SpacerView.swift
[40/94] Compiling Draftsman UICollectionView.swift
[41/94] Compiling Draftsman UIControl.swift
[42/94] Compiling Draftsman UIImageView.swift
[43/94] Compiling Draftsman UILabel.swift
[44/94] Compiling Draftsman UIScrollView.swift
[45/94] Compiling Draftsman UISlider.swift
[46/94] Compiling Draftsman UIStackView.swift
[47/94] Compiling Draftsman UIStepper.swift
[48/94] Compiling Draftsman Tabled.swift
[49/94] Compiling Draftsman LayoutDraft.swift
[50/94] Compiling Draftsman LayoutPlan.swift
[51/94] Compiling Draftsman PlanComponent.swift
[52/94] Compiling Draftsman PlanContext.swift
[53/94] Compiling Draftsman Planned.swift
[54/94] Compiling Draftsman PlannedDraft.swift
[55/94] Compiling Draftsman ViewPlan.swift
[56/94] Compiling Draftsman UISwitch.swift
[57/94] Compiling Draftsman UITableView.swift
[58/94] Compiling Draftsman UITextView.swift
[59/94] Compiling Draftsman UIView.swift
[60/94] Compiling Draftsman RelationShortcuts.swift
[61/94] Compiling Draftsman StackedShortcuts.swift
[62/94] Compiling Draftsman StackCompatible.swift
[63/94] Compiling Draftsman UIEdgeInsets+Extensions.swift
[64/94] Compiling Draftsman UIResponder+Extensions.swift
[65/94] Compiling Draftsman UIView+Extensions.swift
[66/94] Compiling Draftsman LayoutDraftBuilder.swift
[67/94] Compiling Draftsman LayoutDraftSubscriber.swift
[68/94] Compiling Draftsman ContainerShortcuts.swift
[69/94] Compiling Draftsman Cell.swift
[70/94] Compiling Draftsman UIButton.swift
[71/94] Compiling Draftsman SingleAnchorRelation.swift
[72/94] Compiling Draftsman SizeAnchorRelation.swift
[73/94] Compiling Draftsman TriAnchorRelation.swift
[74/94] Compiling Draftsman CollectionCellProvider.swift
[75/94] Compiling Draftsman Collectioned.swift
[76/94] Compiling Draftsman NSDiffableDataSourceSnapshot+Extensions.swift
[77/94] Compiling Draftsman SectionCompatible.swift
[78/94] Compiling Draftsman TableCellProvider.swift
[79/94] Compiling Draftsman ConstraintBuilderRootRecoverable.swift
[80/94] Compiling Draftsman Axis.swift
[81/94] Compiling Draftsman Dimension.swift
[82/94] Compiling Draftsman Pair.swift
[83/94] Compiling Draftsman Quad.swift
[84/94] Compiling Draftsman Single.swift
[85/94] Compiling Draftsman Trio.swift
[86/94] Compiling Draftsman LayoutAnchor.swift
[87/94] Compiling Draftsman Array+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:48:32: error: cannot find type 'NSLayoutConstraint' in scope
46 | }
47 |
48 | extension Array where Element: NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
50 | reduce([:]) { partialResult, constraint in
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:49:53: error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | extension Array where Element: NSLayoutConstraint {
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
50 | reduce([:]) { partialResult, constraint in
51 | guard let draftsmanIdentifier = constraint.draftsmanIdentifier else {
[88/94] Compiling Draftsman CACornerMask+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:48:32: error: cannot find type 'NSLayoutConstraint' in scope
46 | }
47 |
48 | extension Array where Element: NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
50 | reduce([:]) { partialResult, constraint in
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:49:53: error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | extension Array where Element: NSLayoutConstraint {
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
50 | reduce([:]) { partialResult, constraint in
51 | guard let draftsmanIdentifier = constraint.draftsmanIdentifier else {
[89/94] Compiling Draftsman CGFloat+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:48:32: error: cannot find type 'NSLayoutConstraint' in scope
46 | }
47 |
48 | extension Array where Element: NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
50 | reduce([:]) { partialResult, constraint in
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:49:53: error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | extension Array where Element: NSLayoutConstraint {
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
50 | reduce([:]) { partialResult, constraint in
51 | guard let draftsmanIdentifier = constraint.draftsmanIdentifier else {
[90/94] Compiling Draftsman CGRect+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:48:32: error: cannot find type 'NSLayoutConstraint' in scope
46 | }
47 |
48 | extension Array where Element: NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
50 | reduce([:]) { partialResult, constraint in
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:49:53: error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | extension Array where Element: NSLayoutConstraint {
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
50 | reduce([:]) { partialResult, constraint in
51 | guard let draftsmanIdentifier = constraint.draftsmanIdentifier else {
[91/94] Compiling Draftsman CGSize+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:48:32: error: cannot find type 'NSLayoutConstraint' in scope
46 | }
47 |
48 | extension Array where Element: NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
50 | reduce([:]) { partialResult, constraint in
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:49:53: error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | extension Array where Element: NSLayoutConstraint {
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
50 | reduce([:]) { partialResult, constraint in
51 | guard let draftsmanIdentifier = constraint.draftsmanIdentifier else {
[92/94] Compiling Draftsman NSLayoutConstraint+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:48:32: error: cannot find type 'NSLayoutConstraint' in scope
46 | }
47 |
48 | extension Array where Element: NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
50 | reduce([:]) { partialResult, constraint in
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:49:53: error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | extension Array where Element: NSLayoutConstraint {
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
50 | reduce([:]) { partialResult, constraint in
51 | guard let draftsmanIdentifier = constraint.draftsmanIdentifier else {
[93/94] Compiling Draftsman NSLayoutDimension+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:48:32: error: cannot find type 'NSLayoutConstraint' in scope
46 | }
47 |
48 | extension Array where Element: NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
50 | reduce([:]) { partialResult, constraint in
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:49:53: error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | extension Array where Element: NSLayoutConstraint {
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
50 | reduce([:]) { partialResult, constraint in
51 | guard let draftsmanIdentifier = constraint.draftsmanIdentifier else {
[94/94] Compiling Draftsman UIColor+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:48:32: error: cannot find type 'NSLayoutConstraint' in scope
46 | }
47 |
48 | extension Array where Element: NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
50 | reduce([:]) { partialResult, constraint in
/Users/admin/builder/spi-builder-workspace/Draftsman/Classes/Utilities/Extensions/Array+Extensions.swift:49:53: error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | extension Array where Element: NSLayoutConstraint {
49 | func groupedByDraftsmanIdentifier() -> [String: NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
50 | reduce([:]) { partialResult, constraint in
51 | guard let draftsmanIdentifier = constraint.draftsmanIdentifier else {
Fetching https://github.com/hainayanda/Clavier.git
Fetching https://github.com/hainayanda/Builder.git
[1/488] Fetching builder
[11/1202] Fetching builder, clavier
Fetched https://github.com/hainayanda/Clavier.git from cache (1.03s)
Fetched https://github.com/hainayanda/Builder.git from cache (1.03s)
Computing version for https://github.com/hainayanda/Builder.git
Computed https://github.com/hainayanda/Builder.git at 1.1.0 (0.67s)
Computing version for https://github.com/hainayanda/Clavier.git
Computed https://github.com/hainayanda/Clavier.git at 2.0.3 (0.67s)
Creating working copy for https://github.com/hainayanda/Builder.git
Working copy of https://github.com/hainayanda/Builder.git resolved at 1.1.0
Creating working copy for https://github.com/hainayanda/Clavier.git
Working copy of https://github.com/hainayanda/Clavier.git resolved at 2.0.3
BUILD FAILURE 6.0 macosSpm