Your message dated Sat, 25 Feb 2023 00:22:11 +0000
with message-id <e1pvikj-008izs...@fasolo.debian.org>
and subject line Bug#1031745: fixed in gdb 13.1-2
has caused the Debian Bug report #1031745,
regarding gdb: breaks rustc gdb debuginfo tests
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1031745: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031745
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gdb
Version: 13.1-1
Severity: serious
Control: affects -1 src:rustc
Justification: breaks unrelated software

While preparing an update to rustc 1.65 for experimental, we noticed
that the recent gdb update in sid makes rustc FTBFS by causing 5 of its
gdb-integration test cases fail.

test [debuginfo-gdb] src/test/debuginfo/destructured-fn-argument.rs ... FAILED
test [debuginfo-gdb] src/test/debuginfo/function-arguments.rs ... FAILED
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-stack-closure.rs ... 
FAILED
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-unique-closure.rs ... 
FAILED
test [debuginfo-gdb] src/test/debuginfo/unsized.rs ... FAILED
command did not execute successfully: 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" 
"--compile-lib-path" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib"
 "--rustc-path" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" 
"/<<PKGBUILDDIR>>/src/test/debuginfo" "--build-base" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo" "--stage-id" 
"stage2-x86_64-unknown-linux-gnu" "--suite" "debuginfo" "--mode" "debuginfo" 
"--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" 
"--llvm-filecheck" "/usr/lib/llvm-15/bin/FileCheck" "--optimize-tests" 
"--linker" "x86_64-linux-gnu-gcc" "--host-rustcflags" "-Crpath -Cdebuginfo=0  
-Lnative=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
 "--target-rustcflags" "-Crpath -Cdebuginfo=0  
-Lnative=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
 "--python" "/usr/bin/python3" "--gdb" "/usr/bin/gdb" "--skip" "src/tools/tidy" 
"--verbose" "--llvm-version" "15.0.7" "--llvm-components" "aarch64 
aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info 
aarch64utils aggressiveinstcombine all all-targets amdgpu amdgpuasmparser 
amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca 
amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler 
arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc 
avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf 
bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cfguard codegen core 
coroutines coverage debuginfocodeview debuginfodwarf debuginfogsym debuginfomsf 
debuginfopdb demangle dlltooldriver dwarflinker dwp engine executionengine 
extensions filecheck frontendopenacc frontendopenmp fuzzercli fuzzmutate 
globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc 
hexagondisassembler hexagoninfo instcombine instrumentation interfacestub 
interpreter ipo irreader jitlink lanai lanaiasmparser lanaicodegen lanaidesc 
lanaidisassembler lanaiinfo libdriver lineeditor linker lto m68k m68kasmparser 
m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit 
mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo 
mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler 
msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo 
objcarcopts objcopy object objectyaml option orcjit orcshared orctargetprocess 
passes perfjitevents powerpc powerpcasmparser powerpccodegen powerpcdesc 
powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser 
riscvcodegen riscvdesc riscvdisassembler riscvinfo runtimedyld scalaropts 
selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler 
sparcinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc 
systemzdisassembler systemzinfo tablegen target textapi transformutils ve 
veasmparser vecodegen vectorize vedesc vedisassembler veinfo webassembly 
webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler 
webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser 
x86codegen x86desc x86disassembler x86info x86targetmca xcore xcorecodegen 
xcoredesc xcoredisassembler xcoreinfo xray" "--system-llvm" "--cc" "" "--cxx" 
"" "--cflags" "" "--cxxflags" "" "--adb-path" "adb" "--adb-test-dir" 
"/data/tmp/work" "--android-cross-path" "" "--channel" "stable"

our rustc build uses an (arch-dependent) cut-off for the number of "allowed to
fail" tests - for amd64 it is 8, the current version of rustc in testing/sid
(1.63.0+dfsg1-2) had 2 such failing tests when it was initially built, a
rebuild with gdb from unstable causes the fail count to go to 8 - while not
failing the build itself, the errors look problematic enough to me that it
should likely be looked at more closely *before* gdb ends up in
testing/bookworm. it does also prevent us from getting through the backlog of
rustc upstream releases in experimental, since the baseline for rustc 1.65 test
failures is 4, and the 6 additional ones caused by gdb push it over the
threshold.

the same tests are failing for
- rustc 1.65 (not yet uploaded, MR on salsa[0] which successfully built on
17.02. but fails today)
- rustc 1.63 (testing/sid, rebuilt in unstable chroot)
- upstream rustc master (git clone; ./x.py setup (b, n, n); ./x.py 
tests/debuinfo)

this is the complete output of the failing test cases (from rustc in bookworm
rebuild) including gdb error messages:

----8<----
running 139 tests
test [debuginfo-gdb] src/test/debuginfo/basic-types-globals-metadata.rs ... 
ignored
test [debuginfo-gdb] src/test/debuginfo/basic-types-globals.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/basic-types-metadata.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/basic-types-mut-globals.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/basic-types.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/by-value-non-immediate-argument.rs ... 
ignored
test [debuginfo-gdb] src/test/debuginfo/c-style-enum.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/constant-debug-locs.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/cross-crate-spans.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/constant-in-match-pattern.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/c-style-enum-in-composite.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/destructured-for-loop-variable.rs ... 
ignored
test [debuginfo-gdb] src/test/debuginfo/borrowed-c-style-enum.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/drop-locations.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/duration-type.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/captured-fields-2.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/by-value-self-argument-in-trait-impl.rs 
... ok
test [debuginfo-gdb] src/test/debuginfo/associated-types.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/captured-fields-1.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/borrowed-enum.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/borrowed-tuple.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/function-arg-initialization.rs ... 
ignored
test [debuginfo-gdb] src/test/debuginfo/box.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/borrowed-basic.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/borrowed-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/function-prologue-stepping-regular.rs 
... ignored
test [debuginfo-gdb] src/test/debuginfo/borrowed-unique-basic.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/boxed-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/closure-in-generic-function.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/fixed-sized-array.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/function-names.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/destructured-local.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/enum-thinlto.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/extern-c-fn.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/empty-string.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/gdb-pretty-struct-and-enums.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/function-call.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/gdb-char.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/evec-in-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/embedded-visualizer.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/destructured-fn-argument.rs ... FAILED
test [debuginfo-gdb] src/test/debuginfo/generator-locals.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/issue-22656.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/generator-objects.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/function-arguments.rs ... FAILED
test [debuginfo-gdb] 
src/test/debuginfo/generic-enum-with-different-disr-sizes.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/generic-function.rs ... ok
test [debuginfo-gdb] 
src/test/debuginfo/generic-static-method-on-struct-and-enum.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/issue-7712.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/include_string.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/issue-14411.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/generic-functions-nested.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/generic-struct-style-enum.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/generic-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/issue-13213.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/lexical-scopes-in-block-expression.rs 
... ignored
test [debuginfo-gdb] src/test/debuginfo/limited-debuginfo.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/macro-stepping.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/marker-types.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/method-on-enum.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/generic-method-on-generic-struct.rs ... 
ok
test [debuginfo-gdb] src/test/debuginfo/issue-12886.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/generic-tuple-style-enum.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/issue-57822.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/msvc-pretty-enums.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/msvc-scalarpair-params.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-for-loop.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-if-let.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/multi-byte-chars.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-if.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-match.rs ... ok
test [debuginfo-gdb] 
src/test/debuginfo/lexical-scope-in-parameterless-closure.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-with-macro.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/numeric-types.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/option-like-enum.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-while.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-unconditional-loop.rs 
... ok
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-stack-closure.rs ... 
FAILED
test [debuginfo-gdb] src/test/debuginfo/method-on-generic-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/method-on-trait.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-unique-closure.rs ... 
FAILED
test [debuginfo-gdb] src/test/debuginfo/pretty-std.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/method-on-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/method-on-tuple-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/multi-cgu.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/multiple-functions-equal-var-names.rs 
... ok
test [debuginfo-gdb] src/test/debuginfo/mutable-locs.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/mutex.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/multiple-functions.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/packed-struct-with-destructor.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/name-shadowing-and-scope-nesting.rs ... 
ok
test [debuginfo-gdb] src/test/debuginfo/range-types.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/packed-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/pretty-slices.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/pretty-huge-vec.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/result-types.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/pretty-uninitialized-vec.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/simple-struct.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/simple-tuple.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/recursive-enum.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/rwlock-read.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/struct-in-enum.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/rwlock-write.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/struct-namespace.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/pretty-std-collections-hash.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/rc_arc.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/thread-names.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/recursive-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/shadowed-argument.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/shadowed-variable.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/self-in-generic-default-method.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/simd.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/self-in-default-method.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/should-fail.rs - should panic ... ok
test [debuginfo-gdb] src/test/debuginfo/union-smoke.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/simple-lexical-scope.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/static-method-on-struct-and-enum.rs ... 
ok
test [debuginfo-gdb] src/test/debuginfo/struct-style-enum.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/struct-in-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/struct-with-destructor.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/step-into-match.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/tuple-in-tuple.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/trait-pointers.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/vec.rs ... ignored
test [debuginfo-gdb] src/test/debuginfo/tuple-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/thread.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/tuple-in-struct.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/tuple-style-enum.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/unreachable-locals.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/unique-enum.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/var-captured-in-nested-closure.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/unsized.rs ... FAILED
test [debuginfo-gdb] src/test/debuginfo/type-names.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/var-captured-in-sendable-closure.rs ... 
ok
test [debuginfo-gdb] src/test/debuginfo/var-captured-in-stack-closure.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/pretty-std-collections.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/vec-slices.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/unit-type.rs ... ok
test [debuginfo-gdb] src/test/debuginfo/cross-crate-type-uniquing.rs ... ok

failures:

---- [debuginfo-gdb] src/test/debuginfo/destructured-fn-argument.rs stdout ----


NOTE: compiletest thinks it is using GDB with native rust support
executing "/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" 
"/<<PKGBUILDDIR>>/src/test/debuginfo/destructured-fn-argument.rs" "-Zthreads=1" 
"--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/destructured-fn-argument.gdb/a"
 "-Crpath" 
"-Lnative=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
 "-Clinker=x86_64-linux-gnu-gcc" "-g" "-L" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/destructured-fn-argument.gdb/auxiliary"
------stdout------------------------------

------stderr------------------------------

------------------------------------------
NOTE: compiletest thinks it is using GDB version 13001000
executing "/usr/bin/gdb" "-quiet" "-batch" "-nx" 
"-command=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/destructured-fn-argument.gdb/destructured-fn-argument.debugger.script"
------stdout------------------------------
GNU gdb (Debian 13.1-1) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x1640: file src/test/debuginfo/destructured-fn-argument.rs, 
line 379.
Breakpoint 2 at 0x166e: file src/test/debuginfo/destructured-fn-argument.rs, 
line 383.
Breakpoint 3 at 0x169a: file src/test/debuginfo/destructured-fn-argument.rs, 
line 387.
Breakpoint 4 at 0x16d5: file src/test/debuginfo/destructured-fn-argument.rs, 
line 391.
Breakpoint 5 at 0x16f6: file src/test/debuginfo/destructured-fn-argument.rs, 
line 395.
Breakpoint 6 at 0x1713: file src/test/debuginfo/destructured-fn-argument.rs, 
line 399.
Breakpoint 7 at 0x1730: file src/test/debuginfo/destructured-fn-argument.rs, 
line 403.
Breakpoint 8 at 0x1763: file src/test/debuginfo/destructured-fn-argument.rs, 
line 407.
Breakpoint 9 at 0x1786: file src/test/debuginfo/destructured-fn-argument.rs, 
line 411.
Breakpoint 10 at 0x17e0: file src/test/debuginfo/destructured-fn-argument.rs, 
line 417.
Breakpoint 11 at 0x1809: file src/test/debuginfo/destructured-fn-argument.rs, 
line 421.
Breakpoint 12 at 0x1839: file src/test/debuginfo/destructured-fn-argument.rs, 
line 425.
Breakpoint 13 at 0x1865: file src/test/debuginfo/destructured-fn-argument.rs, 
line 429.
Breakpoint 14 at 0x188f: file src/test/debuginfo/destructured-fn-argument.rs, 
line 433.
Breakpoint 15 at 0x18e5: file src/test/debuginfo/destructured-fn-argument.rs, 
line 437.
Breakpoint 16 at 0x190d: file src/test/debuginfo/destructured-fn-argument.rs, 
line 441.
Breakpoint 17 at 0x1938: file src/test/debuginfo/destructured-fn-argument.rs, 
line 445.
Breakpoint 18 at 0x195b: file src/test/debuginfo/destructured-fn-argument.rs, 
line 449.
Breakpoint 19 at 0x1982: file src/test/debuginfo/destructured-fn-argument.rs, 
line 453.
Breakpoint 20 at 0x19aa: file src/test/debuginfo/destructured-fn-argument.rs, 
line 457.
Breakpoint 21 at 0x19e9: file src/test/debuginfo/destructured-fn-argument.rs, 
line 461.
Breakpoint 22 at 0x1a1c: file src/test/debuginfo/destructured-fn-argument.rs, 
line 465.
Breakpoint 23 at 0x1fcc: file src/test/debuginfo/destructured-fn-argument.rs, 
line 493.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, destructured_fn_argument::simple_tuple () at 
src/test/debuginfo/destructured-fn-argument.rs:379
379         zzz(); // #break
$1 = 1
$2 = false

Breakpoint 2, destructured_fn_argument::nested_tuple () at 
src/test/debuginfo/destructured-fn-argument.rs:383
383         zzz(); // #break
$3 = 2
$4 = 3
$5 = 4

Breakpoint 3, destructured_fn_argument::destructure_only_first_level () at 
src/test/debuginfo/destructured-fn-argument.rs:387
387         zzz(); // #break
$6 = 5
$7 = (6, 7)

Breakpoint 4, destructured_fn_argument::struct_as_tuple_element () at 
src/test/debuginfo/destructured-fn-argument.rs:391
391         zzz(); // #break
$8 = 8
$9 = destructured_fn_argument::Struct {a: 9, b: 10}
$10 = 11

Breakpoint 5, destructured_fn_argument::struct_pattern () at 
src/test/debuginfo/destructured-fn-argument.rs:395
395         zzz(); // #break
$11 = 12
$12 = 13

Breakpoint 6, destructured_fn_argument::ignored_tuple_element () at 
src/test/debuginfo/destructured-fn-argument.rs:399
399         zzz(); // #break
$13 = 14
$14 = 16

Breakpoint 7, destructured_fn_argument::ignored_struct_field () at 
src/test/debuginfo/destructured-fn-argument.rs:403
403         zzz(); // #break
$15 = 18

Breakpoint 8, destructured_fn_argument::one_struct_destructured_one_not () at 
src/test/debuginfo/destructured-fn-argument.rs:407
407         zzz(); // #break
$16 = 19
$17 = 20
$18 = destructured_fn_argument::Struct {a: 21, b: 22}

Breakpoint 9, destructured_fn_argument::different_order_of_struct_fields () at 
src/test/debuginfo/destructured-fn-argument.rs:411
411         zzz(); // #break
$19 = 24
$20 = 23

Breakpoint 10, destructured_fn_argument::complex_nesting () at 
src/test/debuginfo/destructured-fn-argument.rs:417
417         zzz(); // #break
$21 = 25
$22 = 26
$23 = 27
$24 = 28
$25 = 29
$26 = 30
$27 = 31
$28 = 32
$29 = 33

Breakpoint 11, destructured_fn_argument::managed_box () at 
src/test/debuginfo/destructured-fn-argument.rs:421
421         zzz(); // #break
$30 = (34, 35)

Breakpoint 12, destructured_fn_argument::borrowed_pointer () at 
src/test/debuginfo/destructured-fn-argument.rs:425
425         zzz(); // #break
$31 = (36, 37)

Breakpoint 13, destructured_fn_argument::contained_borrowed_pointer () at 
src/test/debuginfo/destructured-fn-argument.rs:429
429         zzz(); // #break
$32 = 38

Breakpoint 14, destructured_fn_argument::unique_pointer () at 
src/test/debuginfo/destructured-fn-argument.rs:433
433         zzz(); // #break
$33 = (40, 41, 42)

Breakpoint 15, destructured_fn_argument::ref_binding () at 
src/test/debuginfo/destructured-fn-argument.rs:437
437         zzz(); // #break
$34 = (43, 44, 45)

Breakpoint 16, destructured_fn_argument::ref_binding_in_tuple () at 
src/test/debuginfo/destructured-fn-argument.rs:441
441         zzz(); // #break
$35 = 46
$36 = (47, 48)

Breakpoint 17, destructured_fn_argument::ref_binding_in_struct () at 
src/test/debuginfo/destructured-fn-argument.rs:445
445         zzz(); // #break
$37 = 50

Breakpoint 18, destructured_fn_argument::univariant_enum () at 
src/test/debuginfo/destructured-fn-argument.rs:449
449         zzz(); // #break
$38 = 51

Breakpoint 19, destructured_fn_argument::univariant_enum_with_ref_binding () at 
src/test/debuginfo/destructured-fn-argument.rs:453
453         zzz(); // #break
$39 = 52

Breakpoint 20, destructured_fn_argument::tuple_struct () at 
src/test/debuginfo/destructured-fn-argument.rs:457
457         zzz(); // #break
$40 = 53
$41 = 54

Breakpoint 21, destructured_fn_argument::tuple_struct_with_ref_binding () at 
src/test/debuginfo/destructured-fn-argument.rs:461
461         zzz(); // #break
$42 = 55
$43 = 56

Breakpoint 22, destructured_fn_argument::multiple_arguments 
(/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]

------stderr------------------------------
/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0x557d1baf840e ???
0x557d1be76b2c ???
0x557d1be76d6a ???
0x557d1bfe8c31 ???
0x557d1bc2a004 ???
0x557d1bbae6c0 ???
0x557d1bbaeb14 ???
0x557d1bbaec00 ???
0x557d1bdd9070 ???
0x557d1bdd9dce ???
0x557d1bddda7b ???
0x557d1bdde5ec ???
0x557d1bc77ce6 ???
0x557d1bb2ec1e ???
0x557d1bc7a169 ???
0x557d1bc89569 ???
0x557d1bfe91c5 ???
0x557d1bfe9cf6 ???
0x557d1be379e3 ???
0x557d1be37f13 ???
0x557d1bc01e1c ???
0x557d1be39be0 ???
0x557d1bb34694 ???
0x557d1bb27a02 ???
0x557d1bcca2e7 ???
0x557d1bcca37a ???
0x557d1bccc384 ???
0x557d1bcccf5a ???
0x557d1ba5bca9 ???
0x7fd229afa189 ???
0x7fd229afa244 __libc_start_main
0x557d1ba62e30 ???
0xffffffffffffffff ???
---------------------

This is a bug, please report it.  For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.


------------------------------------------

error: gdb failed to execute
status: signal: 6 (SIGABRT) (core dumped)
command: "/usr/bin/gdb" "-quiet" "-batch" "-nx" 
"-command=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/destructured-fn-argument.gdb/destructured-fn-argument.debugger.script"
--- stdout -------------------------------
GNU gdb (Debian 13.1-1) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x1640: file src/test/debuginfo/destructured-fn-argument.rs, 
line 379.
Breakpoint 2 at 0x166e: file src/test/debuginfo/destructured-fn-argument.rs, 
line 383.
Breakpoint 3 at 0x169a: file src/test/debuginfo/destructured-fn-argument.rs, 
line 387.
Breakpoint 4 at 0x16d5: file src/test/debuginfo/destructured-fn-argument.rs, 
line 391.
Breakpoint 5 at 0x16f6: file src/test/debuginfo/destructured-fn-argument.rs, 
line 395.
Breakpoint 6 at 0x1713: file src/test/debuginfo/destructured-fn-argument.rs, 
line 399.
Breakpoint 7 at 0x1730: file src/test/debuginfo/destructured-fn-argument.rs, 
line 403.
Breakpoint 8 at 0x1763: file src/test/debuginfo/destructured-fn-argument.rs, 
line 407.
Breakpoint 9 at 0x1786: file src/test/debuginfo/destructured-fn-argument.rs, 
line 411.
Breakpoint 10 at 0x17e0: file src/test/debuginfo/destructured-fn-argument.rs, 
line 417.
Breakpoint 11 at 0x1809: file src/test/debuginfo/destructured-fn-argument.rs, 
line 421.
Breakpoint 12 at 0x1839: file src/test/debuginfo/destructured-fn-argument.rs, 
line 425.
Breakpoint 13 at 0x1865: file src/test/debuginfo/destructured-fn-argument.rs, 
line 429.
Breakpoint 14 at 0x188f: file src/test/debuginfo/destructured-fn-argument.rs, 
line 433.
Breakpoint 15 at 0x18e5: file src/test/debuginfo/destructured-fn-argument.rs, 
line 437.
Breakpoint 16 at 0x190d: file src/test/debuginfo/destructured-fn-argument.rs, 
line 441.
Breakpoint 17 at 0x1938: file src/test/debuginfo/destructured-fn-argument.rs, 
line 445.
Breakpoint 18 at 0x195b: file src/test/debuginfo/destructured-fn-argument.rs, 
line 449.
Breakpoint 19 at 0x1982: file src/test/debuginfo/destructured-fn-argument.rs, 
line 453.
Breakpoint 20 at 0x19aa: file src/test/debuginfo/destructured-fn-argument.rs, 
line 457.
Breakpoint 21 at 0x19e9: file src/test/debuginfo/destructured-fn-argument.rs, 
line 461.
Breakpoint 22 at 0x1a1c: file src/test/debuginfo/destructured-fn-argument.rs, 
line 465.
Breakpoint 23 at 0x1fcc: file src/test/debuginfo/destructured-fn-argument.rs, 
line 493.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, destructured_fn_argument::simple_tuple () at 
src/test/debuginfo/destructured-fn-argument.rs:379
379         zzz(); // #break
$1 = 1
$2 = false

Breakpoint 2, destructured_fn_argument::nested_tuple () at 
src/test/debuginfo/destructured-fn-argument.rs:383
383         zzz(); // #break
$3 = 2
$4 = 3
$5 = 4

Breakpoint 3, destructured_fn_argument::destructure_only_first_level () at 
src/test/debuginfo/destructured-fn-argument.rs:387
387         zzz(); // #break
$6 = 5
$7 = (6, 7)

Breakpoint 4, destructured_fn_argument::struct_as_tuple_element () at 
src/test/debuginfo/destructured-fn-argument.rs:391
391         zzz(); // #break
$8 = 8
$9 = destructured_fn_argument::Struct {a: 9, b: 10}
$10 = 11

Breakpoint 5, destructured_fn_argument::struct_pattern () at 
src/test/debuginfo/destructured-fn-argument.rs:395
395         zzz(); // #break
$11 = 12
$12 = 13

Breakpoint 6, destructured_fn_argument::ignored_tuple_element () at 
src/test/debuginfo/destructured-fn-argument.rs:399
399         zzz(); // #break
$13 = 14
$14 = 16

Breakpoint 7, destructured_fn_argument::ignored_struct_field () at 
src/test/debuginfo/destructured-fn-argument.rs:403
403         zzz(); // #break
$15 = 18

Breakpoint 8, destructured_fn_argument::one_struct_destructured_one_not () at 
src/test/debuginfo/destructured-fn-argument.rs:407
407         zzz(); // #break
$16 = 19
$17 = 20
$18 = destructured_fn_argument::Struct {a: 21, b: 22}

Breakpoint 9, destructured_fn_argument::different_order_of_struct_fields () at 
src/test/debuginfo/destructured-fn-argument.rs:411
411         zzz(); // #break
$19 = 24
$20 = 23

Breakpoint 10, destructured_fn_argument::complex_nesting () at 
src/test/debuginfo/destructured-fn-argument.rs:417
417         zzz(); // #break
$21 = 25
$22 = 26
$23 = 27
$24 = 28
$25 = 29
$26 = 30
$27 = 31
$28 = 32
$29 = 33

Breakpoint 11, destructured_fn_argument::managed_box () at 
src/test/debuginfo/destructured-fn-argument.rs:421
421         zzz(); // #break
$30 = (34, 35)

Breakpoint 12, destructured_fn_argument::borrowed_pointer () at 
src/test/debuginfo/destructured-fn-argument.rs:425
425         zzz(); // #break
$31 = (36, 37)

Breakpoint 13, destructured_fn_argument::contained_borrowed_pointer () at 
src/test/debuginfo/destructured-fn-argument.rs:429
429         zzz(); // #break
$32 = 38

Breakpoint 14, destructured_fn_argument::unique_pointer () at 
src/test/debuginfo/destructured-fn-argument.rs:433
433         zzz(); // #break
$33 = (40, 41, 42)

Breakpoint 15, destructured_fn_argument::ref_binding () at 
src/test/debuginfo/destructured-fn-argument.rs:437
437         zzz(); // #break
$34 = (43, 44, 45)

Breakpoint 16, destructured_fn_argument::ref_binding_in_tuple () at 
src/test/debuginfo/destructured-fn-argument.rs:441
441         zzz(); // #break
$35 = 46
$36 = (47, 48)

Breakpoint 17, destructured_fn_argument::ref_binding_in_struct () at 
src/test/debuginfo/destructured-fn-argument.rs:445
445         zzz(); // #break
$37 = 50

Breakpoint 18, destructured_fn_argument::univariant_enum () at 
src/test/debuginfo/destructured-fn-argument.rs:449
449         zzz(); // #break
$38 = 51

Breakpoint 19, destructured_fn_argument::univariant_enum_with_ref_binding () at 
src/test/debuginfo/destructured-fn-argument.rs:453
453         zzz(); // #break
$39 = 52

Breakpoint 20, destructured_fn_argument::tuple_struct () at 
src/test/debuginfo/destructured-fn-argument.rs:457
457         zzz(); // #break
$40 = 53
$41 = 54

Breakpoint 21, destructured_fn_argument::tuple_struct_with_ref_binding () at 
src/test/debuginfo/destructured-fn-argument.rs:461
461         zzz(); // #break
$42 = 55
$43 = 56

Breakpoint 22, destructured_fn_argument::multiple_arguments 
(/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
------------------------------------------
--- stderr -------------------------------
/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,Some tests failed in compiletest 
suite=debuginfo mode=debuginfo host=x86_64-unknown-linux-gnu 
target=x86_64-unknown-linux-gnu

further debugging may prove unreliable.
----- Backtrace -----
0x557d1baf840e ???
0x557d1be76b2c ???
0x557d1be76d6a ???
0x557d1bfe8c31 ???
0x557d1bc2a004 ???
0x557d1bbae6c0 ???
0x557d1bbaeb14 ???
0x557d1bbaec00 ???
0x557d1bdd9070 ???
0x557d1bdd9dce ???
0x557d1bddda7b ???
0x557d1bdde5ec ???
0x557d1bc77ce6 ???
0x557d1bb2ec1e ???
0x557d1bc7a169 ???
0x557d1bc89569 ???
0x557d1bfe91c5 ???
0x557d1bfe9cf6 ???
0x557d1be379e3 ???
0x557d1be37f13 ???
0x557d1bc01e1c ???
0x557d1be39be0 ???
0x557d1bb34694 ???
0x557d1bb27a02 ???
0x557d1bcca2e7 ???
0x557d1bcca37a ???
0x557d1bccc384 ???
0x557d1bcccf5a ???
0x557d1ba5bca9 ???
0x7fd229afa189 ???
0x7fd229afa244 __libc_start_main
0x557d1ba62e30 ???
0xffffffffffffffff ???
---------------------

This is a bug, please report it.  For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.
------------------------------------------


---- [debuginfo-gdb] src/test/debuginfo/function-arguments.rs stdout ----


NOTE: compiletest thinks it is using GDB with native rust support
executing "/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" 
"/<<PKGBUILDDIR>>/src/test/debuginfo/function-arguments.rs" "-Zthreads=1" 
"--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/function-arguments.gdb/a"
 "-Crpath" 
"-Lnative=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
 "-Clinker=x86_64-linux-gnu-gcc" "-g" "-L" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/function-arguments.gdb/auxiliary"
------stdout------------------------------

------stderr------------------------------

------------------------------------------
NOTE: compiletest thinks it is using GDB version 13001000
executing "/usr/bin/gdb" "-quiet" "-batch" "-nx" 
"-command=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/function-arguments.gdb/function-arguments.debugger.script"
------stdout------------------------------
GNU gdb (Debian 13.1-1) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x1266: file src/test/debuginfo/function-arguments.rs, line 51.
Breakpoint 2 at 0x12ab: file src/test/debuginfo/function-arguments.rs, line 57.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 2, function_arguments::fun 
(/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]

------stderr------------------------------
/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0x56548997540e ???
0x565489cf3b2c ???
0x565489cf3d6a ???
0x565489e65c31 ???
0x565489aa7004 ???
0x565489a2b6c0 ???
0x565489a2bb14 ???
0x565489a2bc00 ???
0x565489c56070 ???
0x565489c56dce ???
0x565489c5aa7b ???
0x565489c5b5ec ???
0x565489af4ce6 ???
0x5654899abc1e ???
0x565489af7169 ???
0x565489b06569 ???
0x565489e661c5 ???
0x565489e66cf6 ???
0x565489cb49e3 ???
0x565489cb4f13 ???
0x565489a7ee1c ???
0x565489cb6be0 ???
0x5654899b1694 ???
0x5654899a4a02 ???
0x565489b472e7 ???
0x565489b4737a ???
0x565489b49384 ???
0x565489b49f5a ???
0x5654898d8ca9 ???
0x7f193ce7a189 ???
0x7f193ce7a244 __libc_start_main
0x5654898dfe30 ???
0xffffffffffffffff ???
---------------------

This is a bug, please report it.  For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.


------------------------------------------

error: gdb failed to execute
status: signal: 6 (SIGABRT) (core dumped)
command: "/usr/bin/gdb" "-quiet" "-batch" "-nx" 
"-command=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/function-arguments.gdb/function-arguments.debugger.script"
--- stdout -------------------------------
GNU gdb (Debian 13.1-1) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x1266: file src/test/debuginfo/function-arguments.rs, line 51.
Breakpoint 2 at 0x12ab: file src/test/debuginfo/function-arguments.rs, line 57.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 2, function_arguments::fun 
(/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
------------------------------------------
--- stderr -------------------------------
/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0x56548997540e ???
0x565489cf3b2c ???
0x565489cf3d6a ???
0x565489e65c31 ???
0x565489aa7004 ???
0x565489a2b6c0 ???
0x565489a2bb14 ???
0x565489a2bc00 ???
0x565489c56070 ???
0x565489c56dce ???
0x565489c5aa7b ???
0x565489c5b5ec ???
0x565489af4ce6 ???
0x5654899abc1e ???
0x565489af7169 ???
0x565489b06569 ???
0x565489e661c5 ???
0x565489e66cf6 ???
0x565489cb49e3 ???
0x565489cb4f13 ???
0x565489a7ee1c ???
0x565489cb6be0 ???
0x5654899b1694 ???
0x5654899a4a02 ???
0x565489b472e7 ???
0x565489b4737a ???
0x565489b49384 ???
0x565489b49f5a ???
0x5654898d8ca9 ???
0x7f193ce7a189 ???
0x7f193ce7a244 __libc_start_main
0x5654898dfe30 ???
0xffffffffffffffff ???
---------------------

This is a bug, please report it.  For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.
------------------------------------------


---- [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-stack-closure.rs 
stdout ----


NOTE: compiletest thinks it is using GDB with native rust support
executing "/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" 
"/<<PKGBUILDDIR>>/src/test/debuginfo/lexical-scope-in-stack-closure.rs" 
"-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/lexical-scope-in-stack-closure.gdb/a"
 "-Crpath" 
"-Lnative=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
 "-Clinker=x86_64-linux-gnu-gcc" "-g" "-L" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/lexical-scope-in-stack-closure.gdb/auxiliary"
------stdout------------------------------

------stderr------------------------------
warning: unused variable: `x`
  --> 
/<<PKGBUILDDIR>>/src/test/debuginfo/lexical-scope-in-stack-closure.rs:82:13
   |
82 |         let x = 2.5f64;
   |             ^ help: if this is intentional, prefix it with an underscore: 
`_x`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `x`
  --> 
/<<PKGBUILDDIR>>/src/test/debuginfo/lexical-scope-in-stack-closure.rs:87:13
   |
87 |         let x = true;
   |             ^ help: if this is intentional, prefix it with an underscore: 
`_x`

warning: unused variable: `x`
  --> 
/<<PKGBUILDDIR>>/src/test/debuginfo/lexical-scope-in-stack-closure.rs:78:20
   |
78 |     let closure = |x: isize| {
   |                    ^ help: if this is intentional, prefix it with an 
underscore: `_x`

warning: unused variable: `x`
  --> /<<PKGBUILDDIR>>/src/test/debuginfo/lexical-scope-in-stack-closure.rs:73:9
   |
73 |     let x = false;
   |         ^ help: if this is intentional, prefix it with an underscore: `_x`

warning: 4 warnings emitted


------------------------------------------
NOTE: compiletest thinks it is using GDB version 13001000
executing "/usr/bin/gdb" "-quiet" "-batch" "-nx" 
"-command=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/lexical-scope-in-stack-closure.gdb/lexical-scope-in-stack-closure.debugger.script"
------stdout------------------------------
GNU gdb (Debian 13.1-1) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x1229: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 75.
Breakpoint 2 at 0x127e: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 79.
Breakpoint 3 at 0x1296: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 84.
Breakpoint 4 at 0x12a5: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 89.
Breakpoint 5 at 0x1233: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 93.
Breakpoint 6 at 0x1253: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 98.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, lexical_scope_in_stack_closure::main () at 
src/test/debuginfo/lexical-scope-in-stack-closure.rs:75
75          zzz(); // #break
$1 = false

Breakpoint 5, lexical_scope_in_stack_closure::main () at 
src/test/debuginfo/lexical-scope-in-stack-closure.rs:93
93          zzz(); // #break
$2 = false

Breakpoint 2, lexical_scope_in_stack_closure::main::{closure#0} 
(/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]

------stderr------------------------------
/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0x55c270f4c40e ???
0x55c2712cab2c ???
0x55c2712cad6a ???
0x55c27143cc31 ???
0x55c27107e004 ???
0x55c2710026c0 ???
0x55c271002b14 ???
0x55c271002c00 ???
0x55c27122d070 ???
0x55c27122ddce ???
0x55c271231a7b ???
0x55c2712325ec ???
0x55c2710cbce6 ???
0x55c270f82c1e ???
0x55c2710ce169 ???
0x55c2710dd569 ???
0x55c27143d1c5 ???
0x55c27143dcf6 ???
0x55c27128b9e3 ???
0x55c27128bf13 ???
0x55c271055e1c ???
0x55c27128dbe0 ???
0x55c270f88694 ???
0x55c270f7ba02 ???
0x55c27111e2e7 ???
0x55c27111e37a ???
0x55c271120384 ???
0x55c271120f5a ???
0x55c270eafca9 ???
0x7fa761931189 ???
0x7fa761931244 __libc_start_main
0x55c270eb6e30 ???
0xffffffffffffffff ???
---------------------

This is a bug, please report it.  For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.


------------------------------------------

error: gdb failed to execute
status: signal: 6 (SIGABRT) (core dumped)
command: "/usr/bin/gdb" "-quiet" "-batch" "-nx" 
"-command=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/lexical-scope-in-stack-closure.gdb/lexical-scope-in-stack-closure.debugger.script"
--- stdout -------------------------------
GNU gdb (Debian 13.1-1) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x1229: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 75.
Breakpoint 2 at 0x127e: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 79.
Breakpoint 3 at 0x1296: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 84.
Breakpoint 4 at 0x12a5: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 89.
Breakpoint 5 at 0x1233: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 93.
Breakpoint 6 at 0x1253: file 
src/test/debuginfo/lexical-scope-in-stack-closure.rs, line 98.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, lexical_scope_in_stack_closure::main () at 
src/test/debuginfo/lexical-scope-in-stack-closure.rs:75
75          zzz(); // #break
$1 = false

Breakpoint 5, lexical_scope_in_stack_closure::main () at 
src/test/debuginfo/lexical-scope-in-stack-closure.rs:93
93          zzz(); // #break
$2 = false

Breakpoint 2, lexical_scope_in_stack_closure::main::{closure#0} 
(/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
------------------------------------------
--- stderr -------------------------------
/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0x55c270f4c40e ???
0x55c2712cab2c ???
0x55c2712cad6a ???
0x55c27143cc31 ???
0x55c27107e004 ???
0x55c2710026c0 ???
0x55c271002b14 ???
0x55c271002c00 ???
0x55c27122d070 ???
0x55c27122ddce ???
0x55c271231a7b ???
0x55c2712325ec ???
0x55c2710cbce6 ???
0x55c270f82c1e ???
0x55c2710ce169 ???
0x55c2710dd569 ???
0x55c27143d1c5 ???
0x55c27143dcf6 ???
0x55c27128b9e3 ???
0x55c27128bf13 ???
0x55c271055e1c ???
0x55c27128dbe0 ???
0x55c270f88694 ???
0x55c270f7ba02 ???
0x55c27111e2e7 ???
0x55c27111e37a ???
0x55c271120384 ???
0x55c271120f5a ???
0x55c270eafca9 ???
0x7fa761931189 ???
0x7fa761931244 __libc_start_main
0x55c270eb6e30 ???
0xffffffffffffffff ???
---------------------

This is a bug, please report it.  For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.
------------------------------------------


---- [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-unique-closure.rs 
stdout ----


NOTE: compiletest thinks it is using GDB with native rust support
executing "/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" 
"/<<PKGBUILDDIR>>/src/test/debuginfo/lexical-scope-in-unique-closure.rs" 
"-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/lexical-scope-in-unique-closure.gdb/a"
 "-Crpath" 
"-Lnative=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
 "-Clinker=x86_64-linux-gnu-gcc" "-g" "-L" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/lexical-scope-in-unique-closure.gdb/auxiliary"
------stdout------------------------------

------stderr------------------------------
warning: unused variable: `x`
  --> 
/<<PKGBUILDDIR>>/src/test/debuginfo/lexical-scope-in-unique-closure.rs:83:13
   |
83 |         let x = 2.5f64;
   |             ^ help: if this is intentional, prefix it with an underscore: 
`_x`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `x`
  --> 
/<<PKGBUILDDIR>>/src/test/debuginfo/lexical-scope-in-unique-closure.rs:88:13
   |
88 |         let x = true;
   |             ^ help: if this is intentional, prefix it with an underscore: 
`_x`

warning: unused variable: `x`
  --> 
/<<PKGBUILDDIR>>/src/test/debuginfo/lexical-scope-in-unique-closure.rs:79:27
   |
79 |     let unique_closure = |x:isize| {
   |                           ^ help: if this is intentional, prefix it with 
an underscore: `_x`

warning: unused variable: `x`
  --> 
/<<PKGBUILDDIR>>/src/test/debuginfo/lexical-scope-in-unique-closure.rs:74:9
   |
74 |     let x = false;
   |         ^ help: if this is intentional, prefix it with an underscore: `_x`

warning: 4 warnings emitted


------------------------------------------
NOTE: compiletest thinks it is using GDB version 13001000
executing "/usr/bin/gdb" "-quiet" "-batch" "-nx" 
"-command=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/lexical-scope-in-unique-closure.gdb/lexical-scope-in-unique-closure.debugger.script"
------stdout------------------------------
GNU gdb (Debian 13.1-1) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x1289: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 76.
Breakpoint 2 at 0x12de: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 80.
Breakpoint 3 at 0x12f6: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 85.
Breakpoint 4 at 0x1305: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 90.
Breakpoint 5 at 0x1293: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 94.
Breakpoint 6 at 0x12b3: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 99.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, lexical_scope_in_unique_closure::main () at 
src/test/debuginfo/lexical-scope-in-unique-closure.rs:76
76          zzz(); // #break
$1 = false

Breakpoint 5, lexical_scope_in_unique_closure::main () at 
src/test/debuginfo/lexical-scope-in-unique-closure.rs:94
94          zzz(); // #break
$2 = false

Breakpoint 2, lexical_scope_in_unique_closure::main::{closure#0} 
(/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]

------stderr------------------------------
/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0x55f6ba8e540e ???
0x55f6bac63b2c ???
0x55f6bac63d6a ???
0x55f6badd5c31 ???
0x55f6baa17004 ???
0x55f6ba99b6c0 ???
0x55f6ba99bb14 ???
0x55f6ba99bc00 ???
0x55f6babc6070 ???
0x55f6babc6dce ???
0x55f6babcaa7b ???
0x55f6babcb5ec ???
0x55f6baa64ce6 ???
0x55f6ba91bc1e ???
0x55f6baa67169 ???
0x55f6baa76569 ???
0x55f6badd61c5 ???
0x55f6badd6cf6 ???
0x55f6bac249e3 ???
0x55f6bac24f13 ???
0x55f6ba9eee1c ???
0x55f6bac26be0 ???
0x55f6ba921694 ???
0x55f6ba914a02 ???
0x55f6baab72e7 ???
0x55f6baab737a ???
0x55f6baab9384 ???
0x55f6baab9f5a ???
0x55f6ba848ca9 ???
0x7fb86d38a189 ???
0x7fb86d38a244 __libc_start_main
0x55f6ba84fe30 ???
0xffffffffffffffff ???
---------------------

This is a bug, please report it.  For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.


------------------------------------------

error: gdb failed to execute
status: signal: 6 (SIGABRT) (core dumped)
command: "/usr/bin/gdb" "-quiet" "-batch" "-nx" 
"-command=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/lexical-scope-in-unique-closure.gdb/lexical-scope-in-unique-closure.debugger.script"
--- stdout -------------------------------
GNU gdb (Debian 13.1-1) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x1289: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 76.
Breakpoint 2 at 0x12de: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 80.
Breakpoint 3 at 0x12f6: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 85.
Breakpoint 4 at 0x1305: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 90.
Breakpoint 5 at 0x1293: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 94.
Breakpoint 6 at 0x12b3: file 
src/test/debuginfo/lexical-scope-in-unique-closure.rs, line 99.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, lexical_scope_in_unique_closure::main () at 
src/test/debuginfo/lexical-scope-in-unique-closure.rs:76
76          zzz(); // #break
$1 = false

Breakpoint 5, lexical_scope_in_unique_closure::main () at 
src/test/debuginfo/lexical-scope-in-unique-closure.rs:94
94          zzz(); // #break
$2 = false

Breakpoint 2, lexical_scope_in_unique_closure::main::{closure#0} 
(/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
------------------------------------------
--- stderr -------------------------------
/build/gdb-r90VXy/gdb-13.1/gdb/frame.c:2457: internal-error: inside_main_func: 
Assertion `block != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0x55f6ba8e540e ???
0x55f6bac63b2c ???
0x55f6bac63d6a ???
0x55f6badd5c31 ???
0x55f6baa17004 ???
0x55f6ba99b6c0 ???
0x55f6ba99bb14 ???
0x55f6ba99bc00 ???
0x55f6babc6070 ???
0x55f6babc6dce ???
0x55f6babcaa7b ???
0x55f6babcb5ec ???
0x55f6baa64ce6 ???
0x55f6ba91bc1e ???
0x55f6baa67169 ???
0x55f6baa76569 ???
0x55f6badd61c5 ???
0x55f6badd6cf6 ???
0x55f6bac249e3 ???
0x55f6bac24f13 ???
0x55f6ba9eee1c ???
0x55f6bac26be0 ???
0x55f6ba921694 ???
0x55f6ba914a02 ???
0x55f6baab72e7 ???
0x55f6baab737a ???
0x55f6baab9384 ???
0x55f6baab9f5a ???
0x55f6ba848ca9 ???
0x7fb86d38a189 ???
0x7fb86d38a244 __libc_start_main
0x55f6ba84fe30 ???
0xffffffffffffffff ???
---------------------

This is a bug, please report it.  For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.
------------------------------------------


---- [debuginfo-gdb] src/test/debuginfo/unsized.rs stdout ----


NOTE: compiletest thinks it is using GDB with native rust support
executing "/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" 
"/<<PKGBUILDDIR>>/src/test/debuginfo/unsized.rs" "-Zthreads=1" 
"--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/unsized.gdb/a" 
"-Crpath" 
"-Lnative=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
 "-Clinker=x86_64-linux-gnu-gcc" "-g" "-L" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/unsized.gdb/auxiliary"
------stdout------------------------------

------stderr------------------------------
warning: unused variable: `a`
  --> /<<PKGBUILDDIR>>/src/test/debuginfo/unsized.rs:79:9
   |
79 |     let a: &Foo<[u8]> = &foo.value;
   |         ^ help: if this is intentional, prefix it with an underscore: `_a`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `b`
  --> /<<PKGBUILDDIR>>/src/test/debuginfo/unsized.rs:80:9
   |
80 |     let b: &Foo<Foo<[u8]>> = &foo;
   |         ^ help: if this is intentional, prefix it with an underscore: `_b`

warning: unused variable: `c`
  --> /<<PKGBUILDDIR>>/src/test/debuginfo/unsized.rs:81:9
   |
81 |     let c: &Foo<dyn std::fmt::Debug> = &Foo { value: 7i32 };
   |         ^ help: if this is intentional, prefix it with an underscore: `_c`

warning: unused variable: `tuple_slice`
  --> /<<PKGBUILDDIR>>/src/test/debuginfo/unsized.rs:85:9
   |
85 |     let tuple_slice: &(i32, i32, [i32]) = &(0, 1, [2, 3]);
   |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an 
underscore: `_tuple_slice`

warning: unused variable: `tuple_dyn`
  --> /<<PKGBUILDDIR>>/src/test/debuginfo/unsized.rs:86:9
   |
86 |     let tuple_dyn: &(i32, i32, dyn std::fmt::Debug) = &(0, 1, &3u64);
   |         ^^^^^^^^^ help: if this is intentional, prefix it with an 
underscore: `_tuple_dyn`

warning: 5 warnings emitted


------------------------------------------
NOTE: compiletest thinks it is using GDB version 13001000
executing "/usr/bin/gdb" "-quiet" "-batch" "-nx" 
"-command=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/unsized.gdb/unsized.debugger.script"
------stdout------------------------------
GNU gdb (Debian 13.1-1) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x204d: file src/test/debuginfo/unsized.rs, line 88.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, unsized::main () at src/test/debuginfo/unsized.rs:88
88          zzz(); // #break
$1 = &unsized::Foo<[u8]> 0x7fffffffd9d8
$2 = &unsized::Foo<unsized::Foo<[u8]>> 0x7fffffffd9d8
$3 = &unsized::Foo<dyn core::fmt::Debug> {pointer: 0x555555557034, vtable: 
0x555555558cd8}
$4 = alloc::boxed::Box<unsized::Foo<dyn core::fmt::Debug>, 
alloc::alloc::Global> {pointer: 0x55555555aba0, vtable: 0x555555558cd8}
$5 = &(i32, i32, [i32]) [(0, 1, 0), (2, 3, 0)]
$6 = &(i32, i32, dyn core::fmt::Debug) {pointer: 0x555555558cf8, vtable: 
0x555555558d08}
A debugging session is active.

        Inferior 1 [process 832109] will be killed.

Quit anyway? (y or n) [answered Y; input not from terminal]

------stderr------------------------------
warning: (Internal error: pc 0x555555558cd8 in read in CU, but not in symtab.)
warning: (Error: pc 0x555555558cd8 in address map, but not in symtab.)
warning: (Internal error: pc 0x555555558cd8 in read in CU, but not in symtab.)
warning: (Error: pc 0x555555558cd8 in address map, but not in symtab.)
warning: (Internal error: pc 0x555555558d08 in read in CU, but not in symtab.)
warning: (Error: pc 0x555555558d08 in address map, but not in symtab.)

------------------------------------------

error: line not found in debugger output: $1 = &unsized::Foo<[u8]> {data_ptr: 
[...], length: 4}
status: exit status: 0
command: "/usr/bin/gdb" "-quiet" "-batch" "-nx" 
"-command=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo/unsized.gdb/unsized.debugger.script"
--- stdout -------------------------------
GNU gdb (Debian 13.1-1) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x204d: file src/test/debuginfo/unsized.rs, line 88.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, unsized::main () at src/test/debuginfo/unsized.rs:88
88          zzz(); // #break
$1 = &unsized::Foo<[u8]> 0x7fffffffd9d8
$2 = &unsized::Foo<unsized::Foo<[u8]>> 0x7fffffffd9d8
$3 = &unsized::Foo<dyn core::fmt::Debug> {pointer: 0x555555557034, vtable: 
0x555555558cd8}
$4 = alloc::boxed::Box<unsized::Foo<dyn core::fmt::Debug>, 
alloc::alloc::Global> {pointer: 0x55555555aba0, vtable: 0x555555558cd8}
$5 = &(i32, i32, [i32]) [(0, 1, 0), (2, 3, 0)]
$6 = &(i32, i32, dyn core::fmt::Debug) {pointer: 0x555555558cf8, vtable: 
0x555555558d08}
A debugging session is active.

        Inferior 1 [process 832109] will be killed.

Quit anyway? (y or n) [answered Y; input not from terminal]
------------------------------------------
--- stderr -------------------------------
warning: (Internal error: pc 0x555555558cd8 in read in CU, but not in symtab.)
warning: (Error: pc 0x555555558cd8 in address map, but not in symtab.)
warning: (Internal error: pc 0x555555558cd8 in read in CU, but not in symtab.)
warning: (Error: pc 0x555555558cd8 in address map, but not in symtab.)
warning: (Internal error: pc 0x555555558d08 in read in CU, but not in symtab.)
warning: (Error: pc 0x555555558d08 in address map, but not in symtab.)
------------------------------------------



failures:
    [debuginfo-gdb] src/test/debuginfo/destructured-fn-argument.rs
    [debuginfo-gdb] src/test/debuginfo/function-arguments.rs
    [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-stack-closure.rs
    [debuginfo-gdb] src/test/debuginfo/lexical-scope-in-unique-closure.rs
    [debuginfo-gdb] src/test/debuginfo/unsized.rs

test result: FAILED. 103 passed; 5 failed; 31 ignored; 0 measured; 0 filtered 
out; finished in 5.57s



command did not execute successfully: 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" 
"--compile-lib-path" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib"
 "--rustc-path" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" 
"/<<PKGBUILDDIR>>/src/test/debuginfo" "--build-base" 
"/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/test/debuginfo" "--stage-id" 
"stage2-x86_64-unknown-linux-gnu" "--suite" "debuginfo" "--mode" "debuginfo" 
"--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" 
"--llvm-filecheck" "/usr/lib/llvm-14/bin/FileCheck" "--linker" 
"x86_64-linux-gnu-gcc" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0  
-Lnative=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
 "--target-rustcflags" "-Crpath -O -Cdebuginfo=0  
-Lnative=/<<PKGBUILDDIR>>/build/x86_64-unknown-linux-gnu/native/rust-test-helpers"
 "--python" "/usr/bin/python3" "--gdb" "/usr/bin/gdb" "--verbose" 
"--llvm-version" "14.0.6" "--llvm-components" "aarch64 aarch64asmparser 
aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils 
aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen 
amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuutils analysis 
arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser 
asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo 
binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen 
bpfdesc bpfdisassembler bpfinfo cfguard codegen core coroutines coverage 
debuginfocodeview debuginfodwarf debuginfogsym debuginfomsf debuginfopdb 
demangle dlltooldriver dwarflinker dwp engine executionengine extensions 
filecheck frontendopenacc frontendopenmp fuzzmutate globalisel hexagon 
hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo 
instcombine instrumentation interfacestub interpreter ipo irreader jitlink 
lanai lanaiasmparser lanaicodegen lanaidesc lanaidisassembler lanaiinfo 
libdriver lineeditor linker lto m68k m68kasmparser m68kcodegen m68kdesc 
m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips 
mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 
msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native 
nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts object 
objectyaml option orcjit orcshared orctargetprocess passes perfjitevents 
powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler 
powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc 
riscvdisassembler riscvinfo runtimedyld scalaropts selectiondag sparc 
sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support 
symbolize systemz systemzasmparser systemzcodegen systemzdesc 
systemzdisassembler systemzinfo tablegen target textapi transformutils ve 
veasmparser vecodegen vectorize vedesc vedisassembler veinfo webassembly 
webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler 
webassemblyinfo webassemblyutils windowsmanifest x86 x86asmparser x86codegen 
x86desc x86disassembler x86info x86targetmca xcore xcorecodegen xcoredesc 
xcoredisassembler xcoreinfo xray" "--system-llvm" "--cc" "" "--cxx" "" 
"--cflags" "" "--cxxflags" "" "--adb-path" "adb" "--adb-test-dir" 
"/data/tmp/work" "--android-cross-path" "" "--channel" "stable"
expected success, got: exit status: 1
---->8----

please note it's possible that it's actually rustc that is at fault, or
something else breaking rustc's integration of gdb (which uses gdb's python
support). most of the test cases and quick debugging attempts are OK, I hope
the errors above give some pointers on what is actually broken.

thanks!

0: https://salsa.debian.org/rust-team/rust/-/merge_requests/23

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdb depends on:
ii  libbabeltrace1          1.5.11-1+b2
ii  libc6                   2.36-8
ii  libdebuginfod1          0.188-2.1
ii  libexpat1               2.5.0-1
ii  libgcc-s1               12.2.0-14
ii  libgmp10                2:6.2.1+dfsg1-1.1
ii  libipt2                 2.0.5-1
ii  liblzma5                5.4.1-0.2
ii  libmpfr6                4.2.0-1
ii  libncursesw6            6.4-2
ii  libpython3.11           3.11.2-4
ii  libreadline8            8.2-1.3
ii  libsource-highlight4v5  3.1.9-4.2+b2
ii  libstdc++6              12.2.0-14
ii  libtinfo6               6.4-2
ii  libxxhash0              0.8.1-1
ii  libzstd1                1.5.4+dfsg2-3
ii  zlib1g                  1:1.2.13.dfsg-1

Versions of packages gdb recommends:
ii  libc6-dbg [libc-dbg]  2.36-8

Versions of packages gdb suggests:
pn  gdb-doc    <none>
pn  gdbserver  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: gdb
Source-Version: 13.1-2
Done: Héctor Orón Martínez <zu...@debian.org>

We believe that the bug you reported is fixed in the latest version of
gdb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1031...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Héctor Orón Martínez <zu...@debian.org> (supplier of updated gdb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 24 Feb 2023 22:58:29 +0100
Source: gdb
Architecture: source
Version: 13.1-2
Distribution: unstable
Urgency: medium
Maintainer: Héctor Orón Martínez <zu...@debian.org>
Changed-By: Héctor Orón Martínez <zu...@debian.org>
Closes: 1031722 1031745
Changes:
 gdb (13.1-2) unstable; urgency=medium
 .
   * Apply upstream proposed fix for PR/30158
     (Closes: #1031745)
   * debian/patches: refresh
   * install changelog on binary-arch packages
     (Closes: #1031722)
   * adjust lintian overrides
Checksums-Sha1:
 f23d703c90e14b37676136ae2ea31b9f8e38fcf2 2864 gdb_13.1-2.dsc
 933829f765b1afd96fcb6c88f9cb555aa7af78cb 49432 gdb_13.1-2.debian.tar.xz
 f597e3d974300b71d93b8a5491c3e68c9a95c232 10528 gdb_13.1-2_source.buildinfo
Checksums-Sha256:
 f9943fb73cb03e7fa8c5b2f3e8d0d54aa7dc77b062c15fb03003f03603f093a9 2864 
gdb_13.1-2.dsc
 a6a62db8d6fbedbfbc59837948d50584a0c3ec10eece2ff1c7b49342be0d8f24 49432 
gdb_13.1-2.debian.tar.xz
 b5e75c82a7bc4264638c491776d7659f8d57876ad7591ff2e605a0f3d0db56c0 10528 
gdb_13.1-2_source.buildinfo
Files:
 94d758161d2b069da6489221a9c2e19c 2864 devel optional gdb_13.1-2.dsc
 723932c2325c9297860b79fcf91f2238 49432 devel optional gdb_13.1-2.debian.tar.xz
 371ed182a6d72178bc55a9da895ea8ef 10528 devel optional 
gdb_13.1-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE6Q8IiVReeMgqnedOryKDqnbirHsFAmP5TiMACgkQryKDqnbi
rHsAGxAApeSo88/FP0fCDZXa8zW1uw7OITHVsUwdr9lJOjIxdRq7WVNm1EJAnb09
aXPUwQJ2kCp3H13+VZ5Kw1Wk4gFfjcpl7jgbX90h76aszB/c8VQV2/0OzCADDFL8
jUU2kVzfw5CLwCGaXl3RCPOEIffBpopT0ngs2WyHpHFr0plzH/Q0pT8cPe55lCKD
bi6OO6R2TWgrdvejpTRxYDr5ihCvqjd6SGfWPg/D5pljbgQgXY7K3pAXLrnHCudd
HUnmSFVlnqWakBli/iVdU8NW+FPghwR2JH6uX4k+h+JbCtrtFVdixZ/eae084H67
drPQi1OgM3G9NvbPk724ad56wXsbjhtUqZ/zYFpj3S2nyYSNkHeOqXWASD3OeJ7N
K5QIbU3APok4OV7LaSvCZIodBOFIZexvgJzGancXiPniSXrjglRXJ++q4cklobwv
OdSrGiZFeuvWrpQPqDskB6XvsM9GkEx247eFj3ydqHAy1X2VHBcbPoEnCgmD4q01
pLiV8uVVZ5EQIAqv3wsymQjDUFggRHBn6Gh/4EAS2EDdC601yrSWhbP0yJrx7N4E
F1sXabjRk1V3vl15mGMAbtwD13Hrv9I2+RfptP3exrO61/Yop5w2C/Na3LuREJ4x
IOlntdmq7/1viksXEHjm2dpBA4RFva4v5TioXncnhkLUFcWRk60=
=CbWv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to