Skip to content

Fix warnings from cargo generate template #117

@nategraf

Description

@nategraf
Contributor

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 }}
  |         ^
  |

Activity

capossele

capossele commented on May 17, 2024

@capossele
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @nategraf@capossele

        Issue actions

          Fix warnings from cargo generate template · Issue #117 · risc0/risc0-ethereum