-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Teloxide docs fail to build on nightly #139116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for the report! It would be useful to more precisely bisect the regression using cargo-bisect-rustc to make it easier to figure out where exactly it regressed and ping the relevant people. |
test.sh: ( #!/bin/sh
OUTPUT=`cargo docs 2>&1`
COUNT=`echo "$OUTPUT" | grep -c "mismatched types"`
test $COUNT -eq 0
searched nightlies: from nightly-2025-03-11 to nightly-2025-03-12 bisected with cargo-bisect-rustc v0.6.9Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --start=2025-03-11 --end=2025-03-12 --script ./test.sh
searched nightlies: from nightly-2025-02-16 to nightly-2025-02-17 bisected with cargo-bisect-rustc v0.6.9Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --start=2025-02-16 --end=2025-02-17 -- docs |
#136363 sounds relevant. @notriddle @GuillaumeGomez |
The adaptors module doesn't seem to have an |
Thanks! searched nightlies: from nightly-2025-03-11 to nightly-2025-03-12 bisected with cargo-bisect-rustc v0.6.9Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --start=2025-03-11 --end=2025-03-12 -- docs |
cc @oli-obk ? |
not a bug. You now need to slap |
Thank you, now docs compile without issues! |
While releasing teloxide 0.14.0 we encountered docs build failure on docs.rs: https://docs.rs/crate/teloxide/0.14.0/builds/1924379 (rust-lang/docs.rs#2780).
Bisecting this issue led to these findings:
nightly-2025-02-16
(rust version 1.86.0-nightly (9cd60bd 2025-02-15))nightly-2025-02-17
(rust version 1.87.0-nightly (5bc6231 2025-02-16) docs build fails with:nightly-2025-03-12
(rust version 1.87.0-nightly (6650252 2025-03-11)) docs build fails with: https://pastebin.com/TV4JcCD4nightly-2025-03-29
The text was updated successfully, but these errors were encountered: