From nobody Thu May 11 03:18:18 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QGxtL6FSPz49YgV for ; Thu, 11 May 2023 03:18:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QGxtL2k2lz4513 for ; Thu, 11 May 2023 03:18:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683775098; h=from:from: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; bh=DwEeH+hnDD1W+yKqBo3ysISsuEEVcN/SnXJGD592GZc=; b=V5dNrbnoesKqIDG1C7IG9LvckdGlC/72kUMxWsJ1kWy30NyM9J+C0L8IfqUf1zVvYKiguW RPSngHpOsTmA/WNQa1Lklh5+HzKphuhZkmnYi4D4QppL5Ej8khAWT3PK9aUv622fPUbH7Z LyRI30Z/s+HYM2xNBCLSYT0LJ139AfRIoIxyjpTw/DoK0XwEC3sxkn9CH50509z4TNZpQA iD2xX5ZN9XMT7ZKa+yD9mNeLP8zvrBNn/2VzleC1IZwpHS1FxupRNeEQSzRnj9zrA78/bb OC4dwXj/IoZanFpwW7vFiNgW8rTVXUXlGoF771cKKZsbH40qXQfskFxWDNBW8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683775098; a=rsa-sha256; cv=none; b=HRaB3/ftNeDIacH3bF4iUmGdmUs+Qj5BbgQ6FZZFgbQkrMTHVXMozQm9rQeI+zJd6MyF7W E7pR6OfOBnrcK3GOu22CDdeWa2qY5FGXIzzmiCG4a2ptfb8MYkl9JNDfYGHrQhVcqy+RPB AETFBqsGsdeCo7gA6MXoT7bi8JvVV0g5JkYKup0dUDsEw530onSXldrTDZcQel4Z6HRwNV IfU/lKcVGYQNU5KYDtB3Fi+7dV/kamq0p/FgJUsf5SMhKr5ZEjw3M15SMoAhFCO42d/Dlz clps87I2UvUhfgLmH1gjoaMpOBJsCovdTqw+eVRRSvfUAS3PY8FlD4ctIC56pA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QGxtL1nJNzbxJ for ; Thu, 11 May 2023 03:18:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34B3IIvU095519 for ; Thu, 11 May 2023 03:18:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34B3II8q095518 for ports-bugs@FreeBSD.org; Thu, 11 May 2023 03:18:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271358] Mk/Uses/cargo.mk: [workspace.dependencies] breaks CARGO_INSTALL_PATH Date: Thu, 11 May 2023 03:18:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271358 Bug ID: 271358 Summary: Mk/Uses/cargo.mk: [workspace.dependencies] breaks CARGO_INSTALL_PATH Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: rust@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: ports-bugs@FreeBSD.org Cargo workspaces don't yet support top-level "cargo install" but with [workspace.dependencies] creates a feature desync between top-level and sub= dir build. Unfortunately, cargo (unlike cargo-c) doesn't support --package in "install" subcommand in order to avoid unnecessary rebuild. $ cd games/veloren-weekly $ sed -i '' '/do-install:/,/^$/d' Makefile $ make restage [...] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D [...] error[E0277]: the trait bound `F: FloatCore` is not satisfied --> world/src/sim/erosion.rs:2058:29 | 2058 | NotNan::new(pass).unwrap(), | ----------- ^^^^ the trait `FloatCore` is not implemented for `F` | | | required by a bound introduced by this call | note: required by a bound in `NotNan::::new` --> cargo-crates/ordered-float-3.7.0/src/lib.rs:943:9 | 943 | impl NotNan { | ^^^^^ required by this bound in `NotNan::::new` help: consider further restricting this bound | 1822 | pub fn get_lakes( | +++++++++++++++++++++++++++++++++++ error[E0277]: the trait bound `F: FloatCore` is not satisfied --> world/src/sim/erosion.rs:2057:24 | 2057 | candidates.push(Reverse(( | ^^^^ the trait `FloatCore` is not implemented= for `F` | =3D note: required for `NotNan` to implement `Ord` =3D note: 2 redundant requirements hidden =3D note: required for `std::cmp::Reverse<(NotNan, (u32, u32))>` to implement `Ord` note: required by a bound in `BinaryHeap::::push` --> rustc-1.69.0-src/library/alloc/src/collections/binary_heap/mod.rs:5= 41:5 help: consider further restricting this bound | 1822 | pub fn get_lakes( | +++++++++++++++++++++++++++++++++++ error[E0277]: the trait bound `F: FloatCore` is not satisfied --> world/src/sim/erosion.rs:2019:26 | 2019 | let mut candidates =3D BinaryHeap::with_capacity(indirection.len= ()); | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FloatC= ore` is not implemented for `F` | =3D note: required for `NotNan` to implement `Ord` =3D note: 2 redundant requirements hidden =3D note: required for `std::cmp::Reverse<(NotNan, (u32, u32))>` to implement `Ord` note: required by a bound in `BinaryHeap::::with_capacity` --> rustc-1.69.0-src/library/alloc/src/collections/binary_heap/mod.rs:4= 38:5 help: consider further restricting this bound | 1822 | pub fn get_lakes( | +++++++++++++++++++++++++++++++++++ error[E0599]: the method `pop` exists for struct `BinaryHeap, (u32, u32))>>`, but its trait bounds were n= ot satisfied --> world/src/sim/erosion.rs:2073:74 | 2073 | while let Some(Reverse((_, (chunk_idx, neighbor_idx)))) =3D candidates.pop() { |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^^^ method cannot be called on `BinaryHeap, (u32, u32))>= >` due to unsatisfied trait bounds --> rustc-1.69.0-src/library/core/src/cmp.rs:603:1 | =3D note: doesn't satisfy `_: Eq` | =3D note: doesn't satisfy `std::cmp::Reverse<(NotNan, (u32, u32))>:= Ord` | =3D note: the following trait bounds were not satisfied: `std::cmp::Reverse<(NotNan, (u32, u32))>: Ord` `std::cmp::Reverse<(NotNan, (u32, u32))>: std::cmp::Eq` which is required by `std::cmp::Reverse<(NotNan, (u32, u32)= )>: Ord` error[E0599]: the method `push` exists for struct `BinaryHeap, (u32, u32))>>`, but its trait bounds were n= ot satisfied --> world/src/sim/erosion.rs:2129:24 | 2129 | candidates.push(Reverse(( | -----------^^^^ method cannot be called on `BinaryHeap, (u32, u32))>>` due to unsatisfied trait bou= nds --> rustc-1.69.0-src/library/core/src/cmp.rs:603:1 | =3D note: doesn't satisfy `_: Eq` | =3D note: doesn't satisfy `std::cmp::Reverse<(NotNan, (u32, u32))>:= Ord` | =3D note: the following trait bounds were not satisfied: `std::cmp::Reverse<(NotNan, (u32, u32))>: Ord` `std::cmp::Reverse<(NotNan, (u32, u32))>: std::cmp::Eq` which is required by `std::cmp::Reverse<(NotNan, (u32, u32)= )>: Ord` error[E0277]: the trait bound `F: FloatCore` is not satisfied --> world/src/sim/erosion.rs:2130:29 | 2130 | NotNan::new(pass).unwrap(), | ----------- ^^^^ the trait `FloatCore` is not implemented for `F` | | | required by a bound introduced by this call | note: required by a bound in `NotNan::::new` --> cargo-crates/ordered-float-3.7.0/src/lib.rs:943:9 | 943 | impl NotNan { | ^^^^^ required by this bound in `NotNan::::new` help: consider further restricting this bound | 1822 | pub fn get_lakes( | +++++++++++++++++++++++++++++++++++ Some errors have detailed explanations: E0277, E0599. For more information about an error, try `rustc --explain E0277`. error: could not compile `veloren-world` due to 6 previous errors See also https://gitlab.com/veloren/veloren/-/commit/3a19669d5362 --=20 You are receiving this mail because: You are on the CC list for the bug.=