From patchwork Sun Jul 3 04:25:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kiasoc5 X-Patchwork-Id: 40480 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4A3A527BBEA; Sun, 3 Jul 2022 05:26:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9F7E027BBE9 for ; Sun, 3 Jul 2022 05:26:11 +0100 (BST) Received: from localhost ([::1]:57130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7rBS-00047D-Q4 for patchwork@mira.cbaines.net; Sun, 03 Jul 2022 00:26:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7rBK-000474-NK for guix-patches@gnu.org; Sun, 03 Jul 2022 00:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7rBK-000058-FH for guix-patches@gnu.org; Sun, 03 Jul 2022 00:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7rBK-0007Hi-6k for guix-patches@gnu.org; Sun, 03 Jul 2022 00:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54439] Rust 1.61.0 Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Jul 2022 04:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54439 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: <54439@debbugs.gnu.org> Cc: "\(" , Tobias Geerinckx-Rice Received: via spool by 54439-submit@debbugs.gnu.org id=B54439.165682234927982 (code B ref 54439); Sun, 03 Jul 2022 04:26:02 +0000 Received: (at 54439) by debbugs.gnu.org; 3 Jul 2022 04:25:49 +0000 Received: from localhost ([127.0.0.1]:43128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7rB6-0007HG-L8 for submit@debbugs.gnu.org; Sun, 03 Jul 2022 00:25:49 -0400 Received: from knopi.disroot.org ([178.21.23.139]:56596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7rB3-0007H6-FE for 54439@debbugs.gnu.org; Sun, 03 Jul 2022 00:25:47 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 00D0445B24; Sun, 3 Jul 2022 06:25:44 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7fzSjRCesyLE; Sun, 3 Jul 2022 06:25:42 +0200 (CEST) Date: Sun, 3 Jul 2022 04:25:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1656822342; bh=ZpP8Q4LI/ApnUTAGl01VZinTCTWg8kVC9k3alE7ms9s=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=mb8HRplzut0zZ/xF4lPkhvcxKELlckrJTCwza1gat4XVEm5Pbkthff90QUBAoxyrP h2jTaFzguL+vyHWQTbBiFdkVVWj34ZYVwexwAzTH5a7zcchqE+Ax6mZ7u2Vuew/pAO qFHOvJUY1vm4/GORrSiaMRBRVRJgpl9ws7o3NyjUlEBrRKeILLBiKGADUSOe40fFbH 23l5AShXOTwMoYv8JKQoqd8XneyHvSGtD/L62M5nCILsOkg5iydeDoiEOmRf0iby4H k83PmbIMEUhv+ZiMwz1bGUZMoe3qccvt+VDQ4XZwF1fDVCYVy46S1CZVrq64sOI+s7 cexq4iUV+KWDw== Message-ID: <20220703042511.6023daf8@aria> In-Reply-To: References: <20220630185654.4642df77@aria> <949bbae409a1d1696db5a2a855e53b11@tobias.gr> <20220701011109.1a436efa@aria> Mime-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: kiasoc5 X-ACL-Warn: , kiasoc5 via Guix-patches X-Patchwork-Original-From: kiasoc5 via Guix-patches via From: kiasoc5 X-getmail-retrieved-from-mailbox: Patches I got 1.60 to build by using LLVM 14. Rust 1.61 fails to build, one of the tests hangs for many hours. ``` Finished release [optimized] target(s) in 47.43s Running `/tmp/guix-build-rust-1.61.0.drv-0/rustc-1.61.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/std-25ea6ffff3fb3704 --quiet` running 945 tests .................................................................................................... 100/945 .................................................................................................... 200/945 .....................................................................i..........................thread '' panicked at 'explicit panic', library/std/src/io/buffered/tests.rs:495:13 .... 300/945 ........................................................................thread '' panicked at 'explicit panic', library/std/src/io/stdio/tests.rs:37:9 ............................ 400/945 .................................................................................................... 500/945 .................................................................................................... 600/945 .............................................................................thread '' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', library/std/src/sync/mpsc/sync_tests.rs:346:28 ....thread '' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', library/std/src/sync/mpsc/sync_tests.rs:383:27 thread '' panicked at 'called `Result::unwrap()` on an `Err` value: SendError { .. }', library/std/src/sync/mpsc/sync_tests.rs:371:24 .......thread '' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', library/std/src/sync/mpsc/sync_tests.rs:250:19 ............ 700/945 ..............................thread '' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', library/std/src/sync/mpsc/tests.rs:322:28 ....thread '' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', library/std/src/sync/mpsc/tests.rs:359:27 thread '' panicked at 'called `Result::unwrap()` on an `Err` value: SendError { .. }', library/std/src/sync/mpsc/tests.rs:347:24 .......thread '' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', library/std/src/sync/mpsc/tests.rs:241:19 ........................................thread '' panicked at 'explicit panic', library/std/src/sync/mutex/tests.rs:160:9 .thread '' panicked at 'test panic in inner thread to poison mutex', library/std/src/sync/mutex/tests.rs:114:9 ...thread 'thread '.' panicked at 'test panic in inner thread to poison mutex', library/std/src/sync/mutex/tests.rs' panicked at 'explicit panic', library/std/src/sync/mutex/tests.rs:221:9 :90:9 ............thread '' panicked at 'assertion failed: `(left == right)` left: `1`, right: `2`', library/std/src/sync/mutex/tests.rs:184:9 .. 800/945 .thread '' panicked at 'test panic in inner thread to poison RwLock', library/std/src/sync/rwlock/tests.rs:238:9 .thread '' panicked at 'test panic in inner thread to poison RwLock', library/std/src/sync/rwlock/tests.rs:214:9 ..thread '.thread '' panicked at 'explicit panic', library/std/src/sync/rwlock/tests.rs:90:9 .thread '' panicked at 'explicit panic', library/std/src/sync/rwlock/tests.rs:78:9 .thread '' panicked at 'explicit panic', library/std/src/sync/rwlock/tests.rs:65:9 .thread '' panicked at 'explicit panic', library/std/src/sync/rwlock/tests.rs:52:9 .....' panicked at 'explicit panic', ..library/std/src/sync/rwlock/tests.rs:.150:9 ......i.panicked at 'crash now!', library/std/src/sys/unix/process/process_unix/tests.rs:46:27 panicked after panic::always_abort(), aborting. ............................................................................ 900/945 ....thread '' panicked at 'explicit panic', library/std/src/thread/tests.rs:87:33 .............thread '' panicked at 'Box', library/std/src/thread/tests.rs:222:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace .thread '' panicked at 'owned string', library/std/src/thread/tests.rs:206:9 .thread '' panicked at 'Box', library/std/src/thread/tests.rs:241:33 .thread '' panicked at 'static string', library/std/src/thread/tests.rs:190:9 .......................test sys::unix::process::process_common::tests::test_process_group_no_posix_spawn has been running for over 60 seconds test sys::unix::process::process_common::tests::test_process_group_posix_spawn has been running for over 60 seconds ``` (build hangs for several hours) From 678e0772f265d0def67d33d062b4f99dc8d42d77 Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Sat, 2 Jul 2022 15:50:43 -0400 Subject: [PATCH] add rust-1.6{0,1,2} --- gnu/packages/rust.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) should not ;;; be relied upon. This is to ease maintenance and reduce the time base-commit: b7e414982d4d47f3a0e42ea177b9797dc4880e91 diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 67dc5cdaf3..d49e622d85 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -786,6 +786,30 @@ (define rust-1.57 `("procps" ,procps) (package-native-inputs base-rust)))))) +(define rust-1.58 + (rust-bootstrapped-package + rust-1.57 "1.58.1" "1iq7kj16qfpkx8gvw50d8rf7glbm6s0pj2y1qkrz7mi56vfsyfd8")) + +(define rust-1.59 + (rust-bootstrapped-package + rust-1.58 "1.59.0" "1yc5bwcbmbwyvpfq7zvra78l0r8y3lbv60kbr62fzz2vx2pfxj57")) + +(define rust-1.60 + (let ((base-rust (rust-bootstrapped-package + rust-1.59 "1.60.0" + "1drqr0a26x1rb2w3kj0i6abhgbs3jx5qqkrcwbwdlx7n3inq5ji0"))) + (package + (inherit base-rust) + (inputs (alist-replace "llvm" (list llvm-14) + (package-inputs base-rust)))))) +(define rust-1.61 + (rust-bootstrapped-package + rust-1.60 "1.61.0" "1vfs05hkf9ilk19b2vahqn8l6k17pl9nc1ky9kgspaascx8l62xd")) + +(define rust-1.62 + (rust-bootstrapped-package + rust-1.61 "1.62.0" "09y06qmh7ihi9kgimpp3h4nj3cmgc1zypqyaba10dlk4kf07h23x")) + ;;; Note: Only the latest versions of Rust are supported and tested. The ;;; intermediate rusts are built for bootstrapping purposes and