Package Details: vopono-git 0.10.14.r0.g4d22055-1

Git Clone URL: https://aur.archlinux.org/vopono-git.git (read-only, click to copy)
Package Base: vopono-git
Description: Run applications through VPN connections in network namespaces
Upstream URL: https://github.com/jamesmcm/vopono
Keywords: namespace openvpn vopono vpn wireguard
Licenses: GPL3
Conflicts: vopono
Provides: vopono
Submitter: jamesmcm
Maintainer: jamesmcm
Last Packager: jamesmcm
Votes: 7
Popularity: 0.21
First Submitted: 2020-06-21 13:16 (UTC)
Last Updated: 2025-08-06 10:07 (UTC)

Dependencies (8)

Required by (0)

Sources (1)

Latest Comments

brolyxxx commented on 2025-11-29 10:29 (UTC)

Compiler keeps exiting with this error:


   Compiling clap v4.5.53
error[E0277]: the trait bound `ThreadRng: rand_core::CryptoRng` is not satisfied
   --> vopono_core/src/util/wireguard.rs:45:49
    |
 45 |     let private = StaticSecret::random_from_rng(&mut rand::rng());
    |                   ----------------------------- ^^^^^^^^^^^^^^^^ the trait `DerefMut` is not implemented for `ThreadRng`
    |                   |
    |                   required by a bound introduced by this call
    |
note: there are multiple different versions of crate `rand_core` in the dependency graph
   --> /home/broly/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.0-rc-2/src/lib.rs:165:1
    |
165 | pub trait CryptoRng: RngCore {}
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
    |
   ::: vopono_core/src/util/wireguard.rs:8:5
    |
  8 | use x25519_dalek::{PublicKey, StaticSecret};
    |     ------------ one version of crate `rand_core` used here, as a dependency of crate `x25519_dalek`
    |
   ::: vopono_core/src/config/providers/mozilla/mod.rs:77:13
    |
 77 |         use rand::RngCore;
    |             ---- one version of crate `rand_core` used here, as a dependency of crate `rand`
    |
   ::: /home/broly/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/rngs/thread.rs:94:1
    |
 94 | pub struct ThreadRng {
    | -------------------- this type doesn't implement the required trait
    |
   ::: /home/broly/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1
    |
 67 | pub trait BlockRngCore {
    | ---------------------- this is the found trait
    = help: you can use `cargo tree` to explore your dependency tree
    = note: required for `ThreadRng` to implement `rand_core::CryptoRng`
note: required by a bound in `StaticSecret::random_from_rng`
   --> /home/broly/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x25519-dalek-3.0.0-pre.2/src/x25519.rs:217:31
    |
217 |     pub fn random_from_rng<R: CryptoRng + ?Sized>(csprng: &mut R) -> Self {
    |                               ^^^^^^^^^ required by this bound in `StaticSecret::random_from_rng`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `vopono_core` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

jamesmcm commented on 2025-08-05 16:48 (UTC)

Thanks for reporting this Leia - it was a breaking change in a minor version of dns-config. This is fixed in vopono-git now but it'll take me a while to do a new release of vopono as I am travelling atm.

Leia commented on 2025-08-05 16:32 (UTC)

Compiler keeps exiting with the error:

 error[E0599]: no method named `first` found for opaque type `impl Iterator<Item = std::net::IpAddr>` in the current scope
   --> vopono_core/src/config/providers/azirevpn/wireguard.rs:281:48
    |
281 |             let host_ip = host_lookup.unwrap().first().cloned().unwrap();
    |                                                ^^^^^ method not found in `impl Iterator<Item = IpAddr>`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `vopono_core` (lib) due to 1 previous error
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: vopono-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
vopono - exit status 4