Cannot install tree-sitter-stack-graphs CLI #159
Answered
by
patrickt
darius-sas
asked this question in
Q&A
-
Hello everyone, I want to try out > [3/3] RUN cargo install --features cli tree-sitter-stack-graphs:
#6 0.189 Updating crates.io index
#6 17.81 Downloading crates ...
#6 18.39 Downloaded tree-sitter-stack-graphs v0.4.1
#6 18.43 Installing tree-sitter-stack-graphs v0.4.1
#6 18.59 error: failed to compile `tree-sitter-stack-graphs v0.4.1`, intermediate artifacts can be found at `/tmp/cargo-installU0FwcC`
#6 18.59
#6 18.59 Caused by:
#6 18.59 failed to select a version for the requirement `funty = "~1.2"`
#6 18.59 candidate versions found which didn't match: 2.0.0, 1.1.0, 1.0.1, ...
#6 18.59 location searched: crates.io index
#6 18.59 required by package `bitvec v0.22.0`
#6 18.59 ... which satisfies dependency `bitvec = "^0.22"` of package `stack-graphs v0.10.0`
#6 18.59 ... which satisfies dependency `stack-graphs = "^0.10"` of package `tree-sitter-stack-graphs v0.4.1` Does anyone know how to get around the error? If you want to replicate the error, this is the Dockerfile I'm using: FROM rust:buster
WORKDIR /stack-graphs
RUN cargo install --features cli tree-sitter-stack-graphs Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
patrickt
Jan 4, 2023
Replies: 1 comment 8 replies
-
Looks like bitvec released v1.0, so we need to bump that dependency. I don’t know if there’s a way to do something like |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
hendrikvanantwerpen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like bitvec released v1.0, so we need to bump that dependency. I don’t know if there’s a way to do something like
cabal
’s--allow-newer
thing, but if there is, allowing bitvec <= 1.1 should work.