[swift-dev] [swift-4.0-branch] swift-ci failing with compilation error in SourceKit

Ankit Aggarwal ankit_aggarwal at apple.com
Mon Sep 4 13:59:08 CDT 2017


Hi,

Swift CI is failing on my SwiftPM PR due to a compilation error in sourcekit. Can someone look into this?

https://github.com/apple/swift-package-manager/pull/1336 <https://github.com/apple/swift-package-manager/pull/1336>
https://ci.swift.org/job/swift-package-manager-Linux-smoke-test/56/console <https://ci.swift.org/job/swift-package-manager-Linux-smoke-test/56/console>


[36/244] Building CXX object tools/SourceKit/lib/Support/CMakeFiles/SourceKitSupport.dir/Concurrency-libdispatch.cpp.o
FAILED: /usr/bin/clang++   -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Syntax -I/home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/swift/lib/Syntax -Iinclude -I/home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/swift/include -I/home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/llvm/include -I/home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include -I/home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/build/Ninja-ReleaseAssert/llvm-linux-x86_64/tools/clang/include -I/home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/llvm/tools/clang/include -I/home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/cmark/src -I/home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/build/Ninja-ReleaseAssert/cmark-linux-x86_64/src -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -O3    -UNDEBUG  -fno-exceptions -fno-rtti -DSWIFT_RUNTIME_ENABLE_COW_EXISTENTIALS=1 -target x86_64-unknown-linux-gnu -O2 -g0 -UNDEBUG -DSWIFT_RUNTIME_ENABLE_COW_EXISTENTIALS=1 -MMD -MT lib/Syntax/CMakeFiles/swiftSyntax.dir/GenericSyntax.cpp.o -MF lib/Syntax/CMakeFiles/swiftSyntax.dir/GenericSyntax.cpp.o.d -o lib/Syntax/CMakeFiles/swiftSyntax.dir/GenericSyntax.cpp.o -c /home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/swift/lib/Syntax/GenericSyntax.cpp
In file included from /home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/swift/lib/Syntax/GenericSyntax.cpp:15:
In file included from include/swift/Syntax/SyntaxFactory.h:29:
 <>include/swift/Syntax/SyntaxNodes.h:120:7: error: typedef redefinition with different types ('SyntaxCollection<SyntaxKind::FunctionCallArgumentList, swift::syntax::FunctionCallArgumentSyntax>' vs 'swift::syntax::FunctionCallArgumentListSyntax')

--
Ankit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170905/8d278eb6/attachment.html>


More information about the swift-dev mailing list