Thread View: linux.debian.bugs.dist
2 messages
2 total messages
Started by Eric Dorland
Wed, 21 Oct 2026 21:30
Bug#1151585: Test failure due to stale dependency on syn 2.0
Author: Eric Dorland
Date: Wed, 21 Oct 2026 21:30
Date: Wed, 21 Oct 2026 21:30
37 lines
4026 bytes
4026 bytes
Source: rust-test-case
Version: 3.3.1-7
Severity: serious
X-Debbugs-Cc: debian-rust@lists.debian.org
From ci.debian.net:
329s autopkgtest [05:59:06]: test rust-test-case-core-3:@: [-----------------------
329s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=48'] [] ['-j48'] 0
329s debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
329s debian cargo wrapper: linking /usr/share/cargo/registry/* into /tmp/tmp.mlAiIsVnBA/registry/
329s debian cargo wrapper: options, profiles, parallel, lto: ['parallel=48'] [] ['-j48'] 0
329s debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
329s debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--profile', 'release', '--verbose', '--verbose', '-j48', '--target', 'x86_64-unknown-linux-gnu', '--config', 'profile.release.debug-assertions=true', '--config', 'profile.release.overflow-checks=true', '--config', 'profile.release.panic="unwind"', '--lib', '--bins', '--examples', '--all-features'],) {}
329s error: failed to select a version for the requirement `syn = "^2.0"`
329s candidate versions found which didn't match: 3.0.9, 1.0.109
329s location searched: directory source `/tmp/tmp.mlAiIsVnBA/registry` (which is replacing registry `crates-io`)
329s required by package `test-case-core v3.3.1 (/usr/share/cargo/registry/test-case-core-3.3.1)`
329s note: perhaps a crate was updated and forgotten to be re-vendored?
329s autopkgtest [05:59:06]: test rust-test-case-core-3:@: -----------------------]
https://ci.debian.net/packages/r/rust-test-case/testing/amd64/76956858/
The current rust-test-case expects syn 2.0 which is no longer in debian. This also causes testing failures in other packages that wish to use test-case. Please update the dependency to syn 3.0 or package new test-case 3.4 which has this fix upstream.
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 7.1.12+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Bug#1151585: Test failure due to stale dependency on syn 2.0
Author: Jonas Smedegaard
Date: Thu, 22 Oct 2026 06:00
Date: Thu, 22 Oct 2026 06:00
55 lines
4239 bytes
4239 bytes
--===============5277917057796428182== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Quoting James McCoy (2026-10-22 01:45:56) > On Wed, Oct 21, 2026 at 05:19:00PM -0400, Eric Dorland wrote: > >The current rust-test-case expects syn 2.0 which is no longer in > >debian. >=20 > Yes, it does. The problem is that rust-test-case's debian/control > (Build-)Depends against librust-syn-dev rather than the > librust-syn-2-dev that aligns with Cargo.toml. Right - I had attempted to make the frequent version migrations easier by relaxing dependencies, but was unaware that the Rust team also deviates from common Debian logics in how unversioned provisions are used. I am now tightening dependencies again whenever I make package updates. Am working on the test-case crate now. - Jonas --=20 * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private --===============5277917057796428182== MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Description: signature Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmrZpcQACgkQLHwxRsGg ASG/tg/9GwxTvH/PwCwlsACyIH4zb+SMSp9diNmvRjIGNmc2HPs3d/aWhgT3GEbd bsAf1AA5RRvKoCwQMqprvmed36TiXUK+XDNZNAVfGSgKYVGrElW0LxW5XZrJYuiQ i3l7iUzZLEd9+waYvKy4nGTwJuLombEY9TEejpgXxRekXQKCuSkdm5/GplqvWTgR YJUtBrfetGcjlrrY5ulnGKnu+mwdVrqtEhUZvj6lI7Q2fodBBZreO8crfZn5lnIK YMU5tsIcuC0j7h12mtxvSmNmrFQVyqB9T0Gbel+O86pYiluyGBI47Sz6FGQY8Y4S BnoFWyckipblUSrGAqYsIGApKmbHIQVzObBhqIy+SFuvgPa0VMX+JyrTWuFlWf43 qI4qcq7G5lPwWwb27ZhHJKsolIly1SjyazCiE6plTSeS+EytdTS5AOiuRIIZJpUq 0O34BZJ6SWdUKSPRQiTgWl972q2jAfG9u1Yq88PAVIMA+YgMD98CWlmMUe7axrr9 DtKM8y3tCBb1FYHUZwpGTyCEtkpb9ggNPqFBTLYR8dNAJ1qvFgbcV/n3qbxQrF2p OFUqXL181bjs86DXZt9f1dfdUbISada/tB71br1KSJn1V8nIIFnfQkxMA2BRp/4l nbPbNOnsxiSOcwZuPFLOGlmLq1X/NjYMWmK/mjYklHcAAFkY/Mc= =b8rn -----END PGP SIGNATURE----- --===============5277917057796428182==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads