[Pkg-rust-maintainers] Bug#947903: rust-cbindgen: autopkgtest failure: can't create /usr/share/cargo/registry/cbindgen-0.12.1/tests/expectations/alias.compat.o: Permission denied

Paul Gevers elbrus at debian.org
Wed Jan 1 21:48:12 GMT 2020


Source: rust-cbindgen
Version: 0.9.0-1
X-Debbugs-CC: debian-ci at lists.debian.org
Severity: important
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainers,

Since version 0.9.0-1 rust-cbindgen has an autopkgtest, great. However,
it fails since its introduction. I copied some of the output at the
bottom of this report.

Normally these failures are blocking the migration to testing [1],
however, I want thunderbird to finally migrate to testing, so I have
ignored this failure, but can you please investigate the situation and
fix it? In principle this bug should be "serious", but then it would
block migration again, hence I filed it as important.

Paul

[1] https://qa.debian.org/excuses.php?package=rust-cbindgen

https://ci.debian.net/data/autopkgtest/testing/amd64/r/rust-cbindgen/3824078/log.gz


running 69 tests
test test_alias ... FAILED
test test_annotation ... FAILED
test test_array ... FAILED
test test_asserted_cast ... FAILED
test test_assoc_const_conflict ... FAILED
test test_assoc_constant ... FAILED
test test_associated_in_body ... FAILED
test test_bitflags ... FAILED
test test_body ... FAILED
test test_cdecl ... FAILED
test test_cfg ... FAILED
test test_cfg_2 ... FAILED
test test_cfg_field ... FAILED
test test_char ... FAILED
test test_const_conflict ... FAILED
test test_const_transparent ... FAILED
test test_custom_header ... FAILED
test test_constant ... FAILED
test test_display_list ... FAILED
test test_destructor_and_copy_ctor ... FAILED
test test_docstyle_auto ... FAILED
test test_docstyle_c99 ... FAILED
test test_docstyle_doxy ... FAILED
test test_documentation ... FAILED
test test_enum ... FAILED
test test_euclid ... FAILED
test test_extern ... FAILED
test test_extern_2 ... FAILED
test test_fns ... FAILED
test test_global_attr ... FAILED
test test_include_guard ... FAILED
test test_include ... FAILED
test test_include_item ... FAILED
test test_include_specific ... FAILED
test test_inner_mod ... FAILED
test test_item_types ... FAILED
test test_item_types_renamed ... FAILED
test test_layout ... FAILED
test test_layout_aligned_opaque ... FAILED
test test_lifetime_arg ... FAILED
test test_layout_packed_opaque ... FAILED
test test_monomorph_2 ... FAILED
test test_monomorph_1 ... FAILED
test test_must_use ... FAILED
test test_monomorph_3 ... FAILED
test test_namespace_constant ... FAILED
test test_namespaces_constant ... FAILED
test test_no_includes ... FAILED
test test_nested_import ... FAILED
test test_nonnull ... FAILED
test test_prefix ... FAILED
test test_prefixed_struct_literal ... FAILED
test test_prefixed_struct_literal_deep ... FAILED
test test_renaming_overrides_prefixing ... FAILED
test test_rename ... FAILED
test test_reserved ... FAILED
test test_simplify_option_ptr ... FAILED
test test_static ... FAILED
test test_std_lib ... FAILED
test test_struct ... FAILED
test test_struct_literal ... FAILED
test test_style_crash ... FAILED
test test_struct_literal_order ... FAILED
test test_transform_op ... FAILED
test test_transparent ... FAILED
test test_typedef ... FAILED
test test_union ... FAILED
test test_using_namespaces ... FAILED
test test_va_list ... FAILED

failures:

---- test_alias stdout ----
Running:
"/tmp/tmp.eBeK8VQvKg/target/x86_64-unknown-linux-gnu/debug/cbindgen"
"--lang" "c" "--cpp-compat" "--style" "type" "-o"
"/usr/share/cargo/registry/cbindgen-0.12.1/tests/expectations/alias.compat.c"
"/usr/share/cargo/registry/cbindgen-0.12.1/tests/rust/alias.rs"
Running: "gcc" "-D" "DEFINED" "-c"
"/usr/share/cargo/registry/cbindgen-0.12.1/tests/expectations/alias.compat.c"
"-o"
"/usr/share/cargo/registry/cbindgen-0.12.1/tests/expectations/alias.compat.o"
thread 'test_alias' panicked at 'Output failed to compile: Output {
status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Assembler
messages:\nFatal error: can\'t create
/usr/share/cargo/registry/cbindgen-0.12.1/tests/expectations/alias.compat.o:
Permission denied\n" }', tests/tests.rs:82:5
stack backtrace:
   0: <std::sys_common::backtrace::_print::DisplayBacktrace as
core::fmt::Display>::fmt
   1: core::fmt::write
   2: std::io::Write::write_fmt
   3: std::io::impls::<impl std::io::Write for
alloc::boxed::Box<W>>::write_fmt
   4: std::panicking::default_hook::{{closure}}
   5: std::panicking::default_hook
   6: std::panicking::rust_panic_with_hook
   7: std::panicking::continue_panic_fmt
   8: std::panicking::begin_panic_fmt
   9: tests::compile
             at tests/tests.rs:82
  10: tests::run_compile_test
             at tests/tests.rs:125
  11: tests::test_file
             at tests/tests.rs:136
  12: tests::test_alias
             at tests/tests.rs:160
  13: tests::test_alias::{{closure}}
             at tests/tests.rs:159
  14: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.40.0/src/libcore/ops/function.rs:227
  15: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
  16: __rust_maybe_catch_panic
  17: test::run_test_in_process
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a
verbose backtrace.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20200101/2da4bf66/attachment-0001.sig>


More information about the Pkg-rust-maintainers mailing list