[Pkg-rust-maintainers] Bug#1030948: rust-test-dir: autopkgtest failure

Adrian Bunk bunk at debian.org
Thu Feb 9 20:30:47 GMT 2023


Source: rust-test-dir
Version: 0.2.0-2
Severity: serious

https://ci.debian.net/data/autopkgtest/testing/amd64/r/rust-test-dir/31197295/log.gz

...
running 6 tests
test tests::test_testdir_temp_dir ... ok
test tests::test_testdir_remove ... ok
test tests::test_testdir_path ... ok
test tests::test_testdir_create ... ok
test tests::test_testdir_current_dir ... FAILED
test tests::test_testdir_current_rnd_dir ... FAILED

failures:

---- tests::test_testdir_current_dir stdout ----
thread 'tests::test_testdir_current_dir' panicked at 'Cannot create dir in current directory', src/lib.rs:155:13
stack backtrace:
   0: std::panicking::begin_panic
             at /usr/src/rustc-1.63.0/library/std/src/panicking.rs:616:12
   1: test_dir::TestDir::current
             at /usr/share/cargo/registry/test-dir-0.2.0/src/lib.rs:155:13
   2: test_dir::tests::test_testdir_current_dir
             at /usr/share/cargo/registry/test-dir-0.2.0/src/lib.rs:335:23
   3: test_dir::tests::test_testdir_current_dir::{{closure}}
             at /usr/share/cargo/registry/test-dir-0.2.0/src/lib.rs:332:5
   4: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.63.0/library/core/src/ops/function.rs:248:5
   5: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.63.0/library/core/src/ops/function.rs:248:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

---- tests::test_testdir_current_rnd_dir stdout ----
thread 'tests::test_testdir_current_rnd_dir' panicked at 'Cannot create temp dir in current directory', src/lib.rs:145:13
stack backtrace:
   0: std::panicking::begin_panic
             at /usr/src/rustc-1.63.0/library/std/src/panicking.rs:616:12
   1: test_dir::TestDir::current_rnd
             at /usr/share/cargo/registry/test-dir-0.2.0/src/lib.rs:145:13
   2: test_dir::tests::test_testdir_current_rnd_dir
             at /usr/share/cargo/registry/test-dir-0.2.0/src/lib.rs:316:23
   3: test_dir::tests::test_testdir_current_rnd_dir::{{closure}}
             at /usr/share/cargo/registry/test-dir-0.2.0/src/lib.rs:313:5
   4: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.63.0/library/core/src/ops/function.rs:248:5
   5: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.63.0/library/core/src/ops/function.rs:248:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


failures:
    tests::test_testdir_current_dir
    tests::test_testdir_current_rnd_dir

test result: FAILED. 4 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

error: test failed, to rerun pass `--lib`
autopkgtest [20:24:51]: test librust-test-dir-dev:: -----------------------]
autopkgtest [20:24:51]: test librust-test-dir-dev::  - - - - - - - - - - results - - - - - - - - - -
librust-test-dir-dev: FAIL non-zero exit status 101



More information about the Pkg-rust-maintainers mailing list