Skip to content

the operation was cancelled error while solvingΒ #5200

@ruben-arts

Description

@ruben-arts

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

Commands I ran and their output:

ros_workspace on ξ‚  main 🧚  
➜ pixi i
Error:   Γ— failed to solve requirements of environment 'default' for platform 'osx-arm64'
  ╰─▢   ⚠ the operation was cancelled
      
ros_workspace on ξ‚  main 🧚  took 23s 
❯ pixi i
Error:   Γ— failed to solve requirements of environment 'default' for platform 'win-64'
  ╰─▢   ⚠ the operation was cancelled
      
ros_workspace on ξ‚  main 🧚  
❯ pixi i
β–ͺ solving              [────────────────────]  0/12                                                                                                                                                                                     
thread '<unnamed>' panicked at crates/pixi_command_dispatcher/src/command_dispatcher_processor/mod.rs:502:56:
invalid SlotMap key used
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error:   Γ— failed to solve requirements of environment 'default' for platform 'osx-arm64'
  ╰─▢   ⚠ the operation was cancelled
      
ros_workspace on ξ‚  main 🧚  
❯ pixi i
β–ͺ solving              [────────────────────]  0/13                                                                                                                                                                                     
thread '<unnamed>' panicked at crates/pixi_command_dispatcher/src/command_dispatcher_processor/mod.rs:502:56:
invalid SlotMap key used
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error:   Γ— failed to solve requirements of environment 'default' for platform 'win-64'
  ╰─▢   ⚠ the operation was cancelled
      
ros_workspace on ξ‚  main 🧚  
❯ pixi i
β–ͺ solving              [────────────────────]  0/13                                                                                                                                                                                     
thread '<unnamed>' panicked at crates/pixi_command_dispatcher/src/command_dispatcher_processor/mod.rs:502:56:
invalid SlotMap key used
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error:   Γ— failed to solve requirements of environment 'default' for platform 'linux-64'
  ╰─▢   ⚠ the operation was cancelled
      
ros_workspace on ξ‚  main 🧚  
❯ pixi i
β–ͺ solving              [────────────────────]  0/12                                                                                                                                                                                     
thread '<unnamed>' panicked at crates/pixi_command_dispatcher/src/command_dispatcher_processor/mod.rs:502:56:
invalid SlotMap key used
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error:   Γ— failed to solve requirements of environment 'default' for platform 'win-64'
  ╰─▢   ⚠ the operation was cancelled
      
ros_workspace on ξ‚  main 🧚  
❯ pixi i
β–ͺ fetching repodata    [━━━━━━━━━━━━━━━━━━━━] 
# here it's working but the above progressbar wasn't removed properly.

pixi.toml/pyproject.toml file that reproduces my issue:
It was on this GitHub repo's main branch: https://github.com/ruben-arts/ros_workspace
pixi info output:

➜ pixi info
System
------------
       Pixi version: 0.62.1
        TLS backend: rustls
           Platform: osx-arm64
   Virtual packages: __unix=0=0
                   : __osx=15.1.1=0
                   : __archspec=1=m1
          Cache dir: /Users/rubenarts/Library/Caches/rattler/cache
       Auth storage: /Users/rubenarts/.rattler/credentials.json
   Config locations: /Users/rubenarts/.pixi/config.toml /Users/rubenarts/Library/Application Support/pixi/config.toml

Global
------------
            Bin dir: /Users/rubenarts/.pixi/bin
    Environment dir: /Users/rubenarts/.pixi/envs
       Manifest dir: /Users/rubenarts/.pixi/manifests/pixi-global.toml

Workspace
------------
               Name: ros_workspace
      Manifest file: /Users/rubenarts/envs/ros_workspace/pixi.toml
       Last updated: 24-12-2025 09:03:56

Environments
------------
        Environment: default
           Features: default
           Channels: https://prefix.dev/pixi-build-backends, https://prefix.dev/conda-forge, https://prefix.dev/robostack-humble
   Dependency count: 5
       Dependencies: ros-humble-ros-core, ros-humble-turtlesim, ros-humble-navigator, ros-humble-navigator-py, ros-humble-talker-py
   Target platforms: linux-aarch64, win-64, osx-arm64, linux-64
    Prefix location: /Users/rubenarts/envs/ros_workspace/.pixi/envs/default
              Tasks: navigator_py, navigator, sim, talker

Ran it with a main build of Pixi.

Issue description

Running pixi install multiple times, where the first 5 times it fails due to some non-informative error.

Expected behavior

No error at all, as it is able to solve eventually.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions