#1111750 rust-human-panic: autopkgtest fails: error[E0599]: no method named `message` found for reference `&PanicHookInfo<'_>` in the current scope

#1111750#5
Date:
2025-08-21 17:25:55 UTC
From:
To:
Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails. Can you
please investigate the situation and fix it? I copied some of the output
at the bottom of this report.

The release team has announced [1] that failing autopkgtest on amd64 and
arm64 are considered RC in testing.

More information about this bug and the reason for filing it can be
found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/packages/r/rust-human-panic/testing/amd64/63481755/

  68s error[E0599]: no method named `message` found for reference
`&PanicHookInfo<'_>` in the current scope
  68s    --> src/lib.rs:273:30
  68s     |
  68s 273 |     let message = panic_info.message().map(|m| format!("{}",
m));
  68s     |                              ^^^^^^^ method not found in
`&PanicHookInfo<'_>`
  68s
  68s For more information about this error, try `rustc --explain E0599`.
  68s warning: `human-panic` (lib test) generated 5 warnings
  68s error: could not compile `human-panic` (lib test) due to 1
previous error; 5 warnings emitted
  68s
  68s Caused by:
  68s   process didn't exit successfully: `CARGO=/usr/bin/cargo
CARGO_CRATE_NAME=human_panic
CARGO_MANIFEST_DIR=/usr/share/cargo/registry/human-panic-2.0.2
CARGO_MANIFEST_PATH=/usr/share/cargo/registry/human-panic-2.0.2/Cargo.toml
CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Panic messages for humans'
CARGO_PKG_HOMEPAGE='https://github.com/rust-cli/human-panic'
CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=human-panic CARGO_PKG_README=README.md
CARGO_PKG_REPOSITORY='https://github.com/rust-cli/human-panic'
CARGO_PKG_RUST_VERSION=1.74 CARGO_PKG_VERSION=2.0.2
CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=0
CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE=''
CARGO_PRIMARY_PACKAGE=1
LD_LIBRARY_PATH=/tmp/tmp.ejSWnz8xaG/target/release/deps rustc
--crate-name human_panic --edition=2021 src/lib.rs --error-format=json 
--json=diagnostic-rendered-ansi,artifacts,future-incompat 
--emit=dep-info,link -C opt-level=3 -C embed-bitcode=no 
--warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' 
'--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads'
--warn=unused_qualifications --warn=unused_macro_rules 
--warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn 
--warn=unreachable_pub '--warn=clippy::uninlined_format_args' 
'--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo'
'--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes'
'--warn=clippy::string_add_assign' '--warn=clippy::string_add'
'--warn=clippy::str_to_string'
'--warn=clippy::semicolon_if_nothing_returned'
'--warn=clippy::self_named_module_files'
'--warn=clippy::same_functions_in_if_condition'
'--warn=clippy::rest_pat_in_fully_bound_structs'
'--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names'
'--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr'
'--warn=clippy::path_buf_push_overwrite'
'--warn=clippy::negative_feature_names'
'--warn=clippy::needless_for_each' '--warn=clippy::needless_continue'
'--warn=clippy::mutex_integer' '--warn=clippy::mem_forget'
'--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal'
'--warn=clippy::linkedlist' '--allow=clippy::let_and_return'
'--warn=clippy::large_types_passed_by_value'
'--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups'
'--warn=clippy::invalid_upcast_comparisons'
'--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string'
'--warn=clippy::inconsistent_struct_constructor'
'--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone'
'--allow=clippy::if_same_then_else'
'--warn=clippy::from_iter_instead_of_collect'
'--warn=clippy::fn_params_excessive_bools'
'--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option'
'--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from'
'--warn=clippy::explicit_into_iter_loop'
'--warn=clippy::explicit_deref_methods'
'--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use'
'--warn=clippy::empty_enum' '--warn=clippy::doc_markdown'
'--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro'
'--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if'
'--warn=clippy::checked_conversions'
'--allow=clippy::branches_sharing_code'
'--allow=clippy::bool_assert_comparison' --test --cfg 'feature="color"'
--cfg 'feature="default"' --cfg 'feature="nightly"' --check-cfg 
'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("color", "default",
"nightly"))' -C metadata=d97e7fcefc0ba544 -C
extra-filename=-eec6f33c34afee1e --out-dir
/tmp/tmp.ejSWnz8xaG/target/x86_64-unknown-linux-gnu/release/deps
--target x86_64-unknown-linux-gnu -C strip=debuginfo -L 
dependency=/tmp/tmp.ejSWnz8xaG/target/x86_64-unknown-linux-gnu/release/deps
-L dependency=/tmp/tmp.ejSWnz8xaG/target/release/deps --extern 
anstream=/tmp/tmp.ejSWnz8xaG/target/x86_64-unknown-linux-gnu/release/deps/libanstream-f3122d98c32a8667.rlib
--extern 
anstyle=/tmp/tmp.ejSWnz8xaG/target/x86_64-unknown-linux-gnu/release/deps/libanstyle-dca61789c448c6a8.rlib
--extern 
backtrace=/tmp/tmp.ejSWnz8xaG/target/x86_64-unknown-linux-gnu/release/deps/libbacktrace-1cf09bac94aefa49.rlib
--extern 
os_info=/tmp/tmp.ejSWnz8xaG/target/x86_64-unknown-linux-gnu/release/deps/libos_info-d209e3f4dad6c447.rlib
--extern 
serde=/tmp/tmp.ejSWnz8xaG/target/x86_64-unknown-linux-gnu/release/deps/libserde-179f9bb3ca9fa39c.rlib
--extern 
serde_derive=/tmp/tmp.ejSWnz8xaG/target/release/deps/libserde_derive-4fd08e7241da1ea3.so
--extern 
toml=/tmp/tmp.ejSWnz8xaG/target/x86_64-unknown-linux-gnu/release/deps/libtoml-b02a80d85edf078d.rlib
--extern 
uuid=/tmp/tmp.ejSWnz8xaG/target/x86_64-unknown-linux-gnu/release/deps/libuuid-69fbd4e81bfaf77d.rlib
-C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C 
link-arg=-Wl,-z,relro --remap-path-prefix
/tmp/tmp.ejSWnz8xaG/registry=/usr/share/cargo/registry` (exit status: 1)
  68s autopkgtest [18:44:53]: test rust-human-panic:@:
-----------------------]

#1111750#10
Date:
2025-08-30 10:05:57 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
rust-human-panic, 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 1111750@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <dr@jones.dk> (supplier of updated rust-human-panic 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 30 Aug 2025 11:52:52 +0200
Source: rust-human-panic
Architecture: source
Version: 2.0.3-2
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <dr@jones.dk>
Changed-By: Jonas Smedegaard <dr@jones.dk>
Closes: 1111750
Changes:
 rust-human-panic (2.0.3-2) unstable; urgency=medium
 .
   * update copyright info: fix typo in comment
   * add patch 2004 to avoid nightly-only hints;
     closes: bug#1111750, thanks to Paul Gevers
   * update watch file:
     + improve mangling of upstream version
     + stop mangle filename
Checksums-Sha1:
 40d3a099901cbe31aa96c56c0107e77a2e79de43 2454 rust-human-panic_2.0.3-2.dsc
 ba5a060e218241a535df7137125f6f09cb57cc5f 5348 rust-human-panic_2.0.3-2.debian.tar.xz
 5fbb6ca0afff1402fe81bda0288abcabb524ceab 12667 rust-human-panic_2.0.3-2_amd64.buildinfo
Checksums-Sha256:
 369a57ba26c259acf327ec06be446db5e2add51ba3dba7e7277df340d1b33a29 2454 rust-human-panic_2.0.3-2.dsc
 221a086edfc8a28c0dcdee7d1849d0391bc20d73a622ba06be58241401893ec7 5348 rust-human-panic_2.0.3-2.debian.tar.xz
 3f963ca8151bbc71c59ab4396cb9bc13a893207c13c1c5e8a5aaeeb4c454bfba 12667 rust-human-panic_2.0.3-2_amd64.buildinfo
Files:
 ceadb0060a84408794c5f5fd80871e54 2454 rust optional rust-human-panic_2.0.3-2.dsc
 27583fb7d861d742ea537d99f8b748c5 5348 rust optional rust-human-panic_2.0.3-2.debian.tar.xz
 a4267278490bc605fb10e2c66fc61257 12667 rust optional rust-human-panic_2.0.3-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJosspPCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmczQQGGCiM+Fs2+C77ROkhvGiEsnH9pUXeZyqnypYr7
zBYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAAAJ4RAArZKiNF13NCsJy5WUpgvwEFBR
DVZmhSksmuMoB3N1+zPM7/zAQEcLY0XIyY2lalQxaEiP8sWz0bRDE8kGayqjhYre
+Qbe+BdQkPVbSINBmODZNZfREZwO/Mxc6vkAePhuvr+p7JcSBgQFQ6KiNPUVRoig
Dna0pxvtEPB6M8Krig/XNDCpWTUojKN4SofR6vBZaJHHzflafZElIxbesAy6AICJ
kq6zqCciHqxNWuCLxMWi9wzMtnYe682kpJBs+9zEiO/xC1ZZQ8DmAQiFC1kQf/DQ
UUmec+pFn6lIv3tGP5yPxQ6dHBfteJi0JjJdAiSpqMelZRjklelPxsd3o6s/rkZx
EAUAKv9tWDIJEOYa2yRBkkGlSLmYqfBZJGguHSR0TUv8MnXeL2bJGeJwByF8otYb
CfAm8s7AZC8vpVkNqUbg/JAn5teeVLd85DDgURC1IiJlBKG37hHAQYpPdZCaTwtb
naHx8u4gkmz4lj9y+iLh/k3loh4moNA0sdYgUdeBS1SeaS823po6Z1fnMVtJwZ9K
Y25mDGTfeciiBCu7bU2hTq9Gv1aUpEpqSlaod3cBN0449OKcR/8QtMhQZU6SUMW3
VZ5YQwM1cmDnYESFLYBhsi6iWsbAYycqEe8PwyrIb+Mf6azbG/hTIf8Ke0Che/20
m9sZLdVejF+7coAatRA=
=PoUK
-----END PGP SIGNATURE-----