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

Crates reth and reth-rpc have incompatible toml_datetime dependency verisions #7536

Closed
1 task done
shekhirin opened this issue Apr 10, 2024 · 0 comments
Closed
1 task done
Assignees
Labels
A-dependencies Pull requests or issues that are about dependencies C-bug An unexpected or incorrect behavior

Comments

@shekhirin
Copy link
Collaborator

shekhirin commented Apr 10, 2024

Describe the bug

As per the issue title. I believe it was caused by #5894.

Steps to reproduce

```cargo
[dependencies]
reth = { git = "https://github.com/paradigmxyz/reth.git" }
reth-rpc = { git = "https://github.com/paradigmxyz/reth.git" }
```

fn main() {
    println!("Hello World!");
}
cargo +nightly -Zscript script.rs

Logs

➜  reth (main) cargo +nightly -Zscript script.rs                                                                                                                                                                                                                                                          ✱
warning: `package.edition` is unspecified, defaulting to `2021`
    Updating git repository `https://github.com/paradigmxyz/reth.git`
    Updating crates.io index
    Updating git repository `https://github.com/paradigmxyz/evm-inspectors`
    Updating git repository `https://github.com/alloy-rs/alloy`
error: failed to select a version for `toml_datetime`.
    ... required by package `toml_edit v0.21.0`
    ... which satisfies dependency `toml_edit = "^0.21.0"` of package `proc-macro-crate v3.0.0`
    ... which satisfies dependency `proc-macro-crate = "^3"` of package `jsonrpsee-proc-macros v0.22.0`
    ... which satisfies dependency `jsonrpsee-proc-macros = "^0.22.0"` of package `jsonrpsee v0.22.0`
    ... which satisfies dependency `jsonrpsee = "^0.22"` of package `reth-rpc v0.2.0-beta.5 (https://github.com/paradigmxyz/reth.git#283b56c1)`
    ... which satisfies git dependency `reth-rpc` of package `script v0.0.0 (/Users/shekhirin/Projects/reth)`
versions that meet the requirements `^0.6.5` are: 0.6.5

all possible versions conflict with previously selected packages.

  previously selected package `toml_datetime v0.6.3`
    ... which satisfies dependency `toml_datetime = "^0.6.3"` (locked to 0.6.3) of package `toml v0.8.2`
    ... which satisfies dependency `toml = "^0.8"` (locked to 0.8.2) of package `reth v0.2.0-beta.5 (https://github.com/paradigmxyz/reth.git#283b56c1)`
    ... which satisfies git dependency `reth` of package `script v0.0.0 (/Users/shekhirin/Projects/reth)`

failed to select a version for `toml_datetime` which could resolve this conflict

Platform(s)

Mac (Apple Silicon)

What version/commit are you on?

N/A

What database version are you on?

N/A

What type of node are you running?

Archive (default)

What prune config do you use, if any?

No response

If you've built Reth from source, provide the full command you used

No response

Code of Conduct

  • I agree to follow the Code of Conduct
@shekhirin shekhirin added C-bug An unexpected or incorrect behavior S-needs-triage This issue needs to be labelled labels Apr 10, 2024
@shekhirin shekhirin added A-dependencies Pull requests or issues that are about dependencies and removed S-needs-triage This issue needs to be labelled labels Apr 10, 2024
@mattsse mattsse closed this as completed Apr 30, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Reth Tracker Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dependencies Pull requests or issues that are about dependencies C-bug An unexpected or incorrect behavior
Projects
Archived in project
Development

No branches or pull requests

2 participants