Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experienced failure when building using tag release 0.3.0 #5133

Open
predators46 opened this issue Dec 23, 2023 · 1 comment
Open

experienced failure when building using tag release 0.3.0 #5133

predators46 opened this issue Dec 23, 2023 · 1 comment
Labels
C-bug Something isn't working

Comments

@predators46
Copy link

predators46 commented Dec 23, 2023

I experienced failure when building using release tag 0.3.0 I use rust-1.74.0

https://github.com/RustPython/RustPython/tree/0.3.0

error[E0277]: the trait bound `&malachite_nz::integer::Integer: From<&BigInt>` is not satisfied
 --> common/src/int.rs:8:58
  |
8 | ...:from_integers_ref(numerator.into(), denominator.into())
  |                                 ^^^^ the trait `From<&BigInt>` is not implemented for `&malachite_nz::integer::Integer`
  |
  = help: the following other types implement trait `From<T>`:
            <malachite_nz::integer::Integer as From<bool>>
            <malachite_nz::integer::Integer as From<isize>>
            <malachite_nz::integer::Integer as From<i8>>
            <malachite_nz::integer::Integer as From<i16>>
            <malachite_nz::integer::Integer as From<i32>>
            <malachite_nz::integer::Integer as From<i64>>
            <malachite_nz::integer::Integer as From<i128>>
            <malachite_nz::integer::Integer as From<usize>>
          and 7 others
  = note: required for `&BigInt` to implement `Into<&malachite_nz::integer::Integer>`
error[E0277]: the trait bound `&malachite_nz::integer::Integer: From<&BigInt>` is not satisfied
 --> common/src/int.rs:8:78
  |
8 | ...umerator.into(), denominator.into())
  |                                 ^^^^ the trait `From<&BigInt>` is not implemented for `&malachite_nz::integer::Integer`
  |
  = help: the following other types implement trait `From<T>`:
            <malachite_nz::integer::Integer as From<bool>>
            <malachite_nz::integer::Integer as From<isize>>
            <malachite_nz::integer::Integer as From<i8>>
            <malachite_nz::integer::Integer as From<i16>>
            <malachite_nz::integer::Integer as From<i32>>
            <malachite_nz::integer::Integer as From<i64>>
            <malachite_nz::integer::Integer as From<i128>>
            <malachite_nz::integer::Integer as From<usize>>
          and 7 others
  = note: required for `&BigInt` to implement `Into<&malachite_nz::integer::Integer>`
error[E0277]: the trait bound `BigUint: From<malachite_nz::natural::Natural>` is not satisfied
  --> common/src/int.rs:27:46
   |
27 |             BigInt::from_biguint(sign, numer.into()),
   |                                              ^^^^ the trait `From<malachite_nz::natural::Natural>` is not implemented for `BigUint`
   |
   = help: the following other types implement trait `From<T>`:
             <BigUint as From<usize>>
             <BigUint as From<u8>>
             <BigUint as From<u16>>
             <BigUint as From<u32>>
             <BigUint as From<u64>>
             <BigUint as From<u128>>
             <BigUint as From<malachite_nz::natural::Natural>>
   = note: required for `malachite_nz::natural::Natural` to implement `Into<BigUint>`
error[E0277]: the trait bound `BigUint: From<malachite_nz::natural::Natural>` is not satisfied
  --> common/src/int.rs:28:27
   |
28 |             BigUint::from(denom).into(),
   |             ------------- ^^^^^ the trait `From<malachite_nz::natural::Natural>` is not implemented for `BigUint`
   |             |
   |             required by a bound introduced by this call
   |
   = help: the following other types implement trait `From<T>`:
             <BigUint as From<usize>>
             <BigUint as From<u8>>
             <BigUint as From<u16>>
             <BigUint as From<u32>>
             <BigUint as From<u64>>
             <BigUint as From<u128>>
             <BigUint as From<malachite_nz::natural::Natural>>
For more information about this error, try `rustc --explain E0277`.
error: could not compile `rustpython-common` (lib) due to 4 previous errors
Caused by:

@predators46 predators46 added the C-bug Something isn't working label Dec 23, 2023
@predators46 predators46 changed the title error building experienced failure when building using tag release 0.3.0 Dec 23, 2023
@youknowone
Copy link
Member

I am sorry for late response. This is duplicate of #5120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants