Skip to content

RA 2021-23-05 can't bootstrap on Windows #8956

@Lokathor

Description

@Lokathor

It looks like some path stuff got messed up on accident.

Note in the ERROR report at the end how it's using a path that's D:\\C:\\, which is clearly always going to be incorrect on windows.

INFO [5/23/2021, 4:29:55 PM]: Extension version: 0.3.608
INFO [5/23/2021, 4:29:55 PM]: Using configuration {
  cargoRunner: null,
  runnableEnv: null,
  inlayHints: {
    enable: false,
    smallerHints: true,
    chainingHints: false,
    maxLength: 25,
    parameterHints: false,
    typeHints: false
  },
  updates: { channel: 'nightly', askBeforeDownload: false },
  server: { path: null, extraEnv: null },
  trace: { server: 'off', extension: false },
  debug: {
    engine: 'auto',
    sourceFileMap: {
      '/rustc/<id>': '${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust'
    },
    openDebugPane: false,
    engineSettings: {}
  },
  assist: {
    importGranularity: 'crate',
    importEnforceGranularity: false,
    importPrefix: 'plain',
    importGroup: true
  },
  callInfo: { full: true },
  cargo: {
    autoreload: true,
    allFeatures: false,
    features: [],
    runBuildScripts: true,
    useRustcWrapperForBuildScripts: true,
    noDefaultFeatures: false,
    target: null,
    noSysroot: false
  },
  checkOnSave: {
    enable: true,
    allFeatures: null,
    allTargets: false,
    command: 'build --examples',
    noDefaultFeatures: null,
    target: null,
    extraArgs: [],
    features: null,
    overrideCommand: null
  },
  completion: {
    addCallArgumentSnippets: true,
    addCallParenthesis: true,
    postfix: { enable: true },
    autoimport: { enable: true }
  },
  diagnostics: {
    enable: true,
    enableExperimental: true,
    disabled: [],
    remapPrefix: {},
    warningsAsHint: [],
    warningsAsInfo: []
  },
  files: { watcher: 'client', excludeDirs: [] },
  highlighting: { strings: true },
  hoverActions: {
    debug: true,
    enable: true,
    gotoTypeDef: true,
    implementations: true,
    run: true,
    linksInHover: true
  },
  lens: {
    debug: true,
    enable: true,
    implementations: true,
    run: true,
    methodReferences: false,
    references: false
  },
  linkedProjects: [],
  lruCapacity: null,
  notifications: { cargoTomlNotFound: true },
  procMacro: { enable: true, server: null },
  runnables: { overrideCargo: null, cargoExtraArgs: [] },
  rustcSource: null,
  rustfmt: { extraArgs: [ '+nightly' ], overrideCommand: null },
  workspace: { symbol: { search: { scope: 'workspace', kind: 'only_types' } } },
  displayInlayHints: false,
  'cargo-watch': { command: 'build' },
  featureFlags: { 'notifications.workspace-loaded': false }
}
INFO [5/23/2021, 4:29:55 PM]: PersistentState: {
  lastCheck: 1621808988372,
  nightlyReleaseId: 43427417,
  serverVersion: '0.3.582'
}
ERROR [5/23/2021, 4:29:55 PM]: Bootstrap error [Error: ENOENT: no such file or directory, mkdir 'D:\C:\Users\Daniel\AppData\Roaming\Code\User\globalStorage\matklad.rust-analyzer'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'mkdir',
  path: 'D:\\C:\\Users\\Daniel\\AppData\\Roaming\\Code\\User\\globalStorage\\matklad.rust-analyzer'
}

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