Page MenuHomeFreeBSD

lang/rust: Update to 1.42.0
ClosedPublic

Authored by tobik on Mar 10 2020, 8:05 PM.
Tags
None
Referenced Files
F103486772: D24020.diff
Mon, Nov 25, 3:52 PM
F103419196: D24020.id69388.diff
Sun, Nov 24, 6:56 PM
Unknown Object (File)
Sun, Nov 24, 9:07 AM
Unknown Object (File)
Sat, Nov 23, 6:23 PM
Unknown Object (File)
Fri, Nov 22, 5:46 PM
Unknown Object (File)
Fri, Nov 22, 12:37 PM
Unknown Object (File)
Fri, Nov 22, 10:17 AM
Unknown Object (File)
Fri, Nov 22, 4:42 AM
Subscribers

Details

Reviewers
None
Group Reviewers
rust
O5: Ports Framework(Owns No Changed Paths)
portmgr
Commits
rP528318: lang/rust: Update to 1.42.0
Summary
Test Plan

11.3 amd64 ok
11.3 i386 ok, consumers ok
12.1 amd64 ok, consumers ok
12.1 i386 ok
13.0 amd64 ok
13.0 i386 ok

arm64 ?
armv6 ok
armv7 ok
ppc64 elfv1 ok
ppc64 elfv2 ok

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 29872
Build 27693: arc lint + arc unit

Event Timeline

I have 2 errors with lang/rust-bootstrap:

error: unnecessary parentheses around block return value
    --> src/bootstrap/lib.rs:1029:9
     |
1029 |         (target.contains("linux-gnu") || target.contains("apple-darwin"))
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
     |
     = note: `-D unused-parens` implied by `-D warnings`


error: unused extern crate
 --> src/librustc_macros/src/lib.rs:4:1
  |
4 | extern crate proc_macro;
  | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
  |
  = note: `-D unused-extern-crates` implied by `-D warnings`
  • Attempt to unbreak rust-bootstrap by turning off deny-warnings
  • Attempt to unbreak rust-bootstrap by turning off deny-warnings

That fixed the issue, thanks.

OK on 13amd64, 13i386, armv7 and ppc64 elfv2. I'll have the result for other arches tomorrow.

edit: ok on armv6 and ppc64 elfv1
I have a problem on aarch64:

command did not execute successfully: "/usr/ports/lang/rust/work/rustc-1.42.0-src/build/aarch64-unknown-freebsd/stage0/bin/cargo" "build" "-Zconfig-profile" "--target" "aarch64-unknown-freebsd" "-Zbinary-dep-de
pinfo" "-j" "4" "-v" "--release" "--frozen" "--manifest-path" "/usr/ports/lang/rust/work/rustc-1.42.0-src/src/tools/miri/Cargo.toml" "--message-format" "json-render-diagnostics"
expected success, got: signal: 11
      < ToolBuild { compiler: Compiler { stage: 2, host: "aarch64-unknown-freebsd" }, target: "aarch64-unknown-freebsd", tool: "cargo-miri", path: "src/tools/miri", mode: ToolRustc, is_optional_tool: true, sour
ce_type: Submodule, extra_features: [] }
    < CargoMiri { compiler: Compiler { stage: 2, host: "aarch64-unknown-freebsd" }, target: "aarch64-unknown-freebsd", extra_features: [] }
thread 'main' panicked at 'Unable to build cargo miri', src/bootstrap/dist.rs:65:9

I have a problem on aarch64:

command did not execute successfully: "/usr/ports/lang/rust/work/rustc-1.42.0-src/build/aarch64-unknown-freebsd/stage0/bin/cargo" "build" "-Zconfig-profile" "--target" "aarch64-unknown-freebsd" "-Zbinary-dep-de
pinfo" "-j" "4" "-v" "--release" "--frozen" "--manifest-path" "/usr/ports/lang/rust/work/rustc-1.42.0-src/src/tools/miri/Cargo.toml" "--message-format" "json-render-diagnostics"
expected success, got: signal: 11
      < ToolBuild { compiler: Compiler { stage: 2, host: "aarch64-unknown-freebsd" }, target: "aarch64-unknown-freebsd", tool: "cargo-miri", path: "src/tools/miri", mode: ToolRustc, is_optional_tool: true, sour
ce_type: Submodule, extra_features: [] }
    < CargoMiri { compiler: Compiler { stage: 2, host: "aarch64-unknown-freebsd" }, target: "aarch64-unknown-freebsd", extra_features: [] }
thread 'main' panicked at 'Unable to build cargo miri', src/bootstrap/dist.rs:65:9

Do you have a full log?

I have a problem on aarch64:

command did not execute successfully: "/usr/ports/lang/rust/work/rustc-1.42.0-src/build/aarch64-unknown-freebsd/stage0/bin/cargo" "build" "-Zconfig-profile" "--target" "aarch64-unknown-freebsd" "-Zbinary-dep-de
pinfo" "-j" "4" "-v" "--release" "--frozen" "--manifest-path" "/usr/ports/lang/rust/work/rustc-1.42.0-src/src/tools/miri/Cargo.toml" "--message-format" "json-render-diagnostics"
expected success, got: signal: 11
      < ToolBuild { compiler: Compiler { stage: 2, host: "aarch64-unknown-freebsd" }, target: "aarch64-unknown-freebsd", tool: "cargo-miri", path: "src/tools/miri", mode: ToolRustc, is_optional_tool: true, sour
ce_type: Submodule, extra_features: [] }
    < CargoMiri { compiler: Compiler { stage: 2, host: "aarch64-unknown-freebsd" }, target: "aarch64-unknown-freebsd", extra_features: [] }
thread 'main' panicked at 'Unable to build cargo miri', src/bootstrap/dist.rs:65:9

Do you have a full log?

No, it's probably a problem on my board. I'm rebuilding it.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 12 2020, 7:39 PM
Closed by commit rP528318: lang/rust: Update to 1.42.0 (authored by tobik). · Explain Why
This revision was automatically updated to reflect the committed changes.