Comments (8)
Cargo udeps + latest rustc nightly works with noria master. Closing. Thanks for your report.
from cargo-udeps.
Looks like the upstream issue has been fixed in rust-lang/rust#68744. I guess now we just have to wait and see if that makes it possible to run cargo udeps
on noria itself :p
from cargo-udeps.
@jonhoo it seems like a problem with save analysis generation, which cargo-udeps uses. If that's the case it would be an upstream bug. Do you have the same issue if you use rls with the repo?
from cargo-udeps.
Seems pretty likely it is an upstream bug, but I'm not sure how to replicate it without cargo-udeps
. Running rls
in the root of the repository does not produce the error, if that's what you meant?
from cargo-udeps.
cargo udeps -v
prints the rustc commands invoked. All we do different from a cargo check
run is that we add -Z save-analysis
(more or less). I'd file an upstream bug next.
from cargo-udeps.
👍 Filed rust-lang/rust#68621
from cargo-udeps.
Running rls in the root of the repository does not produce the error, if that's what you meant?
IIRC that does nothing but only starts the language service, waiting for commands to be specified in json. both cargo udeps and rls rely on save analysis info from rustc, but it is only being emitted when you actually let rls compile the project. Trying to use vscode+rls on master gives me an error that tokio-tower can't be compiled. Not sure how to debug that.
I can reproduce the issue with cargo udeps
on noria's master, but not the linked commit as it gives me:
Updating git repository `https://github.com/jonhoo/memcached-rs.git`
error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index`
Caused by:
failed to load source for a dependency on `memcached-rs`
Caused by:
Unable to update https://github.com/jonhoo/memcached-rs.git?branch=bump-deps#86170708
Caused by:
revspec '86170708ab2b24c2eb5dbb16d5a3dd61337c18ea' not found; class=Reference (4); code=NotFound (-3)
from cargo-udeps.
Yeah, that commit no longer compiles (the ecosystem moved quickly 😅). master
should be fine.
from cargo-udeps.
Related Issues (20)
- tests/normal-dev-build.rs test failures since update of cargo HOT 3
- recognize .cargo/config.toml
- How to add `-Zbuild-std` option? HOT 3
- `cargo-udeps` 1.0.36 crashes when given a `manifest-path` HOT 1
- v0.1.36 release does not contain pre-built binaries in the assets section HOT 3
- Failed to install on Mac M1 chip HOT 3
- [email protected] is broken on latest version of Rust nightly HOT 2
- error: failed to compile cargo-udeps v0.1.41 HOT 2
- Fails to build HOT 1
- Doesn't support `debug = "line-tables-only"` HOT 2
- False positive warning on duplicate dependency
- unknown unstable option: `save-analysis` HOT 1
- regression test failure on macOS sonoma HOT 9
- Adds feature enabling Rustls rather than OpenSSL HOT 2
- Getting this uncought exception when attempting to test on [arbiter](https://github.com/primitivefinance/arbiter/issues/608) HOT 1
- Latest `cargo-credential-libsecret` breaks `cargo-udeps` HOT 6
- Support `workspace.metadata.cargo-udeps.ignore` to ignore dependencies in whole workspace HOT 4
- 0.1.46 release was not completed HOT 5
- Found a `cargo::key=value` build directive which is reserved for future use HOT 2
- Fails to run on macOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-udeps.