Skip to content
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

Release build of tower / tide failes #604

Closed
Roba1993 opened this issue Oct 16, 2021 · 5 comments · Fixed by #605
Closed

Release build of tower / tide failes #604

Roba1993 opened this issue Oct 16, 2021 · 5 comments · Fixed by #605

Comments

@Roba1993
Copy link

Hi my release builds are failing since the version tower v0.4.9
This is the error message:

error[E0710]: an unknown tool name found in scoped lint: `rustdoc::broken_intra_doc_links`
 --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/tower-0.4.9/src/lib.rs:8:9
  |
8 | #![deny(rustdoc::broken_intra_doc_links)]
  |         ^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0710`.
error: could not compile `tower`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Was a release build testet for the new version?

@davidpdrsn
Copy link
Member

We changed the lint without realizing it wouldn't work on older versions of rust. Are you able to update to the latest rust version?

I would be fine with doing another release that fixes it seeing as this is a breaking change. Wdyt @LucioFranco @hawkw?

CI should probably also have caught this 🤔

@hawkw
Copy link
Member

hawkw commented Oct 16, 2021

We changed the lint without realizing it wouldn't work on older versions of rust. Are you able to update to the latest rust version?

I would be fine with doing another release that fixes it seeing as this is a breaking change. Wdyt @LucioFranco @hawkw?

Yeah, we should probably change the attribute to #![cfg_attr(docsrs, deny(rustdoc::broken_intra_doc_links)] so that it's only set when building the docs on nightly. We should probably also yank v0.4.9 to avoid breaking people's MSRV builds?

@hawkw
Copy link
Member

hawkw commented Oct 16, 2021

I'm also somewhat concerned that the CI MSRV build didn't catch this? It looks like it should have:

- name: Check
uses: actions-rs/cargo@v1
with:
command: check
args: --all --all-targets --all-features

@Roba1993
Copy link
Author

@davidpdrsn I switched to the newest rust version and it works with that. So I'm good, but still I think it should be fixed.

@davidpdrsn
Copy link
Member

I agree. I'll release a new version next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants