The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CommonMarkAttributedString with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/CommonMarkAttributedString.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/mattt/CommonMarkAttributedString
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 578419f Bump version to 0.2.0
Cloned https://github.com/mattt/CommonMarkAttributedString.git
Revision (git rev-parse @):
578419f521d16fd5fb6e757e7f5a6a4748fc0c38
SUCCESS checkout https://github.com/mattt/CommonMarkAttributedString.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/mattt/CommonMarkAttributedString.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SwiftDocOrg/swift-cmark.git
Fetching https://github.com/SwiftDocOrg/CommonMark.git
[1/1175] Fetching commonmark
[1176/13730] Fetching commonmark, swift-cmark
Fetched https://github.com/SwiftDocOrg/CommonMark.git from cache (1.00s)
Computing version for https://github.com/SwiftDocOrg/CommonMark.git
Fetched https://github.com/SwiftDocOrg/swift-cmark.git from cache (1.01s)
Computed https://github.com/SwiftDocOrg/CommonMark.git at 0.3.0 (0.46s)
Computing version for https://github.com/SwiftDocOrg/swift-cmark.git
Computed https://github.com/SwiftDocOrg/swift-cmark.git at 0.28.3+20200110.2a76603 (1.84s)
Creating working copy for https://github.com/SwiftDocOrg/CommonMark.git
Working copy of https://github.com/SwiftDocOrg/CommonMark.git resolved at 0.3.0
Creating working copy for https://github.com/SwiftDocOrg/swift-cmark.git
Working copy of https://github.com/SwiftDocOrg/swift-cmark.git resolved at 0.28.3+20200110.2a76603
Building for debugging...
[0/22] Write sources
[2/22] Compiling cmark render.c
[3/22] Compiling cmark xml.c
[4/22] Compiling cmark cmark.c
[5/22] Compiling cmark buffer.c
[5/22] Write swift-version-24593BA9C3E375BF.txt
[7/22] Compiling cmark references.c
[8/22] Compiling cmark blocks.c
[9/22] Compiling cmark node.c
[10/22] Compiling cmark man.c
[11/22] Compiling cmark utf8.c
[12/22] Compiling cmark latex.c
[13/22] Compiling cmark houdini_html_e.c
[14/22] Compiling cmark iterator.c
[15/22] Compiling cmark cmark_ctype.c
[16/22] Compiling cmark houdini_href_e.c
[17/22] Compiling cmark html.c
[18/22] Compiling cmark houdini_html_u.c
[19/22] Compiling cmark commonmark.c
[20/22] Compiling cmark inlines.c
[21/22] Compiling cmark scanners.c
[23/45] Emitting module CommonMark
[24/48] Compiling CommonMark Linked.swift
[25/48] Compiling CommonMark Literal.swift
[26/48] Compiling CommonMark Version.swift
[27/48] Compiling CommonMark BlockQuote.swift
[28/48] Compiling CommonMark CodeBlock.swift
[29/48] Compiling CommonMark HTMLBlock.swift
[30/48] Compiling CommonMark Heading.swift
[31/48] Compiling CommonMark Children.swift
[32/48] Compiling CommonMark Inline.swift
[33/48] Compiling CommonMark LineBreak.swift
[34/48] Compiling CommonMark RawHTML.swift
[35/48] Compiling CommonMark SoftLineBreak.swift
[36/48] Compiling CommonMark Strong.swift
[37/48] Compiling CommonMark HardLineBreak.swift
[38/48] Compiling CommonMark Image.swift
[39/48] Compiling CommonMark Link.swift
[40/48] Compiling CommonMark Document.swift
[41/48] Compiling CommonMark Code.swift
[42/48] Compiling CommonMark Emphasis.swift
[43/48] Compiling CommonMark Text.swift
[44/48] Compiling CommonMark Node.swift
[45/48] Compiling CommonMark Block.swift
[46/48] Compiling CommonMark List.swift
[47/48] Compiling CommonMark Paragraph.swift
[48/48] Compiling CommonMark ThematicBreak.swift
[50/56] Compiling CommonMarkAttributedString NSAttributedString+Extensions.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
[51/56] Compiling CommonMarkAttributedString UIFont+Extensions.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
[52/56] Compiling CommonMarkAttributedString NSFont+Extensions.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/56] Emitting module CommonMarkAttributedString
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
[54/56] Compiling CommonMarkAttributedString AttributedStringConvertible.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
[55/56] Compiling CommonMarkAttributedString Array+Extensions.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
[56/56] Compiling CommonMarkAttributedString CommonMark+Extensions.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling CommonMarkAttributedString NSFont+Extensions.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Compiling CommonMarkAttributedString AttributedStringConvertible.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
[4/8] Emitting module CommonMarkAttributedString
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
[5/8] Compiling CommonMarkAttributedString CommonMark+Extensions.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
[6/8] Compiling CommonMarkAttributedString UIFont+Extensions.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
[7/8] Compiling CommonMarkAttributedString Array+Extensions.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
[8/8] Compiling CommonMarkAttributedString NSAttributedString+Extensions.swift
/host/spi-builder-workspace/Sources/CommonMarkAttributedString/CommonMark+Extensions.swift:4:15: error: no such module 'CoreGraphics'
import struct CoreGraphics.CGFloat
              ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2