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

Many errors reported on valid source #1361

Closed
dabrahams opened this issue Aug 22, 2023 · 2 comments
Closed

Many errors reported on valid source #1361

dabrahams opened this issue Aug 22, 2023 · 2 comments
Labels

Comments

@dabrahams
Copy link

If you take a look at the details of this run, jazzy (or something it uses) is reporting many errors that I have no clue how to address. In fact, DocC extraction completes cleanly so I'm guessing these reports represent problems in jazzy. If they're really not for user consumption at all, perhaps jazzy should swallow them.

@johnfairh
Copy link
Collaborator

I haven't seen these before. They're coming from sourcekit. I don't know what exactly it is trying to say - usually the messages on this channel are genuinely useful compiler errors. The message saying the 'cursor info' query is failing causes the 'has no USR' message down the line (that one is from jazzy itself) which in turn means that some symbols' documentation is missing.

I think I set up this project correctly and it looks to go well on latest Xcode 15b6 / Intel / macOS 13.4.1, eg:

; jazzy --module Driver --min-acl private
Running swift build
Parsing Diagnostic+Rendering.swift (1/7)
Parsing EnvironmentError.swift (2/7)
Parsing HyloCommand.swift (3/7)
Parsing ModulePassList.swift (4/7)
Parsing OutputFileHandle.swift (5/7)
Parsing ProcessInfo+Extensions.swift (6/7)
Parsing SourceLine+Extensions.swift (7/7)
65% documentation coverage with 35 undocumented symbols
included 102 private, fileprivate, internal, package, public, or open symbols
building site
building search index
jam out ♪♫ to your fresh new docs in `Docs`

So I am inclined to put this down to something fixed in Swift since the CI stack's versions.

@johnfairh johnfairh added the help label Aug 25, 2023
@johnfairh
Copy link
Collaborator

Closing, answered/inactive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants