Skip to content

LLDB test Swift/expression-diagnostics fails on Windows #9620

@weliveindetail

Description

@weliveindetail

This test was added with 8fed7dc6aa10 and we see failures since the rebranch (switching to swiftlang:stable/20240723).

SwiftCI error message:

# RUN: at line 3
T:/5/bin/swiftc -module-cache-path T:/5/.\lldb-test-build.noindex\module-cache-clang -g C:\Users\swift-ci\jenkins\workspace\swift-PR-windows\llvm-project\lldb\test\Shell\Swift/Inputs/Global.swift
# executed command: T:/5/bin/swiftc -module-cache-path 'T:/5/.\lldb-test-build.noindex\module-cache-clang' -g 'C:\Users\swift-ci\jenkins\workspace\swift-PR-windows\llvm-project\lldb\test\Shell\Swift/Inputs/Global.swift'
# .---command stderr------------
# | <unknown>:0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: 'C:\Users\swift-ci\jenkins\workspace\swift-PR-windows\build\5\bin\swift-driver-new.exe'
# | <unknown>:0: error: unable to load standard library for target 'x86_64-unknown-windows-msvc'
# `-----------------------------
# error: command failed with exit status: 1

Error message on my local machine:

S:/b/5/bin/swiftc -module-cache-path S:/b/5/.\lldb-test-build.noindex\module-cache-clang -g S:\SourceCache\llvm-project\lldb\test\Shell\Swift/Inputs/Global.swift
# executed command: S:/b/5/bin/swiftc -module-cache-path 'S:/b/5/.\lldb-test-build.noindex\module-cache-clang' -g 'S:\SourceCache\llvm-project\lldb\test\Shell\Swift/Inputs/Global.swift'
# .---command stderr------------
# | <unknown>:0: warning: using (deprecated) legacy driver, Swift installation does not contain swift-driver at: 'S:\b\5\bin\swift-driver-new.exe'
# | clang: error: no such file or directory: 'S:\b\5\lib\swift\windows\x86_64\swiftrt.obj'
# | <unknown>:0: error: link command failed with exit code 1 (use -v to see invocation)
# `-----------------------------
# error: command failed with exit status: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions