Public bug reported: The rust-bitfields UI tests expect pre-1.97 error messages, blocking the rust-defaults transition to 1.97:
222s EXPECTED: 222s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 222s error[E0599]: no function or associated item named `from_bits` found for struct `Bitfield` in the current scope 222s --> tests/compile_error_cases/bitfield_disable_from_bits.rs:12:30 222s | 222s 3 | #[bitfield(u64, from_bits = false)] 222s | ----------------------------------- function or associated item `from_bits` not found for this struct 222s ... 222s 12 | let bitfield = Bitfield::from_bits(0); 222s | ^^^^^^^^^ function or associated item not found in `Bitfield` 222s | 222s note: if you're trying to build a new `Bitfield` consider using one of the following associated functions: 222s Bitfield::new 222s Bitfield::new_without_defaults 222s --> tests/compile_error_cases/bitfield_disable_from_bits.rs:3:1 222s | 222s 3 | #[bitfield(u64, from_bits = false)] 222s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) 222s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 222s 222s ACTUAL OUTPUT: 222s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ 222s error[E0599]: no associated function or constant named `from_bits` found for struct `Bitfield` in the current scope 222s --> tests/compile_error_cases/bitfield_disable_from_bits.rs:12:30 222s | 222s 3 | #[bitfield(u64, from_bits = false)] 222s | ----------------------------------- associated function or constant `from_bits` not found for this struct 222s ... 222s 12 | let bitfield = Bitfield::from_bits(0); 222s | ^^^^^^^^^ associated function or constant not found in `Bitfield` 222s | 222s note: if you're trying to build a new `Bitfield` consider using one of the following associated functions: 222s Bitfield::new 222s Bitfield::new_without_defaults 222s --> tests/compile_error_cases/bitfield_disable_from_bits.rs:3:1 222s | 222s 3 | #[bitfield(u64, from_bits = false)] 222s | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 222s = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) 222s ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ Full failing autopkgtest log: https://autopkgtest.ubuntu.com/results/autopkgtest-stonking/stonking/amd64/r/rust-bitfields/20260904_230049_8239a@/log.gz ** Affects: rust-bitfields (Ubuntu) Importance: Undecided Assignee: Max Gilmour (maxgmr) Status: In Progress ** Tags: update-excuse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2166920 Title: rust-bitfields UI test failures with Rust 1.97 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rust-bitfields/+bug/2166920/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
