From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cIWsA1RPjV9vEwAA0tVLHw (envelope-from ) for ; Mon, 19 Oct 2020 08:33:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iHcuO1NPjV8EBQAA1q6Kng (envelope-from ) for ; Mon, 19 Oct 2020 08:33:23 +0000 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 0B1AF9402DD for ; Mon, 19 Oct 2020 08:33:23 +0000 (UTC) Received: from localhost ([::1]:58714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUQbZ-0003Tg-VS for larch@yhetil.org; Mon, 19 Oct 2020 04:33:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUQZr-0002GF-I8 for help-guix@gnu.org; Mon, 19 Oct 2020 04:31:36 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:58101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUQZo-0005H6-8P for help-guix@gnu.org; Mon, 19 Oct 2020 04:31:35 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 905C95C0058 for ; Mon, 19 Oct 2020 04:31:27 -0400 (EDT) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Mon, 19 Oct 2020 04:31:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm1; bh=LbnWqTMUqA5rOxhpxZHa+1Dghn/ZKt1ZsO75j8xe0is=; b=nySqAM13 Tjzw9Kaod+Y2Fuf9eIvu/SR72UQ9RuZusmo9FBFIqVDI5gQB3URbG6/LqnNP1qSW N0gw/HhtVfxrheHP6EB6ETK/UkBgao4mBV4Usaibg6SaemmeiMDahPD0V7yLf2WR clqI0F4M4e+tQZiuevGVNSbjFZsoGsiboI50X6RVvRvvCtlKoaGzwJxYb99uRGER JnKN0Yk3WGCxys478UkYeX2OVsWgO3XjEwfPtdHo74OMyyrm9tgToVo4IsoADqYa Rv9Fy4fEKTJr/EpJN2Z5FHSZMNw1xAPbs2nXpA/Dmngz+sQHl212NyhBa89pZolD dZA2xxTfM5RFow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=LbnWqTMUqA5rOxhpxZHa+1Dghn/ZK t1ZsO75j8xe0is=; b=GxJHQoN5CBSiF7u7X0Q43gf8jiNQt4RLJDvDH8lH/Ju+F cd9QFLTnfAaLY1MRsibvnbOFInBsDHBwwGNLU6jJNXMeBrhNRXU0R/Xn8KvbXs1U mzupBCDwtDIL13KaaufWJ/JQdA0iELKKJC+6j8R4ETls42ILJB2ih7nIr5vTXna9 MZguqm2TCJ3ZGqPENIFsJzrmG/S0dVBVjLqeTtTF2dGlavtTFpbKOR9RZ0C1XNKJ 9yBDf/SKBr+/T0yZkiadun/1DVBFXKDj3IAP+OBcAF8C1YrW1KhY9cf8ZiWL+jFN AzGxU+46yMAoZv8ObIuYCOMGGMW+ajBtNokgxM38g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjedugddtiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdfjrghmiigvhhcupfgrshgrjhhpohhurhdfuceohhdrnhgrshgr jhhpohhurhesphgrnhhthhgvrhigrdhorhhgqeenucggtffrrghtthgvrhhnpefffeffvd eiiedvudevveetteffhfefgffhffejffeiudfggfetffeikeevvdejveenucffohhmrghi nhephhhtthhptghlihgvnhhtmhhougdrrhhspdhgihhthhhusgdrtghomhdpihhmphdrph hoshhtpdhruhhsthdqlhgrnhhgrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhephhdrnhgrshgrjhhpohhurhesphgrnhhthhgvrhigrd horhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 447D85C0099; Mon, 19 Oct 2020 04:31:27 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-489-gf39678d-fm-20201011.001-gf39678d0 Mime-Version: 1.0 Message-Id: <6c52b5f9-97ed-4041-949b-065f75f60181@www.fastmail.com> Date: Mon, 19 Oct 2020 12:00:58 +0330 From: "Hamzeh Nasajpour" To: "SuarezMiguelC via" Subject: rust packaging with specific version of rust Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.28; envelope-from=h.nasajpour@pantherx.org; helo=out4-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/19 03:39:33 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pantherx.org header.s=fm1 header.b=nySqAM13; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=GxJHQoN5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.20 X-TUID: qPuYI8CFXO7a Hi, I'm not expert in `rust`. I need to work with a library that has some dependencies to rust and I had to package a few libraries in GuixSD. Anyway now I faced with an error in building one rust package: ``` error[E0658]: use of unstable library feature 'inner_deref': newly added --> src/http_client/mod.rs:54:25 | 54 | self.auth_token.as_deref() | ^^^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/50264 error[E0658]: use of unstable library feature 'inner_deref': newly added --> src/http_client/mod.rs:68:43 | 68 | self.imp.get(url, self.auth_token.as_deref()).as_result() | ^^^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/50264 error[E0658]: use of unstable library feature 'inner_deref': newly added --> src/http_client/mod.rs:72:44 | 72 | self.imp.post(url, self.auth_token.as_deref(), body).as_result() | ^^^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/50264 ... ``` Based on the following document the `as_deref()` method is available since rust version `1.40.0`. https://doc.rust-lang.org/std/option/enum.Option.html#method.as_deref Now how can I build/install my rust package with this specific version? is it possible? or is there anything that I forget? Please help. Regards, Hamzeh