mac02: building byn80p4d704kka72yhcrg9fjqw8ic1x3-swift-tools-support-core-6.4.0.drv Running phase: unpackPhase unpacking source archive /nix/store/9jn4xwq7j1ynni72r3qs5amds82jbs0a-source source root is source Running phase: patchPhase applying patch /nix/store/7vpbfgd5l55vkqqlgja0k4l05f8jh422-0001-build-SwiftToolsSupport.patch patching file Sources/TSCBasic/CMakeLists.txt patching file Sources/TSCUtility/CMakeLists.txt patching file Sources/TSCclibc/CMakeLists.txt Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase cmake 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/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/share/doc/SwiftTSC -DCMAKE_INSTALL_INFODIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/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/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0 -DCMAKE_Swift_COMPILER_TARGET=arm64-apple-macosx14.0 -DCMAKE_Swift_FLAGS=-module-cache-path\ /nix/var/nix/builds/nix-85325-1306481934/module-cache -- The C compiler identification is Clang 21.1.8 -- The Swift compiler identification is Apple 6.4 :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' :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' -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Check for working Swift compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swiftc -- Check for working Swift compiler: /nix/store/7s9dhvsijh1r9apw6mf14snygfkrjr7w-swift-6.4.0/bin/swiftc - works -- Configuring done (2.7s) -- Generating done (0.0s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_CXX_COMPILER CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_SBINDIR -- Build files have been written to: /nix/var/nix/builds/nix-85325-1306481934/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j10 [1/7] Building C object Sources/TSCclibc/CMakeFiles/TSCclibc.dir/libc.c.o [2/7] Building C object Sources/TSCclibc/CMakeFiles/TSCclibc.dir/process.c.o [3/7] Building C object Sources/TSCclibc/CMakeFiles/TSCclibc.dir/strerror.c.o [4/7] Linking C static library lib/libTSCclibc.a [5/7] Linking Swift static library lib/libTSCLibc.a :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' [6/7] Linking Swift static library lib/libTSCBasic.a :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' /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/FileInfo.swift:66:1: warning: extension declares a conformance of imported type 'FileAttributeType' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future 64 | } 65 | 66 | extension FileAttributeType: Codable {} | |- warning: extension declares a conformance of imported type 'FileAttributeType' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future | `- note: add '@retroactive' to silence this warning 67 | /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/TerminalController.swift:116:23: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration] 114 | public static func terminalType(_ stream: LocalFileOutputByteStream) -> TerminalType { 115 | #if !os(Windows) 116 | if ProcessEnv.vars["TERM"] == "dumb" { | `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration] 117 | return .dumb 118 | } /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/TerminalController.swift:138:37: warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration] 136 | #else 137 | // Try to get from environment. 138 | if let columns = ProcessEnv.vars["COLUMNS"], let width = Int(columns) { | `- warning: 'vars' is deprecated: Use `block` instead [#DeprecatedDeclaration] 139 | return width 140 | } [#DeprecatedDeclaration]: /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/misc.swift:11:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCBasic' [#ImplementationOnlyDeprecated] 9 | */ 10 | 11 | @_implementationOnly import TSCclibc | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCBasic' [#ImplementationOnlyDeprecated] 12 | import TSCLibc 13 | import Foundation [#ImplementationOnlyDeprecated]: /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/Process/Process.swift:20:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCBasic' [#ImplementationOnlyDeprecated] 18 | #endif 19 | 20 | @_implementationOnly import TSCclibc | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCBasic' [#ImplementationOnlyDeprecated] 21 | import TSCLibc 22 | import Dispatch /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/Process/Process.swift:388:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration] 386 | self.outputRedirection = outputRedirection 387 | self.startNewProcessGroup = startNewProcessGroup 388 | self.loggingHandler = loggingHandler ?? Process.loggingHandler | `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration] 389 | } 390 | /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/Process/Process.swift:429:57: warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration] 427 | self.outputRedirection = outputRedirection 428 | self.startNewProcessGroup = startNewProcessGroup 429 | self.loggingHandler = loggingHandler ?? Process.loggingHandler | `- warning: 'loggingHandler' is deprecated: use instance level `loggingHandler` passed via `init` instead of setting one globally. [#DeprecatedDeclaration] 430 | } 431 | /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/Process/Process.swift:744:32: warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration] 742 | } 743 | let argv = CStringArray(resolvedArgs) 744 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" })) | `- warning: 'environment' is deprecated: use `environmentBlock` instead [#DeprecatedDeclaration] 745 | let rv = SPM_posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray) 746 | [#DeprecatedDeclaration]: [#ImplementationOnlyDeprecated]: /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCBasic/FileSystem.swift:95:44: warning: expression implicitly coerced from 'String?' to 'Any' 93 | extension FileSystemError: CustomNSError { 94 | public var errorUserInfo: [String : Any] { 95 | return [NSLocalizedDescriptionKey: self.localizedMessage] | | |- note: provide a default value to avoid this warning | | |- note: force-unwrap the value to avoid this warning | | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning | `- warning: expression implicitly coerced from 'String?' to 'Any' 96 | } 97 | } [7/7] Linking Swift shared library lib/libSwiftToolsSupport.dylib :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' /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/FSWatch.swift:832:13: warning: 'FSEventStreamScheduleWithRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration] 830 | self.runLoop = CFRunLoopGetCurrent() 831 | // Schedule the run loop. 832 | FSEventStreamScheduleWithRunLoop( | `- warning: 'FSEventStreamScheduleWithRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration] 833 | self.stream, 834 | CFRunLoopGetCurrent(), /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/FSWatch.swift:839:13: warning: 'FSEventStreamScheduleWithRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration] 837 | 838 | // Start the stream. 839 | FSEventStreamScheduleWithRunLoop(self.stream, CFRunLoopGetCurrent(), CFRunLoopMode.defaultMode.rawValue) | `- warning: 'FSEventStreamScheduleWithRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration] 840 | FSEventStreamStart(self.stream) 841 | CFRunLoopRun() /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/FSWatch.swift:845:13: warning: 'FSEventStreamUnscheduleFromRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration] 843 | // Perform cleanup. 844 | FSEventStreamStop(self.stream) 845 | FSEventStreamUnscheduleFromRunLoop(self.stream, CFRunLoopGetCurrent(), CFRunLoopMode.defaultMode.rawValue) | `- warning: 'FSEventStreamUnscheduleFromRunLoop' was deprecated in macOS 13.0: Use FSEventStreamSetDispatchQueue instead. [#DeprecatedDeclaration] 846 | FSEventStreamInvalidate(self.stream) 847 | FSEventStreamRelease(self.stream) [#DeprecatedDeclaration]: /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/Netrc.swift:156:5: warning: @frozen has no effect on non-public enums 154 | @available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *) 155 | fileprivate enum RegexUtil { 156 | @frozen fileprivate enum Token: String, CaseIterable { | `- warning: @frozen has no effect on non-public enums 157 | case machine, login, password, account, macdef, `default` 158 | /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/Versioning.swift:11:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCUtility' [#ImplementationOnlyDeprecated] 9 | */ 10 | 11 | @_implementationOnly import TSCclibc | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCUtility' [#ImplementationOnlyDeprecated] 12 | 13 | // FIXME: deprecate 2/2021, remove once clients transitioned [#ImplementationOnlyDeprecated]: /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/IndexStore.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCUtility' [#ImplementationOnlyDeprecated] 10 | 11 | import TSCBasic 12 | @_implementationOnly import TSCclibc | `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'TSCUtility' [#ImplementationOnlyDeprecated] 13 | 14 | public final class IndexStore { /nix/var/nix/builds/nix-85325-1306481934/source/Sources/TSCUtility/IndexStore.swift:395:16: warning: 'init(bytesNoCopy:length:encoding:freeWhenDone:)' was deprecated in macOS 13: String does not support no-copy initialization [#DeprecatedDeclaration] 393 | extension indexstore_string_ref_t { 394 | fileprivate var str: String { 395 | return String( | `- warning: 'init(bytesNoCopy:length:encoding:freeWhenDone:)' was deprecated in macOS 13: String does not support no-copy initialization [#DeprecatedDeclaration] 396 | bytesNoCopy: UnsafeMutableRawPointer(mutating: data), 397 | length: length, [#DeprecatedDeclaration]: [#ImplementationOnlyDeprecated]: buildPhase completed in 39 seconds Running phase: installPhase install flags: -j10 install [0/1] Install the project... -- Install configuration: "Release" -- Installing: /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/lib/libTSCclibc.a -- Installing: /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/lib/libSwiftToolsSupport.dylib 'swift/TSCBasic.swiftmodule' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/lib/swift/macosx/TSCBasic.swiftmodule' 'swift/TSCLibc.swiftmodule' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/lib/swift/macosx/TSCLibc.swiftmodule' 'swift/TSCUtility.swiftmodule' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/lib/swift/macosx/TSCUtility.swiftmodule' '../Sources/TSCclibc/include/TSCclibc.h' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include/TSCclibc.h' '../Sources/TSCclibc/include/indexstore_functions.h' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include/indexstore_functions.h' '../Sources/TSCclibc/include/module.modulemap' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include/module.modulemap' '../Sources/TSCclibc/include/process.h' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include/process.h' '../Sources/TSCclibc/include/strerror.h' -> '/nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/include/strerror.h' Running phase: fixupPhase fixing stdlib rpaths in /nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev checking for references to /nix/var/nix/builds/nix-85325-1306481934/ in /nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev... patching script interpreter paths in /nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev stripping (with command strip and flags -S) in /nix/store/73dhb9i7a9dzy40aklwnwg08brq83w85-swift-tools-support-core-6.4.0-dev/lib fixing stdlib rpaths in /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0 checking for references to /nix/var/nix/builds/nix-85325-1306481934/ in /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0... patching script interpreter paths in /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0 stripping (with command strip and flags -S) in /nix/store/s27p9gdbx20dl47bxzkx43cdhwljr390-swift-tools-support-core-6.4.0/lib