mac02: building phgnn7ic5cp4m7pcz5ddsc8dgd3lvmi5-swift-foundation-6.4.0.drv Running phase: unpackPhase unpacking source archive /nix/store/qjk358wsj889kl7pvi39jw2zxsqyvfnc-source source root is source Running phase: patchPhase applying patch /nix/store/rm3y2kpcz08wczcsx2ff4f6x6h23ghrh-0001-gnu-install-dirs.patch patching file cmake/modules/SwiftFoundationSwiftSupport.cmake applying patch /nix/store/9g00hwi2gjkfkq7f80v7gqhy0g68q5fq-0002-Devendor-SwiftFoundationICU.patch patching file CMakeLists.txt applying patch /nix/store/msm0rwz6lp57vwr2am8rcy6l1b8mhynp-0003-Add-missing-imports.patch patching file Sources/FoundationEssentials/Date.swift patching file Sources/FoundationEssentials/FileManager/FileManager+Basics.swift patching file Sources/FoundationEssentials/URL/URL.swift patching file Sources/FoundationEssentials/URL/URL_Impl.swift patching file Sources/FoundationEssentials/URL/URL_Swift.swift removing unhelpful rpath settings from 'Sources/FoundationEssentials/CMakeLists.txt' removing unhelpful rpath settings from 'Sources/FoundationMacros/CMakeLists.txt' removing unhelpful rpath settings from 'Sources/FoundationInternationalization/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/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0/share/doc/SwiftFoundation -DCMAKE_INSTALL_INFODIR=/nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-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/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0 -DBUILD_SHARED_LIBS:BOOL=TRUE -D_SwiftCollections_SourceDIR:STRING=/nix/store/rw8ksxdil44qlnm8177lmbqh54nq61kf-source -DCMAKE_Swift_COMPILER_TARGET=arm64-apple-macosx14.0 -DCMAKE_Swift_FLAGS=-module-cache-path\ /nix/var/nix/builds/nix-76111-2539654648/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/pzsh4z8iv15b87ixywkmccfz60mdy6pz-swift-6.4.0/bin/swift-driver-new' :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/pzsh4z8iv15b87ixywkmccfz60mdy6pz-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/pzsh4z8iv15b87ixywkmccfz60mdy6pz-swift-6.4.0/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Check for working Swift compiler: /nix/store/pzsh4z8iv15b87ixywkmccfz60mdy6pz-swift-6.4.0/bin/swiftc -- Check for working Swift compiler: /nix/store/pzsh4z8iv15b87ixywkmccfz60mdy6pz-swift-6.4.0/bin/swiftc - works -- _SwiftCollections_SourceDIR provided, using swift-collections checkout at /nix/store/rw8ksxdil44qlnm8177lmbqh54nq61kf-source :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/pzsh4z8iv15b87ixywkmccfz60mdy6pz-swift-6.4.0/bin/swift-driver-new' -- SwiftFoundation_MACRO not provided, building Foundation macros locally for host -- SwiftSyntax_DIR provided, using swift-syntax from /nix/store/p9fsyvalfrdql9759nzm6dq51m3az0lv-swift-syntax-6.4.0/lib/cmake/SwiftSyntax :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/pzsh4z8iv15b87ixywkmccfz60mdy6pz-swift-6.4.0/bin/swift-driver-new' CMake Warning (policy) at cmake/modules/SwiftFoundationSwiftSupport.cmake:47 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run "cmake --help-policy CMP0177" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): Sources/FoundationEssentials/CMakeLists.txt:122 (_swift_foundation_install_target) This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at cmake/modules/SwiftFoundationSwiftSupport.cmake:50 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run "cmake --help-policy CMP0177" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): Sources/FoundationEssentials/CMakeLists.txt:122 (_swift_foundation_install_target) This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at cmake/modules/SwiftFoundationSwiftSupport.cmake:47 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run "cmake --help-policy CMP0177" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): Sources/FoundationInternationalization/CMakeLists.txt:62 (_swift_foundation_install_target) This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at cmake/modules/SwiftFoundationSwiftSupport.cmake:50 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run "cmake --help-policy CMP0177" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): Sources/FoundationInternationalization/CMakeLists.txt:62 (_swift_foundation_install_target) This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Configuring done (6.4s) -- Generating done (0.6s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /nix/var/nix/builds/nix-76111-2539654648/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j10 FoundationMacros [1/2] Building Swift Module 'FoundationMacros' with 3 sources :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/pzsh4z8iv15b87ixywkmccfz60mdy6pz-swift-6.4.0/bin/swift-driver-new' /nix/var/nix/builds/nix-76111-2539654648/source/Sources/FoundationMacros/PredicateMacro.swift:394:13: warning: switch must be exhaustive 392 | var result = ExprSyntax(base) 393 | for item in components { 394 | switch item.component { | |- warning: switch must be exhaustive | `- note: add missing case: '.method(_)' 395 | case .property(let prop): 396 | result = ExprSyntax(MemberAccessExprSyntax(base: result, declName: prop.declName)) [2/2] Linking Swift shared library lib/libFoundationMacros.dylib :0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: '/nix/store/pzsh4z8iv15b87ixywkmccfz60mdy6pz-swift-6.4.0/bin/swift-driver-new' Running phase: installPhase Running phase: fixupPhase fixing stdlib rpaths in /nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0 checking for references to /nix/var/nix/builds/nix-76111-2539654648/ in /nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0... patching script interpreter paths in /nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0 stripping (with command strip and flags -S) in /nix/store/a2if0vrcghdcd2qjbjzk2bbxz85mfcqw-swift-foundation-6.4.0/lib