Code Monkey home page Code Monkey logo

mint's People

Contributors

417-72ki avatar abotkin-cpi avatar acecilia avatar af-cgi avatar alphatroya avatar amichnia avatar andrewbennet avatar armenm avatar arthurpalves avatar blackjacx avatar dehlen avatar econa77 avatar fummicc1 avatar jimmya avatar jkmathew avatar kiyot avatar liamnichols avatar linusu avatar lutzifer avatar martinp7r avatar maxdesiatov avatar olejnjak avatar orta avatar pixyzehn avatar regnerjr avatar sdggiesbrecht avatar toshi0383 avatar wqz-leo avatar yonaskolb avatar yutailang0119 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mint's Issues

Mint bootstrap

Followup to #2
Add a mint boostrap command for installing all packages in the MintFile

Get Executable Name(s) etc. from Package Manifest

The swift package command can retrieve a lot of information from the package manifest, so that Mint does not have to guess.

(This is especially significant on case‐sensitive file systems #14, where Mint currently guesses its own name wrong.)

Update does not work correctly with reused branches

In my project I reused a branch name (mint, for development).

So the local mint checkout folder already contained a mint branch from an earlier checkout and now origin contains a new mint branch, which is basically completely different from the local mint branch.

When running git checkout <branch name> in https://github.com/yonaskolb/Mint/blob/master/Sources/MintKit/MintKit.swift#L124 through $ mint update gnosis/bivrost-swift@mint Mint just checkouts the local branch again, ignoring the new branch on origin, building the old version again. So basically using update forces it to rebuild, but not to actually update the version it builds.

Solutions:

  • In my simple tests, just adding origin/ to the branch name could work (not sure about tagged versions though). So the command then would be git checkout origin/mint, which checks out the latest origin branch.
  • You could also clear the checkouts folder before fetching, which would have the same effect.

In addition, update fails here when the repo name is not the same as the command name, which might have a technical reason, but is counter intuitive because I only want to update the package, not actually run it.

Maybe adding a Mintfile could help with this, as it could identify how the executable is named. Or Mint could just copy all executables that are produced by SPM.

Mint shouldn't require the parameter command quoted

Current behavior

Mint $ ./.build/x86_64-apple-macosx10.10/debug/mint run toshi0383/cmdshelf cmdshelf run hello.sh
🌱  The operation couldn’t be completed. (Mint.CommandError error 2.)
Mint $ ./.build/x86_64-apple-macosx10.10/debug/mint run toshi0383/cmdshelf "cmdshelf run hello.sh"
🌱  Finding latest version of cmdshelf
🌱  Using cmdshelf "0.8.0"
🌱  cmdshelf "0.8.0" already installed
🌱  Running cmdshelf "0.8.0"...
hello

Expected Behavior

Mint $ ./.build/x86_64-apple-macosx10.10/debug/mint run toshi0383/cmdshelf cmdshelf run hello.sh
🌱  Finding latest version of cmdshelf
🌱  Using cmdshelf "0.8.0"
🌱  cmdshelf "0.8.0" already installed
🌱  Running cmdshelf "0.8.0"...
hello
Mint $ ./.build/x86_64-apple-macosx10.10/debug/mint run toshi0383/cmdshelf "cmdshelf run hello.sh"
🌱  Finding latest version of cmdshelf
🌱  Using cmdshelf "0.8.0"
🌱  cmdshelf "0.8.0" already installed
🌱  Running cmdshelf "0.8.0"...
hello

Why

  • Because it's shorter.
  • So you can create an alias on that command like below, and pass arguments to it.
$ alias sourcery-0.10.0='mint run krzysztofzablocki/[email protected] sourcery' # not actually works I guess, but just for example
$ sourcery-0.10.0 --help

Linux Support

It would be nice if Mint would run on Linux too.

(If this is already the case, it would be nice if the read‐me states as much and it would be wise to have CI run its tests on Linux.)

Installing master on Ubuntu 16.04 fails – DispatchQueue.global(qos:)?

I'm currently trying to get mint installed on an Ubuntu 16.04 system (CI) but I get the following error using Swift 4.1.3:

+ git clone --depth=1 https://github.com/yonaskolb/Mint.git
Cloning into 'Mint'...
+ cd Mint
+ make
swift build --disable-sandbox -c release -Xswiftc -static-stdlib
Compile clibc libc.c
Compile Swift Module 'PathKit' (1 sources)
Compile Swift Module 'Rainbow' (11 sources)
Compile Swift Module 'SwiftCLI' (20 sources)
Compile Swift Module 'SPMLibc' (1 sources)
Compile Swift Module 'POSIX' (11 sources)
Compile Swift Module 'Basic' (37 sources)
Compile Swift Module 'Utility' (19 sources)
Compile Swift Module 'MintKit' (9 sources)
Compile Swift Module 'MintCLI' (9 sources)
Foundation9OperationC6finishyyF: error: undefined reference to '_T08Dispatch0A5QueueC6globalAcA0A3QoSV0D6SClassO3qos_tFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC6finishyyF: error: undefined reference to '_NSConcreteStackBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC6finishyyF: error: undefined reference to '_Block_copy'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC6finishyyF: error: undefined reference to '_T08Dispatch0A5QueueC5asyncyAA0A5GroupCSg5group_AA0A3QoSV3qosAA0A13WorkItemFlagsV5flagsyyXB7executetF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC13addDependencyyACF: error: undefined reference to '_T08Dispatch0A5GroupCN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC13addDependencyyACF: error: undefined reference to '_T08Dispatch0A5GroupC5enteryyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC16removeDependencyyACF: error: undefined reference to '_T08Dispatch0A5GroupC5leaveyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC17waitUntilFinishedyyF: error: undefined reference to '_T08Dispatch0A5GroupC4waityyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC15_waitUntilReadyyyF: error: undefined reference to '_T08Dispatch0A5GroupC4waityyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation9OperationC15_waitUntilReadyyyF: error: undefined reference to '_T08Dispatch0A5GroupC4waityyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC012__underlyingC08Dispatch0eC0CSgvmytfU_: error: undefined reference to '_T08Dispatch0A5QueueC11setSpecificyAA0aD3KeyCyxG3key_xSg5valuetlF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC012__underlyingC08Dispatch0eC0CSgvmytfU_: error: undefined reference to '_T08Dispatch0A5QueueC11setSpecificyAA0aD3KeyCyxG3key_xSg5valuetlF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC10queueGroup8Dispatch0fE0Cvpfi: error: undefined reference to '_T08Dispatch0A5GroupCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC10queueGroup8Dispatch0fE0Cvpfi: error: undefined reference to '_T08Dispatch0A5GroupCACycfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A5QueueC10AttributesV10concurrentAEvau'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A9SemaphoreCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A9SemaphoreCACSi5value_tcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A9SemaphoreCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A9SemaphoreCACSi5value_tcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A9SemaphoreCACSi5value_tcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC011_underlyingC08Dispatch0eC0Cvg: error: undefined reference to '_T08Dispatch0A6ObjectC7suspendyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueCACycfc: error: undefined reference to '_T08Dispatch0A5GroupCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueCACycfc: error: undefined reference to '_T08Dispatch0A5GroupCACycfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC04_runB0yyF: error: undefined reference to '_T08Dispatch0A5GroupC4waityyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC11isSuspendedSbvs: error: undefined reference to '_T08Dispatch0A6ObjectC7suspendyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC11isSuspendedSbvs: error: undefined reference to '_T08Dispatch0A6ObjectC6resumeyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function globalinit_33_638D947C432FE0FF6C02252F78192DF4_func1: error: undefined reference to '_T08Dispatch0A11SpecificKeyCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function globalinit_33_638D947C432FE0FF6C02252F78192DF4_func1: error: undefined reference to '_T08Dispatch0A11SpecificKeyCACyxGycfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC7currentACSgvgZ: error: undefined reference to '_T08Dispatch0A5QueueC11getSpecificxSgAA0aD3KeyCyxG3key_tlFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function globalinit_33_638D947C432FE0FF6C02252F78192DF4_func2: error: undefined reference to '_T08Dispatch0A5QueueC4mainACvgZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T0s20_ArrayBufferProtocolPsE025_forceCreateUniqueMutableB0s011_ContiguousaB0Vy7ElementQzGSi8newCount_Si16requiredCapacitytFAEy8Dispatch0N5GroupCG_Tg5: error: undefined reference to '_T08Dispatch0A5GroupCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC012__underlyingC08Dispatch0eC0CSgvWTf4gn_n: error: undefined reference to '_T08Dispatch0A5QueueC11setSpecificyAA0aD3KeyCyxG3key_xSg5valuetlF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC012__underlyingC08Dispatch0eC0CSgvWTf4gn_n: error: undefined reference to '_T08Dispatch0A5QueueC11setSpecificyAA0aD3KeyCyxG3key_xSg5valuetlF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_T08Dispatch0A13WorkItemFlagsV10enforceQoSACvau'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_T08Dispatch0A5GroupC5enteryyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_NSConcreteStackBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_Block_copy'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCAcA0A3QoSV3qos_AA0abC5FlagsV5flagsyyXB5blocktcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFTf4gnn_n: error: undefined reference to '_T08Dispatch0A5QueueC5asyncyAA0A5GroupC5group_AA0A8WorkItemC7executetF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFyAFcfU0_yycfU_TA: error: undefined reference to '_T08Dispatch0A9SemaphoreC4waityyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFyAFcfU0_yycfU_TA: error: undefined reference to '_T08Dispatch0A9SemaphoreC6signalSiyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Operation.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Operation.swift.o:function _T010Foundation14OperationQueueC13addOperationsySayAA0B0CG_Sb17waitUntilFinishedtFyAFcfU0_yycfU_TA: error: undefined reference to '_T08Dispatch0A5GroupC5leaveyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Process.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Process.swift.o:function _T010Foundation7ProcessC5setup33_05FBE738056ADAC488E6D2B534411459LLyyFZyycfU_yycfU_: error: undefined reference to '_NSConcreteStackBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Process.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Process.swift.o:function _T010Foundation7ProcessC5setup33_05FBE738056ADAC488E6D2B534411459LLyyFZyycfU_yycfU_: error: undefined reference to '_Block_copy'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Process.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Process.swift.o:function _T010Foundation7ProcessC5setup33_05FBE738056ADAC488E6D2B534411459LLyyFZyycfU_yycfU_: error: undefined reference to '_Block_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(URLSession.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/URLSession.swift.o:function _T010Foundation10URLSessionC24finishTasksAndInvalidateyyF: error: undefined reference to '_T08Dispatch0A5QueueC5asyncyAA0A5GroupCSg5group_AA0A3QoSV3qosAA0A13WorkItemFlagsV5flagsyyXB7executetF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(URLSession.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/URLSession.swift.o:function _T010Foundation10URLSessionC8dataTask33_1935C07EE287982D980AA89BB85ACEFALLAA0b4DataD0CAC8_RequestAELLO4with_AC01_D8RegistryC10_BehaviourO9behaviourtFTf4ggn_n: error: undefined reference to '_T08Dispatch0A5QueueC5asyncyAA0A5GroupCSg5group_AA0A3QoSV3qosAA0A13WorkItemFlagsV5flagsyyXB7executetF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(URLSessionTask.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/URLSessionTask.swift.o:function _T010Foundation14URLSessionTaskC5_BodyO03getD6Lengths6UInt64VSgyKF: error: undefined reference to '_T08Dispatch0A4DataV5countSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(URLSessionTask.swift.o)(.text+0x9d61): error: undefined reference to '_T08Dispatch0A4DataVN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(NativeProtocol.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/NativeProtocol.swift.o:function _T010Foundation15_NativeProtocolC4fillAA11_EasyHandleC18_WriteBufferResultOSrys4Int8VG05writeH0_tF: error: undefined reference to '_T08Dispatch0A4DataV5countSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(NativeProtocol.swift.o)(.text+0xc3f1): error: undefined reference to '_T08Dispatch0A4DataVN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPURLProtocol.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/http/HTTPURLProtocol.swift.o:function _T010Foundation16_HTTPURLProtocolC19configureEasyHandleyAA10URLRequestV3for_tF: error: undefined reference to '_T08Dispatch0A8WorkItemCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPURLProtocol.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/http/HTTPURLProtocol.swift.o:function _T010Foundation16_HTTPURLProtocolC19configureEasyHandleyAA10URLRequestV3for_tF: error: undefined reference to '_T08Dispatch0A8WorkItemCAcA0A3QoSV3qos_AA0abC5FlagsV5flagsyyXB5blocktcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Data.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Data.swift.o:function _T010Foundation4DataVACxcs8SequenceRzs5UInt8V7ElementRtzlufC: error: undefined reference to '_Block_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Data.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Data.swift.o:function _T0s26RangeReplaceableCollectionPsE6appendy7ElementQzF10Foundation4DataV_Tgq5: error: undefined reference to '_Block_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Data.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Data.swift.o:function _T010Foundation4DataV6appendyx10contentsOf_ts8SequenceRzs5UInt8V7ElementRtzlF: error: undefined reference to '_Block_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBase.c.o):CoreFoundation/Base.subproj/CFBase.c:function __CFAllocatorInitialize: error: undefined reference to 'dispatch_once'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBase.c.o):CoreFoundation/Base.subproj/CFBase.c:function CFNullGetTypeID: error: undefined reference to 'dispatch_once'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBase.c.o):CoreFoundation/Base.subproj/CFBase.c:__block_literal_global: error: undefined reference to '_NSConcreteGlobalBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBase.c.o):CoreFoundation/Base.subproj/CFBase.c:__block_literal_global.3: error: undefined reference to '_NSConcreteGlobalBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUtilities.c.o):CoreFoundation/Base.subproj/CFUtilities.c:function _CFOSLog: error: undefined reference to 'dispatch_once'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUtilities.c.o):CoreFoundation/Base.subproj/CFUtilities.c:function CFCopySystemVersionString: error: undefined reference to 'dispatch_once'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUtilities.c.o):CoreFoundation/Base.subproj/CFUtilities.c:__block_literal_global: error: undefined reference to '_NSConcreteGlobalBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUtilities.c.o):CoreFoundation/Base.subproj/CFUtilities.c:__block_literal_global.3: error: undefined reference to '_NSConcreteGlobalBlock'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreate: error: undefined reference to 'dispatch_sync'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreate: error: undefined reference to 'dispatch_sync'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreate: error: undefined reference to '_Block_object_dispose'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreate: error: undefined reference to '_Block_object_dispose'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreate: error: undefined reference to '_Block_object_dispose'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function __copy_helper_block_: error: undefined reference to '_Block_object_assign'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function __destroy_helper_block_: error: undefined reference to '_Block_object_dispose'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreateWithBytes: error: undefined reference to 'dispatch_sync'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function CFUUIDCreateFromString: error: undefined reference to 'dispatch_sync'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function __LOCKED_block_invoke: error: undefined reference to 'dispatch_queue_attr_make_with_qos_class'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function __LOCKED_block_invoke: error: undefined reference to 'dispatch_queue_create'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFUUID.c.o):CoreFoundation/Base.subproj/CFUUID.c:function __copy_helper_block_.9: error: undefined reference to '_Block_object_assign'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBasicHash.c.o):CoreFoundation/Collections.subproj/CFBasicHash.c:function __copy_helper_block_: error: undefined reference to '_Block_object_assign'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFBasicHash.c.o):CoreFoundation/Collections.subproj/CFBasicHash.c:function __copy_helper_block_.1: error: undefined reference to '_Block_object_assign'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStorage.c.o):CoreFoundation/Collections.subproj/CFStorage.c:function __CFStorageEnumerateNodesInByteRangeWithBlock: error: undefined reference to 'dispatch_get_global_queue'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStorage.c.o):CoreFoundation/Collections.subproj/CFStorage.c:function __CFStorageEnumerateNodesInByteRangeWithBlock: error: undefined reference to 'dispatch_apply'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFDate.c.o):CoreFoundation/NumberDate.subproj/CFDate.c:function __CFTSRToDispatchTime: error: undefined reference to 'dispatch_time'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function ___CFSetupXMLInterface_block_invoke: error: undefined reference to 'xmlInitParser'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function ___CFSetupXMLInterface_block_invoke: error: undefined reference to 'xmlGetExternalEntityLoader'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function ___CFSetupXMLInterface_block_invoke: error: undefined reference to 'xmlSetExternalEntityLoader'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceNoNetExternalEntityLoader: error: undefined reference to 'xmlNoNetExternalEntityLoader'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _errorCallback: error: undefined reference to 'xmlCtxtGetLastError'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSetStructuredErrorFunc: error: undefined reference to 'xmlSetStructuredErrorFunc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceCreatePushParserCtxt: error: undefined reference to 'xmlCreatePushParserCtxt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceCtxtUseOptions: error: undefined reference to 'xmlCtxtUseOptions'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceParseChunk: error: undefined reference to 'xmlParseChunk'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceStopParser: error: undefined reference to 'xmlStopParser'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceDestroyContext: error: undefined reference to 'xmlFreeDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceDestroyContext: error: undefined reference to 'xmlFreeParserCtxt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2GetLineNumber: error: undefined reference to 'xmlSAX2GetLineNumber'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2GetColumnNumber: error: undefined reference to 'xmlSAX2GetColumnNumber'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2InternalSubset: error: undefined reference to 'xmlSAX2InternalSubset'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2ExternalSubset: error: undefined reference to 'xmlSAX2ExternalSubset'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceGetPredefinedEntity: error: undefined reference to 'xmlGetPredefinedEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewElementDesc: error: undefined reference to 'xmlAddElementDecl'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewElementDesc: error: undefined reference to 'xmlNewDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewElementDesc: error: undefined reference to 'xmlAddElementDecl'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewElementDesc: error: undefined reference to 'xmlFreeDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashLookup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashLookup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashLookup3'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashRemoveEntry3'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashLookup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashRemoveEntry'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashLookup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashRemoveEntry'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlUnlinkNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLUnlinkNode: error: undefined reference to 'xmlHashRemoveEntry'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewAttributeDesc: error: undefined reference to 'xmlAddAttributeDecl'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewAttributeDesc: error: undefined reference to 'xmlNewDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewAttributeDesc: error: undefined reference to 'xmlAddAttributeDecl'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDNewAttributeDesc: error: undefined reference to 'xmlFreeDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2GetEntity: error: undefined reference to 'xmlSAX2GetEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceFreeEnumeration: error: undefined reference to 'xmlFreeEnumeration'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLInterfaceSAX2UnparsedEntityDecl: error: undefined reference to 'xmlSAX2UnparsedEntityDecl'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewNode: error: undefined reference to 'xmlNewNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyNode: error: undefined reference to 'xmlCopyDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyNode: error: undefined reference to 'xmlCopyDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyNode: error: undefined reference to 'xmlCopyNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewDoc: error: undefined reference to 'xmlNewDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewProcessingInstruction: error: undefined reference to 'xmlNewPI'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewTextNode: error: undefined reference to 'xmlNewText'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewComment: error: undefined reference to 'xmlNewComment'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewProperty: error: undefined reference to 'xmlNewProp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlSearchNsByHref'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlNewNs'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlSetNs'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlFree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlStrdup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlFree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetURI: error: undefined reference to 'xmlStrdup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyName: error: undefined reference to 'xmlBuildQName'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyName: error: undefined reference to 'xmlFree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetName: error: undefined reference to 'xmlNodeSetName'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyContent: error: undefined reference to 'xmlSnprintfElementContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyContent: error: undefined reference to 'xmlNodeGetContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyContent: error: undefined reference to 'xmlFree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlStrlen'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlUnlinkNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlFreeDocElementContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlRegFreeRegexp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlFreeDocElementContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeSetContent: error: undefined reference to 'xmlNodeSetContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLParseDTDNode: error: undefined reference to 'xmlStrlen'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLParseDTDNode: error: undefined reference to 'xmlUnlinkNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlFreeNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlUnlinkNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlFreeEnumeration'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlDictOwns'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlDictOwns'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlDictOwns'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeNode: error: undefined reference to 'xmlDictOwns'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLEncodeEntities: error: undefined reference to 'xmlEncodeEntitiesReentrant'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocRootElement: error: undefined reference to 'xmlDocGetRootElement'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocSetRootElement: error: undefined reference to 'xmlDocSetRootElement'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocSetCharacterEncoding: error: undefined reference to 'xmlStrdup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocSetVersion: error: undefined reference to 'xmlStrdup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocDTD: error: undefined reference to 'xmlGetIntSubset'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocSetDTD: error: undefined reference to 'xmlAddPrevSibling'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocSetDTD: error: undefined reference to 'xmlAddChild'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeGetElementChildCount: error: undefined reference to 'xmlChildElementCount'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeAddChild: error: undefined reference to 'xmlAddChild'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeAddPrevSibling: error: undefined reference to 'xmlAddPrevSibling'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeAddNextSibling: error: undefined reference to 'xmlAddNextSibling'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeReplaceNode: error: undefined reference to 'xmlReplaceNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLGetDocEntity: error: undefined reference to 'xmlGetDocEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLGetDTDEntity: error: undefined reference to 'xmlGetDtdEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLGetParameterEntity: error: undefined reference to 'xmlGetParameterEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlBufferCreate'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlSaveToBuffer'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlSaveTree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlSaveClose'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlBufferContent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyStringWithOptions: error: undefined reference to 'xmlBufferFree'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodesForXPath: error: undefined reference to 'xmlXPathNewContext'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodesForXPath: error: undefined reference to 'xmlXPathRegisterNs'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodesForXPath: error: undefined reference to 'xmlXPathNodeEval'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodesForXPath: error: undefined reference to 'xmlXPathFreeContext'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodesForXPath: error: undefined reference to 'xmlXPathFreeObject'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLCopyPathForNode: error: undefined reference to 'xmlGetNodePath'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeHasProp: error: undefined reference to 'xmlHasProp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocPtrFromDataWithOptions: error: undefined reference to 'xmlReadMemory'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyLocalName: error: undefined reference to 'xmlBuildQName'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyLocalName: error: undefined reference to 'xmlSplitQName2'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyPrefix: error: undefined reference to 'xmlBuildQName'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNodeCopyPrefix: error: undefined reference to 'xmlSplitQName2'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocValidate: error: undefined reference to 'xmlNewValidCtxt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocValidate: error: undefined reference to 'xmlValidateDocument'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDocValidate: error: undefined reference to 'xmlFreeValidCtxt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewDTD: error: undefined reference to 'xmlNewDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLParseDTDFromData: error: undefined reference to 'xmlParserInputBufferCreateMem'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLParseDTDFromData: error: undefined reference to 'xmlIOParseDTD'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLParseDTD: error: undefined reference to 'xmlParseDTD'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetElementDesc: error: undefined reference to 'xmlGetDtdElementDesc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetAttributeDesc: error: undefined reference to 'xmlGetDtdAttrDesc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetNotationDesc: error: undefined reference to 'xmlGetDtdNotationDesc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetEntityDesc: error: undefined reference to 'xmlNewDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetEntityDesc: error: undefined reference to 'xmlGetDtdEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetEntityDesc: error: undefined reference to 'xmlFreeDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetEntityDesc: error: undefined reference to 'xmlGetParameterEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLDTDGetPredefinedEntity: error: undefined reference to 'xmlGetPredefinedEntity'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNamespaces: error: undefined reference to 'xmlNewNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNamespaces: error: undefined reference to 'xmlNewNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLSetNamespaces: error: undefined reference to 'xmlFreeNsList'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLSetNamespaces: error: undefined reference to 'xmlCopyNamespace'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLSetNamespaces: error: undefined reference to 'xmlCopyNamespace'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNamespaceSetValue: error: undefined reference to 'xmlStrndup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNamespaceSetPrefix: error: undefined reference to 'xmlStrndup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewNamespace: error: undefined reference to 'xmlNewNs'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLNewNamespace: error: undefined reference to 'xmlNewNode'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLAddNamespace: error: undefined reference to 'xmlCopyNamespace'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLRemoveNamespace: error: undefined reference to 'xmlStrcmp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLRemoveNamespace: error: undefined reference to 'xmlStrcmp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLRemoveNamespace: error: undefined reference to 'xmlFreeNs'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeDocument: error: undefined reference to 'xmlFreeDoc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeDTD: error: undefined reference to 'xmlFreeDtd'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFXMLInterface.c.o):CoreFoundation/Parsing.subproj/CFXMLInterface.c:function _CFXMLFreeProperty: error: undefined reference to 'xmlFreeProp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to '_dispatch_get_main_queue_handle_4CF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_get_global_queue'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to '_dispatch_source_type_timer'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_source_create'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_retain'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_set_context'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_source_set_event_handler_f'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_source_set_cancel_handler_f'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_time'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_source_set_timer'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_resume'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_source_cancel'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopRun: error: undefined reference to 'dispatch_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRunLoopTimeoutCancel: error: undefined reference to 'dispatch_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFRunLoop.c.o):CoreFoundation/RunLoop.subproj/CFRunLoop.c:function __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__: error: undefined reference to '_dispatch_main_queue_callback_4CF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_solo_signalEventSync: error: undefined reference to 'dispatch_retain'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_solo_signalEventSync: error: undefined reference to 'dispatch_async'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_solo_signalEventSync: error: undefined reference to 'dispatch_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_shared_signalEventSync: error: undefined reference to 'dispatch_retain'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_shared_signalEventSync: error: undefined reference to 'dispatch_async'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _cfstream_shared_signalEventSync: error: undefined reference to 'dispatch_release'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _CFStreamSetDispatchQueue: error: undefined reference to 'dispatch_retain'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function ___legacyStreamRunLoop_block_invoke: error: undefined reference to 'dispatch_semaphore_create'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function ___legacyStreamRunLoop_block_invoke: error: undefined reference to 'dispatch_semaphore_wait'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFStream.c.o):CoreFoundation/Stream.subproj/CFStream.c:function _legacyStreamRunLoop_workThread: error: undefined reference to 'dispatch_semaphore_signal'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionCreateErrorDescription: error: undefined reference to 'curl_easy_strerror'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionEasyHandleInit: error: undefined reference to 'curl_easy_init'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionEasyHandleDeinit: error: undefined reference to 'curl_easy_cleanup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionEasyHandleSetPauseState: error: undefined reference to 'curl_easy_pause'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleInit: error: undefined reference to 'curl_multi_init'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleDeinit: error: undefined reference to 'curl_multi_cleanup'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleAddHandle: error: undefined reference to 'curl_multi_add_handle'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleRemoveHandle: error: undefined reference to 'curl_multi_remove_handle'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleAssign: error: undefined reference to 'curl_multi_assign'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleAction: error: undefined reference to 'curl_multi_socket_action'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionMultiHandleInfoRead: error: undefined reference to 'curl_multi_info_read'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_setopt_ptr: error: undefined reference to 'curl_easy_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_setopt_int: error: undefined reference to 'curl_easy_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_setopt_long: error: undefined reference to 'curl_easy_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_setopt_int64: error: undefined reference to 'curl_easy_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_getinfo_long: error: undefined reference to 'curl_easy_getinfo'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_getinfo_double: error: undefined reference to 'curl_easy_getinfo'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_easy_getinfo_charp: error: undefined reference to 'curl_easy_getinfo'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_multi_setopt_ptr: error: undefined reference to 'curl_multi_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_multi_setopt_l: error: undefined reference to 'curl_multi_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_multi_setopt_sf: error: undefined reference to 'curl_multi_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSession_multi_setopt_tf: error: undefined reference to 'curl_multi_setopt'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionInit: error: undefined reference to 'curl_global_init'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionCurlVersionString: error: undefined reference to 'curl_version'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionCurlVersionInfo: error: undefined reference to 'curl_version_info'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionSListAppend: error: undefined reference to 'curl_slist_append'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFURLSessionInterface.c.o):CoreFoundation/URL.subproj/CFURLSessionInterface.c:function CFURLSessionSListFreeAll: error: undefined reference to 'curl_slist_free_all'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPCookieStorage.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/HTTPCookieStorage.swift.o:function _T010Foundation17HTTPCookieStorageC9setCookieyAA0B0CFyycfU_: error: undefined reference to '_T08Dispatch25_dispatchPreconditionTestSbAA0A9PredicateOF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPCookieStorage.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/HTTPCookieStorage.swift.o:function _T010Foundation17HTTPCookieStorageC9setCookieyAA0B0CFyycfU_: error: undefined reference to '_T08Dispatch25_dispatchPreconditionTestSbAA0A9PredicateOF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPCookieStorage.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/HTTPCookieStorage.swift.o:function _T010Foundation17HTTPCookieStorageC9setCookieyAA0B0CFyycfU_: error: undefined reference to '_T08Dispatch25_dispatchPreconditionTestSbAA0A9PredicateOF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(HTTPCookieStorage.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/HTTPCookieStorage.swift.o:function _T010Foundation17HTTPCookieStorageC9setCookieyAA0B0CFyycfU_: error: undefined reference to '_T08Dispatch25_dispatchPreconditionTestSbAA0A9PredicateOF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(NSIndexSet.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/NSIndexSet.swift.o:function _T010Foundation10NSIndexSetC21_enumerateWithOptionsSiSgAA013NSEnumerationF0V_AA8_NSRangeV5rangexm9paramTypeq_m06returnK0q_x_SpyAA8ObjCBoolVGtc5blocktr0_lFTf4nxnngn_nAI_ytTg5: error: undefined reference to '_T08Dispatch0A5QueueC17concurrentPerformySi10iterations_ySic7executetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(NSIndexSet.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/NSIndexSet.swift.o:function _T010Foundation10NSIndexSetC21_enumerateWithOptionsSiSgAA013NSEnumerationF0V_AA8_NSRangeV5rangexm9paramTypeq_m06returnK0q_x_SpyAA8ObjCBoolVGtc5blocktr0_lFTf4nxnngn_nSi_ytTg5: error: undefined reference to '_T08Dispatch0A5QueueC17concurrentPerformySi10iterations_ySic7executetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(NSIndexSet.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/NSIndexSet.swift.o:function _T010Foundation10NSIndexSetC21_enumerateWithOptionsSiSgAA013NSEnumerationF0V_AA8_NSRangeV5rangexm9paramTypeq_m06returnK0q_x_SpyAA8ObjCBoolVGtc5blocktr0_lFTf4nxnngn_nSi_SbTg5: error: undefined reference to '_T08Dispatch0A5QueueC17concurrentPerformySi10iterations_ySic7executetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Progress.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Progress.swift.o:function _T010Foundation8ProgressC19cancellationHandleryycSgvW: error: undefined reference to '_T08Dispatch0A5QueueC6globalAcA0A3QoSV0D6SClassO3qos_tFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Progress.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Progress.swift.o:function _T010Foundation8ProgressC19cancellationHandleryycSgvs: error: undefined reference to '_T08Dispatch0A5QueueC6globalAcA0A3QoSV0D6SClassO3qos_tFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(Progress.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/Progress.swift.o:function _T010Foundation8ProgressC14pausingHandleryycSgvW: error: undefined reference to '_T08Dispatch0A5QueueC6globalAcA0A3QoSV0D6SClassO3qos_tFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation18createDispatchData0C00cD0VAA0D0VF: error: undefined reference to '_T08Dispatch0A4DataVACs22UnsafeRawBufferPointerV5bytes_tcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation9splitData8Dispatch0dC0V_AEtAE08dispatchC0_Si10atPositiontF: error: undefined reference to '_T08Dispatch0A4DataV7subdataACs14CountableRangeVySiG2in_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation9splitData8Dispatch0dC0V_AEtAE08dispatchC0_Si10atPositiontF: error: undefined reference to '_T08Dispatch0A4DataV5countSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation9splitData8Dispatch0dC0V_AEtAE08dispatchC0_Si10atPositiontF: error: undefined reference to '_T08Dispatch0A4DataV7subdataACs14CountableRangeVySiG2in_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyDataSourceC12getNextChunkAA01_bdcG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV7subdataACs14CountableRangeVySiG2in_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyDataSourceC12getNextChunkAA01_bdcG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV7subdataACs14CountableRangeVySiG2in_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyDataSourceC12getNextChunkAA01_bdcG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV5emptyACvau'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC13readNextChunk33_2F2780F3EADACBD8B884A53D827DE265LLyyF: error: undefined reference to '_T08Dispatch0A2IOC4readySi6offset_Si6lengthAA0A5QueueC5queueySb_AA0A4DataVSgs5Int32Vtc9ioHandlertF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV10startIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV8endIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV10startIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV8endIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV10startIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV8endIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV10startIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC12getNextChunkAA01_bd4DataG0OSi10withLength_tF: error: undefined reference to '_T08Dispatch0A4DataV8endIndexSivg'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation16copyDispatchDatay0C00cD0V_SryxG10infoBuffertlFTf4gn_n: error: undefined reference to '_T08Dispatch0A4DataV9copyBytesSiSryxG2to_s14CountableRangeVySiGSg4fromtlF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceCAcA3URLV04fileE0_8Dispatch0G5QueueC04workH0yyc20dataAvailableHandlertcfcTf4gggn_n: error: undefined reference to '_T08Dispatch0A2IOCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceCAcA3URLV04fileE0_8Dispatch0G5QueueC04workH0yyc20dataAvailableHandlertcfcTf4gggn_n: error: undefined reference to '_T08Dispatch0A2IOCACSgAC10StreamTypeO4type_SPys4Int8VG4paths5Int32V5oflags6UInt32V4modeAA0A5QueueC5queueyAMc14cleanupHandlertcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceCAcA3URLV04fileE0_8Dispatch0G5QueueC04workH0yyc20dataAvailableHandlertcfcTf4gggn_n: error: undefined reference to '_T08Dispatch0A2IOCN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceCAcA3URLV04fileE0_8Dispatch0G5QueueC04workH0yyc20dataAvailableHandlertcfcTf4gggn_n: error: undefined reference to '_T08Dispatch0A2IOC8setLimitySi9highWater_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation20_BodySourceDataChunkOwug: error: undefined reference to '_T08Dispatch0A4DataVN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o)(.text+0x1374): error: undefined reference to '_T08Dispatch0A2IOCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC6append33_2F2780F3EADACBD8B884A53D827DE265LLy8Dispatch0M4DataV4data_Sb05endOfC0tFTf4gnn_n: error: undefined reference to '_T08Dispatch0A4DataV6appendyACF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(BodySource.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/BodySource.swift.o:function _T010Foundation15_BodyFileSourceC13readNextChunk33_2F2780F3EADACBD8B884A53D827DE265LLyyFySb_8Dispatch0O4DataVSgs5Int32VtcfU_Tf4ngnn_n: error: undefined reference to '_T08Dispatch0A4DataV6appendyACF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfd: error: undefined reference to '_T08Dispatch0A6SourceCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfd: error: undefined reference to '_T08Dispatch0A6SourceCAA0aB8ProtocolAAWP'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfd: error: undefined reference to '_T08Dispatch0A14SourceProtocolPAAE6cancelyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfD: error: undefined reference to '_T08Dispatch0A6SourceCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfD: error: undefined reference to '_T08Dispatch0A6SourceCAA0aB8ProtocolAAWP'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCfD: error: undefined reference to '_T08Dispatch0A14SourceProtocolPAAE6cancelyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCAcA0A3QoSV3qos_AA0abC5FlagsV5flagsyyXB5blocktcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A6SourceCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A6SourceC08makeReadB0AA0abD0_ps5Int32V14fileDescriptor_AA0A5QueueCSg5queuetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A10SourceReadMp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A6SourceCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A6SourceC09makeWriteB0AA0abD0_ps5Int32V14fileDescriptor_AA0A5QueueCSg5queuetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_A2ISvSgAJtcfU_Tf4dnnnn_n: error: undefined reference to '_T08Dispatch0A11SourceWriteMp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceC10TimerFlagsVAESu8rawValue_tcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceC10TimerFlagsVAESu8rawValue_tcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceC10TimerFlagsVAESu8rawValue_tcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceC10TimerFlagsVAESu8rawValue_tcfC'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceC09makeTimerB0AA0abD0_pAC0D5FlagsV5flags_AA0A5QueueCSg5queuetFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A11SourceTimerMp'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A4TimeV3nowACyFZ'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch1poiAA0A4TimeVAD_AA0aB8IntervalOtF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceCAA0aB5TimerAAWP'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A11SourceTimerPAAE8scheduleyAA0A4TimeV8deadline_AA0aE8IntervalO9repeatingAI6leewaytF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceCAA0aB8ProtocolAAWP'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A14SourceProtocolPAAE15setEventHandleryAA0A8WorkItemC7handler_tF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6SourceCN'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation14_TimeoutSourceCAC8Dispatch0D5QueueC5queue_Si12millisecondsAD0D8WorkItemC7handlertcfcTf4gngn_n: error: undefined reference to '_T08Dispatch0A6ObjectC6resumeyyF'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_SiSvSgtcfU0_Tf4dnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCMa'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(MultiHandle.swift.o):../build/buildbot_linux/foundation-linux-x86_64/Foundation/Foundation/URLSession/libcurl/MultiHandle.swift.o:function _T010Foundation10URLSessionC12_MultiHandleC14setupCallbacks33_0D88FAB2A36EC056571C12A88F9AC924LLyyFs5Int32VSv_SiSvSgtcfU0_Tf4dnn_n: error: undefined reference to '_T08Dispatch0A8WorkItemCAcA0A3QoSV3qos_AA0abC5FlagsV5flagsyyXB5blocktcfc'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFSortFunctions.c.o):CoreFoundation/Base.subproj/CFSortFunctions.c:function CFSortIndexes: error: undefined reference to '_dispatch_queue_attr_concurrent'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFSortFunctions.c.o):CoreFoundation/Base.subproj/CFSortFunctions.c:function CFSortIndexes: error: undefined reference to 'dispatch_queue_create'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFSortFunctions.c.o):CoreFoundation/Base.subproj/CFSortFunctions.c:function CFSortIndexes: error: undefined reference to 'dispatch_apply'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFSortFunctions.c.o):CoreFoundation/Base.subproj/CFSortFunctions.c:function __CFSortIndexesN: error: undefined reference to 'dispatch_apply'
/root/.swiftenv/versions/4.1.3/usr/lib/swift_static/linux/libFoundation.a(CFSortFunctions.c.o):CoreFoundation/Base.subproj/CFSortFunctions.c:function __CFSortIndexesN: error: undefined reference to 'dispatch_apply'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
<unknown>:0: error: link command failed with exit code 1 (use -v to see invocation)
error: terminated(1): /root/.swiftenv/versions/4.1.3/usr/bin/swift-build-tool -f /bitrise/src/Mint/.build/release.yaml main output:
    
Fetching https://github.com/apple/swift-package-manager.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
Cloning https://github.com/apple/swift-package-manager.git
Resolving https://github.com/apple/swift-package-manager.git at 0.2.0
Cloning https://github.com/onevcat/Rainbow.git
Resolving https://github.com/onevcat/Rainbow.git at 3.1.4
Cloning https://github.com/kylef/PathKit.git
Resolving https://github.com/kylef/PathKit.git at 0.9.1
Cloning https://github.com/kylef/Spectre.git
Resolving https://github.com/kylef/Spectre.git at 0.8.0
Cloning https://github.com/jakeheis/SwiftCLI
Resolving https://github.com/jakeheis/SwiftCLI at 5.1.2
Makefile:18: recipe for target 'build' failed
make: *** [build] Error 1

Any idea how I can fix the issue?

Stop Keeping Tool Repositories Around

It is dangerous to keep a tool repositories around for reuse.

It is not just about saving space (though that is reason enough in and of itself).

In the event of a force push, even to an unrelated branch, several Git commands will suddenly begin to fail.

When a new version of Swift comes out and swift build creates new files (such as Swift 4 did with Package.resolved), it causes the repository to become dirty and causes problems with future attempts to check something out.

For reasons such as this it would be safer to clone, build, copy the product(s) and then remove the repository each time. (The products themselves are safe to cache for future use.)

Use the package's stdout with the run command

If samplepackage print standard output and inserts this into a file, I would execute this with run command.

$ mint run sample/samplepackage@master samplecommand > Sample.swift

However, Mint output is also inserted in file.

struct Sample {
    ...
}
🌱  simplepackage already installed
🌱  Running simplepackage master...

Are there any effective idea?

Example

Support stdin

This would allow a swift executable to ask for user input

Error when I try to install mint with brew

Hello,

When I try to install mint via brew, I have this error

swift build --disable-sandbox -c release -Xswiftc -static-stdlib
error: failed to clone; Cloning into bare repository '/private/tmp/mint-20171003-62946-56b4dl/Mint-0.4.0/.build/repositories/PathKit.git--1865447967743163058'...
fatal: unable to access 'https://github.com/kylef/PathKit.git/': Could not resolve host: github.com
error: product dependency 'ShellOut' not found
error: product dependency 'Rainbow' not found
error: product dependency 'PathKit' not found
error: product dependency 'Rainbow' not found
error: product dependency 'Guaka' not found
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/nsomar/Guaka.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/oarrabi/StringScanner
make: *** [build] Error 1

If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
yonaskolb/mint

/usr/local/Homebrew/Library/Homebrew/utils/github.rb:226:in raise_api_error': curl failed! (GitHub::Error) curl: (22) The requested URL returned error: 422 Unprocessable Entity curl: (3) <url> malformed from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:184:in open'
from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:284:in search' from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:231:in search_issues'
from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:244:in issues_for_formula' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:369:in fetch_issues'
from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:365:in issues' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:419:in dump'
from /usr/local/Homebrew/Library/Homebrew/brew.rb:133:in rescue in <main>' from /usr/local/Homebrew/Library/Homebrew/brew.rb:26:in

'

Fix silent failures

Hey @yonaskolb! I just tried out Mint to install John's Marathon scripts runner. The installation failed because of missing Swift 4.0 toolchain, however then Mint behaved as it was successful. I spent a few minutes debugging the issue and find out that the installation failed silently.

Actual Mint output

🌱  Finding latest version of marathon
🌱  Resolved latest version of marathon to 2.0.2
🌱  Cloning https://github.com/johnsundell/marathon.git 2.0.2...
🌱  Building marathon. This may take a few minutes...

Output with --verbose

🌱  Finding latest version of marathon
🌱  Resolved latest version of marathon to 2.0.2
🌱  Cloning https://github.com/johnsundell/marathon.git 2.0.2...
Cloning into 'github.com_johnsundell_marathon'...
remote: Counting objects: 55, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 55 (delta 3), reused 18 (delta 0), pack-reused 0
Unpacking objects: 100% (55/55), done.
Note: checking out '10d4ae98c9e97ec76d01453781763b2be1cfcec1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

🌱  Building marathon. This may take a few minutes...
swiftenv: version `4.0' (set by /private/var/folders/y2/1k10npbs3xn7bkyzt__21_fr0000gn/T/mint/github.com_johnsundell_marathon/.swift-version) is not installed
no such command: swift

It's currently kind of confusing for a newcomer to check what went wrong. I was not sure if I used mint install incorrectly or my shell is just unable to find marathon command for some reason. Running the command again with --verbose helped me after all. I would like to propose adding error message at the end of the output if the script fails unexpectedly. The new output would look like:

🌱  Finding latest version of marathon
🌱  Resolved latest version of marathon to 2.0.2
🌱  Cloning https://github.com/johnsundell/marathon.git 2.0.2...
❌  The installation failed, run the command with `--verbose` flag for more informations

Ping me if you need a hand on that!

Consider passing current platform as target

As of version 0.29.0 Carthage no longer works with Mint. This is because they dropped support for macOS 10.10, and SwiftPM defaults to 10.10 as the target.

See this issue: Carthage/Carthage#2381

One possible fix for this would be to always pass in the current platform as the target when building. Since the output binary is only meant for the system we are building on I can't see the downside with it.

e.g.

swift build -c release -Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.13"

More info on passing target to SwiftPM: https://oleb.net/blog/2017/04/swift-3-1-package-manager-deployment-target/

Add "-p" option to bootstrap

It should be possible to skip linking when running bootstrap.

This way, "mint bootstrap" can be used to install all versions specified in the Mintfile for later use without linking them.

Pass through stdin to command

Mint should pass stdin to executing command. (just as cmdshelf is doing)

Mint $ cat > ~/.cmdshelf/remote/toshi0383/hello.sh
cat # creating hello.sh with content "cat"
Mint $ chmod +x ~/.cmdshelf/remote/toshi0383/hello.sh
Mint $ cmdshelf run hello.sh
hey # user input
hey # printed by `cat` command
Mint $ ./.build/x86_64-apple-macosx10.10/debug/mint run toshi0383/cmdshelf "cmdshelf run hello.sh"
🌱  Finding latest version of cmdshelf
🌱  Using cmdshelf "0.8.0"
🌱  cmdshelf "0.8.0" already installed
🌱  Running cmdshelf "0.8.0"...
# stdin is disabled
Mint $

Make folder to mint configurable

It would be great to have an environment variable to define, where the mint packages are stored (defaulting to "/usr/local/lib/mint/packages/").

This way, one could cache them easier in certain environments (e.g. build servers).

List command

Add a command that lists all the installed versions of each executable.

mint list

Inoperable on Case Sensitive File Systems

Mint does not work on case sensitive file systems. Almost nothing from the read‐me can execute successfully. For example:

$ git clone https://github.com/yonaskolb/Mint
Cloning into 'Mint'...
remote: Counting objects: 179, done.
remote: Total 179 (delta 0), reused 0 (delta 0), pack-reused 179
Receiving objects: 100% (179/179), 29.98 KiB | 1023.00 KiB/s, done.
Resolving deltas: 100% (76/76), done.

$ cd Mint

$ swift run mint run realm/SwiftLint
Fetching https://github.com/nsomar/Guaka.git
...
Fetching https://github.com/oarrabi/StringScanner
Cloning https://github.com/nsomar/Guaka.git
Resolving https://github.com/nsomar/Guaka.git at 0.1.3
...
Cloning https://github.com/onevcat/Rainbow.git
Resolving https://github.com/onevcat/Rainbow.git at 2.1.0
error: no executable product named 'mint'

Even running β€œMint” (capitalized) there are internal problems:

$ swift run Mint run realm/SwiftLint
Compile Swift Module 'ShellOut' (1 sources)
...
Compile Swift Module 'MintKit' (3 sources)
Compile Swift Module 'Mint' (1 sources)
Linking ./.build/x86_64-apple-macosx10.10/debug/Mint
🌱  Using latest tag "0.23.0"
🌱  Checking out https://github.com/realm/SwiftLint.git "0.23.0"...
🌱  Building swiftlint. This may take a few minutes...
🌱  Installing swiftlint...
🌱  Error: Couldn't find command swiftlint

(The folder /usr/local/lib/mint/packages/github.com_realm_SwiftLint/build/0.23.0 is entirely empty.)

Support more package managers

I'm glad to see you support one package manager, but I don't use Homebrew anymore since the lead maintainer is a huge jackass.

Would you consider supporting at least one other package manager? The obvious choice is MacPorts. Personally I'm also a fan of Nix, though I realize that one's a bit esoteric.

Add mint file

A mint specification file that would list a bunch of swift command line tools with version.
You could run mint install on it and it would install all those versions. Then you could just run mint run tool and it would look up which version should be run from the file

Improve CI Test Battery

Right now CI effectively does nothing, despite the presence of a .travis.yml file. A thorough test battery would provide better insulation against regressions and bugs.

install man-pages with mint install

Mint could support installing man-pages.

To support this, mint install need to

SeeAlso:

Pass parameters to the command

I've tried to run the following command using Mint

mint run yonaskolb/[email protected] --project carthage-project.yml

But mint tries to read the --project parameter instead of passing it to the command that is executing. It'd be great if we were able to capture those parameters and pass them to the command.

Mint not silent when using Mintfile

It seems that the code that resolves the version from the Mintfile is running before the "run" execute command is called, where standardOut gets replaced.

Pass some environment variables when building with Mint

Pass some something like MINT environment variable to swift package manager

Maybe also RESOURCE_PATH as if #1 is implemented resources would probably have to be copied to /usr/local/share/name which would make the resource path ../share/name which is different to how it is now as resources are added to the executable path.
Resources could also live in ../share/name relative path when installing to usr/local/mint

Run fails with "Unknown command: `swiftgen`" on 0.11.0

Mintfile:

swiftgen/swiftgen@master
realm/[email protected]

Command:
mint run -m "../Mintfile" swiftgen/swiftgen swiftgen config run --config COBI/swiftgen.yml

This worked with Mint 0.10.2. Also mint run -m "../../Mintfile" swiftgen/swiftgen works (by switching to the subfolder where the config for swiftgen is located and omitting the argument). mint run -m "../Mintfile" swiftgen/swiftgen --config COBI/swiftgen.yml on the other hand says Couldn't find executable "--config".

Couldn't pass any arguments to executables

I supported Mint for my CLI.

However, Mint can't recognize any arguments for executables.

In the situation which mycommand provides help command:

$ swift run mycommand help
...
$ mint run mycommand help
🌱  Using latest tag "1.0.0"
🌱  Checking out https://github.com/giginet/mycommand.git "1.0.0"...
🌱  Building help. This may take a few minutes...
🌱  Installing help...
🌱  Error: Couldn't find command help

Install directory does not have write permissions when installing via brew


~/dev/projects/danger/peril add_auth_api
❯ brew tap yonaskolb/mint https://github.com/yonaskolb/mint.git
Updating Homebrew...
==> Tapping yonaskolb/mint
Cloning into '/usr/local/Homebrew/Library/Taps/yonaskolb/homebrew-mint'...
remote: Counting objects: 22, done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 22 (delta 0), reused 20 (delta 0), pack-reused 0
Unpacking objects: 100% (22/22), done.
Tapped 1 formula (58 files, 56.6KB)

~/dev/projects/danger/peril add_auth_api 13s
❯ brew install mint
==> Installing mint from yonaskolb/mint
==> Downloading https://github.com/yonaskolb/Mint/archive/0.3.0.tar.gz
==> Downloading from https://codeload.github.com/yonaskolb/Mint/tar.gz/0.3.0
######################################################################## 100.0%
==> make install PREFIX=/usr/local/Cellar/mint/0.3.0
🍺  /usr/local/Cellar/mint/0.3.0: 4 files, 10.6MB, built in 53 seconds

~/dev/projects/danger/peril add_auth_api
❯ mint install danger/danger-swift
🌱  Error: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file β€œgithub.com_danger_danger-swift” in the folder β€œpackages”." UserInfo={NSFilePath=/usr/local/mint/packages/github.com_danger_danger-swift, NSUnderlyingError=0x7fd4e9501f00 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}

Mint 0.10.0 causes carthage to fail

After upgrading mint from 0.9.0 to 0.10.0 I can't build my xcode project anymore.
This is the command I run in xcode build phase:

mint run carthage carthage copy-frameworks

And output:

🌱  Using "Carthage/Carthage" "0.29.0" from Mintfile.
🌱  carthage 0.29.0 already installed
🌱  Running carthage 0.29.0...
Environment variable not set: SCRIPT_INPUT_FILE_COUNT
Command /bin/sh failed with exit code 1

Command carthage copy-frameworks without mint works fine.

Please suggest how to build a network tool using private keys

Hello, Mint is amazing!
This is not an issue but more like asking for idea or help πŸ˜‡

I’m working on a command line utility for reading data from Google services. One of its supported commands is auth, and it’s needed to save credentials for the future access locally. However, such command requires special API keys for OAuth(2) generated by the API provider. What is the best way, if any, to β€œborrow” my secret tokens for building a tool during mint install on the client machine?

Thanks in advance!

improve error message when version is not found

mint run krzysztofzablocki/[email protected]                                        
🌱  Cloning https://github.com/krzysztofzablocki/Sourcery.git 0.12...
🌱  Git repo not found at "https://github.com/krzysztofzablocki/Sourcery.git"

Better error message would be

🌱  Commitish (or branch/tag) 0.12  not found at "https://github.com/krzysztofzablocki/Sourcery.git"

Install current directory

mint install could install the current directory if it included a swift executable package.
This would just install globally, as it makes no sense to cache by version

Option to install version of tool globally

This would place a specific version of the executable in /usr/local/bin so they could be run without mint

Though what would happen with resources? Put them in a default place like /usr/local/share/toolname?

Forward stderr from subcommands

  • Using swiftenv to manage Swift versions
  • Using Mint v0.10.2

When running mint install jakeheis/Ice --verbose, I received this error:

...
🌱  Building Ice with SPM...
no such command: swift

I realized this was because Ice required Swift version 4.1, which I did not have installed.

The output no such command: swift comes from swiftenv shims via stdout. It also warns you via stderr when the required version is not installed, e.g. swiftenv: version '4.1' (set by .swift-version) is not installed.

Mint seems to forward stdout in verbose mode, but I didn't see the stderr output from swiftenv. This would be pretty helpful for debugging package build errors.

Add verbose option to show build output

A --verbose flag that would print out the output of build.

Getting that work done (of streaming output) would also allow the output of final command to display as it runs, not just after it completes

Package upgrading routine is currently unintuitive

Mint is just awesome, but I think that the package update part can be improved. In particular:

  1. There is no command (or I don’t know one) that can update all outdated packages (just mint update would be nice).
  2. When you type mint update, you need to provide full package name (for example, mint update jakeheis/Ice), but mint list shows the name without the author name (so just Ice in this example).

My proposal is also to rename mint update to more Homebrew-like mint upgrade, but that’s totally up to you. I can try to resolve first two mentioned issues and submit a PR if you’re okay with that. Just let me know!

Add support for specifying branch name

version (optional): The git version of the packge. It is usually a tag but can also be a branch. If this is left out the version will default to the latest tag, or if there are no tags then master.

Document says third option string can be branch name.
Haven't you implemented it? It seems to supported only master branch.

} else if string.contains(".") || string == "master" {

I want to implement to support reading branch name other than master.
But I think that the syntax cannot make distinction between command and version in some circumstances.
mint run yonaskolb/xcodegen xcodegen
This can be interpreted as user/repo branch or user/repo command.

Although this does not maintain backward compatibility, I suggest the syntax like user/repo@branch command.

Installation fails when executable name doesn’t match package name

SwiftPM provides a way to customize the name of the final executable by using executables. So, for example, I have a script called SofImage which builds as sofarimage:

// swift-tools-version:4.0
// Managed by ice

import PackageDescription

let package = Package(
    name: "SofImage",
    products: [
        .executable(name: "sofarimage", targets: ["SofImage"]),
    ],
    dependencies: [
        .package(url: "https://github.com/onevcat/Rainbow", from: "3.1.4"),
    ],
    targets: [
        .target(name: "SofImage", dependencies: ["Rainbow"]),
    ]
)

But Mint currently fails when trying to install such package:

🌱  Building SofImage with SPM...
Fetching https://github.com/onevcat/Rainbow
Cloning https://github.com/onevcat/Rainbow
Resolving https://github.com/onevcat/Rainbow at 3.1.4
Compile Swift Module 'Rainbow' (11 sources)
Compile Swift Module 'SofImage' (1 sources)
Linking ./.build/x86_64-apple-macosx10.10/release/sofarimage
🌱  Installing...
Couldn't find command SofImage

I think that Mint should try to link the executable that is specified by SwiftPM if it’s available. If you agree with me, I can look into it and submit a PR. Just let me know!

I totally love Mint, it really can become a very big part of Swift ecosystem, so we should take a proper look at edge cases like this one.

How to access "resources"?

I have a script file embedded using Package.resources.

scripts

I created example project at https://github.com/toshi0383/package-resources-sample

How should I execute the script from the main executable?
Looks like Bundle.main.executablePath does not follow symlink and returns symlink's location instead of the actual binary's directory path.

If this file is found in you repo, then all those directories will be copied into the same path as the executable.

IMO, it would be a lot easier when assets from Package.resources goes under /usr/local/lib/${tool}/resources/ regardless of global, local, or binary install.
By the way /usr/local can be changed by allowing PREFIX install (maybe by adding --prefix option).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.