GNU bug report logs -
#58559
Rust 1.58.1 fails to build
Previous Next
Reported by: mail <at> brendan.scot
Date: Sun, 16 Oct 2022 02:12:02 UTC
Severity: normal
Done: Brendan Tildesley <mail <at> brendan.scot>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58559 in the body.
You can then email your comments to 58559 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#58559
; Package
guix
.
(Sun, 16 Oct 2022 02:12:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
mail <at> brendan.scot
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sun, 16 Oct 2022 02:12:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58559
; Package
guix
.
(Thu, 20 Oct 2022 10:38:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58559 <at> debbugs.gnu.org (full text, mbox):
Hi Brendan,
Brendan Tildesley <mail <at> 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’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58559
; Package
guix
.
(Thu, 27 Oct 2022 08:19:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 58559 <at> debbugs.gnu.org (full text, mbox):
On 20/10/22 20:36, Ludovic Courtès wrote:
> Hi Brendan,
>
> Brendan Tildesley <mail <at> brendan.scot> skribis:
>
My apologies. Thanks to the power of rollbacks and the guix cli I was
able to determine it was a rust variant defined in a channel
I was using, and is no longer an issue any more. so case closed.
Thanks.
>
> Thanks,
> Ludo’.
Reply sent
to
mail <at> brendan.scot
:
You have taken responsibility.
(Thu, 27 Oct 2022 08:21:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
mail <at> brendan.scot
:
bug acknowledged by developer.
(Thu, 27 Oct 2022 08:21:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 58559-close <at> debbugs.gnu.org (full text, mbox):
bug was due to an unofficial channel. case closed.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58559
; Package
guix
.
(Thu, 03 Nov 2022 14:51:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 58559-done <at> debbugs.gnu.org (full text, mbox):
Brendan Tildesley <mail <at> brendan.scot> skribis:
> On 20/10/22 20:36, Ludovic Courtès wrote:
>> Hi Brendan,
>>
>> Brendan Tildesley <mail <at> brendan.scot> skribis:
>>
> My apologies. Thanks to the power of rollbacks and the guix cli I was
> able to determine it was a rust variant defined in a channel
> I was using, and is no longer an issue any more. so case closed.
Alright, closing!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 02 Dec 2022 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 146 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.