Skip to content

CodeQL Analysis error for Swift 6 on ubuntu #19176

Closed
@soumyamahunt

Description

@soumyamahunt

Description of the issue

On running CodeQL analysis for Swift I am getting following error:

/opt/hostedtoolcache/CodeQL/2.20.7/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14576 /home/runner/work/_temp/codeql_databases/swift
CodeQL detected code written in Swift but could not process any of it. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build .
Error: Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.20.7/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14576 /home/runner/work/_temp/codeql_databases/swift". Exit code was 32 and last log line was: CodeQL detected code written in Swift but could not process any of it. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.

Full workflow log: https://github.com/SwiftyLab/MetaCodable/actions/runs/14184546841/job/39737412153#step:6:59

Any fix for this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions