Hi, please do an exp-run for the Rust 1.53.0 update. See the review for the patch. https://reviews.freebsd.org/D30790
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c03f99a162ab99257e2a7dab354d3c7597f99c88 commit c03f99a162ab99257e2a7dab354d3c7597f99c88 Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-06-19 12:47:47 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-06-19 15:13:20 +0000 sysutils/vector: Unbreak with Rust 1.53.0 error[E0308]: mismatched types --> cargo-crates/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` http://package23.nyi.freebsd.org/data/114i386-default-foo/2021-06-18_08h49m22s/logs/errors/vector-0.10.0_5.log PR: 256653 sysutils/vector/Makefile | 5 +++-- sysutils/vector/distinfo | 10 +++++----- 2 files changed, 8 insertions(+), 7 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9f5e35feca9ae3e28edfe511e3ffa58810e7f2c commit d9f5e35feca9ae3e28edfe511e3ffa58810e7f2c Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-06-19 12:29:36 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-06-19 15:13:19 +0000 security/suricata: Unbreak build with Rust 1.53.0 error[E0308]: mismatched types --> rust/vendor/lexical-core/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` http://package23.nyi.freebsd.org/data/114i386-default-foo/2021-06-18_08h49m22s/logs/errors/suricata-6.0.2_2.log PR: 256653 security/suricata/Makefile | 5 + ...lexical-core_src_atof_algorithm_bhcomp.rs (new) | 11 ++ ...exical-core_src_atof_algorithm_bigcomp.rs (new) | 39 ++++ ...r_lexical-core_src_atof_algorithm_math.rs (new) | 211 +++++++++++++++++++++ 4 files changed, 266 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3de77d5f0c458d11681daae6d1e04539538b82da commit 3de77d5f0c458d11681daae6d1e04539538b82da Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-06-19 11:55:32 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-06-19 15:13:18 +0000 shells/ion: Unbreak with Rust 1.53.0 errorr[E0308]: mismatched types --> cargo-crates/lexical-core-0.4.2/src/atof/algorithm/bigcomp.rs:242:55 | 242 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: no implementation for `usize & u32` http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-06-18_08h51m30s/logs/errors/ion-shell-1.0.5.1355_20.log PR: 256653 ...-core-0.4.2_src_atof_algorithm_bigcomp.rs (new) | 39 ++++ ...l-core-0.4.2_src_atof_algorithm_bigint.rs (new) | 11 ++ ...cal-core-0.4.2_src_atof_algorithm_math.rs (new) | 211 +++++++++++++++++++++ 3 files changed, 261 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6aea553f0b8a4852304b53320722cf7a046dddea commit 6aea553f0b8a4852304b53320722cf7a046dddea Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-06-19 12:35:02 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-06-19 15:13:19 +0000 www/zola: Unbreak with Rust 1.53.0 error[E0308]: mismatched types --> cargo-crates/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:55 | 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: no implementation for `usize & u32` http://package23.nyi.freebsd.org/data/114i386-default-foo/2021-06-18_08h49m22s/logs/errors/zola-0.13.0_3.log PR: 256653 www/zola/Makefile | 4 ++-- www/zola/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d6a24d4f9c7f620336e35324eab5bce776cf14e7 commit d6a24d4f9c7f620336e35324eab5bce776cf14e7 Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-06-19 19:34:01 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-06-20 09:26:08 +0000 net-p2p/openethereum: Unbreak with Rust 1.53.0 error[E0061]: this function takes 1 argument but 2 arguments were supplied --> cargo-crates/logos-derive-0.7.7/src/lib.rs:55:20 | 55 | extras.insert(util::ident(&ext), |_| panic!("Only one #[extras] attribute can be declared.")); | ^^^^^^ ----------------- ----------------------------------------------------------- supplied 2 arguments | | | expected 1 argument | http://package23.nyi.freebsd.org/data/114i386-default-foo/2021-06-18_08h49m22s/logs/errors/openethereum-3.2.6.log PR: 256653 ...argo-crates_logos-derive-0.7.7_src_lib.rs (new) | 34 ++++++++++++++++++++++ ...rgo-crates_logos-derive-0.7.7_src_util.rs (new) | 16 ++++++++++ 2 files changed, 50 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=60d1bb6db5c63ec9313af80393eec240ec51cbef commit 60d1bb6db5c63ec9313af80393eec240ec51cbef Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-06-19 18:41:35 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-06-20 09:26:02 +0000 www/newsboat: Unbreak with Rust 1.53.0 error[E0308]: mismatched types --> cargo-crates/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` PR: 256653 www/newsboat/Makefile | 5 +++-- www/newsboat/distinfo | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba801481facce2273df83461d9dca4a57f0e83e2 commit ba801481facce2273df83461d9dca4a57f0e83e2 Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-06-19 18:36:27 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-06-20 09:25:56 +0000 security/acmed: Unbreak with Rust 1.53.0 error[E0308]: mismatched types --> cargo-crates/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` http://package23.nyi.freebsd.org/data/114i386-default-foo/2021-06-18_08h49m22s/logs/errors/acmed-0.13.0_5.log PR: 256653 security/acmed/Makefile | 5 +++-- security/acmed/distinfo | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=db3e8fbceb2b90977d3fee89f18bdbb217c91614 commit db3e8fbceb2b90977d3fee89f18bdbb217c91614 Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-06-19 18:59:39 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-06-20 09:26:07 +0000 games/anki: Unbreak with Rust 1.53.0 error[E0308]: mismatched types --> cargo-crates/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` PR: 256653 games/anki/Makefile | 4 ++-- games/anki/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=486069d7452b359ae8f9a66dd39b0ade49374868 commit 486069d7452b359ae8f9a66dd39b0ade49374868 Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-06-19 18:48:44 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-06-20 09:26:05 +0000 graphics/pastel: Unbreak with Rust 1.53.0 error[E0308]: mismatched types --> cargo-crates/lexical-core-0.6.2/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` PR: 256653 graphics/pastel/Makefile | 4 ++-- graphics/pastel/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
Exp-run looks fine
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f897ded31edcafadb3e4dd662fa022cabae86623 commit f897ded31edcafadb3e4dd662fa022cabae86623 Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2021-06-16 14:14:14 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2021-06-27 05:39:50 +0000 lang/rust: Update to 1.53.0 Changes: https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html PR: 256653 Reviewed by: mikael, pkubaj Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D30790 With hat: rust Mk/Uses/cargo.mk | 2 +- Mk/bsd.gecko.mk | 2 +- lang/rust-bootstrap/Makefile | 3 +- lang/rust-bootstrap/distinfo | 6 +- lang/rust/Makefile | 6 +- lang/rust/distinfo | 114 ++++++++++----------- lang/rust/files/patch-backtrace (gone) | 12 --- ...__detect_src_detect_os_freebsd_aarch64.rs (new) | 10 ++ ...arget_src_spec_powerpc64le__unknown__freebsd.rs | 12 +-- 9 files changed, 82 insertions(+), 85 deletions(-)