Bug#1086320: swiftlang: FTBFS: error: no member named 'regsitry' in 'UpdatingListIterator<IteratorBase, IsReverse, Registry>'

Santiago Vila sanvila at debian.org
Tue Oct 29 20:05:56 GMT 2024


Package: src:swiftlang
Version: 5.7.3-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary
    dh_update_autotools_config
	cp -an --reflink=auto llvm-project/llvm/cmake/config.guess debian/.debhelper/bucket/files/934660974667cc17e2edaf64c96ca101764d90e0d22a56d27a6a7acc36489802.tmp
	mv debian/.debhelper/bucket/files/934660974667cc17e2edaf64c96ca101764d90e0d22a56d27a6a7acc36489802.tmp debian/.debhelper/bucket/files/934660974667cc17e2edaf64c96ca101764d90e0d22a56d27a6a7acc36489802
	cp -f /usr/share/misc/config.guess ./llvm-project/llvm/cmake/config.guess
    dh_autoreconf
    debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p /<<PKGBUILDDIR>>/binforpython
if test ! -f /<<PKGBUILDDIR>>/binforpython/python; then \
	ln -s /usr/bin/python3 /<<PKGBUILDDIR>>/binforpython/python; \
fi
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

[... snipped ...]

    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/EpilogueARCAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/EpilogueARCAnalysis.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/AliasAnalysis.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/ApplySite.h:26:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/EpilogueARCAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/EpilogueARCAnalysis.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/AliasAnalysis.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/ApplySite.h:26:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[318/1400][ 22%][1123.181s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/FunctionOrder.cpp.o
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/FunctionOrder.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/FunctionOrder.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Builtins.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/FunctionOrder.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/FunctionOrder.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/FunctionOrder.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/FunctionOrder.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[319/1400][ 22%][1127.400s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/IVAnalysis.cpp.o
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/IVAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/IVAnalysis.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILArgument.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILArgumentConvention.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/IVAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/IVAnalysis.h:19:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Utils/SCCVisitor.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/CFG.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/IVAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/IVAnalysis.h:19:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Utils/SCCVisitor.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/CFG.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[320/1400][ 22%][1133.322s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/LoopAnalysis.cpp.o
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/LoopAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/Dominance.h:23:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/CFG.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Builtins.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/LoopAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/Dominance.h:23:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/CFG.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/LoopAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/Dominance.h:23:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/CFG.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[321/1400][ 22%][1140.814s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/LoopRegionAnalysis.cpp.o
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/LoopRegionAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/LoopRegionAnalysis.h:123:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/PostOrderAnalysis.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/CFG.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Builtins.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/LoopRegionAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/LoopRegionAnalysis.h:123:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/PostOrderAnalysis.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/CFG.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/LoopRegionAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/LoopRegionAnalysis.h:123:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/PostOrderAnalysis.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/CFG.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[322/1400][ 23%][1146.813s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/MemoryBehavior.cpp.o
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/MemoryBehavior.cpp:15:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/InstructionUtils.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Builtins.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/MemoryBehavior.cpp:15:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/InstructionUtils.h:17:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/MemoryBehavior.cpp:15:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/InstructionUtils.h:17:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[323/1400][ 23%][1150.790s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/NonLocalAccessBlockAnalysis.cpp.o
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/NonLocalAccessBlockAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Builtins.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/NonLocalAccessBlockAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/NonLocalAccessBlockAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[324/1400][ 23%][1155.769s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/PassManagerVerifierAnalysis.cpp.o
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/PassManagerVerifierAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/PassManagerVerifierAnalysis.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Builtins.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/PassManagerVerifierAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/PassManagerVerifierAnalysis.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/PassManagerVerifierAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/PassManagerVerifierAnalysis.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILFunction.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[325/1400][ 23%][1160.933s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/ProtocolConformanceAnalysis.cpp.o
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/ProtocolConformanceAnalysis.cpp:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/ProtocolConformanceAnalysis.h:19:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILArgument.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILArgumentConvention.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/ProtocolConformanceAnalysis.cpp:21:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/ProtocolConformanceAnalysis.cpp:21:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[326/1400][ 23%][1166.704s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/RCIdentityAnalysis.cpp.o
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/RCIdentityAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/RCIdentityAnalysis.h:22:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILValue.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILArgumentConvention.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/RCIdentityAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/RCIdentityAnalysis.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/DominanceAnalysis.h:16:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/RCIdentityAnalysis.cpp:13:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/RCIdentityAnalysis.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/DominanceAnalysis.h:16:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[327/1400][ 23%][1172.920s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/SideEffectAnalysis.cpp.o
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/SideEffectAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/SideEffectAnalysis.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/ApplySite.h:25:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILArgument.h:17:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILArgumentConvention.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/SideEffectAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/SideEffectAnalysis.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/ApplySite.h:26:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/SideEffectAnalysis.cpp:14:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/SideEffectAnalysis.h:16:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/ApplySite.h:26:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
4 warnings generated.
[328/1400][ 23%][1178.349s] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/SimplifyInstruction.cpp.o
FAILED: lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/SimplifyInstruction.cpp.o
/usr/bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -DSWIFT_LLVM_SUPPORT_IS_AVAILABLE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/build/buildbot_linux/swift-linux-x86_64/lib/SILOptimizer -I/<<PKGBUILDDIR>>/swift/lib/SILOptimizer -I/<<PKGBUILDDIR>>/build/buildbot_linux/swift-linux-x86_64/include -I/<<PKGBUILDDIR>>/swift/include -I/<<PKGBUILDDIR>>/llvm-project/llvm/include -I/<<PKGBUILDDIR>>/build/buildbot_linux/llvm-linux-x86_64/include -I/<<PKGBUILDDIR>>/llvm-project/clang/include -I/<<PKGBUILDDIR>>/build/buildbot_linux/llvm-linux-x86_64/tools/clang/include -I/<<PKGBUILDDIR>>/cmark/src -I/<<PKGBUILDDIR>>/build/buildbot_linux/cmark-linux-x86_64/src -I/<<PKGBUILDDIR>>/swift-corelibs-libdispatch/src/BlocksRuntime -I/<<PKGBUILDDIR>>/swift-corelibs-libdispatch -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-class-memaccess -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -O3 -DNDEBUG -std=c++14  -fno-exceptions -fno-rtti -Werror=gnu -Werror=c++98-compat-extra-semi -UNDEBUG -target x86_64-pc-linux-gnu -O2 -g0 -march=core2 -MD -MT lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/SimplifyInstruction.cpp.o -MF lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/SimplifyInstruction.cpp.o.d -o lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Analysis/SimplifyInstruction.cpp.o -c /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/SimplifyInstruction.cpp
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/SimplifyInstruction.cpp:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/SimplifyInstruction.h:22:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Builtins.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/Types.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ExtInfo.h:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/AST/ClangModuleLoader.h:18:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/TaggedUnion.h:21:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/Basic/ExternalUnion.h:26:
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:49:29: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
    49 |   static const bool value = __has_trivial_constructor(T);
       |                             ^
/<<PKGBUILDDIR>>/swift/include/swift/Basic/type_traits.h:61:29: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
    61 |   static const bool value = __has_trivial_destructor(T);
       |                             ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/SimplifyInstruction.cpp:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/SimplifyInstruction.h:22:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1068:17: warning: offset of on non-standard-layout type 'SingleValueInstruction' [-Winvalid-offsetof]
  1068 |   static_assert(offsetof(SingleValueInstruction, Bits) ==
       |                 ^                                ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/SimplifyInstruction.cpp:24:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Analysis/SimplifyInstruction.h:22:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SIL/SILBasicBlock.h:24:
/<<PKGBUILDDIR>>/swift/include/swift/SIL/SILInstruction.h:1069:17: warning: offset of on non-standard-layout type 'NonSingleValueInstruction' [-Winvalid-offsetof]
  1069 |                 offsetof(NonSingleValueInstruction, Bits),
       |                 ^                                   ~~~~
/usr/lib/llvm-19/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
    16 | #define offsetof(t, d) __builtin_offsetof(t, d)
       |                        ^                     ~
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/SimplifyInstruction.cpp:31:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Utils/OwnershipOptUtils.h:27:
In file included from /<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Utils/InstructionDeleter.h:100:
/<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Utils/UpdatingInstructionIterator.h:89:11: error: no member named 'regsitry' in 'UpdatingListIterator<IteratorBase, IsReverse, Registry>'; did you mean 'registry'?
    89 |     this->regsitry = rhs.registry;
       |           ^~~~~~~~
       |           registry
/<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Utils/UpdatingInstructionIterator.h:62:13: note: 'registry' declared here
    62 |   Registry *registry;
       |             ^
/<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Utils/UpdatingInstructionIterator.h:91:11: error: no member named 'advanced' in 'UpdatingListIterator<IteratorBase, IsReverse, Registry>'
    91 |     this->advanced = rhs.advanced;
       |     ~~~~  ^
/<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Utils/UpdatingInstructionIterator.h:91:26: error: no member named 'advanced' in 'UpdatingListIterator<IteratorBase, IsReverse, Registry>'
    91 |     this->advanced = rhs.advanced;
       |                      ~~~ ^
In file included from /<<PKGBUILDDIR>>/swift/lib/SILOptimizer/Analysis/SimplifyInstruction.cpp:31:
/<<PKGBUILDDIR>>/swift/include/swift/SILOptimizer/Utils/OwnershipOptUtils.h:387:15: warning: variable 'lbi' set but not used [-Wunused-but-set-variable]
   387 |     if (auto *lbi = value.dyn_cast<LoadBorrowInst *>()) {
       |               ^
5 warnings and 3 errors generated.
ninja: build stopped: subcommand failed.
-- Warning: {} Host toolchain could not locate a compiler to build swift-driver. (Try `--skip-early-swift-driver`)
--- Building cmark ---
Building the standard library for: swift-stdlib-linux-x86_64
Running Swift tests for: check-swift-only_early_swiftdriver-linux-x86_64 check-swift-all-linux-x86_64 check-swift-all-optimize-linux-x86_64
ERROR: command terminated with a non-zero exit status 1, aborting

ERROR: command terminated with a non-zero exit status 1, aborting

make[1]: *** [debian/rules:37: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the Pkg-llvm-team mailing list