Describe the bug
The cargo build command after the devcontainer starts with the following error:
error: failed to parse lock file at: /workspaces/redlib/Cargo.lock
Caused by:
lock file version `4` was found, but this version of Cargo does not understand this lock file, perhaps Cargo needs to be updated?
Steps to reproduce the bug
- clone the repository
- open it with Visual Studio Code
- open the command palette
- run the
Dev Containers: Reopen in Container command
- wait for container to build and notice the error
What's the expected behavior?
The postCreateCommand should execute inside the devcontainer right away without failing
Additional context / screenshot
Updating the base image to mcr.microsoft.com/devcontainers/rust:1.0.23-bookworm fixes this issue.
I'm available to open a Pull Request with this change.
Describe the bug
The
cargo buildcommand after the devcontainer starts with the following error:Steps to reproduce the bug
Dev Containers: Reopen in ContainercommandWhat's the expected behavior?
The
postCreateCommandshould execute inside the devcontainer right away without failingAdditional context / screenshot
Updating the base image to
mcr.microsoft.com/devcontainers/rust:1.0.23-bookwormfixes this issue.I'm available to open a Pull Request with this change.