```
nix-shell -p whitebox-tools
this derivation will be built:
  /nix/store/84wi7lcplbf8ryldn8qxhk6jk0qfjwdg-whitebox_tools-2.2.0.drv
these 3 paths will be fetched (0.00 MiB download, 0.02 MiB unpacked):
  /nix/store/dqckr5s73zsy3jcqqp774x9y6fzjl0rc-auditable-cargo-1.73.0
  /nix/store/by2qyxr78hh3jhrrx8sikgavr3i9ap07-cargo-build-hook.sh
  /nix/store/vrvkmmbkxwk2zf0b45jcfa9kc1wx8z31-cargo-check-hook.sh
copying path '/nix/store/dqckr5s73zsy3jcqqp774x9y6fzjl0rc-auditable-cargo-1.73.0' from 'https://cache.nixos.org'...
copying path '/nix/store/vrvkmmbkxwk2zf0b45jcfa9kc1wx8z31-cargo-check-hook.sh' from 'https://cache.nixos.org'...
copying path '/nix/store/by2qyxr78hh3jhrrx8sikgavr3i9ap07-cargo-build-hook.sh' from 'https://cache.nixos.org'...
building '/nix/store/84wi7lcplbf8ryldn8qxhk6jk0qfjwdg-whitebox_tools-2.2.0.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/fynb38ch80wr0mdph93z7z31r64p7iar-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/lrkadk0cmhm9bjifvk5sp1nwq8myz6k9-whitebox_tools-2.2.0-vendor.tar.gz
Finished cargoSetupPostUnpackHook
Running phase: patchPhase
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/whitebox_tools-2.2.0-vendor.tar.gz/Cargo.lock
Finished cargoSetupPostPatchHook
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Running phase: buildPhase
Executing cargoBuildHook
++ env CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu HOST_CC=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc HOST_CXX=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/c++ cargo build -j 16 --target x86_64-unknown-linux-gnu --frozen --profile release
warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
   Compiling autocfg v1.0.1
   Compiling libc v0.2.86
   Compiling libm v0.2.1
   Compiling cfg-if v1.0.0
   Compiling rand_core v0.4.2
   Compiling autocfg v0.1.7
   Compiling proc-macro2 v1.0.24
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.60
   Compiling getrandom v0.1.16
   Compiling ucd-trie v0.1.3
   Compiling typenum v1.15.0
   Compiling serde_derive v1.0.123
   Compiling ryu v1.0.5
   Compiling serde v1.0.123
   Compiling ppv-lite86 v0.2.10
   Compiling serde_json v1.0.64
   Compiling pkg-config v0.3.19
   Compiling rand_core v0.3.1
   Compiling pest v2.1.3
   Compiling rand_hc v0.1.0
   Compiling rand_chacha v0.1.1
   Compiling rand_pcg v0.1.2
   Compiling num-traits v0.2.14
   Compiling num-integer v0.1.44
   Compiling num-complex v0.2.4
   Compiling rand v0.6.5
   Compiling num-rational v0.2.4
   Compiling rand_isaac v0.1.1
   Compiling rand_xorshift v0.1.1
   Compiling rand_jitter v0.1.4
   Compiling num-bigint v0.3.2
   Compiling byteorder v1.4.2
   Compiling rawpointer v0.2.1
   Compiling pdqselect v0.1.0
   Compiling cc v1.0.66
   Compiling matrixmultiply v0.2.4
   Compiling num-iter v0.1.42
   Compiling num-rational v0.3.2
   Compiling miniz_oxide v0.4.3
   Compiling quote v1.0.8
   Compiling itoa v0.4.7
   Compiling semver-parser v0.10.2
   Compiling time v0.1.44
   Compiling rand_os v0.1.3
   Compiling crc32fast v1.2.1
   Compiling rand_core v0.5.1
   Compiling rand_chacha v0.2.2
   Compiling rand_pcg v0.2.1
   Compiling num_cpus v1.13.1
   Compiling adler v0.2.3
   Compiling alloc-no-stdlib v2.0.1
   Compiling semver v0.11.0
   Compiling rand v0.7.3
   Compiling log v0.4.14
   Compiling alloc-stdlib v0.2.1
   Compiling approx v0.3.2
   Compiling rustc_version v0.3.3
   Compiling generic-array v0.12.3
   Compiling rstar v0.7.1
   Compiling num-complex v0.3.1
   Compiling bzip2-sys v0.1.10+1.0.8
   Compiling adler32 v1.2.0
   Compiling brotli-decompressor v2.3.1
   Compiling whitebox_common v2.0.0 (/build/source/whitebox-common)
   Compiling alga v0.9.3
   Compiling chrono v0.4.19
   Compiling miniz_oxide v0.3.7
   Compiling laz v0.5.2
   Compiling msdos_time v0.1.6
   Compiling flate2 v1.0.20
   Compiling lzw v0.10.0
   Compiling uuid v0.8.2
error[E0308]: mismatched types
  --> /build/whitebox_tools-2.2.0-vendor.tar.gz/num-bigint/src/biguint/convert.rs:70:19
   |
70 |         .div_ceil(&big_digit::BITS.into())
   |          -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `&_`
   |          |
   |          arguments to this method are incorrect
   |
   = note:   expected type `u64`
           found reference `&_`
note: method defined here
  --> /build/rustc-1.73.0-src/library/core/src/num/mod.rs:1167:5
   = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the borrow
   |
70 -         .div_ceil(&big_digit::BITS.into())
70 +         .div_ceil(big_digit::BITS.into())
   |

   Compiling nalgebra v0.18.1
error[E0308]: mismatched types
   --> /build/whitebox_tools-2.2.0-vendor.tar.gz/num-bigint/src/biguint/convert.rs:585:19
    |
585 |         .div_ceil(&u64::from(bits))
    |          -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64`
    |          |
    |          arguments to this method are incorrect
    |
note: method defined here
   --> /build/rustc-1.73.0-src/library/core/src/num/mod.rs:1167:5
    = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the borrow
    |
585 -         .div_ceil(&u64::from(bits))
585 +         .div_ceil(u64::from(bits))
    |

error[E0308]: mismatched types
   --> /build/whitebox_tools-2.2.0-vendor.tar.gz/num-bigint/src/biguint/convert.rs:613:19
    |
613 |         .div_ceil(&u64::from(bits))
    |          -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64`
    |          |
    |          arguments to this method are incorrect
    |
note: method defined here
   --> /build/rustc-1.73.0-src/library/core/src/num/mod.rs:1167:5
    = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the borrow
    |
613 -         .div_ceil(&u64::from(bits))
613 +         .div_ceil(u64::from(bits))
    |

   Compiling podio v0.1.7
error[E0308]: mismatched types
   --> /build/whitebox_tools-2.2.0-vendor.tar.gz/num-bigint/src/biguint.rs:393:54
    |
393 |                 let root_scale = extra_bits.div_ceil(&n64);
    |                                             -------- ^^^^ expected `u64`, found `&u64`
    |                                             |
    |                                             arguments to this method are incorrect
    |
note: method defined here
   --> /build/rustc-1.73.0-src/library/core/src/num/mod.rs:1167:5
    = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the borrow
    |
393 -                 let root_scale = extra_bits.div_ceil(&n64);
393 +                 let root_scale = extra_bits.div_ceil(n64);
    |

For more information about this error, try `rustc --explain E0308`.
   Compiling brotli v3.3.0
error: could not compile `num-bigint` (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
error: builder for '/nix/store/84wi7lcplbf8ryldn8qxhk6jk0qfjwdg-whitebox_tools-2.2.0.drv' failed with exit code 101;
       last 10 log lines:
       > help: consider removing the borrow
       >     |
       > 393 -                 let root_scale = extra_bits.div_ceil(&n64);
       > 393 +                 let root_scale = extra_bits.div_ceil(n64);
       >     |
       >
       > For more information about this error, try `rustc --explain E0308`.
       >    Compiling brotli v3.3.0
       > error: could not compile `num-bigint` (lib) due to 4 previous errors
       > warning: build failed, waiting for other jobs to finish...
       For full logs, run 'nix log /nix/store/84wi7lcplbf8ryldn8qxhk6jk0qfjwdg-whitebox_tools-2.2.0.drv'.

timlinux  …/nix-config   dev $!  ♥ 22:36  nix log /nix/store/84wi7lcplbf8ryldn8qxhk6jk0qfjwdg-whitebox_tools-2.2.0.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/84wi7lcplbf8ryldn8qxhk6jk0qfjwdg-whitebox_tools-2.2.0.drv^*'
───────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ STDIN
───────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ @nix { "action": "setPhase", "phase": "unpackPhase" }
   2   │ Running phase: unpackPhase
   3   │ unpacking source archive /nix/store/fynb38ch80wr0mdph93z7z31r64p7iar-source
   4   │ source root is source
   5   │ Executing cargoSetupPostUnpackHook
   6   │ unpacking source archive /nix/store/lrkadk0cmhm9bjifvk5sp1nwq8myz6k9-whitebox_tools-2.2.0-vendor.tar.gz
   7   │ Finished cargoSetupPostUnpackHook
   8   │ @nix { "action": "setPhase", "phase": "patchPhase" }
   9   │ Running phase: patchPhase
  10   │ Executing cargoSetupPostPatchHook
  11   │ Validating consistency between /build/source/Cargo.lock and /build/whitebox_tools-2.2.0-vendor.tar.gz/Cargo.lock
  12   │ Finished cargoSetupPostPatchHook
  13   │ @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
  14   │ Running phase: updateAutotoolsGnuConfigScriptsPhase
  15   │ @nix { "action": "setPhase", "phase": "configurePhase" }
  16   │ Running phase: configurePhase
  17   │ @nix { "action": "setPhase", "phase": "buildPhase" }
  18   │ Running phase: buildPhase
  19   │ Executing cargoBuildHook
  20   │ ++ env CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc CXX_X86_64_UNKNOWN_LINU
       │ X_GNU=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/s
       │ tore/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ihhhd1r1a2wb4ndm24rnm83rf
       │ njw5n0z-gcc-wrapper-12.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bi
       │ n/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc CARGO_B
       │ UILD_TARGET=x86_64-unknown-linux-gnu HOST_CC=/nix/store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/cc HOST_CXX=/nix
       │ /store/ihhhd1r1a2wb4ndm24rnm83rfnjw5n0z-gcc-wrapper-12.3.0/bin/c++ cargo build -j 16 --target x86_64-unknown-linux-gnu --frozen 
       │ --profile release
  21   │ warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
  22   │ note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
  23   │ note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
  24   │    Compiling autocfg v1.0.1
  25   │    Compiling libc v0.2.86
  26   │    Compiling libm v0.2.1
  27   │    Compiling cfg-if v1.0.0
  28   │    Compiling rand_core v0.4.2
  29   │    Compiling autocfg v0.1.7
  30   │    Compiling proc-macro2 v1.0.24
  31   │    Compiling unicode-xid v0.2.1
  32   │    Compiling syn v1.0.60
  33   │    Compiling getrandom v0.1.16
  34   │    Compiling ucd-trie v0.1.3
  35   │    Compiling typenum v1.15.0
  36   │    Compiling serde_derive v1.0.123
  37   │    Compiling ryu v1.0.5
  38   │    Compiling serde v1.0.123
  39   │    Compiling ppv-lite86 v0.2.10
  40   │    Compiling serde_json v1.0.64
  41   │    Compiling pkg-config v0.3.19
  42   │    Compiling rand_core v0.3.1
  43   │    Compiling pest v2.1.3
  44   │    Compiling rand_hc v0.1.0
  45   │    Compiling rand_chacha v0.1.1
  46   │    Compiling rand_pcg v0.1.2
  47   │    Compiling num-traits v0.2.14
  48   │    Compiling num-integer v0.1.44
  49   │    Compiling num-complex v0.2.4
  50   │    Compiling rand v0.6.5
  51   │    Compiling num-rational v0.2.4
  52   │    Compiling rand_isaac v0.1.1
  53   │    Compiling rand_xorshift v0.1.1
  54   │    Compiling rand_jitter v0.1.4
  55   │    Compiling num-bigint v0.3.2
  56   │    Compiling byteorder v1.4.2
  57   │    Compiling rawpointer v0.2.1
  58   │    Compiling pdqselect v0.1.0
  59   │    Compiling cc v1.0.66
  60   │    Compiling matrixmultiply v0.2.4
  61   │    Compiling num-iter v0.1.42
  62   │    Compiling num-rational v0.3.2
  63   │    Compiling miniz_oxide v0.4.3
  64   │    Compiling quote v1.0.8
  65   │    Compiling itoa v0.4.7
  66   │    Compiling semver-parser v0.10.2
  67   │    Compiling time v0.1.44
  68   │    Compiling rand_os v0.1.3
  69   │    Compiling crc32fast v1.2.1
  70   │    Compiling rand_core v0.5.1
  71   │    Compiling rand_chacha v0.2.2
  72   │    Compiling rand_pcg v0.2.1
  73   │    Compiling num_cpus v1.13.1
  74   │    Compiling adler v0.2.3
  75   │    Compiling alloc-no-stdlib v2.0.1
  76   │    Compiling semver v0.11.0
  77   │    Compiling rand v0.7.3
  78   │    Compiling log v0.4.14
  79   │    Compiling alloc-stdlib v0.2.1
  80   │    Compiling approx v0.3.2
  81   │    Compiling rustc_version v0.3.3
  82   │    Compiling generic-array v0.12.3
  83   │    Compiling rstar v0.7.1
  84   │    Compiling num-complex v0.3.1
  85   │    Compiling bzip2-sys v0.1.10+1.0.8
  86   │    Compiling adler32 v1.2.0
  87   │    Compiling brotli-decompressor v2.3.1
  88   │    Compiling whitebox_common v2.0.0 (/build/source/whitebox-common)
  89   │    Compiling alga v0.9.3
  90   │    Compiling chrono v0.4.19
  91   │    Compiling miniz_oxide v0.3.7
  92   │    Compiling laz v0.5.2
  93   │    Compiling msdos_time v0.1.6
  94   │    Compiling flate2 v1.0.20
  95   │    Compiling lzw v0.10.0
  91   │    Compiling miniz_oxide v0.3.7
  92   │    Compiling laz v0.5.2
  93   │    Compiling msdos_time v0.1.6
  94   │    Compiling flate2 v1.0.20
  95   │    Compiling lzw v0.10.0
  96   │    Compiling uuid v0.8.2
  97   │ error[E0308]: mismatched types
  98   │   --> /build/whitebox_tools-2.2.0-vendor.tar.gz/num-bigint/src/biguint/convert.rs:70:19
  99   │    |
 100   │ 70 |         .div_ceil(&big_digit::BITS.into())
 101   │    |          -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `&_`
 102   │    |          |
 103   │    |          arguments to this method are incorrect
 104   │    |
 105   │    = note:   expected type `u64`
 106   │            found reference `&_`
 107   │ note: method defined here
 108   │   --> /build/rustc-1.73.0-src/library/core/src/num/mod.rs:1167:5
 109   │    = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
 110   │ help: consider removing the borrow
 111   │    |
 112   │ 70 -         .div_ceil(&big_digit::BITS.into())
 113   │ 70 +         .div_ceil(big_digit::BITS.into())
 114   │    |
 115   │ 
 116   │    Compiling nalgebra v0.18.1
 117   │ error[E0308]: mismatched types
 118   │    --> /build/whitebox_tools-2.2.0-vendor.tar.gz/num-bigint/src/biguint/convert.rs:585:19
 119   │     |