Skip to content

Two ui tests fail with warning on MacOS #145543

@Shunpoco

Description

@Shunpoco

I found two ui tests fail on MacOS (Apple M3, Sonoma 14.7.6):

Code

I tried this code:

  • tests/ui/symbol-names/verbose.rs
  • tests/ui/type/issue-94187-verbose-type-name.rs#verbose

I expected to see this happen: They are expected to pass without any warning

Instead, this happened: actually they fail with such warning:

--- stderr -------------------------------
warning: output of `xcrun` while finding MacOSX.sdk
   |
   = note: xcrun: note: database key is: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk|/Applications/Xcode.app/Contents/Developer|<manpath>
           xcrun: note: lookup resolved in '/var/folders/h2/83s4m1113fj8_crb5mhy0qyc0000gn/T/xcrun_db' : '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:'

warning: 1 warning emitted
------------------------------------------

Version with regression

I found it in the current HEAD of master (425a9c0)

I also bisected this regression and found that changes in #131477 generated it.

@rustbot modify labels: +regression-from-stable-to-nighly -regression-untriaged

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.O-macosOperating system: macOSP-mediumMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions