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

Fix warnings from cargo generate template #117

Closed
nategraf opened this issue May 16, 2024 · 1 comment
Closed

Fix warnings from cargo generate template #117

nategraf opened this issue May 16, 2024 · 1 comment
Labels
bug Something isn't working CI

Comments

@nategraf
Copy link
Contributor

nategraf commented May 16, 2024

Context:

error: invalid inline table
expected `}`
 --> ../../../../../../../home/ubuntu/.cargo/git/checkouts/risc0-7d6ab9951628e5b1/ecb7a53/templates/rust-starter/host/Cargo.toml:8:16
  |
8 | risc0-zkvm = { {{ risc0_zkvm }} }
  |                ^
  |
error: invalid inline table
expected `}`
 --> ../../../../../../../home/ubuntu/.cargo/git/checkouts/risc0-7d6ab9951628e5b1/ecb7a53/templates/rust-starter/methods/Cargo.toml:7:17
  |
7 | risc0-build = { {{ risc0_build }} }
  |                 ^
  |
error: invalid inline table
expected `}`
 --> ../../../../../../../home/ubuntu/.cargo/git/checkouts/risc0-7d6ab9951628e5b1/ecb7a53/templates/rust-starter/methods/guest/Cargo.toml:2:9
  |
2 | name = {{ guest_package_name }}
  |         ^
  |
    Updating git repository `https://github.com/risc0/risc0`
error: invalid inline table
expected `}`
 --> ../../../../../../../home/ubuntu/.cargo/git/checkouts/risc0-7d6ab9951628e5b1/da5db8b/templates/rust-starter/host/Cargo.toml:8:16
  |
8 | risc0-zkvm = { {{ risc0_zkvm }} }
  |                ^
  |
error: invalid inline table
expected `}`
 --> ../../../../../../../home/ubuntu/.cargo/git/checkouts/risc0-7d6ab9951628e5b1/da5db8b/templates/rust-starter/methods/Cargo.toml:7:17
  |
7 | risc0-build = { {{ risc0_build }} }
  |                 ^
  |
error: invalid inline table
expected `}`
 --> ../../../../../../../home/ubuntu/.cargo/git/checkouts/risc0-7d6ab9951628e5b1/da5db8b/templates/rust-starter/methods/guest/Cargo.toml:2:9
  |
2 | name = {{ guest_package_name }}
  |         ^
  |
@nategraf nategraf added bug Something isn't working CI labels May 16, 2024
@capossele
Copy link
Contributor

using the risc0 deps as a git dependency is what is causing these compiler errors messages, possibly a regression introduced by rust-lang/cargo#13213

@nategraf nategraf closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI
Projects
None yet
Development

No branches or pull requests

2 participants