java.lang.IllegalStateException: `cargo metadata` reported a package which does not exist at `/home/loomaclin/.multirust/toolchains/nightly/cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/Cargo.toml`

GitHub | LooMaclin | 5 months ago
  1. 0

    IDE Fatal error in Cargo.toml edit

    GitHub | 5 months ago | LooMaclin
    java.lang.IllegalStateException: `cargo metadata` reported a package which does not exist at `/home/loomaclin/.multirust/toolchains/nightly/cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/Cargo.toml`
  2. 0
    Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .
  3. 0
    You can solve this by using an actual Service instead of an IntentService
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Update to Grails 3.0.x
  6. 0
    Execute mvn dependency:tree from your project's root directory.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      `cargo metadata` reported a package which does not exist at `/home/loomaclin/.multirust/toolchains/nightly/cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/Cargo.toml`

      at org.rust.cargo.commands.impl.CargoMetadata.clean()
    2. org.rust.cargo
      CargoProjectWorkspaceImpl$UpdateTask.run
      1. org.rust.cargo.commands.impl.CargoMetadata.clean(CargoMetadata.kt:122)
      2. org.rust.cargo.commands.impl.CargoMetadata.clean(CargoMetadata.kt:111)
      3. org.rust.cargo.commands.Cargo.fullProjectDescription(Cargo.kt:51)
      4. org.rust.cargo.project.workspace.impl.CargoProjectWorkspaceImpl$UpdateTask.run(CargoProjectWorkspaceImpl.kt:190)
      4 frames
    3. IDEA
      ApplicationImpl$2.run
      1. com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
      2. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
      3. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
      4. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      5. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      6. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
      7. com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
      8. com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308)
      8 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames