Build Information
Failed to build cmark-gfm with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/swift-cmark.git
Reference: 0.50800.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/SDGGiesbrecht/swift-cmark
* tag 0.50800.0 -> FETCH_HEAD
HEAD is now at 29d9c97 Merge pull request #50 from apple/QuietMisdreavus/5.8/sync-upstream-gfm.8
Cloned https://github.com/SDGGiesbrecht/swift-cmark.git
Revision (git rev-parse @):
29d9c97e6310b87c4799268eaa2fc76164b2dbd8
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-cmark.git at 0.50800.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
https://github.com/SDGGiesbrecht/swift-cmark.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[0/40] Compiling cmark-gfm houdini_href_e.c
[1/40] Compiling cmark-gfm houdini_html_e.c
[2/40] Compiling cmark-gfm footnotes.c
[3/40] Compiling cmark-gfm arena.c
[4/40] Compiling cmark-gfm-extensions core-extensions.c
[5/40] Compiling cmark-gfm-extensions tagfilter.c
[6/40] Compiling cmark-gfm-extensions ext_scanners.c
[7/40] Compiling cmark-gfm-extensions strikethrough.c
[8/40] Compiling cmark-gfm-extensions tasklist.c
[9/40] Compiling cmark-gfm-bin main.c
[10/40] Compiling cmark-gfm-extensions table.c
[11/40] Compiling api_test main.c
[12/40] Compiling cmark-gfm xml.c
[13/40] Compiling cmark-gfm-extensions autolink.c
[14/40] Compiling cmark-gfm syntax_extension.c
[15/40] Compiling cmark-gfm references.c
[16/40] Compiling cmark-gfm registry.c
[17/40] Compiling cmark-gfm render.c
[18/40] Compiling cmark-gfm plugin.c
[19/40] Compiling cmark-gfm plaintext.c
[20/40] Compiling cmark-gfm map.c
[21/40] Compiling cmark-gfm man.c
[22/40] Compiling cmark-gfm linked_list.c
[23/40] Compiling cmark-gfm latex.c
[23/40] Compiling cmark-gfm node.c
[25/40] Compiling cmark-gfm iterator.c
[26/40] Compiling cmark-gfm utf8.c
[27/40] Compiling cmark-gfm cmark_ctype.c
[28/40] Compiling cmark-gfm html.c
[29/40] Compiling cmark-gfm cmark.c
[30/40] Compiling cmark-gfm commonmark.c
[31/40] Compiling cmark-gfm buffer.c
[32/40] Compiling cmark-gfm houdini_html_u.c
[33/40] Compiling api_test harness.c
[34/40] Compiling cmark-gfm inlines.c
[35/40] Compiling cmark-gfm blocks.c
[36/40] Compiling cmark-gfm scanners.c
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:3:
/host/spi-builder-workspace/src/include/cmark-gfm-extension_api.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/cmark-gfm-extension_api.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:5:
In file included from /host/spi-builder-workspace/src/include/chunk.h:9:
/host/spi-builder-workspace/src/include/cmark_ctype.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "export.h"
^
/host/spi-builder-workspace/src/include/cmark_ctype.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:8:
/host/spi-builder-workspace/src/include/houdini.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm_config.h"
^
/host/spi-builder-workspace/src/include/houdini.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/houdini.h:10:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "buffer.h"
^
/host/spi-builder-workspace/src/include/houdini.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:9:
In file included from /host/spi-builder-workspace/src/include/html.h:5:
/host/spi-builder-workspace/src/include/node.h:11:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/node.h:12:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm-extension_api.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/node.h:13:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "buffer.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/node.h:14:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "chunk.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:10:
/host/spi-builder-workspace/src/include/inlines.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm_config.h"
^
/host/spi-builder-workspace/src/include/inlines.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/inlines.h:10:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "references.h"
^
/host/spi-builder-workspace/src/include/inlines.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:10:
In file included from /host/spi-builder-workspace/src/include/inlines.h:10:
/host/spi-builder-workspace/src/include/references.h:4:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "map.h"
^
/host/spi-builder-workspace/src/include/inlines.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:11:
/host/spi-builder-workspace/src/include/iterator.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/iterator.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:16:
/host/spi-builder-workspace/src/include/plugin.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/plugin.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/plugin.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm-extension_api.h"
^
/host/spi-builder-workspace/src/include/plugin.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:18:
/host/spi-builder-workspace/src/include/registry.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/registry.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/registry.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm-extension_api.h"
^
/host/spi-builder-workspace/src/include/registry.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:19:
/host/spi-builder-workspace/src/include/render.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "buffer.h"
^
/host/spi-builder-workspace/src/include/render.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/render.h:10:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "chunk.h"
^
/host/spi-builder-workspace/src/include/render.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/api_test/cplusplus.cpp:3:10: fatal error: could not build module 'cmark_gfm'
#include <cmark-gfm.h>
~~~~~~~~^
19 errors generated.
[37/40] Compiling api_test cplusplus.cpp
[37/40] Linking cmark-gfm-bin
[0/1] Planning build
Building for debugging...
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:3:
/host/spi-builder-workspace/src/include/cmark-gfm-extension_api.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/cmark-gfm-extension_api.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:5:
In file included from /host/spi-builder-workspace/src/include/chunk.h:9:
/host/spi-builder-workspace/src/include/cmark_ctype.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "export.h"
^
/host/spi-builder-workspace/src/include/cmark_ctype.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:8:
/host/spi-builder-workspace/src/include/houdini.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm_config.h"
^
/host/spi-builder-workspace/src/include/houdini.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/houdini.h:10:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "buffer.h"
^
/host/spi-builder-workspace/src/include/houdini.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:9:
In file included from /host/spi-builder-workspace/src/include/html.h:5:
/host/spi-builder-workspace/src/include/node.h:11:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/node.h:12:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm-extension_api.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/node.h:13:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "buffer.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/node.h:14:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "chunk.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:10:
/host/spi-builder-workspace/src/include/inlines.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm_config.h"
^
/host/spi-builder-workspace/src/include/inlines.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/inlines.h:10:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "references.h"
^
/host/spi-builder-workspace/src/include/inlines.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:10:
In file included from /host/spi-builder-workspace/src/include/inlines.h:10:
/host/spi-builder-workspace/src/include/references.h:4:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "map.h"
^
/host/spi-builder-workspace/src/include/inlines.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:11:
/host/spi-builder-workspace/src/include/iterator.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/iterator.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:16:
/host/spi-builder-workspace/src/include/plugin.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/plugin.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/plugin.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm-extension_api.h"
^
/host/spi-builder-workspace/src/include/plugin.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:18:
/host/spi-builder-workspace/src/include/registry.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/registry.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/registry.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm-extension_api.h"
^
/host/spi-builder-workspace/src/include/registry.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:19:
/host/spi-builder-workspace/src/include/render.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "buffer.h"
^
/host/spi-builder-workspace/src/include/render.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/render.h:10:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "chunk.h"
^
/host/spi-builder-workspace/src/include/render.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/api_test/cplusplus.cpp:3:10: fatal error: could not build module 'cmark_gfm'
#include <cmark-gfm.h>
~~~~~~~~^
19 errors generated.
[0/3] Compiling api_test cplusplus.cpp
[0/3] Linking cmark-gfm-bin
BUILD FAILURE 5.8 linux