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 PerfectMarkdown with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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/perfectlysoft/perfect-markdown.git
Reference: 3.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/perfectlysoft/perfect-markdown
 * tag               3.2.0      -> FETCH_HEAD
HEAD is now at ec159e7 Merge pull request #5 from wito/encapsulating-default-settings
Cloned https://github.com/perfectlysoft/perfect-markdown.git
Revision (git rev-parse @):
ec159e763d95cd81125f80e4d616049fa9ee389c
SUCCESS checkout https://github.com/perfectlysoft/perfect-markdown.git at 3.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-markdown.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/10] Compiling upskirt stack.c
[1/10] Compiling upskirt houdini_href_e.c
[2/10] Write sources
[3/10] Compiling upskirt houdini_html_e.c
[4/10] Compiling upskirt buffer.c
[5/10] Compiling upskirt html.c
[6/10] Compiling upskirt autolink.c
[7/10] Compiling upskirt html_smartypants.c
[8/10] Compiling upskirt markdown.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/14] Compiling PerfectMarkdown Enumerations.swift
[12/14] Emitting module PerfectMarkdown
[13/14] Compiling PerfectMarkdown PerfectMarkdown.swift
[14/14] Compiling PerfectMarkdown MarkdownRenderer.swift
/host/spi-builder-workspace/Sources/PerfectMarkdown/MarkdownRenderer.swift:35:9: error: cannot find 'memcpy' in scope
        memcpy(buffer.pointee.data, ptr, bufferSize)
        ^~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module PerfectMarkdown
[3/3] Compiling PerfectMarkdown MarkdownRenderer.swift
/host/spi-builder-workspace/Sources/PerfectMarkdown/MarkdownRenderer.swift:35:9: error: cannot find 'memcpy' in scope
        memcpy(buffer.pointee.data, ptr, bufferSize)
        ^~~~~~
error: fatalError
BUILD FAILURE 5.10 linux