Skip to content

thread 'main' panicked at 'not currently active!?', src/tools/cargo/src/cargo/core/resolver/mod.rs:832:20 #11336

@hw0lff

Description

@hw0lff

Problem

When building the linked minimal reproducible example cargo panics.

This bug got reported before in #11012 . However, they were not able to reproduce the error.
I found a minimal reproducible example.

Steps

  1. git clone https://gitlab.com/w0lff/cargo-issue-11012.git
  2. cargo build

Possible Solution(s)

No response

Notes

The = in the version field of the wayland-client crate is needed now because the maintainer published newer versions. Without it cargo fails with an error and does not panic anymore.

Version

cargo 1.65.0 (4bc8f24d3 2022-10-20)
release: 1.65.0
commit-hash: 4bc8f24d3e899462e43621aab981f6383a370365
commit-date: 2022-10-20
host: x86_64-unknown-linux-gnu
libgit2: 1.5.0 (sys:0.15.0 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:OpenSSL/1.1.1q)
os: Arch Linux Rolling Release [64-bit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-dependency-resolutionArea: dependency resolution and the resolverA-patchArea: [patch] table overrideC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions