Public bug reported:
Attempting to autopkgtest rust-proc-macro2 fails as follows:
thread 'main' panicked at 'assertion failed: `(left == right)`
left: `"TokenStream [\n Group {\n delimiter: Bracket,\n
stream: TokenStream [\n Ident {\n sym: a,\n
span: bytes(2..3),\n },\n Punct {\n
op: \'+\',\n spacing: Alone,\n span:
bytes(4..5),\n },\n Literal {\n lit: 1,\n
span: bytes(6..7),\n },\n ],\n span:
bytes(1..8),\n },\n]"`,
right: `"TokenStream [\n Group {\n delimiter: Bracket,\n
stream: TokenStream [\n Ident {\n sym: a,\n
span: bytes(979..980),\n },\n Punct {\n
op: \'+\',\n spacing: Alone,\n span:
bytes(981..982),\n },\n Literal {\n lit:
1,\n span: bytes(983..984),\n },\n ],\n
span: bytes(978..985),\n },\n]"`', tests/test.rs:409:9
Smaller variants of the test has similar results, where the span bytes
don't match expectations.
** Affects: rust-proc-macro2 (Ubuntu)
Importance: Undecided
Status: New
** 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/1946613
Title:
FTBFS - test failure in test_debug_tokenstream
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-proc-macro2/+bug/1946613/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs