From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WC+tL2j43mPpmwAAbAwnHQ (envelope-from ) for ; Sun, 05 Feb 2023 01:29:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QL2WL2j43mMPwQAAauVa8A (envelope-from ) for ; Sun, 05 Feb 2023 01:29:28 +0100 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 0DF4D26271 for ; Sun, 5 Feb 2023 01:29:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOStz-0006tp-4p; Sat, 04 Feb 2023 19:29:03 -0500 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 ) id 1pOSty-0006tf-BB for bug-guix@gnu.org; Sat, 04 Feb 2023 19:29:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pOSty-0001rM-2L for bug-guix@gnu.org; Sat, 04 Feb 2023 19:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOStx-0002mN-UK for bug-guix@gnu.org; Sat, 04 Feb 2023 19:29:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61284: [rust] Segfault when trying to download dependencies using Cargo Resent-From: Albin =?UTF-8?Q?Otterh=C3=A4ll?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 05 Feb 2023 00:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61284 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 61284@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.167555693010662 (code B ref -1); Sun, 05 Feb 2023 00:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Feb 2023 00:28:50 +0000 Received: from localhost ([127.0.0.1]:43656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOStl-0002lu-J0 for submit@debbugs.gnu.org; Sat, 04 Feb 2023 19:28:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:50118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOStj-0002lm-Sd for submit@debbugs.gnu.org; Sat, 04 Feb 2023 19:28:48 -0500 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 ) id 1pOStj-0006em-Lq for bug-guix@gnu.org; Sat, 04 Feb 2023 19:28:47 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOStf-0001n2-V3 for bug-guix@gnu.org; Sat, 04 Feb 2023 19:28:47 -0500 Date: Sun, 05 Feb 2023 00:28:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a12l.xyz; s=protonmail; t=1675556914; x=1675816114; bh=9CuvCF/ASselDHt5QrTVALrSpFHVvfOshDsoRnuHRXM=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=XC65PhmTZi0Ap20w/grnYm6UOit+C7ARIfDlUdPKiYA5cLpK/EOtYQ3WYbF9z++Bb jjflSscyjzXDzuLlOTzO/xWnbhCx6fPHBKe5XWJemw7ysVYJ9zVt42GDcNYiHVHsap /OPBEYDHDu+lYHUPcNToF+zs07644vZMh28TO/0F+Z+NaSlAyrbvlkyfO98ba2gup7 P4OhunOtHY0vv/CYfQluvs9xv+DvhsdGqcTnr41sv4c7SZC9nEOGbhYQvj1/Oono0d MutBZRFkGlfWez4FZLE7SmLg7bUPMzz0AirXUZ7hlWxHq952X2AD95Wh40034Uz4U4 QOEAh2HNcJnsQ== From: Albin =?UTF-8?Q?Otterh=C3=A4ll?= Message-ID: Feedback-ID: 63146987:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=albin@a12l.xyz; helo=mail-4323.proton.ch X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.999, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=no 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675556968; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=9CuvCF/ASselDHt5QrTVALrSpFHVvfOshDsoRnuHRXM=; b=TRpGFwtBXDwP2WOD7hLafcLhO1Gwo/nAPlogBvJ2TsvlVAdJQ0IE58xvXkfHwc0QBMfCQp M6TDIaFzqleYxJhmqoR2IG+RmJ51+kJlkRIDHgCdTMk+MQoTmH3OjG2a2Ssnt6m61OBnUG Atjn7JH9ipWduf6xgr32oJo0VBvPXXZJSxVksRjBskfb0cZ514Hufj90ie2HuDqmpL3iRX sh7jO7l73Qb9Lg/4kXcN6HNJxUM4mtcD/HUZi7NVeki+jPWOK0qhehWZrYgkop69aoLY1z /tVGgUHXBsGcopOGjeOzwxMsbXwzRvrZqoyKe6Hu0ZBLEiksoii4e+nyZqSiDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=a12l.xyz header.s=protonmail header.b=XC65PhmT; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=a12l.xyz (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675556968; a=rsa-sha256; cv=none; b=S0mAA3ybf10+KUUETD+f/5DWZz2QPZ1qz4Dy2+b4EhpqgUiegIrndpqdXjiJj1eUUW3wss kw1yz3p9hUTNlUd3ADZ7vm7yXvCrKeBaq9RFPEGSyiO40x+H+yQeMtnlA7XpGGll2O45og wFUoKuLXjFQqrZg9Dbj6aHyTxkiT8urYYp93lUIEtn4RMsFkwM0hcYKoOuzm4udIaZgiNc M9253kdC3jNDEbYrVdCYd9SEvxQ0tZBN4ktJNlex9zi7Lw4dqx8f0f7WPZSrThLd6NjIKW 9jNcKorfof9zWEUzSdKHyxqWS2mcZbs+196UWmwT8CgGLOWy2Px4yl1SJszwBA== X-Migadu-Spam-Score: -2.19 X-Spam-Score: -2.19 X-Migadu-Queue-Id: 0DF4D26271 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=a12l.xyz header.s=protonmail header.b=XC65PhmT; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=a12l.xyz (policy=none) X-Migadu-Scanner: scn1.migadu.com X-TUID: RdkBeu1MC94M # Segfault when trying to build Rust binary using cargo and a dependency ## Description As soon as I add a dependency to `Cargo.toml` I get a segfault when I in so= me way try to build the binary. ## Expected behavior When running `cargo build` after having added a dependency on `rand =3D "0.= 8.3"` in the example below Cargo should download the `rand` package (`rust-= rand` in Guix). ## Actual behavior The build process halts with a segmentation fault. ### Steps to reproduce Create an environment with the command `guix shell --manifest=3Dmanifest.sc= m` and there `manifest.scm` contains ``` (specifications->manifest (list "rust" "rust-analyzer" "rust-cargo")) ``` and then run the commands $ cargo new mve Created binary (application) `mve` package $ cd mve/ mve $ cargo build Compiling mve v0.1.0 (/home/a12l/Long-Term/TRPL/mve) Finished dev [unoptimized + debuginfo] target(s) in 0.56s mve $ echo 'rand =3D "0.8.3"' >> Cargo.toml mve $ cargo build Updating crates.io index Segmentation fault (core dumped) ## My system I'm running Guix on a NixOS 22.11 machine, by having added `https://github.= com/foo-dogsquared/nix-overlay-guix` to my system configuration. Thanks! -- Albin Otterh=C3=A4ll