[MacPorts] #61303: rust 1.47.0, cargo 0.47.0 fail to build

MacPorts noreply at macports.org
Sat Oct 10 11:03:16 UTC 2020


#61303: rust 1.47.0, cargo 0.47.0 fail to build
-----------------------+-------------------------
 Reporter:  essandess  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.3
 Keywords:             |       Port:  rust, cargo
-----------------------+-------------------------
 I'm trying to update rust to version 1.47.0 and cargo to version 0.47.0.

 I'm hitting a lot of compiler errors:

 {{{
 :info:build    Compiling std v0.0.0
 (/opt/local/var/macports/build/_opt_local_ports_lang_rust/rust/work/rustc-1.47.0-src/library/std)
 :info:build error: unknown lint: `clashing_extern_declarations`
 :info:build    --> library/core/src/lib.rs:301:9
 :info:build     |
 :info:build 301 | #[allow(clashing_extern_declarations)]
 :info:build     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 :info:build     |
 :info:build     = note: `-D unknown-lints` implied by `-D warnings`
 :info:build error: unknown lint: `clashing_extern_declarations`
 :info:build    --> library/core/src/lib.rs:301:9
 :info:build     |
 :info:build 301 | #[allow(clashing_extern_declarations)]
 :info:build     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 :info:build    Compiling hashbrown v0.8.2
 :info:build error[E0658]: the `#[track_caller]` attribute is an
 experimental feature
 :info:build   --> library/core/src/ops/index.rs:65:5
 :info:build    |
 :info:build 65 |     #[track_caller]
 :info:build    |     ^^^^^^^^^^^^^^^
 }}}

 Full log attached.

 Also see:
 * https://github.com/macports/macports-ports/pull/8694
 * https://github.com/macports/macports-ports/pull/8695

-- 
Ticket URL: <https://trac.macports.org/ticket/61303>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list