Source: rust-hypothesis
Version: 0.11.1-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=rust-hypothesis&ver=0.11.1-1
https://buildd.debian.org/status/logs.php?pkg=rust-hypothesis&ver=0.11.1-2
...
Running
`/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/cli-60d293523176a82c
--test-threads=1 --skip it_works --skip make --skip sync --skip tag_filter`
running 5 tests
test add_and_delete_annotation ... FAILED
test create_and_leave_group ... FAILED
test search_annotations ... FAILED
test update_annotation ... FAILED
test update_group ... FAILED
failures:
---- add_and_delete_annotation stdout ----
Error: path not found
Caused by:
path not found
Location:
tests/cli.rs:33:5
---- create_and_leave_group stdout ----
Error: path not found
Caused by:
path not found
Location:
tests/cli.rs:177:5
---- search_annotations stdout ----
Error: path not found
Caused by:
path not found
Location:
tests/cli.rs:114:5
---- update_annotation stdout ----
Error: path not found
Caused by:
path not found
Location:
tests/cli.rs:69:5
---- update_group stdout ----
thread 'update_group' panicked at 'assertion failed: group_id.is_ok()',
tests/cli.rs:218:5
stack backtrace:
0: rust_begin_unwind
at /usr/src/rustc-1.70.0/library/std/src/panicking.rs:578:5
1: core::panicking::panic_fmt
at /usr/src/rustc-1.70.0/library/core/src/panicking.rs:67:14
2: core::panicking::panic
at /usr/src/rustc-1.70.0/library/core/src/panicking.rs:117:5
3: cli::update_group
at ./tests/cli.rs:218:5
4: cli::update_group::{{closure}}
at ./tests/cli.rs:212:22
5: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.70.0/library/core/src/ops/function.rs:250:5
6: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.70.0/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose
backtrace.
failures:
add_and_delete_annotation
create_and_leave_group
search_annotations
update_annotation
update_group
test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out;
finished in 0.04s
error: test failed, to rerun pass `--test cli`
Doc-tests hypothesis
Running `rustdoc --edition=2021 --crate-type lib --crate-name hypothesis
--test /<<PKGBUILDDIR>>/src/lib.rs --target x86_64-unknown-linux-gnu -L
dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L
dependency=/<<PKGBUILDDIR>>/target/release/deps -L
native=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/build/ring-21217903804af83c/out
--test-args --test-threads=1 --test-args --skip --test-args it_works
--test-args --skip --test-args make --test-args --skip --test-args sync
--test-args --skip --test-args tag_filter --extern
assert_cmd=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libassert_cmd-134b03450b103fd5.rlib
--extern
chrono=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libchrono-366b82fe4c132a7f.rlib
--extern
clap=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libclap-0253bc5809b2cb30.rlib
--extern
clap_complete=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libclap_complete-e7897de87192b73b.rlib
--extern
color_eyre=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libcolor_eyre-9811652bc2e783d9.rlib
--extern
derive_builder=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libderive_builder-b3eb91696292575e.rlib
--extern
dotenv=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libdotenv-9f37bf59e8da3298.rlib
--extern
eyre=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libeyre-913f1aee7266adfa.rlib
--extern
futures=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libfutures-badab9fb8631b2a1.rlib
--extern
hypothesis=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libhypothesis-12767b8516e42793.rlib
--extern
predicates=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libpredicates-53aab59c9f2a01ff.rlib
--extern
reqwest=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libreqwest-1c860df583615e4b.rlib
--extern
serde=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libserde-c2f81dc8b529eb86.rlib
--extern
serde_json=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-86e653e5692938d9.rlib
--extern
thiserror=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libthiserror-a30286b97953be04.rlib
--extern
tokio=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtokio-f2e0886742c2d315.rlib
--extern
url=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/liburl-a6463baef11a8609.rlib
-C embed-bitcode=no --cfg 'feature="clap"' --cfg 'feature="clap_complete"'
--cfg 'feature="cli"' --cfg 'feature="color-eyre"' --cfg 'feature="default"'
--cfg 'feature="eyre"' --error-format human`
running 18 tests
test src/annotations.rs - annotations::InputAnnotation (line 27) ... ok
test src/lib.rs - (line 44) - compile ... ok
test src/lib.rs - Hypothesis::create_annotation (line 213) ... FAILED
test src/lib.rs - Hypothesis::create_annotations (line 259) ... FAILED
test src/lib.rs - Hypothesis::create_group (line 662) - compile ... ok
test src/lib.rs - Hypothesis::delete_annotation (line 490) ... FAILED
test src/lib.rs - Hypothesis::fetch_annotation (line 444) ... FAILED
test src/lib.rs - Hypothesis::fetch_group (line 715) ... FAILED
test src/lib.rs - Hypothesis::fetch_user_groups (line 928) ... FAILED
test src/lib.rs - Hypothesis::fetch_user_profile (line 898) ... FAILED
test src/lib.rs - Hypothesis::from_env (line 178) ... FAILED
test src/lib.rs - Hypothesis::get_group_members (line 845) ... FAILED
test src/lib.rs - Hypothesis::get_groups (line 618) ... FAILED
test src/lib.rs - Hypothesis::new (line 139) ... FAILED
test src/lib.rs - Hypothesis::search_annotations (line 364) ... FAILED
test src/lib.rs - Hypothesis::update_annotation (line 304) ... FAILED
test src/lib.rs - Hypothesis::update_group (line 780) - compile ... ok
test src/lib.rs - UserAccountID (line 957) ... ok
failures:
---- src/lib.rs - Hypothesis::create_annotation (line 213) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::create_annotations (line 259) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::delete_annotation (line 490) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::fetch_annotation (line 444) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::fetch_group (line 715) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::fetch_user_groups (line 928) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::fetch_user_profile (line 898) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::from_env (line 178) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::get_group_members (line 845) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::get_groups (line 618) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::new (line 139) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::search_annotations (line 364) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
---- src/lib.rs - Hypothesis::update_annotation (line 304) stdout ----
Test executable failed (exit status: 1).
stderr:
Error: Io(Custom { kind: NotFound, error: "path not found" })
failures:
src/lib.rs - Hypothesis::create_annotation (line 213)
src/lib.rs - Hypothesis::create_annotations (line 259)
src/lib.rs - Hypothesis::delete_annotation (line 490)
src/lib.rs - Hypothesis::fetch_annotation (line 444)
src/lib.rs - Hypothesis::fetch_group (line 715)
src/lib.rs - Hypothesis::fetch_user_groups (line 928)
src/lib.rs - Hypothesis::fetch_user_profile (line 898)
src/lib.rs - Hypothesis::from_env (line 178)
src/lib.rs - Hypothesis::get_group_members (line 845)
src/lib.rs - Hypothesis::get_groups (line 618)
src/lib.rs - Hypothesis::new (line 139)
src/lib.rs - Hypothesis::search_annotations (line 364)
src/lib.rs - Hypothesis::update_annotation (line 304)
test result: FAILED. 5 passed; 13 failed; 0 ignored; 0 measured; 0 filtered
out; finished in 58.97s
error: doctest failed, to rerun pass `--doc`
error: 2 targets failed:
`--test cli`
`--doc`
dh_auto_test: error: env DEB_BUILDDIR=
/<<PKGBUILDDIR>>/debian/dh-cargo/bin/cargo test --no-fail-fast --
--test-threads=1 --skip it_works --skip make --skip sync --skip tag_filter
returned exit code 101
make[1]: *** [debian/rules:34: override_dh_auto_test] Error 25