Skip to content

[Source compatibility suite] Alamofire and kommander projects are failing to build #80935

Open
@xedin

Description

@xedin

Description

First failing build - https://ci.swift.org/job/swift-main-source-compat-suite-debug/1089

Same error in all of the project configurations:

decl cannot be 'open'
(accessor_decl decl_context=0x7f9cfd33f760 <anonymous @ 0x7f9cfd40c700> interface_type="(OperationQueue.Type) -> () -> Int" access=open final static get for="defaultMaxConcurrentOperationCount"
  (final_attr implicit)
  (transparent_attr implicit)
  (parameter "self" decl_context=0x7f9cfd40c6f8 interface_type="OperationQueue.Type") result="Int" thrown_type="<null>"
  (parameter_list)
  (brace_stmt implicit
    (return_stmt implicit
      (integer_literal_expr implicit type="Int" negative value="1" builtin_initializer="Swift.(file).Int.init(_builtinIntegerLiteral:)" initializer="**NULL**"))))

1.	Apple Swift version 6.2-dev (LLVM 0c697cbccafd2de, Swift f31c89a73e3f14e)
2.	Compiling with effective version 5.10
3.	While verifying AccessorDecl getter for defaultMaxConcurrentOperationCount (in module 'Foundation')
4.	While verifying FuncDecl getter for defaultMaxConcurrentOperationCount (in module 'Foundation')
5.	While verifying AbstractFunctionDecl getter for defaultMaxConcurrentOperationCount (in module 'Foundation')
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x0000000115c83858 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 40
1  swift-frontend           0x0000000115c818f9 llvm::sys::RunSignalHandlers() + 233
2  swift-frontend           0x0000000115c83ec6 SignalHandler(int, __siginfo*, void*) + 278
3  libsystem_platform.dylib 0x00007ff81aab9e9d _sigtramp + 29
4  libsystem_platform.dylib 000000000000000000 _sigtramp + 18446603370133479808
5  libsystem_c.dylib        0x00007ff81a9a5b19 abort + 126
6  swift-frontend           0x000000011631a170 (anonymous namespace)::Verifier::verifyChecked(swift::ValueDecl*) (.cold.5) + 0
7  swift-frontend           0x0000000110820bd0 (anonymous namespace)::Verifier::verifyChecked(swift::ValueDecl*) + 288
8  swift-frontend           0x0000000110821b28 (anonymous namespace)::Verifier::verifyChecked(swift::AbstractFunctionDecl*) + 1000
9  swift-frontend           0x0000000110821d6c (anonymous namespace)::Verifier::verifyChecked(swift::FuncDecl*) + 316
10 swift-frontend           0x000000011080e5e0 (anonymous namespace)::Verifier::walkToDeclPost(swift::Decl*) + 1472
11 swift-frontend           0x0000000110822c99 (anonymous namespace)::Traversal::doIt(swift::Decl*) + 249
12 swift-frontend           0x0000000110826088 (anonymous namespace)::Traversal::visit(swift::Decl*) + 888
13 swift-frontend           0x0000000110822c89 (anonymous namespace)::Traversal::doIt(swift::Decl*) + 233
14 swift-frontend           0x0000000110822b8b swift::Decl::walk(swift::ASTWalker&) + 27
15 swift-frontend           0x000000011080b4c1 swift::verify(swift::Decl*) + 209
16 swift-frontend           0x0000000110567f09 swift::ClangImporter::verifyAllModules() + 553
17 swift-frontend           0x0000000110733c4a swift::ASTContext::verifyAllLoadedModules() const + 90
18 swift-frontend           0x000000010ef1a68f performEndOfPipelineActions(swift::CompilerInstance&) + 719
19 swift-frontend           0x000000010ef16dee performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 974
20 swift-frontend           0x000000010ef163b9 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2697
21 swift-frontend           0x000000010ec83c8c swift::mainEntry(int, char const**) + 3356
22 dyld                     0x00007ff81a6f72cd start + 1805

Reproduction

Expected behavior

Projects build successfully

Environment

source compatibility suite with Apple Swift version 6.2-dev (LLVM 0c697cbccafd2de, Swift f31c89a73e3f14e)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.clang importerArea → compiler: The clang importercompilerThe Swift compiler itselfsource compatibility suiteFlag: An issue that surfaced in the source compatibility suiteverifier

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions