swift-driver-6.4.0
checks.aarch64-darwin.pkgs-officecli
· build #11564
· raw
1mac02: building 0a17dkw6qyz0j7zfmbamn2xvldm3dw23-swift-driver-6.4.0.drv
unpackPhase
2unpacking source archive /nix/store/fkq98s1gysa2dzw3akmd4dy7d5m3zsrg-source3source root is sourcepatchPhase
4applying patch /nix/store/ivscxwj97pdkv47z7ca68bxx346yyib1-0001-gnu-install-dirs.patch5patching file Sources/SwiftDriver/CMakeLists.txt6Hunk #1 succeeded at 143 (offset 3 lines).7patching file Sources/SwiftDriverExecution/CMakeLists.txt8Hunk #1 succeeded at 27 (offset 1 line).9patching file Sources/SwiftOptions/CMakeLists.txt10applying patch /nix/store/liv8f9k7mfg1yg4p3kmy9gyzabv1r1zf-0002-Match-SwiftPM-products-when-building-with-CMake.patch11patching file Sources/SwiftDriverExecution/CMakeLists.txt12Hunk #2 succeeded at 25 (offset 1 line).13patching file Sources/SwiftOptions/CMakeLists.txt14applying patch /nix/store/2qz035wccfccxfidlm7rd6bjd58xnkvr-0003-Search-PATH-for-subcommands.patch15patching file Sources/swift-driver/main.swift16Hunk #1 succeeded at 123 (offset 3 lines).configurePhase
17cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/share/doc/SwiftDriver -DCMAKE_INSTALL_INFODIR=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/lib -DCMAKE_STRIP=/nix/store/g8ygy4cj8gizpf47cpycr64fpkimchc8-clang-wrapper-21.1.8/bin/strip -DCMAKE_RANLIB=/nix/store/g8ygy4cj8gizpf47cpycr64fpkimchc8-clang-wrapper-21.1.8/bin/ranlib -DCMAKE_AR=/nix/store/g8ygy4cj8gizpf47cpycr64fpkimchc8-clang-wrapper-21.1.8/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0 -DCMAKE_Swift_COMPILER_TARGET=arm64-apple-macosx14.0 -DCMAKE_Swift_FLAGS=-module-cache-path\ /nix/var/nix/builds/nix-94030-3676907384/module-cache18-- The C compiler identification is Clang 21.1.819-- The CXX compiler identification is Clang 21.1.820-- The Swift compiler identification is Apple 6.421<unknown>:0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new'22<unknown>:0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new'23-- Detecting C compiler ABI info24-- Detecting C compiler ABI info - done25-- Check for working C compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/clang - skipped26-- Detecting C compile features27-- Detecting C compile features - done28-- Detecting CXX compiler ABI info29-- Detecting CXX compiler ABI info - done30-- Check for working CXX compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/clang++ - skipped31-- Detecting CXX compile features32-- Detecting CXX compile features - done33-- Check for working Swift compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swiftc34-- Check for working Swift compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swiftc - works35-- Configuring done (2.6s)36-- Generating done (0.1s)37CMake Warning (unused-cli):38 Manually-specified variables were not used by the project:3940 CMAKE_EXPORT_NO_PACKAGE_REGISTRY41 CMAKE_INSTALL_DOCDIR42 CMAKE_INSTALL_INCLUDEDIR43 CMAKE_INSTALL_INFODIR44 CMAKE_INSTALL_LIBEXECDIR45 CMAKE_INSTALL_LOCALEDIR46 CMAKE_INSTALL_MANDIR47 CMAKE_INSTALL_SBINDIR484950-- Build files have been written to: /nix/var/nix/builds/nix-94030-3676907384/source/build51cmake: enabled parallel building52cmake: enabled parallel installingbuildPhase
53build flags: -j1054[1/8] Building C object Sources/CSwiftScan/CMakeFiles/CSwiftScan.dir/CSwiftScanImpl.c.o55[2/8] Linking C static library lib/libCSwiftScan.a56warning: /nix/store/g8ygy4cj8gizpf47cpycr64fpkimchc8-clang-wrapper-21.1.8/bin/ranlib: archive library: lib/libCSwiftScan.a the table of contents is empty (no object file members in the library define global symbols)57[3/8] Linking Swift static library lib/libSwiftOptions.a58<unknown>:0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new'59[4/8] Linking Swift executable bin/swift-help60<unknown>:0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new'61[5/8] Linking Swift shared library lib/libSwiftDriver.dylib62<unknown>:0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new'63/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriver/SwiftScan/SwiftScanCAS.swift:15:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated]64 13 | //===----------------------------------------------------------------------===//65 14 | 66 15 | @_implementationOnly import CSwiftScan67 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated]68 16 | import struct Foundation.Data69 17 | 7071[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>72/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriver/SwiftScan/SwiftScan.swift:15:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated]73 13 | //===----------------------------------------------------------------------===//74 14 | 75 15 | @_implementationOnly import CSwiftScan76 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated]77 16 | 78 17 | #if os(Windows)7980[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>81/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriver/SwiftScan/DependencyGraphBuilder.swift:15:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated]82 13 | //===----------------------------------------------------------------------===//83 14 | 84 15 | @_implementationOnly import CSwiftScan85 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriver' [#ImplementationOnlyDeprecated]86 16 | 87 17 | internal extension SwiftScan {8889[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>90/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriver/Jobs/Job.swift:146:10: warning: 'extraEnvironment' is deprecated: use extraEnvironmentBlock [#DeprecatedDeclaration]91144 | self.compileInputOutputMap = inputOutputMap92145 | self.extraEnvironmentBlock = extraEnvironment93146 | self.extraEnvironment = self.extraEnvironmentBlock.legacyVars94 | `- warning: 'extraEnvironment' is deprecated: use extraEnvironmentBlock [#DeprecatedDeclaration]95147 | self.requiresInPlaceExecution = requiresInPlaceExecution96148 | self.supportsResponseFiles = tool.supportsResponseFiles9798[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>99[6/8] Linking Swift static library lib/libSwiftDriverExecution.a100<unknown>:0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new'101/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/llbuild.swift:26:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated]102 24 | // We either import the llbuildSwift shared library or the llbuild framework.103 25 | #if canImport(llbuildSwift)104 26 | @_implementationOnly import llbuildSwift105 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated]106 27 | #endif107 28 | @_implementationOnly import llbuild108109/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/llbuild.swift:28:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated]110 26 | @_implementationOnly import llbuildSwift111 27 | #endif112 28 | @_implementationOnly import llbuild113 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated]114 29 | 115 30 | /// An llbuild value.116117/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/llbuild.swift:60:37: warning: cannot use protocol 'BuildEngineDelegate' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only118 58 | }119 59 | 120 60 | fileprivate final class Delegate: BuildEngineDelegate {121 | `- warning: cannot use protocol 'BuildEngineDelegate' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only122 61 | let delegate: LLBuildEngineDelegate123 62 | var errors: [String] = []124125llbuildSwift.BuildEngineDelegate:1:17: note: protocol declared here1261 | public protocol BuildEngineDelegate {127 | `- note: protocol declared here1282 | func lookupRule(_ key: llbuildSwift.Key) -> any llbuildSwift.Rule1293 | func error(_ message: String)130131/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/llbuild.swift:139:20: warning: cannot use protocol 'Rule' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only132137 | 133138 | /// An individual build rule.134139 | class LLBuildRule: Rule, Task {135 | `- warning: cannot use protocol 'Rule' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only136140 | 137141 | /// The name of the rule.138139llbuildSwift.Rule:1:17: note: protocol declared here1401 | public protocol Rule {141 | `- note: protocol declared here1422 | func createTask() -> any llbuildSwift.Task1433 | func isResultValid(_ priorValue: llbuildSwift.Value) -> Bool144145/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/llbuild.swift:139:26: warning: cannot use protocol 'Task' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only146137 | 147138 | /// An individual build rule.148139 | class LLBuildRule: Rule, Task {149 | `- warning: cannot use protocol 'Task' in a conformance on a type not marked '@_implementationOnly'; 'llbuildSwift' has been imported as implementation-only150140 | 151141 | /// The name of the rule.152153llbuildSwift.Task:1:17: note: protocol declared here1541 | public protocol Task {155 | `- note: protocol declared here1562 | func start(_ engine: any llbuildSwift.TaskBuildEngine)1573 | func provideValue(_ engine: any llbuildSwift.TaskBuildEngine, inputID: Int, value: llbuildSwift.Value)158159[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>160/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/SwiftDriverExecutor.swift:108:92: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]161106 | 162107 | @discardableResult163108 | public func checkNonZeroExit(args: String..., environment: [String: String] = ProcessEnv.vars) throws -> String {164 | `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration]165109 | try Process.checkNonZeroExit(arguments: args, environmentBlock: ProcessEnvironmentBlock(environment))166110 | }167168[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>169/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/MultiJobExecutor.swift:37:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated]170 35 | // We either import the llbuildSwift shared library or the llbuild framework.171 36 | #if canImport(llbuildSwift)172 37 | @_implementationOnly import llbuildSwift173 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated]174 38 | @_implementationOnly import llbuild175 39 | #else176177/nix/var/nix/builds/nix-94030-3676907384/source/Sources/SwiftDriverExecution/MultiJobExecutor.swift:38:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated]178 36 | #if canImport(llbuildSwift)179 37 | @_implementationOnly import llbuildSwift180 38 | @_implementationOnly import llbuild181 | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftDriverExecution' [#ImplementationOnlyDeprecated]182 39 | #else183 40 | @_implementationOnly import llbuild184185[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>186[7/8] Linking Swift executable bin/swift-driver187<unknown>:0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new'188[8/8] Linking Swift executable bin/swift-build-sdk-interfaces189<unknown>:0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swift-driver-new'190buildPhase completed in 50 secondsinstallPhase
191install flags: -j10 install192[0/1] Install the project...193-- Install configuration: "Release"194-- Installing: /nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/lib/libSwiftDriver.dylib195-- Installing: /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/bin/swift-build-sdk-interfaces196-- Installing: /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/bin/swift-driver197-- Installing: /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/bin/swift-help198'lib/libSwiftOptions.a' -> '/nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/lib/libSwiftOptions.a'199'swift/SwiftDriver.swiftmodule' -> '/nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev/lib/swift/macosx/SwiftDriver.swiftmodule'200'swift/SwiftDriverExecution.swiftmodule' -> '/nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev/lib/swift/macosx/SwiftDriverExecution.swiftmodule'201'swift/SwiftOptions.swiftmodule' -> '/nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev/lib/swift/macosx/SwiftOptions.swiftmodule'fixupPhase
202fixing stdlib rpaths in /nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev203checking for references to /nix/var/nix/builds/nix-94030-3676907384/ in /nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev...204patching script interpreter paths in /nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev205stripping (with command strip and flags -S) in /nix/store/4rnj8x317wb15bbr2zrrb5cbr8kmfxma-swift-driver-6.4.0-dev/lib206fixing stdlib rpaths in /nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib207checking for references to /nix/var/nix/builds/nix-94030-3676907384/ in /nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib...208patching script interpreter paths in /nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib209stripping (with command strip and flags -S) in /nix/store/iafqq2fizgg07mj3hpgvmfigdnwghn1h-swift-driver-6.4.0-lib/lib210fixing stdlib rpaths in /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0211checking for references to /nix/var/nix/builds/nix-94030-3676907384/ in /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0...212patching script interpreter paths in /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0213stripping (with command strip and flags -S) in /nix/store/x2vbanj3warw4q18mkp3ryly9gd4cy9f-swift-driver-6.4.0/bin