Uploaded image for project: 'Swift'
  1. Swift
  2. SR-5491

LLVM ERROR: IO failure on output stream.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Component/s: Package Manager
    • Labels:
      None
    • Environment:

      macOS 10.12.5, Xcode 9 beta 3 (9M174d)

      Description

      Running

      swift build

      with Xcode 9 beta 3 causes an error to be reported with the following message:

      LLVM ERROR: IO failure on output stream.
      

      Steps to reproduce:

      git clone https://github.com/realm/SwiftLint
      cd SwiftLint
      git checkout 9bb64e5cb534ea6ba834396cb3778a7939f822fd
      git submodule update --init --recursive
      DEVELOPER_DIR=/Applications/Xcode-9.app/Contents/Developer swift build
      

      Output:

      Fetching https://github.com/jpsim/Yams.git
      Fetching https://github.com/jpsim/SourceKitten.git
      Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
      Fetching https://github.com/Carthage/Commandant.git
      Fetching https://github.com/drmohundro/SWXMLHash.git
      Fetching https://github.com/norio-nomura/Clang_C.git
      Fetching https://github.com/norio-nomura/SourceKit.git
      Fetching https://github.com/antitypical/Result.git
      Cloning https://github.com/jpsim/SourceKitten.git
      Resolving https://github.com/jpsim/SourceKitten.git at 0.18.0
      Cloning https://github.com/jpsim/Yams.git
      Resolving https://github.com/jpsim/Yams.git at 0.3.3
      Cloning https://github.com/norio-nomura/SourceKit.git
      Resolving https://github.com/norio-nomura/SourceKit.git at 1.0.1
      Cloning https://github.com/antitypical/Result.git
      Resolving https://github.com/antitypical/Result.git at 3.2.3
      Cloning https://github.com/scottrhoyt/SwiftyTextTable.git
      Resolving https://github.com/scottrhoyt/SwiftyTextTable.git at 0.5.0
      Cloning https://github.com/drmohundro/SWXMLHash.git
      Resolving https://github.com/drmohundro/SWXMLHash.git at 4.1.0
      Cloning https://github.com/norio-nomura/Clang_C.git
      Resolving https://github.com/norio-nomura/Clang_C.git at 1.0.2
      Cloning https://github.com/Carthage/Commandant.git
      Resolving https://github.com/Carthage/Commandant.git at 0.12.0
      Compile CYaml src/reader.c
      Compile CYaml src/writer.c
      Compile CYaml src/scanner.c
      Compile CYaml src/parser.c
      Compile CYaml src/loader.c
      Compile CYaml src/emitter.c
      Compile CYaml src/dumper.c
      Compile CYaml src/api.c
      Compile Swift Module 'SWXMLHash' (2 sources)
      Compile Swift Module 'Result' (2 sources)
      Compile Swift Module 'SwiftyTextTable' (1 sources)
      Compile Swift Module 'Yams' (13 sources)
      Compile Swift Module 'Commandant' (10 sources)
      Compile Swift Module 'SourceKittenFramework' (34 sources)
      Compile Swift Module 'sourcekitten' (10 sources)
      Linking ./.build/debug/sourcekitten
      Compile Swift Module 'SwiftLintFramework' (172 sources)
      LLVM ERROR: IO failure on output stream.
      error: terminated(1): /Applications/Xcode-9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/jp/Projects/SwiftLint/.build/debug.yaml
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jpsim JP Simard
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: