Move ambient gdb discovery from compiletest to bootstrap
- Follow-up to https://github.com/rust-lang/rust/pull/148099
This code takes the compiletest code for discovering an “ambient” gdb in the user's path, and moves it to bootstrap.
One of the eventual goals is to allow compiletest to assume that if it has been asked to run the debuginfo-gdb suite, then it must have been passed an explicit --gdb, though we aren't quite there yet.
r? jieyouxu
Some changes occurred in src/tools/compiletest
cc @jieyouxu
@bors try jobs=arm-android,x86_64-mingw-1,test-various
:hourglass: Trying commit 0d1a15ff962166ec26c1a1fc8f03c08f0576e50a with merge 1f15c3ffcad6f054526666f97516047530fb7201…
To cancel the try build, run the command @bors try cancel.
Workflow: https://github.com/rust-lang/rust/actions/runs/19988222783
The job x86_64-gnu-gcc failed! Check out the build log: (web) (plain enhanced) (plain)
Click to see the possible cause of the failure (guessed by this bot)
failures:
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-external-flag-overriden-by-attr.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/collapse-debuginfo-external-flag-overriden-by-attr.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-external-flag-overriden-by-attr.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-external-attr.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/collapse-debuginfo-external-attr.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-external-attr.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-external-flag.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/collapse-debuginfo-external-flag.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-external-flag.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-no-attr.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/collapse-debuginfo-no-attr.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-no-attr.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-attr.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-attr.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-attr.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-attr-flag.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-attr-flag.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-attr-flag.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-yes-flag.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-yes-flag.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-yes-flag.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/constant-debug-locs.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/constant-debug-locs.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/constant-debug-locs.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/constant-in-match-pattern.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/constant-in-match-pattern.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/constant-in-match-pattern.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/issue-12886.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/issue-12886.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/issue-12886.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/fixed-sized-array.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/fixed-sized-array.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/fixed-sized-array.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/issue-7712.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/issue-7712.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/issue-7712.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/issue-14411.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/issue-14411.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/issue-14411.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/lexical-scope-in-parameterless-closure.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/lexical-scope-in-parameterless-closure.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/lexical-scope-in-parameterless-closure.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/multi-byte-chars.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/multi-byte-chars.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/multi-byte-chars.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/issue-13213.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/issue-13213.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/issue-13213.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/mutable-locs.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/mutable-locs.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/mutable-locs.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/recursive-enum.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/recursive-enum.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/recursive-enum.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/mutex.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/mutex.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/mutex.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/recursive-type-with-gat.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/recursive-type-with-gat.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/recursive-type-with-gat.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/result-types.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/result-types.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/result-types.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/rwlock-write.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/rwlock-write.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/rwlock-write.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/rwlock-read.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/rwlock-read.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/rwlock-read.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/trait-pointers.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/trait-pointers.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/trait-pointers.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/unreachable-locals.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/unreachable-locals.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/unreachable-locals.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/pretty-std-collections-hash.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/pretty-std-collections-hash.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
7: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test::{closure#1}
8: <compiletest::runtest::TestCx>::run_debuginfo_gdb_test
9: compiletest::runtest::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
---- [debuginfo-gdb] tests/debuginfo/pretty-std-collections-hash.rs stdout end ----
---- [debuginfo-gdb] tests/debuginfo/thread.rs stdout ----
thread '[debuginfo-gdb] tests/debuginfo/thread.rs' panicked at src/tools/compiletest/src/runtest/debuginfo.rs:160:37:
failed to exec `"adb"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
5: __rustc::rust_begin_unwind
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
6: core::panicking::panic_fmt
at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
For more information how to resolve CI failures of this job, visit this link.
@bors try cancel
Try build cancelled. Cancelled workflows:
- https://github.com/rust-lang/rust/actions/runs/19988222783
@bors try jobs=arm-android,x86_64-mingw-1,test-various
:hourglass: Trying commit 4548aea4bf184b2d41411c64580fb3ceff2483ba with merge 8f3e0147513441cb4f3f9a7e12db22e9a3ce9c98…
To cancel the try build, run the command @bors try cancel.
Workflow: https://github.com/rust-lang/rust/actions/runs/19988688275
:broken_heart: Test for 8f3e0147513441cb4f3f9a7e12db22e9a3ce9c98 failed: CI. Failed jobs:
try - arm-android(web logs, extended logs)
Hmm, I had been operating on the assumption that these Android flags were specific to debuginfo, but I guess that’s not the case.
@rustbot author
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.
Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.
@bors try jobs=arm-android,x86_64-mingw-1,test-various
:hourglass: Trying commit 8f35bd17cc4f88d3069a78d30890e1cfcf007ef1 with merge 4b032b4478f08e5e0432c515980a127dad60ed98…
To cancel the try build, run the command @bors try cancel.
Workflow: https://github.com/rust-lang/rust/actions/runs/19998058089
:sunny: Try build successful (CI)
Build commit: 4b032b4478f08e5e0432c515980a127dad60ed98 (4b032b4478f08e5e0432c515980a127dad60ed98, parent: d427ddfe90367eaa6d2ed7bb8a16559f0230f47a)
@rustbot ready
@bors r+ rollup
:pushpin: Commit 8f35bd17cc4f88d3069a78d30890e1cfcf007ef1 has been approved by jieyouxu
It is now in the queue for this repository.