Package: src:rust-ruma-common
Version: 0.14.1+ds-13
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/202606/

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-ruma-common, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=rust
        /usr/share/dh-rust/bin/cargo clean
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] 
['-j2'] 0
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, 
x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', 
'/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
     Removed 0 files
   dh_clean -XCargo.toml.orig
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=rust
        /usr/share/dh-rust/bin/cargo prepare-debian debian/cargo_registry

[... snipped ...]

test enums::serialize_and_deserialize_from_display_form ... ok
test ephemeral_event::deserialize_ephemeral_receipt ... ok
test ephemeral_event::deserialize_ephemeral_typing ... ok
test ephemeral_event::ephemeral_serialize_receipt ... ok
test ephemeral_event::ephemeral_serialize_typing ... ok
test event::alias_attribute ... ok
test event::default_attribute ... ok
test event::default_on_error_attribute ... ok
test event::rename_attribute ... ok
test event_content::ui ... ignored
test event_enums::deserialize_message_event ... ok
test event_enums::secret_storage_key_deserialization_as_any ... ok
test event_enums::text_msgtype_plain_text_deserialization_as_any ... ok
   Compiling serde_core v1.0.228
   Compiling unicode-joining-type v1.0.0
   Compiling tinyvec_macros v0.1.0
   Compiling tinyvec v1.10.0
   Compiling serde v1.0.228
   Compiling memchr v2.8.0
   Compiling idna_mapping v1.0.0
   Compiling unicode-normalization v0.1.25
   Compiling percent-encoding v2.3.2
   Compiling unicode-bidi v0.3.17
   Compiling itoa v1.0.18
   Compiling idna_adapter v1.1.0
   Compiling form_urlencoded v1.2.2
   Compiling zmij v1.0.21
   Compiling aho-corasick v1.1.4
   Compiling thiserror v2.0.18
   Compiling regex-syntax v0.8.10
   Compiling utf8_iter v1.0.4
   Compiling hashbrown v0.16.1
   Compiling once_cell v1.21.4
   Compiling smallvec v1.15.1
   Compiling powerfmt v0.2.0
   Compiling equivalent v1.0.1
   Compiling indexmap v2.14.0
   Compiling deranged v0.3.11
   Compiling idna v1.1.0
   Compiling tracing-core v0.1.36
   Compiling regex-automata v0.4.13
   Compiling serde_json v1.0.149
   Compiling js_int v0.2.2
   Compiling pin-project-lite v0.2.16
   Compiling num-conv v0.2.0
   Compiling bytes v1.11.1
   Compiling ruma-common v0.17.1 (/<<PKGBUILDDIR>>/crates/ruma-common)
   Compiling ryu v1.0.22
   Compiling time-core v0.1.8
   Compiling time v0.3.47
   Compiling regex v1.12.3
   Compiling serde_html_form v0.2.6
   Compiling tracing v0.1.44
   Compiling ruma-identifiers-validation v0.12.0 
(/<<PKGBUILDDIR>>/crates/ruma-identifiers-validation)
   Compiling url v2.5.8
   Compiling base64 v0.22.1
   Compiling web-time v1.1.0
   Compiling ruma-events v0.32.1 (/<<PKGBUILDDIR>>/crates/ruma-events)
   Compiling as_variant v1.3.0
   Compiling wildmatch v2.6.1
   Compiling zeroize v1.8.2
   Compiling js_option v0.2.0
   Compiling http v1.4.0
   Compiling assign v1.1.1
   Compiling assert_matches2 v0.1.2
   Compiling maplit v1.0.2
   Compiling ruma-events-tests v0.0.0 
(/<<PKGBUILDDIR>>/target/tests/trybuild/ruma-events)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.34s


test tests/it/ui/07-enum-sanity-check.rs [should pass] ... test event::ui has 
been running for over 60 seconds
test event_enums::ui has been running for over 60 seconds
ok
test tests/it/ui/08-enum-invalid-path.rs [should fail to compile] ... mismatch

EXPECTED:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0433]: failed to resolve: could not find `not` in `ruma_events`
 --> tests/it/ui/08-enum-invalid-path.rs:7:40
  |
7 |         "m.not.a.path" => ruma_events::not::a::path,
  |                                        ^^^ could not find `not` in 
`ruma_events`
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈

ACTUAL OUTPUT:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0433]: cannot find `not` in `ruma_events`
 --> tests/it/ui/08-enum-invalid-path.rs:7:40
  |
7 |         "m.not.a.path" => ruma_events::not::a::path,
  |                                        ^^^ could not find `not` in 
`ruma_events`
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
note: If the actual output is the correct output you can bless it by rerunning
      your test with the environment variable TRYBUILD=overwrite

test tests/it/ui/09-enum-invalid-kind.rs [should fail to compile] ... ok


test event_enums::ui ... FAILED
test initial_state::deserialize_initial_state_event ... ok
test redacted::deserialize_redacted_custom_sync_state ... ok
test redacted::deserialize_redacted_message_like ... ok
test redacted::deserialize_redacted_state ... ok
test redacted::deserialize_redacted_sync_message_like ... ok
test redacted::deserialize_redacted_sync_state ... ok
test redacted::redact_message_content ... ok
test redacted::redact_state_content ... ok
test redacted::redacted_aliases_event_serialize_with_content ... ok
test redacted::serialize_empty_redacted_aliases_event_content ... ok
test redacted::serialize_redacted_message_event_content ... ok
test redaction::deserialize_redaction ... ok
test redaction::deserialize_redaction_missing_redacts ... ok
test redaction::serialize_redaction_content ... ok
test redaction::serialize_redaction_content_v11 ... ok
test relations::custom_deserialize ... ok
test relations::custom_serialization_roundtrip ... ok
test relations::custom_serialize ... ok
test relations::replacement_deserialize ... ok
test relations::replacement_serialization_roundtrip ... ok
test relations::replacement_serialize ... ok
test relations::reply_deserialize ... ok
test relations::reply_serialization_roundtrip ... ok
test relations::reply_serialize ... ok
test relations::thread_plain_serialize ... ok
test relations::thread_reply_serialize ... ok
test relations::thread_serialization_roundtrip ... ok
test relations::thread_stable_deserialize ... ok
test relations::thread_stable_reply_deserialize ... ok
test relations::thread_unstable_deserialize ... ok
test room_message::add_first_mentions_then_make_replacement ... ok
test room_message::add_mentions_then_make_replacement ... ok
test room_message::audio_msgtype_deserialization ... ok
test room_message::audio_msgtype_serialization ... ok
test room_message::content_deserialization_failure ... ok
test room_message::custom_msgtype_deserialization ... ok
test room_message::custom_msgtype_serialization ... ok
test room_message::emote_msgtype_deserialization ... ok
test room_message::emote_msgtype_serialization ... ok
test room_message::file_msgtype_encrypted_content_deserialization ... ok
test room_message::file_msgtype_encrypted_content_serialization ... ok
test room_message::file_msgtype_plain_content_deserialization ... ok
test room_message::file_msgtype_plain_content_serialization ... ok
test room_message::image_msgtype_deserialization ... ok
test room_message::image_msgtype_serialization ... ok
test room_message::invalid_replacement ... ok
test room_message::location_msgtype_deserialization ... ok
test room_message::location_msgtype_serialization ... ok
test room_message::make_replacement ... ok
test room_message::make_replacement_then_add_mentions ... ok
test room_message::mentions_room_deserialization ... ok
test room_message::notice_msgtype_deserialization ... ok
test room_message::notice_msgtype_serialization ... ok
test room_message::reply_add_mentions ... ok
test room_message::reply_thread_fallback ... ok
test room_message::reply_thread_serialization_roundtrip ... ok
test room_message::test_audio_caption ... ok
test room_message::test_audio_filename ... ok
test room_message::test_file_caption ... ok
test room_message::test_file_filename ... ok
test room_message::test_image_caption ... ok
test room_message::test_image_filename ... ok
test room_message::test_video_caption ... ok
test room_message::test_video_filename ... ok
test room_message::text_msgtype_body_deserialization ... ok
test room_message::text_msgtype_formatted_body_and_body_deserialization ... ok
test room_message::text_msgtype_formatted_body_serialization ... ok
test room_message::text_msgtype_plain_text_serialization ... ok
test room_message::verification_request_msgtype_deserialization ... ok
test room_message::verification_request_msgtype_serialization ... ok
test room_message::video_msgtype_deserialization ... ok
test room_message::video_msgtype_serialization ... ok
test state_event::deserialize_aliases_content ... ok
test state_event::deserialize_aliases_sync_with_room_id ... ok
test state_event::deserialize_aliases_with_prev_content ... ok
test state_event::deserialize_avatar_without_prev_content ... ok
test state_event::deserialize_full_event_convert_to_sync ... ok
test state_event::deserialize_member_event_with_top_level_membership_field ... 
ok
test sticker::content_deserialization ... ok
test sticker::content_serialization ... ok
test sticker::event_deserialization ... ok
test sticker::event_serialization ... ok
test sticker::replace_content_deserialization ... ok
test sticker::replace_content_serialization ... ok
test stripped::deserialize_stripped_state_events ... ok
test stripped::serialize_stripped_state_event_any_content ... ok
test to_device::serialization ... ok
test without_relation::convert_room_message_content_without_relation_to_full 
... ok
test without_relation::deserialize_room_message_content_without_relation ... ok
test without_relation::serialize_room_message_content_without_relation ... ok
   Compiling serde_core v1.0.228
   Compiling unicode-joining-type v1.0.0
   Compiling tinyvec_macros v0.1.0
   Compiling tinyvec v1.10.0
   Compiling serde v1.0.228
   Compiling memchr v2.8.0
   Compiling idna_mapping v1.0.0
   Compiling unicode-normalization v0.1.25
   Compiling unicode-bidi v0.3.17
   Compiling percent-encoding v2.3.2
   Compiling itoa v1.0.18
   Compiling zmij v1.0.21
   Compiling form_urlencoded v1.2.2
   Compiling idna_adapter v1.1.0
   Compiling aho-corasick v1.1.4
   Compiling thiserror v2.0.18
   Compiling once_cell v1.21.4
   Compiling smallvec v1.15.1
   Compiling utf8_iter v1.0.4
   Compiling regex-syntax v0.8.10
   Compiling powerfmt v0.2.0
   Compiling hashbrown v0.16.1
   Compiling equivalent v1.0.1
   Compiling serde_json v1.0.149
   Compiling deranged v0.3.11
   Compiling indexmap v2.14.0
   Compiling regex-automata v0.4.13
   Compiling idna v1.1.0
   Compiling tracing-core v0.1.36
   Compiling js_int v0.2.2
   Compiling num-conv v0.2.0
   Compiling time-core v0.1.8
   Compiling pin-project-lite v0.2.16
   Compiling ryu v1.0.22
   Compiling bytes v1.11.1
   Compiling serde_html_form v0.2.6
   Compiling tracing v0.1.44
   Compiling time v0.3.47
   Compiling ruma-common v0.17.1 (/<<PKGBUILDDIR>>/crates/ruma-common)
   Compiling ruma-identifiers-validation v0.12.0 
(/<<PKGBUILDDIR>>/crates/ruma-identifiers-validation)
   Compiling regex v1.12.3
   Compiling url v2.5.8
   Compiling zeroize v1.8.2
   Compiling web-time v1.1.0
   Compiling wildmatch v2.6.1
   Compiling base64 v0.22.1
   Compiling as_variant v1.3.0
   Compiling ruma-events v0.32.1 (/<<PKGBUILDDIR>>/crates/ruma-events)
   Compiling js_option v0.2.0
   Compiling http v1.4.0
   Compiling assert_matches2 v0.1.2
   Compiling assign v1.1.1
   Compiling maplit v1.0.2
   Compiling ruma-events-tests v0.0.0 
(/<<PKGBUILDDIR>>/target/tests/trybuild/ruma-events)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.73s


test tests/it/ui/04-event-sanity-check.rs [should pass] ... ok
test tests/it/ui/05-named-fields.rs [should fail to compile] ... ok
test tests/it/ui/06-no-content-field.rs [should fail to compile] ... ok


test event::ui ... ok

failures:

---- event_enums::ui stdout ----

thread 'event_enums::ui' (8378) panicked at 
/<<PKGBUILDDIR>>/debian/cargo_registry/trybuild-1.0.116/src/run.rs:102:13:
1 of 3 tests failed
stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: trybuild::run::<impl trybuild::Runner>::run
   3: <trybuild::TestCases as core::ops::drop::Drop>::drop
   4: it::event_enums::ui
   5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose 
backtrace.


failures:
    event_enums::ui

test result: FAILED. 154 passed; 1 failed; 1 ignored; 0 measured; 0 filtered 
out; finished in 192.29s

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

Reply via email to