Skip to content

Conversation

oxide-renovate[bot]
Copy link
Contributor

@oxide-renovate oxide-renovate bot commented Jun 19, 2025

This PR contains the following updates:

Package Type Update Change
rand (source) workspace.dependencies minor 0.8.5 -> 0.9.2
rand09 (source) workspace.dependencies patch 0.9.1 -> 0.9.2
rand_core (source) workspace.dependencies minor 0.6.4 -> 0.9.3
rand_distr (source) workspace.dependencies minor 0.4.3 -> 0.5.1
rand_seeder (source) workspace.dependencies minor 0.3.0 -> 0.4.0

Release Notes

rust-random/rand (rand)

v0.9.2

Deprecated
  • Deprecate rand::rngs::mock module and StepRng generator (#​1634)
Additions
  • Enable WeightedIndex<usize> (de)serialization (#​1646)

v0.9.1

Compare Source

Security and unsafe
  • Revise "not a crypto library" policy again (#​1565)
  • Remove zerocopy dependency from rand (#​1579)
Fixes
  • Fix feature simd_support for recent nightly rust (#​1586)
Changes
  • Allow fn rand::seq::index::sample_weighted and fn IndexedRandom::choose_multiple_weighted to return fewer than amount results (#​1623), reverting an undocumented change (#​1382) to the previous release.
Additions
  • Add rand::distr::Alphabetic distribution. (#​1587)
  • Re-export rand_core (#​1604)

v0.9.0

Compare Source

Security and unsafe
  • Policy: "rand is not a crypto library" (#​1514)
  • Remove fork-protection from ReseedingRng and ThreadRng. Instead, it is recommended to call ThreadRng::reseed on fork. (#​1379)
  • Use zerocopy to replace some unsafe code (#​1349, #​1393, #​1446, #​1502)
Dependencies
Features
  • Support std feature without getrandom or rand_chacha (#​1354)
  • Enable feature small_rng by default (#​1455)
  • Remove implicit feature rand_chacha; use std_rng instead. (#​1473)
  • Rename feature serde1 to serde (#​1477)
  • Rename feature getrandom to os_rng (#​1537)
  • Add feature thread_rng (#​1547)
API changes: rand_core traits
  • Add fn RngCore::read_adapter implementing std::io::Read (#​1267)
  • Add trait CryptoBlockRng: BlockRngCore; make trait CryptoRng: RngCore (#​1273)
  • Add traits TryRngCore, TryCryptoRng (#​1424, #​1499)
  • Rename fn SeedableRng::from_rng -> try_from_rng and add infallible variant fn from_rng (#​1424)
  • Rename fn SeedableRng::from_entropy -> from_os_rng and add fallible variant fn try_from_os_rng (#​1424)
  • Add bounds Clone and AsRef to associated type SeedableRng::Seed (#​1491)
API changes: Rng trait and top-level fns
  • Rename fn rand::thread_rng() to rand::rng() and remove from the prelude (#​1506)
  • Remove fn rand::random() from the prelude (#​1506)
  • Add top-level fns random_iter, random_range, random_bool, random_ratio, fill (#​1488)
  • Re-introduce fn Rng::gen_iter as random_iter (#​1305, #​1500)
  • Rename fn Rng::gen to random to avoid conflict with the new gen keyword in Rust 2024 (#​1438)
  • Rename fns Rng::gen_range to random_range, gen_bool to random_bool, gen_ratio to random_ratio (#​1505)
  • Annotate panicking methods with #[track_caller] (#​1442, #​1447)
API changes: RNGs
  • Fix <SmallRng as SeedableRng>::Seed size to 256 bits (#​1455)
  • Remove first parameter (rng) of ReseedingRng::new (#​1533)
API changes: Sequences
  • Split trait SliceRandom into IndexedRandom, IndexedMutRandom, SliceRandom (#​1382)
  • Add IndexedRandom::choose_multiple_array, index::sample_array (#​1453, #​1469)
API changes: Distributions: renames
  • Rename module rand::distributions to rand::distr (#​1470)
  • Rename distribution Standard to StandardUniform (#​1526)
  • Move distr::Slice -> distr::slice::Choose, distr::EmptySlice -> distr::slice::Empty (#​1548)
  • Rename trait distr::DistString -> distr::SampleString (#​1548)
  • Rename distr::DistIter -> distr::Iter, distr::DistMap -> distr::Map (#​1548)
API changes: Distributions
  • Relax Sized bound on Distribution<T> for &D (#​1278)
  • Remove impl of Distribution<Option<T>> for StandardUniform (#​1526)
  • Let distribution StandardUniform support all NonZero* types (#​1332)
  • Fns {Uniform, UniformSampler}::{new, new_inclusive} return a Result (instead of potentially panicking) (#​1229)
  • Distribution Uniform implements TryFrom instead of From for ranges (#​1229)
  • Add UniformUsize (#​1487)
  • Remove support for generating isize and usize values with StandardUniform, Uniform (except via UniformUsize) and Fill and usage as a WeightedAliasIndex weight (#​1487)
  • Add impl DistString for distributions Slice<char> and Uniform<char> (#​1315)
  • Add fn Slice::num_choices (#​1402)
  • Add fn p() for distribution Bernoulli to access probability (#​1481)
API changes: Weighted distributions
  • Add pub module rand::distr::weighted, moving WeightedIndex there (#​1548)
  • Add trait weighted::Weight, allowing WeightedIndex to trap overflow (#​1353)
  • Add fns weight, weights, total_weight to distribution WeightedIndex (#​1420)
  • Rename enum WeightedError to weighted::Error, revising variants (#​1382) and mark as #[non_exhaustive] (#​1480)
API changes: SIMD
  • Switch to std::simd, expand SIMD & docs (#​1239)
Reproducibility-breaking changes
  • Make ReseedingRng::reseed discard remaining data from the last block generated (#​1379)
  • Change fn SmallRng::seed_from_u64 implementation (#​1203)
  • Allow UniformFloat::new samples and UniformFloat::sample_single to yield high (#​1462)
  • Fix portability of distribution Slice (#​1469)
  • Make Uniform for usize portable via UniformUsize (#​1487)
  • Fix IndexdRandom::choose_multiple_weighted for very small seeds and optimize for large input length / low memory (#​1530)
Reproducibility-breaking optimisations
  • Optimize fn sample_floyd, affecting output of rand::seq::index::sample and rand::seq::SliceRandom::choose_multiple (#​1277)
  • New, faster algorithms for IteratorRandom::choose and choose_stable (#​1268)
  • New, faster algorithms for SliceRandom::shuffle and partial_shuffle (#​1272)
  • Optimize distribution Uniform: use Canon's method (single sampling) / Lemire's method (distribution sampling) for faster sampling (breaks value stability; #​1287)
  • Optimize fn sample_single_inclusive for floats (+~20% perf) (#​1289)
Other optimisations
  • Improve SmallRng initialization performance (#​1482)
  • Optimise SIMD widening multiply (#​1247)
Other
Documentation
  • Improve ThreadRng related docs (#​1257)
  • Docs: enable experimental --generate-link-to-definition feature (#​1327)
  • Better doc of crate features, use doc_auto_cfg (#​1411, #​1450)
rust-random/rand_distr (rand_distr)

v0.5.1

Compare Source

Testing
  • Added building the crate to CI
Fixes
  • Fix missing import for no_std builds

v0.5.0

Compare Source

Dependencies and features
API changes
  • Make distributions comparable with PartialEq (#​1218)
  • Dirichlet now uses const generics, which means that its size is required at compile time (#​1292)
  • The Dirichlet::new_with_size constructor was removed (#​1292)
  • Add WeightedIndexTree (#​1372, #​1444)
  • Add PertBuilder to allow specification of mean or mode (#​1452)
  • Rename Zeta's parameter a to s (#​1466)
  • Mark WeightError, PoissonError, BinomialError as #[non_exhaustive] (#​1480)
  • Remove support for usage of isize as a WeightedAliasIndex weight (#​1487)
  • Change parameter type of Zipf::new: n is now floating-point (#​1518)
API changes: renames
  • Move Slice -> slice::Choose, EmptySlice -> slice::Empty (#​1548)
  • Rename trait DistString -> SampleString (#​1548)
  • Rename DistIter -> Iter, DistMap -> Map (#​1548)
  • Move {Weight, WeightError, WeightedIndex} -> weighted::{Weight, Error, WeightedIndex} (#​1548)
  • Move weighted_alias::{AliasableWeight, WeightedAliasIndex} -> weighted::{..} (#​1548)
  • Move weighted_tree::WeightedTreeIndex -> weighted::WeightedTreeIndex (#​1548)
Testing
Fixes
  • Fix Knuth's method so Poisson doesn't return -1.0 for small lambda (#​1284)
  • Fix Poisson distribution instantiation so it return an error if lambda is infinite (#​1291)
  • Fix Dirichlet sample for small alpha values to avoid NaN samples (#​1209)
  • Fix infinite loop in Binomial distribution (#​1325)
  • Fix Pert distribution where mode is close to (min + max) / 2 (#​1452)
  • Fix panic in Binomial (#​1484)
  • Limit the maximal acceptable lambda for Poisson to solve (#​1312) (#​1498)
  • Fix bug in Hypergeometric, this is a Value-breaking change (#​1510)
Other changes
  • Remove unused fields from Gamma, NormalInverseGaussian and Zipf distributions (#​1184)
    This breaks serialization compatibility with older versions.
  • Add plots for rand_distr distributions to documentation (#​1434)
  • Move some of the computations in Binomial from sample to new (#​1484)
  • Reimplement Poisson's rejection method to improve performance and correct sampling inaccuracies for large lambda values, this is a Value-breaking change (#​1560)
rust-random/seeder (rand_seeder)

v0.4.0

  • Update to rand_core v0.9

Configuration

📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@oxide-renovate oxide-renovate bot added the dependencies Pull requests that update a dependency file label Jun 19, 2025
@oxide-renovate
Copy link
Contributor Author

oxide-renovate bot commented Jun 19, 2025

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating git repository `https://github.com/oxidecomputer/pq-sys`
From https://github.com/oxidecomputer/pq-sys
 * [new ref]         b1194c190f4d4a103c2280908cd1e97628c5c1cb -> refs/commit/b1194c190f4d4a103c2280908cd1e97628c5c1cb
    Updating crates.io index
    Updating git repository `https://github.com/oxidecomputer/lldp`
From https://github.com/oxidecomputer/lldp
 * [new ref]         82fbc8c9747eb9f74dde0f92ae77ec67f65652c4 -> refs/commit/82fbc8c9747eb9f74dde0f92ae77ec67f65652c4
    Updating git repository `https://github.com/oxidecomputer/maghemite`
From https://github.com/oxidecomputer/maghemite
 * [new ref]         fa5f15cdcd5864161a929e2ec01534f70dfba216 -> refs/commit/fa5f15cdcd5864161a929e2ec01534f70dfba216
    Updating git repository `https://github.com/oxidecomputer/serde_human_bytes`
From https://github.com/oxidecomputer/serde_human_bytes
 * [new ref]         0a09794501b6208120528c3b457d5f3a8cb17424 -> refs/commit/0a09794501b6208120528c3b457d5f3a8cb17424
    Updating git repository `https://github.com/oxidecomputer/slog-error-chain`
From https://github.com/oxidecomputer/slog-error-chain
 * [new ref]         15f69041f45774602108e47fb25e705dc23acfb2 -> refs/commit/15f69041f45774602108e47fb25e705dc23acfb2
    Updating git repository `https://github.com/oxidecomputer/tufaceous`
From https://github.com/oxidecomputer/tufaceous
 * [new ref]         c269f5704d39eb4234e67e18be10d424ef23ac77 -> refs/commit/c269f5704d39eb4234e67e18be10d424ef23ac77
    Updating git repository `https://github.com/oxidecomputer/propolis`
From https://github.com/oxidecomputer/propolis
 * [new ref]         c03bd1a29c775acfc65de561b8fc436e2459a633 -> refs/commit/c03bd1a29c775acfc65de561b8fc436e2459a633
    Updating git repository `https://github.com/oxidecomputer/crucible`
From https://github.com/oxidecomputer/crucible
 * [new ref]         e164393a88e7b62598897dc4f53315f083e25333 -> refs/commit/e164393a88e7b62598897dc4f53315f083e25333
    Updating git repository `https://github.com/oxidecomputer/opte`
From https://github.com/oxidecomputer/opte
 * [new ref]         2d095de2258aa0653d669b72c741f26e608c81a6 -> refs/commit/2d095de2258aa0653d669b72c741f26e608c81a6
    Updating git repository `https://github.com/oxidecomputer/falcon`
From https://github.com/oxidecomputer/falcon
 * [new ref]         f3fe0542198c08bbb82d16f168e6482db9bec5b9 -> refs/commit/f3fe0542198c08bbb82d16f168e6482db9bec5b9
    Updating git repository `https://github.com/oxidecomputer/clickward`
From https://github.com/oxidecomputer/clickward
 * [new ref]         e3d9a1c35cf3cd04f9cb2e997b0ad88324d30737 -> refs/commit/e3d9a1c35cf3cd04f9cb2e997b0ad88324d30737
    Updating git repository `https://github.com/oxidecomputer/openapi-lint`
From https://github.com/oxidecomputer/openapi-lint
 * [new ref]         ef442ee4343e97b6d9c217d3e7533962fe7d7236 -> refs/commit/ef442ee4343e97b6d9c217d3e7533962fe7d7236
    Updating git repository `https://github.com/oxidecomputer/management-gateway-service`
From https://github.com/oxidecomputer/management-gateway-service
 * [new ref]         77e316c812aa057b9714d0d99c4a7bdd36d45be2 -> refs/commit/77e316c812aa057b9714d0d99c4a7bdd36d45be2
    Updating git repository `https://github.com/oxidecomputer/ipcc-rs`
From https://github.com/oxidecomputer/ipcc-rs
 * [new ref]         524eb8f125003dff50b9703900c6b323f00f9e1b -> refs/commit/524eb8f125003dff50b9703900c6b323f00f9e1b
    Updating git repository `https://github.com/oxidecomputer/dendrite`
From https://github.com/oxidecomputer/dendrite
 * [new ref]         0f203b052d7a94058fed1f4006fa7116f51bfee4 -> refs/commit/0f203b052d7a94058fed1f4006fa7116f51bfee4
    Updating git repository `https://github.com/oxidecomputer/transceiver-control`
From https://github.com/oxidecomputer/transceiver-control
 * [new ref]         4aac6125a8e6cefbb71d9f8a3d1fe6704207d476 -> refs/commit/4aac6125a8e6cefbb71d9f8a3d1fe6704207d476
    Updating git repository `https://github.com/oxidecomputer/hubtools.git`
From https://github.com/oxidecomputer/hubtools
 * [new ref]         cec2560e9a0126e9e687d51b385a57891abc87c3 -> refs/commit/cec2560e9a0126e9e687d51b385a57891abc87c3
    Updating git repository `https://github.com/oxidecomputer/tofino`
From https://github.com/oxidecomputer/tofino
 * [new ref]         1b66b89c3727d2191082df057b068ec52560e334 -> refs/commit/1b66b89c3727d2191082df057b068ec52560e334
    Updating git repository `https://github.com/oxidecomputer/illumos-devinfo`
From https://github.com/oxidecomputer/illumos-devinfo
 * [new ref]         4323b17bfdd0c94d2875ac64b47f0e60fac1d640 -> refs/commit/4323b17bfdd0c94d2875ac64b47f0e60fac1d640
    Updating git repository `https://github.com/oxidecomputer/libefi-illumos`
From https://github.com/oxidecomputer/libefi-illumos
 * [new ref]         54c398c139f0e65252c2c0f9565d2eec7116bf02 -> refs/commit/54c398c139f0e65252c2c0f9565d2eec7116bf02
    Updating git repository `https://github.com/oxidecomputer/libnvme`
From https://github.com/oxidecomputer/libnvme
 * [new ref]         dd5bb221d327a1bc9287961718c3c10d6bd37da0 -> refs/commit/dd5bb221d327a1bc9287961718c3c10d6bd37da0
    Updating git repository `https://github.com/oxidecomputer/sprockets.git`
From https://github.com/oxidecomputer/sprockets
 * [new ref]         6d31fa63217c6a51061dc4afa1ebe175a0021981 -> refs/commit/6d31fa63217c6a51061dc4afa1ebe175a0021981
    Updating git repository `https://github.com/bluecatengineering/dhcproto.git`
From https://github.com/bluecatengineering/dhcproto
 * [new ref]         120da6fcd8a7be84d417d372634ead84ce07e6da -> refs/commit/120da6fcd8a7be84d417d372634ead84ce07e6da
    Updating git repository `https://github.com/oxidecomputer/ispf`
From https://github.com/oxidecomputer/ispf
 * [new ref]         f78443a98397f7818b1e7a487dbb7d5cad625496 -> refs/commit/f78443a98397f7818b1e7a487dbb7d5cad625496
    Updating git repository `https://github.com/oxidecomputer/netadm-sys`
From https://github.com/oxidecomputer/netadm-sys
 * [new ref]         f4eae3d8070760922da93b9edd56ca4103b4c390 -> refs/commit/f4eae3d8070760922da93b9edd56ca4103b4c390
    Updating git repository `https://github.com/oxidecomputer/transceiver-control`
From https://github.com/oxidecomputer/transceiver-control
 * [new ref]         f3cb309c2bd2c03423467fd93992e9033ae3133c -> refs/commit/f3cb309c2bd2c03423467fd93992e9033ae3133c
    Updating git repository `https://github.com/oxidecomputer/tlvc.git`
From https://github.com/oxidecomputer/tlvc
 * [new ref]         e644a21a7ca973ed31499106ea926bd63ebccc6f -> refs/commit/e644a21a7ca973ed31499106ea926bd63ebccc6f
    Updating git repository `https://github.com/oxidecomputer/lpc55_support`
From https://github.com/oxidecomputer/lpc55_support
 * [new ref]         17d04af60b3a4fd82c77b1a33ca5370943cd25d9 -> refs/commit/17d04af60b3a4fd82c77b1a33ca5370943cd25d9
    Updating git repository `https://github.com/oxidecomputer/dice-util`
From https://github.com/oxidecomputer/dice-util
 * [new ref]         3cc953c8d0ace2f20cbcf3920b0771d25301960a -> refs/commit/3cc953c8d0ace2f20cbcf3920b0771d25301960a
    Updating git repository `https://github.com/oxidecomputer/dlpi-sys`
From https://github.com/oxidecomputer/dlpi-sys
 * [new ref]         1d587ea98cf2d36f1b1624b0b960559c76d475d2 -> refs/commit/1d587ea98cf2d36f1b1624b0b960559c76d475d2
    Updating git repository `https://github.com/jmesmon/rust-libzfs`
From https://github.com/jmesmon/rust-libzfs
 * [new ref]         ecd5a922247a6c5acef55d76c5b8d115572bc850 -> refs/commit/ecd5a922247a6c5acef55d76c5b8d115572bc850
    Updating git repository `https://github.com/oxidecomputer/rusty-doors`
From https://github.com/oxidecomputer/rusty-doors
 * [new ref]         0e3a1495dcf8b7b5e11a6921c2cf1cf957c5a5bf -> refs/commit/0e3a1495dcf8b7b5e11a6921c2cf1cf957c5a5bf
    Updating git repository `https://github.com/oxidecomputer/omicron`
From https://github.com/oxidecomputer/omicron
 * [new ref]             e7579c3641181202982f72fe1d1fa25d26183412 -> refs/commit/e7579c3641181202982f72fe1d1fa25d26183412
    Updating git repository `https://github.com/illumos/smf-rs`
From https://github.com/illumos/smf-rs
 * [new ref]         72389b5161d2cca1f0e239b337af68bf31f191f4 -> refs/commit/72389b5161d2cca1f0e239b337af68bf31f191f4
error: failed to select a version for `rand`.
    ... required by package `bootstore v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/bootstore)`
versions that meet the requirements `^0.9.2` are: 0.9.2

package `bootstore` depends on `rand` with feature `getrandom` but `rand` does not have that feature.


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

File name: Cargo.toml
Command failed: tools/renovate-post-upgrade.sh
+ set -o pipefail
+ set -o pipefail
+ case "${BINSTALL_VERSION:-}" in
++ mktemp -d
+ cd /tmp/tmp.UFYR7Hbw61
+ '[' -z '' ']'
+ base_url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-
++ uname -s
+ os=Linux
+ '[' Linux = Darwin ']'
+ '[' Linux = Linux ']'
++ uname -m
+ machine=x86_64
+ '[' x86_64 = armv7l ']'
+ target=x86_64-unknown-linux-musl
+ '[' x86_64 = armv7 ']'
+ url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ do_curl https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ curl --retry 10 -A 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0' -L --proto =https --tlsv1.2 -sSf https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ tar -xvzf -
+ ./cargo-binstall --self-install
+ CARGO_HOME=/home/ubuntu/.cargo
+ case ":$PATH:" in
+ needs_cargo_home=1
+ '[' -n 1 ']'
+ '[' -n '' ']'
+ echo
+ printf '\033[0;31mYour path is missing %s, you might want to add it.\033[0m\n' /home/ubuntu/.cargo/bin
+ echo
Error: 
   0: �[91mbuilding package graph failed�[0m
   1: �[91m`cargo metadata` execution failed�[0m
   2: �[91m`cargo metadata` exited with an error:     Updating crates.io index
      error: failed to select a version for `rand`.
          ... required by package `bootstore v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/bootstore)`
      versions that meet the requirements `^0.9.2` are: 0.9.2

      package `bootstore` depends on `rand` with feature `getrandom` but `rand` does not have that feature.


      failed to select a version for `rand` which could resolve this conflict
   2: �[0m

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

File name: Cargo.toml
Command failed: tools/renovate-post-upgrade.sh
+ set -o pipefail
+ set -o pipefail
+ case "${BINSTALL_VERSION:-}" in
++ mktemp -d
+ cd /tmp/tmp.PrxxuZ2uDN
+ '[' -z '' ']'
+ base_url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-
++ uname -s
+ os=Linux
+ '[' Linux = Darwin ']'
+ '[' Linux = Linux ']'
++ uname -m
+ machine=x86_64
+ '[' x86_64 = armv7l ']'
+ target=x86_64-unknown-linux-musl
+ '[' x86_64 = armv7 ']'
+ url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ do_curl https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ curl --retry 10 -A 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0' -L --proto =https --tlsv1.2 -sSf https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ tar -xvzf -
+ ./cargo-binstall --self-install
+ CARGO_HOME=/home/ubuntu/.cargo
+ case ":$PATH:" in
+ needs_cargo_home=1
+ '[' -n 1 ']'
+ '[' -n '' ']'
+ echo
+ printf '\033[0;31mYour path is missing %s, you might want to add it.\033[0m\n' /home/ubuntu/.cargo/bin
+ echo
Error: 
   0: �[91mbuilding package graph failed�[0m
   1: �[91m`cargo metadata` execution failed�[0m
   2: �[91m`cargo metadata` exited with an error:     Updating crates.io index
      error: failed to select a version for `rand`.
          ... required by package `bootstore v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/bootstore)`
      versions that meet the requirements `^0.9.2` are: 0.9.2

      package `bootstore` depends on `rand` with feature `getrandom` but `rand` does not have that feature.


      failed to select a version for `rand` which could resolve this conflict
   2: �[0m

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

File name: Cargo.toml
Command failed: tools/renovate-post-upgrade.sh
+ set -o pipefail
+ set -o pipefail
+ case "${BINSTALL_VERSION:-}" in
++ mktemp -d
+ cd /tmp/tmp.RTepRH1mBr
+ '[' -z '' ']'
+ base_url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-
++ uname -s
+ os=Linux
+ '[' Linux = Darwin ']'
+ '[' Linux = Linux ']'
++ uname -m
+ machine=x86_64
+ '[' x86_64 = armv7l ']'
+ target=x86_64-unknown-linux-musl
+ '[' x86_64 = armv7 ']'
+ url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ do_curl https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ curl --retry 10 -A 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0' -L --proto =https --tlsv1.2 -sSf https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ tar -xvzf -
+ ./cargo-binstall --self-install
+ CARGO_HOME=/home/ubuntu/.cargo
+ case ":$PATH:" in
+ needs_cargo_home=1
+ '[' -n 1 ']'
+ '[' -n '' ']'
+ echo
+ printf '\033[0;31mYour path is missing %s, you might want to add it.\033[0m\n' /home/ubuntu/.cargo/bin
+ echo
Error: 
   0: �[91mbuilding package graph failed�[0m
   1: �[91m`cargo metadata` execution failed�[0m
   2: �[91m`cargo metadata` exited with an error:     Updating crates.io index
      error: failed to select a version for `rand`.
          ... required by package `bootstore v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/bootstore)`
      versions that meet the requirements `^0.9.2` are: 0.9.2

      package `bootstore` depends on `rand` with feature `getrandom` but `rand` does not have that feature.


      failed to select a version for `rand` which could resolve this conflict
   2: �[0m

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

File name: Cargo.toml
Command failed: tools/renovate-post-upgrade.sh
+ set -o pipefail
+ set -o pipefail
+ case "${BINSTALL_VERSION:-}" in
++ mktemp -d
+ cd /tmp/tmp.W6629JWftf
+ '[' -z '' ']'
+ base_url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-
++ uname -s
+ os=Linux
+ '[' Linux = Darwin ']'
+ '[' Linux = Linux ']'
++ uname -m
+ machine=x86_64
+ '[' x86_64 = armv7l ']'
+ target=x86_64-unknown-linux-musl
+ '[' x86_64 = armv7 ']'
+ url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ do_curl https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ curl --retry 10 -A 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0' -L --proto =https --tlsv1.2 -sSf https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ tar -xvzf -
+ ./cargo-binstall --self-install
+ CARGO_HOME=/home/ubuntu/.cargo
+ case ":$PATH:" in
+ needs_cargo_home=1
+ '[' -n 1 ']'
+ '[' -n '' ']'
+ echo
+ printf '\033[0;31mYour path is missing %s, you might want to add it.\033[0m\n' /home/ubuntu/.cargo/bin
+ echo
Error: 
   0: �[91mbuilding package graph failed�[0m
   1: �[91m`cargo metadata` execution failed�[0m
   2: �[91m`cargo metadata` exited with an error:     Updating crates.io index
      error: failed to select a version for `rand`.
          ... required by package `bootstore v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/bootstore)`
      versions that meet the requirements `^0.9.2` are: 0.9.2

      package `bootstore` depends on `rand` with feature `getrandom` but `rand` does not have that feature.


      failed to select a version for `rand` which could resolve this conflict
   2: �[0m

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

File name: Cargo.toml
Command failed: tools/renovate-post-upgrade.sh
+ set -o pipefail
+ set -o pipefail
+ case "${BINSTALL_VERSION:-}" in
++ mktemp -d
+ cd /tmp/tmp.LD3yLLa701
+ '[' -z '' ']'
+ base_url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-
++ uname -s
+ os=Linux
+ '[' Linux = Darwin ']'
+ '[' Linux = Linux ']'
++ uname -m
+ machine=x86_64
+ '[' x86_64 = armv7l ']'
+ target=x86_64-unknown-linux-musl
+ '[' x86_64 = armv7 ']'
+ url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ do_curl https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ curl --retry 10 -A 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0' -L --proto =https --tlsv1.2 -sSf https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
+ tar -xvzf -
+ ./cargo-binstall --self-install
+ CARGO_HOME=/home/ubuntu/.cargo
+ case ":$PATH:" in
+ needs_cargo_home=1
+ '[' -n 1 ']'
+ '[' -n '' ']'
+ echo
+ printf '\033[0;31mYour path is missing %s, you might want to add it.\033[0m\n' /home/ubuntu/.cargo/bin
+ echo
Error: 
   0: �[91mbuilding package graph failed�[0m
   1: �[91m`cargo metadata` execution failed�[0m
   2: �[91m`cargo metadata` exited with an error:     Updating crates.io index
      error: failed to select a version for `rand`.
          ... required by package `bootstore v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/bootstore)`
      versions that meet the requirements `^0.9.2` are: 0.9.2

      package `bootstore` depends on `rand` with feature `getrandom` but `rand` does not have that feature.


      failed to select a version for `rand` which could resolve this conflict
   2: �[0m

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

@oxide-renovate oxide-renovate bot force-pushed the renovate/rand branch 2 times, most recently from 0868867 to d82e25c Compare June 26, 2025 03:52
@sunshowers
Copy link
Contributor

Done in #8828.

@sunshowers sunshowers closed this Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant