Skip to content

syclcompat/warnings_deprecated.cpp failing in nightly #20218

@sarnex

Description

@sarnex

Describe the bug

FAIL: SYCL :: syclcompat/warnings_deprecated.cpp (866 of 903)
******************** TEST 'SYCL :: syclcompat/warnings_deprecated.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
/__w/llvm/llvm/build/bin/clang --driver-mode=g++  -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx90a -fsycl -fsyntax-only -Xclang -verify -Xclang -verify-ignore-unexpected=note,warning /__w/llvm/llvm/src/sycl/test/syclcompat/warnings_deprecated.cpp -Wall -Wextra
# executed command: /__w/llvm/llvm/build/bin/clang --driver-mode=g++ -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx90a -fsycl -fsyntax-only -Xclang -verify -Xclang -verify-ignore-unexpected=note,warning /__w/llvm/llvm/src/sycl/test/syclcompat/warnings_deprecated.cpp -Wall -Wextra
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx90a' [-Wunused-command-line-argument]
# | error: 'expected-error' diagnostics seen but not expected: 
# |   File /__w/llvm/llvm/build/bin/../include/syclcompat/traits.hpp Line 129: no template named 'tuple_size_v' in namespace 'std'; did you mean 'tuple_size'?
# |   File /__w/llvm/llvm/build/bin/../include/syclcompat/traits.hpp Line 129: expected '(' for function-style cast or type construction
# |   File /__w/llvm/llvm/build/bin/../include/syclcompat/traits.hpp Line 160: no template named 'tuple_size_v' in namespace 'std'; did you mean 'tuple_size'?
# |   File /__w/llvm/llvm/build/bin/../include/syclcompat/traits.hpp Line 159: use 'template' keyword to treat 'value' as a dependent template name
# |   File /__w/llvm/llvm/build/bin/../include/syclcompat/traits.hpp Line 160: expected '>'
# |   File /__w/llvm/llvm/src/sycl/test/syclcompat/warnings_deprecated.cpp Line 46: no viable constructor or deduction guide for deduction of template arguments of 'syclcompat::experimental::launch_policy'
# | 6 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

https://github.com/intel/llvm/actions/runs/17995851108/job/51195110339

The first fail is in the nightly which ran on 9/25/25 at 3 AM GMT, and the nightly from the previous day which ran at 9/24/25 3AM GMT didn't have this failure, so that should bound the possible guilty commits, but I don't see one that's obviously guilty and I'm too busy to bisect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedsyclcompatIssues related to SYCLcompat

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions