Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot dump raw symbol graph for _NIODataStructures on macOS #211

Open
tayloraswift opened this issue May 7, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@tayloraswift
Copy link
Owner

tayloraswift commented May 7, 2024

for some reason, swift symbolgraph-extract is choking on swift-nio at 2.65.0

swift symbolgraph-extract -module-name _NIODataStructures -target arm64-apple-macosx14.0 -minimum-access-level internal -output-dir .testing/artifacts -include-spi-symbols -skip-inherited-docs -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -emit-extension-block-symbols -pretty-print -I /Users/runner/work/swift-unidoc/swift-unidoc/.testing/checkouts/swift-nio/.build.ssgc/debug -I /Users/runner/work/swift-unidoc/swift-unidoc/.testing/checkouts/swift-nio/.build.ssgc/checkouts/swift-atomics/Sources/_AtomicsShims/include -I /Users/runner/work/swift-unidoc/swift-unidoc/.testing/checkouts/swift-nio/.build.ssgc/checkouts/swift-system/Sources/CSystem/include -I /Users/runner/work/swift-unidoc/swift-unidoc/.testing/checkouts/swift-nio/Sources/CNIOAtomics/include -I /Users/runner/work/swift-unidoc/swift-unidoc/.testing/checkouts/swift-nio/Sources/CNIOAtomics/src -I /Users/runner/work/swift-unidoc/swift-unidoc/.testing/checkouts/swift-nio/Sources/CNIODarwin/include -I /Users/runner/work/swift-unidoc/swift-unidoc/.testing/checkouts/swift-nio/Sources/CNIOLLHTTP/include -I /Users/runner/work/swift-unidoc/swift-unidoc/.testing/checkouts/swift-nio/Sources/CNIOLinux/include -I /Users/runner/work/swift-unidoc/swift-unidoc/.testing/checkouts/swift-nio/Sources/CNIOSHA1/include -I /Users/runner/work/swift-unidoc/swift-unidoc/.testing/checkouts/swift-nio/Sources/CNIOWindows/include

even weirder, it doesn’t print any error messages. i suspect we are running into a Swift compiler bug :(

@tayloraswift tayloraswift added the bug Something isn't working label May 7, 2024
@tayloraswift
Copy link
Owner Author

tayloraswift commented May 8, 2024

okay, so this is a confirmed Swift compiler crash; yet another manifestation of swiftlang/swift#68767

Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some Weird same-type requirements?
Interface type: some zsh: illegal hardware instruction  swift symbolgraph-extract -module-name _NIODataStructures -target   internal 
Guest@Diannas-Mac-mini swift-unidoc % 
Guest@Diannas-Mac-mini swift-unidoc % 
Guest@Diannas-Mac-mini swift-unidoc % echo $?
132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant