Package: src:rust-indieweb
Version: 0.8.0+ds-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202602/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:rust-indieweb, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]

     |
1377 |         &self,
     |         ^^^^^ the lifetime is elided here
1378 |         timestamp: Timestamp,
1379 |     ) -> Option<TimeZoneTransition> {
     |                 ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
help: use `'_` for type paths
     |
1379 |     ) -> Option<TimeZoneTransition<'_>> {
     |                                   ++++

warning: transmuting an integer to a pointer creates a pointer without 
provenance
    --> 
/<<PKGBUILDDIR>>/debian/cargo_registry/jiff-0.2.15/src/tz/timezone.rs:2436:22
     |
2436 |             unsafe { core::mem::transmute(addr) }
     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this is dangerous because dereferencing the resulting pointer is 
undefined behavior
     = note: exposed provenance semantics can be used to create a pointer based 
on some previously exposed provenance
     = help: if you truly mean to create a pointer without provenance, use 
`std::ptr::without_provenance_mut`
     = help: for more information about transmute, see 
<https://doc.rust-lang.org/std/mem/fn.transmute.html#transmutation-between-pointers-and-integers>
     = help: for more information about exposed provenance, see 
<https://doc.rust-lang.org/std/ptr/index.html#exposed-provenance>
     = note: `#[warn(integer_to_ptr_transmutes)]` on by default
help: use `std::ptr::with_exposed_provenance` instead to use a previously 
exposed provenance
     |
2436 -             unsafe { core::mem::transmute(addr) }
2436 +             unsafe { std::ptr::with_exposed_provenance::<u8>(addr) }
     |

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/jiff-0.2.15/src/tz/tzif.rs:388:9
    |
388 |         &self,
    |         ^^^^^ the lifetime is elided here
389 |         ts: Timestamp,
390 |     ) -> Option<TimeZoneTransition> {
    |                 ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
help: use `'_` for type paths
    |
390 |     ) -> Option<TimeZoneTransition<'_>> {
    |                                   ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /<<PKGBUILDDIR>>/debian/cargo_registry/jiff-0.2.15/src/tz/tzif.rs:442:9
    |
442 |         &self,
    |         ^^^^^ the lifetime is elided here
443 |         ts: Timestamp,
444 |     ) -> Option<TimeZoneTransition> {
    |                 ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the 
signature confusing
help: use `'_` for type paths
    |
444 |     ) -> Option<TimeZoneTransition<'_>> {
    |                                   ++++

warning: `microformats` (lib) generated 17 warnings
   Compiling env_logger v0.11.8
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=env_logger 
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/env_logger-0.11.8 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/env_logger-0.11.8/Cargo.toml
 CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='A logging implementation for `log` 
which is configured via an environment
variable.
' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0 
[too-long-redacted] /cargo/registry/indieweb-0.7.0`
   Compiling hmac v0.12.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=hmac CAR 
[too-long-redacted] /cargo/registry/indieweb-0.7.0`
   Compiling assert-json-diff v2.0.2
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=assert_j 
[too-long-redacted] /cargo/registry/indieweb-0.7.0`
   Compiling hex v0.4.3
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=hex CARG 
[too-long-redacted] /cargo/registry/indieweb-0.7.0`
   Compiling indieweb v0.7.0 (/<<PKGBUILDDIR>>/library)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=indieweb 
[too-long-redacted] uild/ring-f67a1fadb96f4603/out`
warning: `jiff` (lib) generated 13 warnings
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=indieweb 
[too-long-redacted] uild/ring-f67a1fadb96f4603/out`
warning: unused imports: `CONTENT_TYPE` and `LINK`
  --> library/src/standards/indieauth/test.rs:4:20
   |
 4 | use http::header::{CONTENT_TYPE, LINK};
   |                    ^^^^^^^^^^^^  ^^^^
   |
note: the lint level is defined here
  --> library/src/lib.rs:15:33
   |
15 | #![warn(invalid_doc_attributes, unused, deprecated, clippy::perf)]
   |                                 ^^^^^^
   = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]`

warning: unused import: `http::CONTENT_TYPE_JSON`
 --> library/src/standards/indieauth/test.rs:9:5
  |
9 |     http::CONTENT_TYPE_JSON,
  |     ^^^^^^^^^^^^^^^^^^^^^^^

warning: unused imports: `MatchingPropertyValuesMap`, `Query`, `SourceQuery`, 
`http::CONTENT_TYPE_JSON`, and `standards::indieauth::AccessToken`
 --> library/src/standards/micropub/query/test.rs:2:5
  |
2 |     http::CONTENT_TYPE_JSON,
  |     ^^^^^^^^^^^^^^^^^^^^^^^
3 |     standards::indieauth::AccessToken,
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
7 |             CategoryResponse, ConfigurationResponse, 
MatchingPropertyValuesMap, PostTypeInfo, Query, Response,
  |                                                      
^^^^^^^^^^^^^^^^^^^^^^^^^                ^^^^^
8 |             SourceListResponse, SourceQuery, SourceResponse,
  |                                 ^^^^^^^^^^^

warning: unused import: `http::header::CONTENT_TYPE`
  --> library/src/standards/micropub/query/test.rs:12:5
   |
12 | use http::header::CONTENT_TYPE;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused imports: `Class` and `KnownClass`
  --> library/src/standards/micropub/query/test.rs:13:27
   |
13 | use microformats::types::{Class, KnownClass};
   |                           ^^^^^  ^^^^^^^^^^

warning: unused import: `std::collections::BTreeMap`
  --> library/src/standards/micropub/query/test.rs:14:5
   |
14 | use std::collections::BTreeMap;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused imports: `Error` and `query::QueryKind`
  --> library/src/standards/micropub/query/test.rs:18:27
   |
18 |     standards::micropub::{query::QueryKind, Error},
   |                           ^^^^^^^^^^^^^^^^  ^^^^^

warning: unused import: `crate::standards::micropub::extension::syndication`
   --> library/src/standards/micropub/query/test.rs:502:9
    |
502 |     use crate::standards::micropub::extension::syndication;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: `#[ignore]` attribute cannot be used on modules
   --> library/src/standards/websub/mod.rs:648:1
    |
648 | #[ignore]
    | ^^^^^^^^^
    |
    = warning: this was previously accepted by the compiler but is being phased 
out; it will become a hard error in a future release!
    = help: `#[ignore]` can only be applied to functions
    = note: `#[warn(unused_attributes)]` implied by `#[warn(unused)]`

warning: `indieweb` (lib test) generated 9 warnings (run `cargo fix --lib -p 
indieweb --tests` to apply 9 suggestions)
    Finished `release` profile [optimized] target(s) in 2m 40s
     Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKG 
[too-long-redacted] deps/indieweb-b4898a12bbf2abec`

running 92 tests
test algorithms::extract_urls_test ... ok
test algorithms::ptd::post_type_from_json ... ok
test algorithms::ptd::post_type_name ... ok
test algorithms::ptd::post_type_partial_eq ... ok
test algorithms::ptd::resolve_from_object_test ... ok
test algorithms::ptd::resolve_from_property_names_test ... ok
test algorithms::ptd::resolve_reaction_property_name_test ... ok
test algorithms::ptd::type_from_str ... ok
test algorithms::ptd::type_to_reaction_property_name_test ... ok
test algorithms::ptd::type_to_string ... ok
test standards::indieauth::test::client_builder_with_classic_discovery ... ok
test standards::indieauth::test::client_builder_with_metadata_discovery ... ok
test standards::indieauth::test::endpoint_discovery_classic_variant ... ok
test standards::indieauth::test::endpoint_discovery_metadata_variant ... ok
test standards::indieauth::test::client_builder_without_discovery ... ok
test standards::indieauth::test::refresh_token_fields_query_parameters ... ok
test 
standards::indieauth::test::refresh_token_fields_query_parameters_without_scope 
... ok
test standards::indieauth::test::server_metadata_new_authorization_request_url 
... ok
test standards::indieauth::test::token_type_hint_serialization ... ok
test standards::micropub::action::action_representation_into_json_create ... ok
test standards::micropub::action::action_representation_into_json_delete ... ok
test standards::micropub::action::action_representation_into_json_undelete ... 
ok
test standards::micropub::action::action_representation_into_json_update_delete 
... ok
test standards::micropub::action::creation_properties_from_json ... ok
test standards::micropub::deser_params ... ok
test standards::micropub::deser_to_params ... ok
test standards::micropub::error_from_json ... ok
test standards::micropub::extension::post_status::post_status ... ok
test standards::micropub::known_properties::tests::test_known_properties_lookup 
... ok
test 
standards::micropub::known_properties::tests::test_known_properties_set_initialization
 ... ok
test standards::micropub::known_properties::tests::test_mp_prefix_properties 
... ok
test 
standards::micropub::known_properties::tests::test_prefix_lookup_optimization 
... ok
test standards::micropub::known_properties::tests::test_unknown_properties ... 
ok
test standards::micropub::query::matching_property_values_map ... ok
test standards::micropub::query::test::config_response_backward_compatible ... 
ok
test standards::micropub::query::test::config_response_with_extended_post_types 
... ok
test standards::micropub::query::test::post_type_info_extended_format ... ok
test standards::micropub::query::test::post_type_info_serialization ... ok
test standards::micropub::query::test::post_type_info_simple_format ... ok
test standards::micropub::query::test::query_response_for_categories ... ok
test 
standards::micropub::query::test::query_response_for_categories_with_paging ... 
ok
test standards::micropub::query::test::query_response_for_channels ... ok
test standards::micropub::query::test::query_response_for_configuration ... ok
test 
standards::micropub::query::test::query_response_for_configuration_with_channels
 ... ok
test 
standards::micropub::query::test::query_response_for_configuration_with_syndication
 ... ok
test standards::micropub::query::test::source_list_empty_items ... ok
test standards::micropub::query::test::source_list_response_basic ... ok
test standards::micropub::query::test::source_list_response_in_response_enum 
... ok
test standards::micropub::query::test::source_list_response_serialization ... ok
test standards::micropub::query::test::source_list_response_with_paging ... 
ignored
test standards::micropub::query::test::syndication_targets_empty ... ok
test standards::micropub::query::test::syndication_targets_in_response_enum ... 
ignored
test 
standards::micropub::query::test::syndication_targets_response_serialization 
... ok
test standards::micropub::query::test::syndication_targets_response_basic ... ok
test 
standards::micropub::query::test::syndication_targets_response_with_full_info 
... ok
test standards::microsub::tests::test_block_user ... ok
test standards::microsub::tests::test_channels_includes_notifications ... ok
test standards::microsub::tests::test_channel_not_found_error ... ok
test standards::microsub::tests::test_create_channel ... ok
test standards::microsub::tests::test_feed_metadata_enhancement ... ok
test standards::microsub::tests::test_follow_feed ... ok
test standards::microsub::tests::test_mute_user ... ok
test standards::microsub::tests::test_preview_returns_entries ... ok
test standards::microsub::tests::test_preview_returns_entries_with_kind ... ok
test standards::microsub::tests::test_ptd_detects_different_post_types ... ok
test standards::microsub::tests::test_search_returns_results ... ok
test standards::microsub::tests::test_timeline_filters_by_source ... ok
test standards::microsub::tests::test_timeline_returns_empty_for_new_channel 
... ok
test standards::vouch::tests::test_always_allow ... ok
test standards::vouch::tests::test_extract_authority ... ok
test 
standards::websub::compliance_tests::websub_specification_content_type_preservation
 ... ok
test 
standards::websub::compliance_tests::websub_specification_content_distribution_headers
 ... ok
test 
standards::websub::compliance_tests::websub_specification_error_response_codes 
... ok
test 
standards::websub::compliance_tests::websub_specification_link_header_format 
... ok
test standards::websub::compliance_tests::websub_specification_signature_format 
... ok
test 
standards::websub::compliance_tests::websub_specification_subscription_verification_flow
 ... ok
test standards::websub::tests::test_in_memory_hub_basic_operations ... ok
test standards::websub::tests::test_subscription_deletion ... ok
test 
standards::websub::trait_tests::batched_distribute_processes_multiple_updates 
... ok
test 
standards::websub::trait_tests::batched_subscribe_processes_multiple_subscriptions
 ... ok
test standards::websub::trait_tests::batched_unsubscribe_processes_multiple_ids 
... ok
test standards::websub::trait_tests::content_caching_stores_and_retrieves ... ok
test 
standards::websub::trait_tests::content_distribution_returns_success_for_in_memory_hub
 ... ok
test 
standards::websub::trait_tests::content_distribution_with_subscriber_returns_success
 ... ok
test standards::websub::trait_tests::subscription_creation_assigns_unique_id 
... ok
test standards::websub::trait_tests::subscription_deletion_removes_from_storage 
... ok
test 
standards::websub::compliance_tests::websub_specification_subscription_lifecycle
 ... FAILED
test standards::websub::trait_tests::subscriptions_for_topic_filters_expired 
... ok
test 
standards::websub::trait_tests::subscriptions_for_topic_returns_only_active ... 
ok
test 
standards::websub::trait_tests::subscriptions_for_topics_returns_multiple_topics
 ... ok
test standards::websub::trait_tests::verification_response_defaults_to_verified 
... ok
test traits::item_post_type_resultion_ext ... ok

failures:

---- 
standards::websub::compliance_tests::websub_specification_subscription_lifecycle
 stdout ----

thread 
'standards::websub::compliance_tests::websub_specification_subscription_lifecycle'
 (4001) panicked at library/src/standards/websub/mod.rs:711:9:
assertion `left == right` failed
  left: 0
 right: 1
stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
   4: 
indieweb::standards::websub::compliance_tests::websub_specification_subscription_lifecycle::{{closure}}
   5: tokio::runtime::scheduler::current_thread::Context::enter
   6: tokio::runtime::context::scoped::Scoped<T>::set
   7: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
   8: tokio::runtime::context::runtime::enter_runtime
   9: tokio::runtime::runtime::Runtime::block_on
  10: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose 
backtrace.


failures:
    
standards::websub::compliance_tests::websub_specification_subscription_lifecycle

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

error: test failed, to rerun pass `--lib`
dh_auto_test: error: /usr/share/dh-rust/bin/cargo test returned exit code 101
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to