unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58559: Rust 1.58.1 fails to build
@ 2022-10-16  2:11 Brendan Tildesley
  2022-10-20 10:36 ` Ludovic Courtès
  2022-10-27  8:20 ` Brendan Tildesley
  0 siblings, 2 replies; 5+ messages in thread
From: Brendan Tildesley @ 2022-10-16  2:11 UTC (permalink / raw)
  To: 58559

    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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#58559: Rust 1.58.1 fails to build
  2022-10-16  2:11 bug#58559: Rust 1.58.1 fails to build Brendan Tildesley
@ 2022-10-20 10:36 ` Ludovic Courtès
  2022-10-27  8:18   ` Brendan Tildesley
  2022-10-27  8:20 ` Brendan Tildesley
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2022-10-20 10:36 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: 58559

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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#58559: Rust 1.58.1 fails to build
  2022-10-20 10:36 ` Ludovic Courtès
@ 2022-10-27  8:18   ` Brendan Tildesley
  2022-11-03 14:50     ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Brendan Tildesley @ 2022-10-27  8:18 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 58559



On 20/10/22 20:36, Ludovic Courtès wrote:
> Hi Brendan,
>
> Brendan Tildesley <mail@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’.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#58559: Rust 1.58.1 fails to build
  2022-10-16  2:11 bug#58559: Rust 1.58.1 fails to build Brendan Tildesley
  2022-10-20 10:36 ` Ludovic Courtès
@ 2022-10-27  8:20 ` Brendan Tildesley
  1 sibling, 0 replies; 5+ messages in thread
From: Brendan Tildesley @ 2022-10-27  8:20 UTC (permalink / raw)
  To: 58559-close

bug was due to an unofficial channel. case closed.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#58559: Rust 1.58.1 fails to build
  2022-10-27  8:18   ` Brendan Tildesley
@ 2022-11-03 14:50     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2022-11-03 14:50 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: 58559-done

Brendan Tildesley <mail@brendan.scot> skribis:

> On 20/10/22 20:36, Ludovic Courtès wrote:
>> Hi Brendan,
>>
>> Brendan Tildesley <mail@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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-03 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-16  2:11 bug#58559: Rust 1.58.1 fails to build Brendan Tildesley
2022-10-20 10:36 ` Ludovic Courtès
2022-10-27  8:18   ` Brendan Tildesley
2022-11-03 14:50     ` Ludovic Courtès
2022-10-27  8:20 ` Brendan Tildesley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).