-
Notifications
You must be signed in to change notification settings - Fork 360
Closed
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version:
Version: 1.100.2
Commit: 848b80aeb52026648a8ff9f7c45a9b0a80641e2e
Date: 2025-05-14T21:47:40.416Z
Electron: 34.5.1
ElectronBuildId: 11369351
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.12.28-1-MANJARO
- OS Version: Linux x64 6.12.28-1-MANJARO
Hi, I just tried to set up my dev environment using the dev container path, but the setup fails because of some recent issue with some rust tool getting removed from some rust package.
Anyways I did some searching and it seems there is already a fix on the way in this PR devcontainers/features#1362
Steps to Reproduce:
- clone vscode
- open in devcontainer
- devcontainer fails with this at the end of the log:
21.11 Installing Rust...
22.95 ./rustup-init: OK
22.95 info: profile set to 'minimal'
22.95 info: default host triple is x86_64-unknown-linux-gnu
22.95 info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
23.15 info: latest update on 2025-05-15, rust version 1.87.0 (17067e9ac 2025-05-09)
23.15 info: downloading component 'cargo'
24.23 info: downloading component 'rust-std'
27.34 info: downloading component 'rustc'
33.08 info: installing component 'cargo'
33.61 info: installing component 'rust-std'
35.11 info: installing component 'rustc'
38.60 info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
38.60
38.61 stable-x86_64-unknown-linux-gnu installed - rustc 1.87.0 (17067e9ac 2025-05-09)
38.61
38.61
38.61 Rust is installed now. Great!
38.61
38.61 To get started you need Cargo's bin directory (/usr/local/cargo/bin) in your
38.61 PATH
38.61 environment variable. This has not been done automatically.
38.61
38.61 To configure your current shell, you need to source
38.61 the corresponding env file under /usr/local/cargo.
38.61
38.61 This is usually done by running one of the following (note the leading DOT):
38.61 . "/usr/local/cargo/env" # For sh/bash/zsh/ash/dash/pdksh
38.61 source "/usr/local/cargo/env.fish" # For fish
38.61 source $"/usr/local/cargo/env.nu" # For nushell
38.62 Installing common Rust dependencies...
38.71 error: toolchain 'stable-x86_64-unknown-linux-gnu' does not contain component 'rls' for target 'x86_64-unknown-linux-gnu'; did you mean 'rustc'?
38.71 ERROR: Feature "Rust" (ghcr.io/devcontainers/features/rust) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/rust for help troubleshooting this error.
------
ERROR: failed to solve: process "/bin/sh -c cp -ar /tmp/build-features-src/rust_1 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/rust_1 && cd /tmp/dev-container-features/rust_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/rust_1" did not complete successfully: exit code: 1
[42919 ms] Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-fanick/container-features/0.76.0-1747552521608/Dockerfile-with-features -t vsc-vscode-155125e3daae083a1dc4c176c1a631e698d884bf1bb7ced7d05cf7d7a2f0590a --target dev_containers_target_stage --build-context dev_containers_feature_content_source=/tmp/devcontainercli-fanick/container-features/0.76.0-1747552521608 --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /home/fanick/git/vscode/.devcontainer
[42919 ms] at y6 (/home/fanick/.vscode/extensions/ms-vscode-remote.remote-containers-0.413.0/dist/spec-node/devContainersSpecCLI.js:468:1933)
[42920 ms] at async dw (/home/fanick/.vscode/extensions/ms-vscode-remote.remote-containers-0.413.0/dist/spec-node/devContainersSpecCLI.js:467:1886)
[42920 ms] at async Ix (/home/fanick/.vscode/extensions/ms-vscode-remote.remote-containers-0.413.0/dist/spec-node/devContainersSpecCLI.js:467:608)
[42920 ms] at async Y6 (/home/fanick/.vscode/extensions/ms-vscode-remote.remote-containers-0.413.0/dist/spec-node/devContainersSpecCLI.js:484:3842)
[42920 ms] at async BC (/home/fanick/.vscode/extensions/ms-vscode-remote.remote-containers-0.413.0/dist/spec-node/devContainersSpecCLI.js:484:4957)
[42920 ms] at async p7 (/home/fanick/.vscode/extensions/ms-vscode-remote.remote-containers-0.413.0/dist/spec-node/devContainersSpecCLI.js:665:202)
[42920 ms] at async d7 (/home/fanick/.vscode/extensions/ms-vscode-remote.remote-containers-0.413.0/dist/spec-node/devContainersSpecCLI.js:664:14804)
[42920 ms] at async /home/fanick/.vscode/extensions/ms-vscode-remote.remote-containers-0.413.0/dist/spec-node/devContainersSpecCLI.js:484:1188
[42926 ms] Exit code 1
[42930 ms] Command failed: /opt/visual-studio-code/code /home/fanick/.vscode/extensions/ms-vscode-remote.remote-containers-0.413.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/fanick/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-b3c0a5e9-2254-4617-8505-5231f303b7521747552520003 --workspace-folder /home/fanick/git/vscode --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=/home/fanick/git/vscode --id-label devcontainer.config_file=/home/fanick/git/vscode/.devcontainer/devcontainer.json --log-level debug --log-format json --config /home/fanick/git/vscode/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --mount type=bind,source=/run/user/1000/wayland-0,target=/tmp/vscode-wayland-0311657d-8c54-4b5a-9805-69b4148e2669.sock --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --include-configuration --include-merged-configuration
[42930 ms] Exit code 1
I don't think there is any viable workaround or I haven't searched hard enough, I guess it is sit and wait situation.
Metadata
Metadata
Assignees
Labels
No labels