Build Information
Failed to build cmark-gfm, reference 0.5.0 (3ccff7
), with Swift 5.10 for Linux on 17 Sep 2024 18:06:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-cmark.git
Reference: 0.5.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/swiftlang/swift-cmark
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 3ccff77 Merge pull request #74 from bc-lee/feature/6.0-pic
Cloned https://github.com/swiftlang/swift-cmark.git
Revision (git rev-parse @):
3ccff77b2dc5b96b77db3da0d68d28068593fa53
SUCCESS checkout https://github.com/swiftlang/swift-cmark.git at 0.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/swiftlang/swift-cmark.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:6c25c99211d1e15148b101a61df2563575f50d0f624cb6ce5a573a0b53fb5dca
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/42] Compiling api_test harness.c
[1/42] Compiling cmark-gfm arena.c
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:2:
/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>:7:
/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>:8:
In file included from /host/spi-builder-workspace/src/include/html.h:5:
/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.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 "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:14: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:15: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>:9:
/host/spi-builder-workspace/src/include/inlines.h:11: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>:9:
In file included from /host/spi-builder-workspace/src/include/inlines.h:11:
/host/spi-builder-workspace/src/include/references.h:6: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>:10:
/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>:14:
/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>:16:
/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>:17:
/host/spi-builder-workspace/src/include/render.h:11: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:12: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>
~~~~~~~~^
16 errors generated.
[2/42] Compiling api_test cplusplus.cpp
[2/42] Compiling cmark-gfm-extensions tagfilter.c
[2/42] Compiling cmark-gfm-extensions table.c
[2/42] Compiling api_test main.c
[2/42] Compiling cmark-gfm html.c
[2/42] Compiling cmark-gfm-extensions strikethrough.c
[2/42] Compiling cmark-gfm-bin main.c
[2/42] Compiling cmark-gfm-extensions tasklist.c
BUILD FAILURE 5.10 linux