Skip to content

rust-wasm: Feature does not compile #11

@sonicbhoc

Description

@sonicbhoc

Whenever I try to add this feature to my devcontainer, it fails with the following message:

[2025-02-15T17:35:44.221Z] [2/2] STEP 17/22: RUN --mount=type=bind,from=dev_containers_feature_content_source,source=rust-wasi_5,target=/tmp/build-features-src/rust-wasi_5,z     cp -ar /tmp/build-features-src/rust-wasi_5 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/rust-wasi_5  && cd /tmp/dev-container-features/rust-wasi_5  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/rust-wasi_5
[2025-02-15T17:35:44.603Z] ===========================================================================
Feature       : wasm + wasi for Rust
Description   : Installs the web assembly target for rust
Id            : devwasm.azurecr.io/dev-wasm/dev-wasm-feature/rust-wasi
Version       : 0.0.2
[2025-02-15T17:35:44.604Z] 
Documentation : https://github.com/dev-wasm/dev-wasm-feature
Options       :

===========================================================================
[2025-02-15T17:35:44.743Z] error: toolchain 'stable-x86_64-unknown-linux-gnu' does not support target 'wasm32-wasi'; did you mean 'wasm32-wasip1'?
note: you can see a list of supported targets with `rustc --print=target-list`
note: if you are adding support for a new target to rustc itself, see https://rustc-dev-guide.rust-lang.org/building/new-target.html
[2025-02-15T17:35:44.746Z] ERROR: Feature "wasm + wasi for Rust" (devwasm.azurecr.io/dev-wasm/dev-wasm-feature/rust-wasi) failed to install! Look at the documentation at https://github.com/dev-wasm/dev-wasm-feature for help troubleshooting this error.
[2025-02-15T17:35:46.412Z] Error: building at STEP "RUN --mount=type=bind,from=dev_containers_feature_content_source,source=rust-wasi_5,target=/tmp/build-features-src/rust-wasi_5,z cp -ar /tmp/build-features-src/rust-wasi_5 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/rust-wasi_5  && cd /tmp/dev-container-features/rust-wasi_5  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/rust-wasi_5": while running runtime: exit status 1
[2025-02-15T17:35:46.420Z] Stop (361952 ms): Run: podman buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-cchristie/container-features/0.73.0-1739640572916 --build-arg _DEV_CONTAINERS_BASE_IMAGE=mcr.microsoft.com/devcontainers/base:ubuntu --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-cchristie/container-features/0.73.0-1739640572916/Dockerfile.extended -t vsc-paragonrustwasmtest-f0e5804b5059c2adfea9ff13b7a941cf7d20c38324ad45df5a51e9c2826db5da-features /home/cchristie/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/empty-folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions