bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58559: Rust 1.58.1 fails to build


From: Ludovic Courtès
Subject: bug#58559: Rust 1.58.1 fails to build
Date: Thu, 20 Oct 2022 12:36:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Hi Brendan,

Brendan Tildesley <mail@brendan.scot> skribis:

>    Compiling toml v0.5.7
>
> error: use of deprecated associated function
> `std::array::IntoIter::<T, N>::new`: use `IntoIterator::into_iter`
> instead
>     --> src/bootstrap/lib.rs:1046:31
>      |
> 1046 |         std::array::IntoIter::new(options).flatten()
>      |                               ^^^
>      |
>      = note: `-D deprecated` implied by `-D warnings`
>
> error: could not compile `bootstrap` due to previous error
> failed to run:
> /gnu/store/njjhb4ql1bpb1qj5ksmjgnhaxmy093nz-rust-1.60.0-cargo/bin/cargo
> build --manifest-path
> /tmp/guix-build-rust-1.58.1.drv-0/rustc-1.58.1-src/src/bootstrap/Cargo.toml
> --frozen
> Build completed unsuccessfully in 0:00:12
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "./x.py" arguments: ("-j16"
>  "build" "library/std" "src/tools/cargo" "src/tools/rustfmt")
>  exit-status: 1 term-signal: #f stop-signal: #f>
> phase `build' failed after 12.3 seconds
> command "./x.py" "-j16" "build" "library/std" "src/tools/cargo"
> "src/tools/rustfmt" failed with status 1

Could you share the output of ‘guix describe’ and that of ‘uname -m’ so
we can understand how to reproduce the issue?

FWIW, with a commit of today, Rust 1.58 is available on x86_64-linux:

--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=4716cea6256523a8ecf90a426d675bfb7620f3e4 -- build 
-n -e '(@@ (gnu packages rust) rust-1.58)'
122.9 MB would be downloaded:
  /gnu/store/jpnrafjr9l8yanhr2lwvdmi7w7mg1jl4-rust-1.58.1-cargo
  /gnu/store/v9swg7qw0hbxw8q32wfkp418wq6r4k97-rust-1.58.1
--8<---------------cut here---------------end--------------->8---

Thanks,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]