jakeheis / homebrew-repo

0 stars 0 forks source link

homebrew install failure #2

Open drinking opened 6 years ago

drinking commented 6 years ago

Also meet compile failure through manual install

jakeheis commented 6 years ago

Could you post the error message you are receiving?

ggruen commented 6 years ago

Here's the contents of ~/Library/Logs/Homebrew/flock/01.unset after running brew install jakeheis/repo/flock:

2018-05-16 16:54:16 -0500

unset CC; swift build --disable-sandbox -c release

Compile Swift Module 'Rainbow' (11 sources)
Compile Swift Module 'Spectre' (8 sources)
Compile Swift Module 'Spawn' (1 sources)
Compile Swift Module 'SwiftCLI' (25 sources)
Compile Swift Module 'PathKit' (1 sources)
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:37:69: warning: 'characters' is deprecated: Please use String or Substring directly
        var index = string.index(string.startIndex, offsetBy: token.characters.count)
                                                                    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:39:22: warning: 'characters' is deprecated: Please use String or Substring directly
        while string.characters[index] != "m" {
                     ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:40:39: warning: 'characters' is deprecated: Please use String or Substring directly
            codesString.append(string.characters[index])
                                      ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:44:33: warning: 'characters' is deprecated: Please use String or Substring directly
        let codes = codesString.characters.split(separator: ";", maxSplits: Int.max, omittingEmptySubsequences: false).flatMap { UInt8(String($0)) }
                                ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:44:136: warning: 'init' is deprecated: Please use String or Substring directly
        let codes = codesString.characters.split(separator: ";", maxSplits: Int.max, omittingEmptySubsequences: false).flatMap { UInt8(String($0)) }
                                                                                                                                       ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:46:78: warning: 'characters' is deprecated: Please use String or Substring directly
        let endIndex = string.index(string.endIndex, offsetBy: -"\(token)0m".characters.count)
                                                                             ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:47:20: warning: 'init' is deprecated: Please use String or Substring directly
        let text = String(string.characters[startIndex ..< endIndex])
                   ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:47:34: warning: 'characters' is deprecated: Please use String or Substring directly
        let text = String(string.characters[startIndex ..< endIndex])
                                 ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:61:35: warning: 'characters' is deprecated: Please use String or Substring directly
        var outer = String(string.characters[index]) //Start index should be the ESC control code
                                  ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:64:57: warning: 'characters' is deprecated: Please use String or Substring directly
            index = string.index(index, offsetBy: token.characters.count)
                                                        ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:66:26: warning: 'characters' is deprecated: Please use String or Substring directly
            while string.characters[index] != ";" {
                         ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:67:43: warning: 'characters' is deprecated: Please use String or Substring directly
                codesString.append(string.characters[index])
                                          ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:73:35: warning: 'characters' is deprecated: Please use String or Substring directly
            outer = String(string.characters[index])
                                  ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:77:77: warning: 'characters' is deprecated: Please use String or Substring directly
        let endIndex = string.index(string.endIndex, offsetBy: -"\(token);".characters.count)
                                                                            ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:78:20: warning: 'init' is deprecated: Please use String or Substring directly
        let text = String(string.characters[startIndex ..< endIndex])
                   ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/Rainbow-4833422609927903952/Sources/ModesExtractor.swift:78:34: warning: 'characters' is deprecated: Please use String or Substring directly
        let text = String(string.characters[startIndex ..< endIndex])
                                 ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/PathKit--9185519632264250829/Sources/PathKit.swift:43:34: warning: 'characters' is deprecated: Please use String or Substring directly
      path = p.substring(from: p.characters.index(after: p.startIndex))
                                 ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/ArgumentListManipulator.swift:54:28: warning: 'characters' is deprecated: Please use String or Substring directly
                node.value.characters.dropFirst().forEach {
                           ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/Command.swift:60:32: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return mirror.children.flatMap { (child) in
                               ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/Command.swift:60:32: note: use 'compactMap(_:)' instead
        return mirror.children.flatMap { (child) in
                               ^~~~~~~
                               compactMap
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/Command.swift:70:39: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        var options = mirror.children.flatMap { (child) -> Option? in
                                      ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/Command.swift:70:39: note: use 'compactMap(_:)' instead
        var options = mirror.children.flatMap { (child) -> Option? in
                                      ^~~~~~~
                                      compactMap
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/CompletionGenerator.swift:105:63: warning: 'characters' is deprecated: Please use String or Substring directly
                let sortedNames = option.names.sorted(by: {$0.characters.count > $1.characters.count})
                                                              ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/CompletionGenerator.swift:105:85: warning: 'characters' is deprecated: Please use String or Substring directly
                let sortedNames = option.names.sorted(by: {$0.characters.count > $1.characters.count})
                                                                                    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/CompletionGenerator.swift:105:63: warning: 'characters' is deprecated: Please use String or Substring directly
                let sortedNames = option.names.sorted(by: {$0.characters.count > $1.characters.count})
                                                              ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/CompletionGenerator.swift:105:85: warning: 'characters' is deprecated: Please use String or Substring directly
                let sortedNames = option.names.sorted(by: {$0.characters.count > $1.characters.count})
                                                                                    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/HelpMessageGenerator.swift:36:30: warning: 'characters' is deprecated: Please use String or Substring directly
            if routable.name.characters.count > length {
                             ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/HelpMessageGenerator.swift:37:37: warning: 'characters' is deprecated: Please use String or Substring directly
               return routable.name.characters.count
                                    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/HelpMessageGenerator.swift:36:30: warning: 'characters' is deprecated: Please use String or Substring directly
            if routable.name.characters.count > length {
                             ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/HelpMessageGenerator.swift:37:37: warning: 'characters' is deprecated: Please use String or Substring directly
               return routable.name.characters.count
                                    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/HelpMessageGenerator.swift:78:38: warning: 'characters' is deprecated: Please use String or Substring directly
                if option.identifier.characters.count > length {
                                     ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/HelpMessageGenerator.swift:79:46: warning: 'characters' is deprecated: Please use String or Substring directly
                    return option.identifier.characters.count
                                             ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/HelpMessageGenerator.swift:78:38: warning: 'characters' is deprecated: Please use String or Substring directly
                if option.identifier.characters.count > length {
                                     ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/HelpMessageGenerator.swift:79:46: warning: 'characters' is deprecated: Please use String or Substring directly
                    return option.identifier.characters.count
                                             ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/HelpMessageGenerator.swift:43:91: warning: 'characters' is deprecated: Please use String or Substring directly
            let spacing = String(repeating: " ", count: maxNameLength + 4 - routable.name.characters.count)
                                                                                          ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/Option.swift:18:74: warning: 'characters' is deprecated: Please use String or Substring directly
        let spacing = String(repeating: " ", count: padding - identifier.characters.count)
                                                                         ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/OptionGroup.swift:21:29: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        let names = options.flatMap({ $0.names.last }).joined(separator: " ")
                            ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/checkouts/SwiftCLI-8466703425035036135/Sources/SwiftCLI/OptionGroup.swift:21:29: note: use 'compactMap(_:)' instead
        let names = options.flatMap({ $0.names.last }).joined(separator: " ")
                            ^~~~~~~
                            compactMap
Compile Swift Module 'FlockCLI' (12 sources)
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:8:5: warning: 'setup(name:version:description:)' is deprecated: Create a new CLI object: let cli = CLI(..)
CLI.setup(name: "flock", version: "0.0.1")
    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:10:5: warning: 'router' is deprecated: Create a new CLI object: let cli = CLI(..)
CLI.router = FlockRouter()
    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/FlockRouter.swift:11:7: error: type 'FlockRouter' does not conform to protocol 'Router'
class FlockRouter: Router {
      ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/FlockRouter.swift:13:10: note: candidate has non-matching type '([Command], ArgumentList) -> Command?'
    func route(commands: [Command], arguments: ArgumentList) -> Command? {
         ^
SwiftCLI.Router:2:17: note: protocol requires function 'route(routables:arguments:)' with type '([Routable], ArgumentList) -> RouteResult'; do you want to add a stub?
    public func route(routables: [Routable], arguments: SwiftCLI.ArgumentList) -> SwiftCLI.RouteResult
                ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:11:5: error: 'versionCommand' is unavailable: Create the CLI object with a nil version and register a custom version command
CLI.versionCommand = VersionCommand()
    ^~~~~~~~~~~~~~
SwiftCLI.CLI:11:23: note: 'versionCommand' has been explicitly marked unavailable here
    public static var versionCommand: <null>
                      ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:12:19: error: 'HelpCommand' cannot be constructed because it has no accessible initializers
CLI.helpCommand = HelpCommand()
                  ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:14:5: warning: 'register(command:)' is deprecated: Create a new CLI object: let cli = CLI(..)
CLI.register(command: InitCommand())
    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:15:5: warning: 'register(command:)' is deprecated: Create a new CLI object: let cli = CLI(..)
CLI.register(command: BuildCommand())
    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:16:5: warning: 'register(command:)' is deprecated: Create a new CLI object: let cli = CLI(..)
CLI.register(command: UpdateCommand())
    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:17:5: warning: 'register(command:)' is deprecated: Create a new CLI object: let cli = CLI(..)
CLI.register(command: CleanCommand())
    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:18:5: warning: 'register(command:)' is deprecated: Create a new CLI object: let cli = CLI(..)
CLI.register(command: ResetCommand())
    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:19:5: warning: 'register(command:)' is deprecated: Create a new CLI object: let cli = CLI(..)
CLI.register(command: CreateTaskCommand())
    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:20:5: warning: 'register(command:)' is deprecated: Create a new CLI object: let cli = CLI(..)
CLI.register(command: NukeCommand())
    ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/main.swift:26:10: warning: 'go()' is deprecated: Create a new CLI object: let cli = CLI(..)
exit(CLI.go())
         ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/CreateTaskCommand.swift:25:86: warning: 'characters' is deprecated: Please use String or Substring directly
            name = name.substring(to: name.index(name.endIndex, offsetBy: taskSuffix.characters.count))
                                                                                     ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/CreateTaskCommand.swift:29:34: warning: 'characters' is deprecated: Please use String or Substring directly
        if let colonIndex = name.characters.index(of: ":") {
                                 ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/CreateTaskCommand.swift:41:19: warning: 'CLIError' is deprecated: use CLI.Error instead
            throw CLIError.error("\(path) already exists".red)
                  ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/FlockCommand.swift:38:19: warning: 'CLIError' is deprecated: use CLI.Error instead
            throw CLIError.error("Error: ".red + "Flock has not been initialized in this directory yet - run `flock --init`")
                  ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/ForwardCommand.swift:31:19: warning: 'CLIError' is deprecated: use CLI.Error instead
            throw CLIError.error("Error: Flock must be successfully built before tasks can be run".red)
                  ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/HelpCommand.swift:15:9: error: overriding non-open let outside of its defining module
    let name = "--help"
        ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/HelpCommand.swift:15:9: error: cannot override with a stored property 'name'
    let name = "--help"
        ^
SwiftCLI.HelpCommand:2:16: note: attempt to override property here
    public let name: String
               ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/HelpCommand.swift:16:9: error: overriding non-open let outside of its defining module
    let shortDescription = "Prints help information"
        ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/HelpCommand.swift:16:9: error: cannot override with a stored property 'shortDescription'
    let shortDescription = "Prints help information"
        ^
SwiftCLI.HelpCommand:3:16: note: attempt to override property here
    public let shortDescription: String
               ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/HelpCommand.swift:21:10: error: overriding non-open instance method outside of its defining module
    func execute() throws {
         ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/HelpCommand.swift:21:10: error: overriding declaration requires an 'override' keyword
    func execute() throws {
         ^
    override
SwiftCLI.HelpCommand:4:17: note: overridden declaration is here
    public func execute() throws
                ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/HelpCommand.swift:13:7: error: cannot inherit from non-open class 'HelpCommand' outside of its defining module
class HelpCommand: SwiftCLI.HelpCommand, FlockCommand {
      ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/HelpCommand.swift:28:17: error: value of type 'Command' has no member 'signature'
            if !command.signature.isEmpty {
                ^~~~~~~ ~~~~~~~~~
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/HelpCommand.swift:29:29: error: value of type 'Command' has no member 'signature'
                name += " \(command.signature)"
                            ^~~~~~~ ~~~~~~~~~
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/HelpCommand.swift:50:63: warning: 'characters' is deprecated: Please use String or Substring directly
        let spacing = String(repeating: " ", count: 20 - name.characters.count)
                                                              ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/InitCommand.swift:22:19: warning: 'CLIError' is deprecated: use CLI.Error instead
            throw CLIError.error("Error: ".red + "Flock has already been initialized")
                  ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/InitCommand.swift:41:23: warning: 'CLIError' is deprecated: use CLI.Error instead
                throw CLIError.error("\(path) must not already exist".red)
                      ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/InitCommand.swift:93:23: warning: 'CLIError' is deprecated: use CLI.Error instead
                throw CLIError.error("Couldn't open .gitignore stream")
                      ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/InitCommand.swift:96:63: warning: 'characters' is deprecated: Please use String or Substring directly
            gitIgnore.write(appendText, maxLength: appendText.characters.count)
                                                              ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/Paths.swift:41:31: warning: 'characters' is deprecated: Please use String or Substring directly
    for _ in 0..<(12 - action.characters.count) {
                              ^
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/VersionCommand.swift:17:26: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
        print("Version: \(CLI.version)")
                         ^~~~~~~~~~~~~
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/VersionCommand.swift:17:31: note: use 'String(describing:)' to silence this warning
        print("Version: \(CLI.version)")
                         ~~~~~^~~~~~~~
                          String(describing:  )
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/VersionCommand.swift:17:31: note: provide a default value to avoid this warning
        print("Version: \(CLI.version)")
                         ~~~~~^~~~~~~~
                                      ?? <#default value#>
/private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/Sources/VersionCommand.swift:17:31: warning: 'version' is deprecated: Create a new CLI object: let cli = CLI(..)
        print("Version: \(CLI.version)")
                              ^
error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /private/tmp/flock-20180516-72814-1fsqgmx/FlockCLI-0.2.1/.build/release.yaml main output:

Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jakeheis/Spawn
Fetching https://github.com/kylef/Spectre
Cloning https://github.com/onevcat/Rainbow
Resolving https://github.com/onevcat/Rainbow at 2.0.1
Cloning https://github.com/kylef/PathKit
Resolving https://github.com/kylef/PathKit at 0.7.1
Cloning https://github.com/jakeheis/Spawn
Resolving https://github.com/jakeheis/Spawn at 0.0.6
Cloning https://github.com/kylef/Spectre
Resolving https://github.com/kylef/Spectre at 0.7.2
Cloning https://github.com/jakeheis/SwiftCLI
Resolving https://github.com/jakeheis/SwiftCLI at 3.1.0

HOMEBREW_VERSION: 1.6.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: d14d0c25d6bd5a15f3fbca4cb402f0f2245c4631
Last commit: 2 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 3e6826134cb2efc6c6366aa81de9d750dfe0754a
Core tap last commit: 5 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CACHE: /Users/grant/Library/Caches/Homebrew
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.3.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 9.1 build 902
Git: 2.15.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_65, 1.7.0_05
macOS: 10.13.4-x86_64
CLT: 9.3.0.0.1.1521514116
Xcode: 9.3.1
XQuartz: 2.7.3 => /opt/X11

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.13
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/bin:/bin:/usr/sbin:/sbin

swift version:

grant$ swift --version
Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1)
Target: x86_64-apple-darwin17.5.0