From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp2.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id GEqAJ5Y932blywAAe85BDQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 09 Sep 2024 18:25:26 +0000
Received: from aspmx1.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2.migadu.com with LMTPS
	id GEqAJ5Y932blywAAe85BDQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 09 Sep 2024 20:25:26 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Xd4IqitZ;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1725906326;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=kJwbNgeDdH/dL98H1ByHW6W/bgLArEn1co9phqYyYfs=;
	b=DANtWnQH3tOH5ujzlbCK+Ahrowb04s8QQlY/o0adIy7szDh6nVZWgMU94qwDtcg6vA48pV
	7Pg6k8thXDkEasAIohRM/Olzu6VNug0OqtnpHBw1ifQa17dqSemgwEb/YltoM5ADquct4/
	PyBfO3fSsqC+GhiDQeheMbTZzC4nJVh0pyZdQdtELUby7HkX2DhStn5rAbciQ6ODiq6XWA
	5slyojhQF9PcmC2jOvyQxdQQAZsuvwokK3uakA6GDLxRQu0vYTyqCN7G8mWqyL65gPbCnk
	pz07hgWI3wOgoZklPy8EJl0Exxvtv4w8Wxct3tI+zVocKn1TGslyMpZGBGSdow==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725906326; a=rsa-sha256; cv=none;
	b=K7tbh6MacGErQITPReq6a+JvGV1EUiQZuS9NGd/wmH+N0x6nLmCEjPOKQFkxf7NGHUjBCP
	0HdnzfqTprx5u+th6hvU8DMftFUnSMSWOP/NzcP/IfjOW74qiBBIyrH2MXUxqOc+NHjSl7
	C2SpKzp+TrBLTZJNU4QNwUWr4BbRQniv2u9GSe/nB22Eb+yqRkFrBun8ZHgkSX16orsvcF
	0a/Hzj++7PUgbBLaxj292p608WX0ctADwCb8MqFjB+90SNI78G13bw541VUeNzFsVaECyi
	zdr1IWCVnYJ2UKH6Ctpv5UYIH+/OhtikXWOY8Cr6ouVYBMjFDiRtAESay9Q7tQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Xd4IqitZ;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 851DA8E081
	for <larch@yhetil.org>; Mon,  9 Sep 2024 20:25:26 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces@gnu.org>)
	id 1snj4U-0003ze-Jl; Mon, 09 Sep 2024 14:25:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1snj4P-0003dy-0w
 for guix-patches@gnu.org; Mon, 09 Sep 2024 14:25:02 -0400
Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1snj4N-0003Vw-RZ
 for guix-patches@gnu.org; Mon, 09 Sep 2024 14:25:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=debbugs.gnu.org; s=debbugs-gnu-org; 
 h=MIME-Version:Date:From:To:Subject;
 bh=kJwbNgeDdH/dL98H1ByHW6W/bgLArEn1co9phqYyYfs=; 
 b=Xd4IqitZGJkJ8ssC0rNgHswQeHGPFOZ5S+tQeXxutgkPL2mcONuemiweLG7DJXFc6dyYDbqj/IXhgytTBDkPlv6PyRVt4mUPf8hPmOZFRrvF5PLLA6uwcv1SlMDwCbzBISnVVMXe3XO/92fVxESyzTy5vtXlEed76CYLkLPDU9uogLqxRS8Yn31zsY5BmjE/51s/uLsJbZ5Ob4OdUUlNvp2Nr/ote4LxEzLT/fx8hOw2ymzeDPDC6ry5rj7SdE4OJi1Vhsitu5Uc+/4lSUzJXaTzMcy8Brk9B/7enys/8Bq09pNZBVtzvQAdNapWO0Zlu8tkS0W2Qbl2gat4hoJNJg==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1snj4Q-0004w0-Lz
 for guix-patches@gnu.org; Mon, 09 Sep 2024 14:25:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#73154] [PATCH] gnu: rust: update to 1.81
Resent-From: brennan@umanwizard.com
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Mon, 09 Sep 2024 18:25:02 +0000
Resent-Message-ID: <handler.73154.B.172590627118913@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 73154
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 73154@debbugs.gnu.org
Cc: Brennan Vincent <brennan@umanwizard.com>, efraim@flashner.co.il
X-Debbugs-Original-To: guix-patches@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.172590627118913
 (code B ref -1); Mon, 09 Sep 2024 18:25:02 +0000
Received: (at submit) by debbugs.gnu.org; 9 Sep 2024 18:24:31 +0000
Received: from localhost ([127.0.0.1]:34119 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1snj3v-0004uz-5R
 for submit@debbugs.gnu.org; Mon, 09 Sep 2024 14:24:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:56158)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brennan@umanwizard.com>) id 1snj3s-0004uq-Ge
 for submit@debbugs.gnu.org; Mon, 09 Sep 2024 14:24:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <brennan@umanwizard.com>)
 id 1snj3o-0001Il-Ck
 for guix-patches@gnu.org; Mon, 09 Sep 2024 14:24:24 -0400
Received: from smtp.umanwizard.com ([54.203.248.109])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <brennan@umanwizard.com>) id 1snj3j-0003U6-JS
 for guix-patches@gnu.org; Mon, 09 Sep 2024 14:24:24 -0400
Received: from localhost ([108.6.22.48]) by smtp.umanwizard.com ;
 9 Sep 2024 18:24:16 +0000
X-Fes-Received-For: guix-patches@gnu.org
X-Fes-Received-From: <brennan@umanwizard.com>
From: brennan@umanwizard.com
Date: Mon,  9 Sep 2024 14:23:56 -0400
Message-ID: <20240909182356.2221764-1-brennan@umanwizard.com>
X-Mailer: git-send-email 2.45.2
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Fes-Encrypted: true
X-Fes-Ehlo-Domain: localhost
Received-SPF: pass client-ip=54.203.248.109;
 envelope-from=brennan@umanwizard.com; helo=smtp.umanwizard.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: guix-patches-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Queue-Id: 851DA8E081
X-Migadu-Scanner: mx12.migadu.com
X-Migadu-Spam-Score: -9.22
X-Spam-Score: -9.22
X-TUID: 8oDm19mQLvUR

From: Brennan Vincent <brennan@umanwizard.com>

gnu/packages/rust.scm (new variable): rust-1.81.
gnu/packages/rust.scm (rust): update to 1.81.

Change-Id: Idb1958364225bebb9aa415419083b6ab97d7c4c7
---
 gnu/packages/rust.scm | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 396e8a858a..a33399d8fc 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1050,6 +1050,12 @@ (define-public rust-1.80
                (("features = \\[\"fs\"" all)
                 (string-append all ", \"use-libc\""))))))))))
 
+(define-public rust-1.81
+  (let ((base-rust (rust-bootstrapped-package rust-1.80 "1.81.0"
+                                              "19yggj1qivdhf68gx2652cfi7nxjkdgy39wh7h6facpzppz4h947")))
+    (package
+      (inherit base-rust))))
+
 (define (make-ignore-test-list strs)
   "Function to make creating a list to ignore tests a bit easier."
   (map (lambda (str)
@@ -1064,7 +1070,7 @@ (define (make-ignore-test-list strs)
 ;;; Here we take the latest included Rust, make it public, and re-enable tests
 ;;; and extra components such as rustfmt.
 (define-public rust
-  (let ((base-rust rust-1.80))
+  (let ((base-rust rust-1.81))
     (package
       (inherit base-rust)
       (properties (append
@@ -1134,7 +1140,10 @@ (define-public rust
                       '("fn fetch_downloads_with_git2_first_")))
                  (substitute* "src/tools/cargo/tests/testsuite/build.rs"
                    ,@(make-ignore-test-list
-                      '("fn build_with_symlink_to_path_dependency_with_build_script_in_git")))))
+                      '("fn build_with_symlink_to_path_dependency_with_build_script_in_git")))
+                 (substitute* "src/tools/cargo/tests/testsuite/publish_lockfile.rs"
+                   ,@(make-ignore-test-list
+                      '("fn note_resolve_changes")))))
              (add-after 'unpack 'disable-tests-requiring-mercurial
                (lambda _
                  (with-directory-excursion "src/tools/cargo/tests/testsuite/cargo_init"
@@ -1222,7 +1231,12 @@ (define-public rust
                    ;; string "rustc"
                    ,@(make-ignore-test-list
                       '("fn config_fingerprint"
-                        "fn features_fingerprint")))))
+                        "fn features_fingerprint")))
+                 (substitute* "src/tools/cargo/tests/testsuite/git_auth.rs"
+                   ;; This checks for a specific networking error message
+                   ;; that's different from the one we see in the builder
+                   ,@(make-ignore-test-list
+                      '("fn net_err_suggests_fetch_with_cli")))))
              (add-after 'unpack 'patch-command-exec-tests
                ;; This test suite includes some tests that the stdlib's
                ;; `Command` execution properly handles in situations where
-- 
2.45.2