Open
Description
I'm attempting to build a toolchain locally from swift main
. I seem to be running into this warning-as-error throwing from swift-package-init-exec.md
:
# .---command stderr------------
# | /Users/rick/Developer/swift-project-fork/swift-integration-tests/swift-package-init-exec.md:44:34: error: CHECK-NO-WARNINGS-OR-ERRORS-NOT: excluded string found in input
# | CHECK-NO-WARNINGS-OR-ERRORS-NOT: warning
# | ^
# | /Users/rick/Developer/swift-project-fork/build/buildbot_osx/none-swift_package_sandbox_merged-hosts/tests/Output/swift-package-init-exec.md.tmp.build-log:8:5: note: found here
# | ld: warning: building for macOS-11.0, but linking with dylib '/usr/lib/swift/libswiftCore.dylib' which was built for newer version 13.0
# | ^~~~~~~
# |
# | Input file: /Users/rick/Developer/swift-project-fork/build/buildbot_osx/none-swift_package_sandbox_merged-hosts/tests/Output/swift-package-init-exec.md.tmp.build-log
# | Check file: /Users/rick/Developer/swift-project-fork/swift-integration-tests/swift-package-init-exec.md
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: Building for debugging...
# | 2: [0/6] Write sources
# | 3: [1/6] Write Project-entitlement.plist
# | 4: [2/6] Write swift-version-7231A30591E02D1F.txt
# | 5: [4/8] Emitting module Project
# | 6: [5/8] Compiling Project main.swift
# | 7: [5/8] Write Objects.LinkFileList
# | 8: ld: warning: building for macOS-11.0, but linking with dylib '/usr/lib/swift/libswiftCore.dylib' which was built for newer version 13.0
# | not:44 !~~~~~~ error: no match expected
# | 9: ld: warning: building for macOS-11.0, but linking with dylib '/usr/lib/swift/libswiftSwiftOnoneSupport.dylib' which was built for newer version 13.0
# | 10: [6/8] Linking Project
# | 11: [7/8] Applying Project
# | 12: Build complete! (2.11s)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
repro
- macOS 15.5 (24F74)
- set command-line tools to xcode 26.0 beta
- checkout swift
main
$ utils/build-toolchain com.northbronson --macos-only
Metadata
Metadata
Assignees
Labels
No labels