Bug 254578 - lang/rust: Update to 1.51.0
Summary: lang/rust: Update to 1.51.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL: https://reviews.freebsd.org/D29425
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-26 10:50 UTC by Tobias Kortkamp
Modified: 2021-03-29 18:14 UTC (History)
1 user (show)

See Also:
antoine: exp-run+


Attachments
v0 (40.35 KB, patch)
2021-03-26 10:50 UTC, Tobias Kortkamp
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer freebsd_triage 2021-03-26 10:50:33 UTC
Created attachment 223607 [details]
v0

Please do an exp-run for the Rust 1.51.0 update. Thank you.
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-03-27 06:01:08 UTC
A commit references this bug:

Author: tobik
Date: Sat Mar 27 06:00:37 UTC 2021
New revision: 569295
URL: https://svnweb.freebsd.org/changeset/ports/569295

Log:
  multimedia/*rav1e: Unbreak build with Rust 1.51.0 (D29425)

  process didn't exit successfully: `/wrkdirs/usr/ports/multimedia/librav1e/work/target/release/build/rav1e-b2f4b3ce116fbed0/build-script-build` (exit code: 101)
  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: LlvmVersionError(TooManyComponents)', build.rs:179:16
  stack backtrace:
     0: rust_begin_unwind
     1: core::panicking::panic_fmt
     2: core::result::unwrap_failed
     3: core::result::Result<T,E>::unwrap
               at /wrkdirs/usr/ports/lang/rust/work/rustc-1.51.0-src/library/core/src/result.rs:1037:23
     4: build_script_build::rustc_version_check
               at ./build.rs:179:6
     5: build_script_build::main
               at ./build.rs:268:3
     6: core::ops::function::FnOnce::call_once
               at /wrkdirs/usr/ports/lang/rust/work/rustc-1.51.0-src/library/core/src/ops/function.rs:227:5

  http://pb2.nyi.freebsd.org/data/122i386-default-foo/2021-03-26_19h05m59s/logs/errors/librav1e-0.4.0_1.log

  PR:		254578

Changes:
  head/multimedia/rav1e/files/
  head/multimedia/rav1e/files/patch-build.rs
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-03-27 15:40:43 UTC
A commit references this bug:

Author: tobik
Date: Sat Mar 27 15:40:25 UTC 2021
New revision: 569338
URL: https://svnweb.freebsd.org/changeset/ports/569338

Log:
  lang/gleam: Unbreak build with Rust 1.51.0 (D29425)

  error: a method with this name may be added to the standard library in the future
     --> src/docs.rs:142:54
      |
  142 |             unnest: module.name.iter().map(|_| "..").intersperse("/").collect(),
      |                                                      ^^^^^^^^^^^
      |
  note: the lint level is defined here
     --> src/main.rs:1:9
      |
  1   | #![deny(warnings)]
      |         ^^^^^^^^
      = note: `#[deny(unstable_name_collisions)]` implied by `#[deny(warnings)]`
      = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior!
      = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
      = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method

  Cap the lint level at warnings for now

  http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-03-26_19h06m01s/logs/errors/gleam-0.14.2.log

  PR:		254578

Changes:
  head/lang/gleam/Makefile
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-03-27 16:58:56 UTC
A commit references this bug:

Author: tobik
Date: Sat Mar 27 16:58:07 UTC 2021
New revision: 569339
URL: https://svnweb.freebsd.org/changeset/ports/569339

Log:
  www/miniserve: Unbreak build with Rust 1.51.0 (D29425)

  error[E0432]: unresolved import `core::task::Wake`
     --> /wrkdirs/usr/ports/www/miniserve/work/miniserve-0.12.0/cargo-crates/standback-0.2.16/src/lib.rs:520:13
      |
  520 |     pub use core::task::Wake;
      |             ^^^^^^^^^^^^----
      |             |           |
      |             |           help: a similar name exists in the module (notice the capitalization): `wake`
      |             no `Wake` in `task`

  http://package23.nyi.freebsd.org/data/114i386-default-foo/2021-03-26_19h05m55s/logs/errors/miniserve-0.12.0.log

  PR:		254578

Changes:
  head/www/miniserve/Makefile
  head/www/miniserve/distinfo
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2021-03-29 07:26:00 UTC
Exp-run looks fine (amd64 & i386)
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-03-29 18:08:04 UTC
A commit references this bug:

Author: tobik
Date: Mon Mar 29 18:07:33 UTC 2021
New revision: 569489
URL: https://svnweb.freebsd.org/changeset/ports/569489

Log:
  lang/rust: Update to 1.51.0

  - Update devel/racer to 2.1.44

  Changes:	https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
  PR:		254578
  Reviewed by:	mikael, pkubaj
  Exp-run by:	antoine
  With hat:	rust
  Differential Revision:	https://reviews.freebsd.org/D29425

Changes:
  head/Mk/Uses/cargo.mk
  head/Mk/bsd.gecko.mk
  head/lang/rust/Makefile
  head/lang/rust/distinfo
  head/lang/rust/files/patch-backtrace
  head/lang/rust/files/patch-src_bootstrap_native.rs
  head/lang/rust/files/powerpc64-elfv2/patch-compiler_rustc__target_src_spec_powerpc64__unknown__freebsd.rs
  head/lang/rust/files/powerpc64le/patch-compiler_rustc__target_src_spec_powerpc64le__unknown__freebsd.rs
  head/lang/rust-bootstrap/Makefile
  head/lang/rust-bootstrap/distinfo