From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 9146D79877 for ; Wed, 5 May 2021 08:55:08 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 834DD10C31 for ; Wed, 5 May 2021 08:54:38 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 904FA10C16 for ; Wed, 5 May 2021 08:54:37 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 195E34206C for ; Wed, 5 May 2021 08:43:31 +0200 (CEST) Date: Wed, 5 May 2021 08:43:17 +0200 (CEST) From: Dietmar Maurer To: Proxmox VE development discussion , aderumier@odiso.com, pve-devel Message-ID: <1318612504.327.1620196997740@webmail.proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.5-Rev10 X-Originating-Client: open-xchange-appsuite X-SPAM-LEVEL: Spam detection results: 0 AWL 0.252 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [websocket.rs, proxmox.com] Subject: Re: [pve-devel] rust build questions X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2021 06:55:08 -0000 > currently, I have tried to build "proxmox" rust > > https://git.proxmox.com/?p=proxmox.git;a=shortlog > with a simple > "make deb" + installed needed build depend. > > but I have this error > > > " > test src/tools/websocket.rs - tools::websocket::create_frame (line 161) > ... ok > test src/tools/websocket.rs - tools::websocket::create_frame (line 148) > ... ok > > failures: > > ---- src/api/api_type_macros.rs - api_string_type (line 5) stdout ---- > error[E0432]: unresolved import `proxmox::api::api` > --> src/api/api_type_macros.rs:6:5 > | > 4 | use proxmox::api::api; > | ^^^^^^^^^^^^^^^^^ no `api` in `api` Sorry, this was a bug in the proxmox crate. Please update an test again: commit fa3b5374ed61da3c40a1fc58070d6a16c877c3af (HEAD -> master, origin/master, origin/HEAD) Author: Dietmar Maurer Date: Wed May 5 08:03:35 2021 +0200 api_type_macros.rs: disable failing doctest (set it to ignore instead of no_run)