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

Robolectric Publish is broken #129

Closed
david-allison opened this issue Jul 11, 2021 · 1 comment · Fixed by #130
Closed

Robolectric Publish is broken #129

david-allison opened this issue Jul 11, 2021 · 1 comment · Fixed by #130

Comments

@david-allison
Copy link
Member

2021-07-11T20:21:40.3858380Z error: unused borrow that must be used
2021-07-11T20:21:40.3896150Z    --> anki/rslib/src/sync/http_client.rs:330:1
2021-07-11T20:21:40.3897650Z     |
2021-07-11T20:21:40.3898930Z 330 | #[pin_project]
2021-07-11T20:21:40.3900160Z     | ^^^^^^^^^^^^^^
2021-07-11T20:21:40.3904350Z     |
2021-07-11T20:21:40.3905730Z note: the lint level is defined here
2021-07-11T20:21:40.3907710Z    --> anki/rslib/src/lib.rs:4:9
2021-07-11T20:21:40.3909150Z     |
2021-07-11T20:21:40.3910440Z 4   | #![deny(unused_must_use)]
2021-07-11T20:21:40.3911720Z     |         ^^^^^^^^^^^^^^^
2021-07-11T20:21:40.3915130Z     = note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
2021-07-11T20:21:40.3916890Z 
2021-07-11T20:21:40.3919400Z error: unused borrow that must be used
2021-07-11T20:21:40.3921580Z    --> anki/rslib/src/sync/http_client.rs:330:1
2021-07-11T20:21:40.3924570Z     |
2021-07-11T20:21:40.3925850Z 330 | #[pin_project]
2021-07-11T20:21:40.3927090Z     | ^^^^^^^^^^^^^^
2021-07-11T20:21:40.3928270Z     |
2021-07-11T20:21:40.3931430Z     = note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)

No version upgrades, likely a nightly issue

david-allison added a commit that referenced this issue Jul 11, 2021
"build" uses it and it works

Added in 7db01e2

copied from robolectric_build.yml

Fixes #129
david-allison added a commit that referenced this issue Jul 11, 2021
"build" uses it and it works

Added in 7db01e2

copied from robolectric_build.yml

Fixes #129
@david-allison
Copy link
Member Author

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.

1 participant