Skip to content

Build failure: vscode-extensions.rust-lang.rust-analyser #384840

@Sk7Str1p3

Description

@Sk7Str1p3

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

  1. try to install vscode with this extensions

Can Hydra reproduce this build failure?

The last build job was manually cancelled.

Link to Hydra build job

No response

Relevant log output

error: builder for '/nix/store/sxq87c2nbrd369raivhgjg5i4ghmrp34-rust-analyzer-0.3.2029.drv' failed with exit code 1;
       last 25 log lines:
       > Adding metadata fields to: node_modules/yazl/package.json
       > Adding metadata fields to: node_modules/yocto-queue/package.json
       > npm warn config production Use `--omit=dev` instead.
npm error code 1
npm error path /nix/store/d6lfbbzba9f8xa22shh8809yxyvvp4hz-rust-analyzer-0.3.2029/lib/node_modules/rust-analyzer/node_modules/@vscode/vsce-sign
npm error command failed
npm error command sh -c node ./src/postinstall.js
npm error [@vscode/vsce-sign] Failed to find package "@vscode/vsce-sign-linux-x64" on the file system
       > npm error
       > npm error This can happen if you use the "--no-optional" flag. The "optionalDependencies"
       > npm error package.json feature is used to install the correct binary executable
       > npm error for your current platform. This install script will now attempt to work around
       > npm error this. If that fails, you need to remove the "--no-optional" flag to use @vscode/vsce-sign.
       > npm error
       > npm error [@vscode/vsce-sign] Trying to install package "@vscode/vsce-sign-linux-x64" using npm
       > npm error [@vscode/vsce-sign] Failed to install package "@vscode/vsce-sign-linux-x64" using npm: Command failed: npm install --loglevel=error --prefer-offline --no-audit --progress=false @vscode/vsce-sign-linux-x64@2.0.2
       > npm error npm error code ENOTCACHED
       > npm error npm error request to https://registry.npmjs.org/@vscode%2fvsce-sign-linux-x64 failed: cache mode is 'only-if-cached' but no cached response is available.
       > npm error npm error A complete log of this run can be found in: /build/.npm/_logs/2025-02-24T19_08_40_831Z-debug-0.log
       > npm error
       > npm error [@vscode/vsce-sign] Trying to download "https://registry.npmjs.org/@vscode/vsce-sign-linux-x64/-/vsce-sign-linux-x64-2.0.2.tgz"
       > npm error [@vscode/vsce-sign] Failed to download "https://registry.npmjs.org/@vscode/vsce-sign-linux-x64/-/vsce-sign-linux-x64-2.0.2.tgz": getaddrinfo EAI_AGAIN registry.npmjs.org
       > npm error Failed to install package "@vscode/vsce-sign-linux-x64"
npm error A complete log of this run can be found in: /build/.npm/_logs/2025-02-24T19_08_40_462Z-debug-0.log

       For full logs, run 'nix log /nix/store/sxq87c2nbrd369raivhgjg5i4ghmrp34-rust-analyzer-0.3.2029.drv'.
error: 1 dependencies of derivation '/nix/store/lnz7splj5f5jy4d9qd3yyan8wyj4gckl-vscode-extension-rust-analyzer-0.3.2029.drv' failed to build
error: 1 dependencies of derivation '/nix/store/alify15izpwnfb2ppjzzya946abq4igc-hm_.vscodeextensions.extensionsimmutable.json.drv' failed to build
error: 1 dependencies of derivation '/nix/store/a77by2kffkpg2a3n0ql5wa6hy2f9lsx2-home-manager-files.drv' failed to build
error: 1 dependencies of derivation '/nix/store/x01ry45s0lmwba0hbv312ibq9nvad2hh-home-manager-generation.drv' failed to build

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.13.3, NixOS, 25.05 (Warbler), 25.05.20250221.32fb99b
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.25.5
  • channels(root): "nixos"
  • nixpkgs: /nix/store/qc7n2v5yl42m2wq59f59ly6igiwljh11-source

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions