linksplatform / linksplatform/doublets-rs
error[E0432]: unresolved import `thiserror` (in latest cargo version)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6
- Forks
- 0
- Avg merge
- 1h 37m
- Merged PRs (30d)
- 1
Description

```
gitpod /workspace/Solver (main) $ cargo add doublets
Updating crates.io index
Adding doublets v0.1.0-pre to dependencies.
Features:
+ data
+ mem
+ num
+ platform
- full
- smallvec
- smallvec-optimization
gitpod /workspace/Solver (main) $ cargo watch -x run
[Running 'cargo run']
Compiling ppv-lite86 v0.2.17
Compiling static_assertions v1.1.0
Compiling getrandom v0.2.15
Compiling num-traits v0.2.19
Compiling platform-data v0.1.0-beta.3
error[E0432]: unresolved import `thiserror`
--> /workspace/.cargo/registry/src/github.com-1ecc6299db9ec823/platform-data-0.1.0-beta.3/src/links.rs:4:10
|
4 | #[derive(thiserror::Error, Debug)]
| ^^^^^^^^^^^^^^^^ no `ThiserrorProvide` in `__private`
|
= note: this error originates in the derive macro `thiserror::Error` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Request` in module `std::error`
--> /workspace/.cargo/registry/src/github.com-1ecc6299db9ec823/platform-data-0.1.0-beta.3/src/links.rs:4:10
|
4 | #[derive(thiserror::Error, Debug)]
| ^^^^^^^^^^^^^^^^ not found in `std::error`
|
= note: this error originates in the derive macro `thiserror::Error` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'error_generic_member_access'
--> /workspace/.cargo/registry/src/github.com-1ecc6299db9ec823/platform-data-0.1.0-beta.3/src/links.rs:4:10
|
4 | #[derive(thiserror::Error, Debug)]
| ^^^^^^^^^^^^^^^^
|
= note: see issue #99301 for more information
= help: add `#![feature(error_generic_member_access)]` to the crate attributes to enable
= note: this error originates in the derive macro `thiserror::Error` (in Nightly builds, run with -Z macro-backtrace for more info)
Compiling rand_core v0.6.4
error[E0599]: no method named `thiserror_provide` found for reference `&std::io::Error` in the current scope
--> /workspace/.cargo/registry/src/github.com-1ecc6299db9ec823/platform-data-0.1.0-beta.3/src/links.rs:18:13
|
18 | #[error("unable to allocate memory for links storage: `{0}`")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&std::io::Error`
Some errors have detailed explanations: E0412, E0432, E0599, E0658.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `platform-data` due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
[Finished running. Exit status: 101]
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with `cargo add doublets` followed by `cargo watch -x run`, then inspect the reported `platform-data-0.1.0-beta.3/src/links.rs` errors and the dependency versions involved. Done means the project builds and runs without the reported `thiserror` and unstable-feature errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100