Page MenuHomeFreeBSD

lang/rust: Update to 1.42.0
ClosedPublic

Authored by tobik on Mar 10 2020, 8:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 5:09 PM
Unknown Object (File)
Sun, Mar 31, 2:09 PM
Unknown Object (File)
Sun, Mar 31, 2:09 PM
Unknown Object (File)
Sun, Mar 31, 2:09 PM
Unknown Object (File)
Sun, Mar 31, 2:09 PM
Unknown Object (File)
Sat, Mar 30, 11:00 AM
Unknown Object (File)
Dec 31 2023, 4:32 AM
Unknown Object (File)
Dec 31 2023, 4:32 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 29875
Build 27695: 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.