From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0Hg2IahLOGRRXwAASxT56A (envelope-from ) for ; Thu, 13 Apr 2023 20:36:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0LorIahLOGQICgEA9RJhRA (envelope-from ) for ; Thu, 13 Apr 2023 20:36:24 +0200 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 2F16245FC9 for ; Thu, 13 Apr 2023 20:36:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pn1ng-0004Fz-5b; Thu, 13 Apr 2023 14:36:04 -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 ) id 1pn1nf-0004Fr-83 for bug-guix@gnu.org; Thu, 13 Apr 2023 14:36:03 -0400 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 1pn1ne-0000Re-VC for bug-guix@gnu.org; Thu, 13 Apr 2023 14:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pn1ne-00078N-EO for bug-guix@gnu.org; Thu, 13 Apr 2023 14:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62818: rust-analyzer broken after rustc got bumped Resent-From: Steven Roose Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 13 Apr 2023 18:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62818 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62818@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168141093627380 (code B ref -1); Thu, 13 Apr 2023 18:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Apr 2023 18:35:36 +0000 Received: from localhost ([127.0.0.1]:44764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pn1nE-00077Y-3p for submit@debbugs.gnu.org; Thu, 13 Apr 2023 14:35:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:58404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pn1nB-00077O-Gm for submit@debbugs.gnu.org; Thu, 13 Apr 2023 14:35:34 -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 ) id 1pn1nB-0004Cp-2u for bug-guix@gnu.org; Thu, 13 Apr 2023 14:35:33 -0400 Received: from hosted.mailcow.de ([5.1.76.202]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pn1n8-0000Jz-Vq for bug-guix@gnu.org; Thu, 13 Apr 2023 14:35:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roose.io; s=default; t=1681410924; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding; bh=lBrEzQiChHsEGB3DgTLXnyewI9iT8Dyt7Ulo2Y06ogo=; b=iE9NrtJEDbFo4ERJr5NMMFrafPkhMenenqdVLayKQeKDgN5S8VUw1hsctWJ8mYA0ZOP/6X Kwu/32EBPSWybacFoD47Wx2LeKzcrNzZeTkSsOdL2bMvt8V+QZr3fvrVzUWfg2I08oEfsr ycXQcrPBRrTVCYS/JXiU3SvVTS+2eLeLIwI89CdHoy13qUg5RPiw8pDFnZGhg6EOD488nb oajpMo9nwHedlNQYrolCjfZWL4jzrF0DBqhW38XqBSllFpBg1NMoJw9r6l2YUdq+Kzm3lf qri2ds12tvlB4JjIMRrDxZBHn24iec1zfGa4R7zBH1Yg8P7ZwyheTYhrcGzN6w== Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 49DCC5C7258 for ; Thu, 13 Apr 2023 20:35:22 +0200 (CEST) Message-ID: Date: Thu, 13 Apr 2023 19:35:20 +0100 MIME-Version: 1.0 Content-Language: en-US From: Steven Roose Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=5.1.76.202; envelope-from=steven@roose.io; helo=hosted.mailcow.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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: 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-Seal: i=1; s=key1; d=yhetil.org; t=1681410984; a=rsa-sha256; cv=none; b=MyE3GnPxfIdoBvEsVje6uvN3/w3sm0pYREKNdeRgKL0u/dutMEo1eKKMIC+9nh5Un51MJU Q03VPf1QWq7uSAOurQt6WRO3C9YyfNs9A6fciFNVLLBZZxUiq5jAF5cP+JfNusp28paO22 W5TS1MA/fg3POrsjgpuHTo0DeYcUu0JbjY8hm4MKOap88YSMAxzCr8/lAprtto6TFJzj66 JjvwBpYMjbPGLdYb3yr2sTdeyrYojiKrIdyTiID+KueKmDd6wX85L94Y6jSl/CYS6JY3+E M3Md1vH2/gA/QrKoHXC6VOycxNMYDYKYkJQxefhQmFnBMCTfQ0GO4In7BRDz+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=roose.io header.s=default header.b=iE9NrtJE; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681410984; 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=lBrEzQiChHsEGB3DgTLXnyewI9iT8Dyt7Ulo2Y06ogo=; b=YrdIJ0USvt6xQA5NkCkVVOBXjq7aL+mwWB47SqqREvpVdmIKP5Ng5yRWQg2MCZrEIt+CMG QtDF0UB42TeriZZt/LC2xY8DDsDh+Lt+se5EQNw/Von0qocLDkwnqAYuSxI7jQCdZcMe1C QSBeK/RUd/qVgNE30fQwgglvSfMljzOGoMa7RiP0joJNwXNin9n4jB9s27Jdi7wNQfwaUZ IYYqW2RS+gvkdUVTyUf5ry5odRfEENbVjsU7n+UtuC5DTbnAs/NTiganzRlLQJ1g/3m289 4dwUw8y+9ITsC6IhA9MK4Dna/FAPfTwrYIQmN0keNeqc/kxvTXq9Xt+5Ba2dag== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.52 X-Spam-Score: -2.52 X-Migadu-Queue-Id: 2F16245FC9 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=roose.io header.s=default header.b=iE9NrtJE; 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=none X-TUID: voZbDAEaMVpC The Guix version of rust-analyzer that is in rust-apps.scm is somehow dependent on rustc 1.60.0 and seems to use it internally to do compilation and checks. Guix recently published rustc v1.65.0 to the repo and after pulling that in, many compilations fail with some very strange error message "this crate is not compiled for the right Rust version, please recompile with version 1.60". One possible workaround would probably be to instruct rust-analyzer to use a different directory to store its artefacts, but that would mean building everything twice and keeping two sets of build artifacts which can become quite sizable. It seems that either rust-analyzer should be make rustc-version-independent, no idea how that would work, or rust-analyzer should be updated alongside rustc whenever possible.