#824·RustScan

Using cargo install of 2.4.1 on Debian 12 - impossible to install because of env_logger version mismatch?

Author: trizzoskCreated Aug 18, 2025Updated Feb 10, 2026

Describe the bug Impossible to install 2.4.1 version on Debian 12. Using cargo I get this error:

bash
sudo cargo install rustscan
    Updating crates.io index
  Installing rustscan v2.4.1
error: failed to compile `rustscan v2.4.1`, intermediate artifacts can be found at `/tmp/cargo-installIR4XDS`

Caused by:
  failed to select a version for `env_logger`.
      ... required by package `rustscan v2.4.1`
  versions that meet the requirements `^0.11.6` are: 0.11.8, 0.11.7, 0.11.6

  the package `rustscan` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
   It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


  failed to select a version for `env_logger` which could resolve this conflict

To Reproduce Steps to reproduce the behavior:

  1. Open terminal on Debian 12
  2. Run sudo cargo install rustscan
  3. Conflict occurs

Expected behavior Installed rustscan.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Debian 12
bash
cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

My Base operating system is Qubes OS, where Debian is one of the templates.