Page MenuHomeFreeBSD

lang/rust: Update to 1.53.0
ClosedPublic

Authored by tobik on Jun 16 2021, 5:37 PM.

Details

Summary
Test Plan

ref13-aarch64 ok
ref11-amd64 ok
ref12-i386 ok
ref13-ppc64 ok
ref12-ppc64 ok

I'll leave lang/rust installed in /scratch/tmp/tobik/local/usr/local on the reference machines in case you want to check something.

armv6 ok
armv7 ok
powerpc ok
powerpc64le ok

exp-run https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256653

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

tobik requested review of this revision.Jun 16 2021, 5:37 PM

Fails on powerpc64le:

Building stage1 std artifacts (powerpc64le-unknown-freebsd -> powerpc64le-unknown-freebsd)
running: "/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo" "build" "--target" "powerpc64le-unknown-freebsd" "-Zbinary-dep-depinfo" "-j" "32" "-v" "--release" "--frozen" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/library/test/Cargo.toml" "--message-format" "json-render-diagnostics"
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/bootstrap/debug/rustc - --crate-name ___ --print=file-names -Zmacro-backtrace '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Zsave-analysis -Cprefer-dynamic -Cembed-bitcode=yes --target powerpc64le-unknown-freebsd --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 101)
  --- stdout

  Did not run successfully: exit code: 101
  "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1/bin/rustc" "-" "--crate-name" "___" "--print=file-names" "-Zmacro-backtrace" "-Clink-args=-Wl,-rpath,$ORIGIN/../lib" "-Zsave-analysis" "-Cprefer-dynamic" "-Cembed-bitcode=yes" "--target" "powerpc64le-unknown-freebsd" "--crate-type" "bin" "--crate-type" "rlib" "--crate-type" "dylib" "--crate-type" "cdylib" "--crate-type" "staticlib" "--crate-type" "proc-macro" "--print=sysroot" "--print=cfg" "-Wrust_2018_idioms" "-Wunused_lifetimes" "--sysroot" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1" "-Z" "force-unstable-if-unmarked"
  -------------

  --- stderr
  [RUSTC-SHIM] rustc ___ env[0]: "CARGO_INCREMENTAL"="0"
  [RUSTC-SHIM] rustc ___ env[1]: "CARGO_PROFILE_RELEASE_DEBUG"="0"
  [RUSTC-SHIM] rustc ___ env[2]: "CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS"="false"
  [RUSTC-SHIM] rustc ___ env[3]: "CARGO_TARGET_DIR"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1-std"
  [RUSTC-SHIM] rustc ___ env[4]: "CARGO_TARGET_POWERPC64LE_UNKNOWN_FREEBSD_LINKER"="cc"
  [RUSTC-SHIM] rustc ___ env[5]: "RUSTBUILD_NATIVE_DIR"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/native"
  [RUSTC-SHIM] rustc ___ env[6]: "RUSTC"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/bootstrap/debug/rustc"
  [RUSTC-SHIM] rustc ___ env[7]: "RUSTC_BOOTSTRAP"="1"
  [RUSTC-SHIM] rustc ___ env[8]: "RUSTC_BREAK_ON_ICE"="1"
  [RUSTC-SHIM] rustc ___ env[9]: "RUSTC_ERROR_METADATA_DST"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/tmp/extended-error-metadata"
  [RUSTC-SHIM] rustc ___ env[10]: "RUSTC_FORCE_UNSTABLE"="1"
  [RUSTC-SHIM] rustc ___ env[11]: "RUSTC_HOST_LINKER"="cc"
  [RUSTC-SHIM] rustc ___ env[12]: "RUSTC_INSTALL_BINDIR"="bin"
  [RUSTC-SHIM] rustc ___ env[13]: "RUSTC_LIBDIR"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1/lib"
  [RUSTC-SHIM] rustc ___ env[14]: "RUSTC_LINT_FLAGS"="-Wrust_2018_idioms -Wunused_lifetimes"
  [RUSTC-SHIM] rustc ___ env[15]: "RUSTC_REAL"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1/bin/rustc"
  [RUSTC-SHIM] rustc ___ env[16]: "RUSTC_SNAPSHOT"="/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/rustc"
  [RUSTC-SHIM] rustc ___ env[17]: "RUSTC_SNAPSHOT_LIBDIR"="/wrkdirs/usr/ports/lang/rust/work/bootstrap/lib"
  [RUSTC-SHIM] rustc ___ env[18]: "RUSTC_STAGE"="1"
  [RUSTC-SHIM] rustc ___ env[19]: "RUSTC_SYSROOT"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1"
  [RUSTC-SHIM] rustc ___ env[20]: "RUSTC_VERBOSE"="2"
  [RUSTC-SHIM] rustc ___ env[21]: "RUSTDOC"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/bootstrap/debug/rustdoc"
  [RUSTC-SHIM] rustc ___ env[22]: "RUSTDOCFLAGS"="-Wrustdoc::invalid_codeblock_attributes --crate-version 1.53.0"
  [RUSTC-SHIM] rustc ___ env[23]: "RUSTDOC_REAL"="/path/to/nowhere/rustdoc/not/required"
  [RUSTC-SHIM] rustc ___ env[24]: "RUSTFLAGS"="-Zmacro-backtrace -Clink-args=-Wl,-rpath,$ORIGIN/../lib -Zsave-analysis -Cprefer-dynamic -Cembed-bitcode=yes"
  [RUSTC-SHIM] rustc ___ env[25]: "RUST_BACKTRACE"="1"
  [RUSTC-SHIM] rustc ___ env[26]: "RUST_COMPILER_RT_ROOT"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/src/llvm-project/compiler-rt"
  [RUSTC-SHIM] rustc ___ env[27]: "RUST_SAVE_ANALYSIS_CONFIG"="{\"output_file\": null,\"full_docs\": false,\"pub_only\": true,\"reachable_only\": false,\"distro_crate\": true,\"signatures\": false,\"borrow_data\": false}"
  [RUSTC-SHIM] rustc ___ env[28]: "RUST_TEST_THREADS"="32"
  [RUSTC-SHIM] rustc ___ working directory: /wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src
  [RUSTC-SHIM] rustc ___ command: "LD_LIBRARY_PATH"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1/lib" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1/bin/rustc" "-" "--crate-name" "___" "--print=file-names" "-Zmacro-backtrace" "-Clink-args=-Wl,-rpath,$ORIGIN/../lib" "-Zsave-analysis" "-Cprefer-dynamic" "-Cembed-bitcode=yes" "--target" "powerpc64le-unknown-freebsd" "--crate-type" "bin" "--crate-type" "rlib" "--crate-type" "dylib" "--crate-type" "cdylib" "--crate-type" "staticlib" "--crate-type" "proc-macro" "--print=sysroot" "--print=cfg" "-Wrust_2018_idioms" "-Wunused_lifetimes" "--sysroot" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1" "-Z" "force-unstable-if-unmarked"
  [RUSTC-SHIM] rustc ___ sysroot: "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1"
  [RUSTC-SHIM] rustc ___ libdir: "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/powerpc64le-unknown-freebsd/stage1/lib"
  thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', compiler/rustc_target/src/spec/powerpc64le_unknown_freebsd.rs:6:52
  stack backtrace:
     0: rust_begin_unwind
     1: core::panicking::panic_fmt
     2: core::panicking::panic
     3: rustc_target::spec::powerpc64le_unknown_freebsd::target
     4: rustc_target::spec::Target::search
     5: rustc_session::config::build_target_config
     6: rustc_session::session::build_session
     7: rustc_interface::util::create_session
     8: rustc_interface::interface::create_compiler_and_run
     9: scoped_tls::ScopedKey<T>::set
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

  error: internal compiler error: unexpected panic

  note: the compiler unexpectedly panicked. this is a bug.

  note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

  note: rustc 1.53.0 running on powerpc64le-unknown-freebsd

  note: compiler flags: -Z macro-backtrace -Z save-analysis -Z force-unstable-if-unmarked -C link-args=-Wl,-rpath,$ORIGIN/../lib -C prefer-dynamic -C embed-bitcode=yes --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro

  query stack during panic:
  end of query stack
command did not execute successfully: "/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo" "build" "--target" "powerpc64le-unknown-freebsd" "-Zbinary-dep-depinfo" "-j" "32" "-v" "--release" "--frozen" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/library/test/Cargo.toml" "--message-format" "json-render-diagnostics"
expected success, got: exit code: 101
Traceback (most recent call last):
  File "x.py", line 27, in <module>
    bootstrap.main()
  File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/src/bootstrap/bootstrap.py", line 1191, in main
    bootstrap(help_triggered)
  File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/src/bootstrap/bootstrap.py", line 1177, in bootstrap
    run(args, env=env, verbose=build.verbose)
  File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/src/bootstrap/bootstrap.py", line 153, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/bootstrap/debug/bootstrap build --jobs=32
*** Error code 1
pkubaj edited the test plan for this revision. (Show Details)
  • devel/racer: Update to 2.1.46 (unbreak it)
This revision was not accepted when it landed; it landed in state Needs Review.Jun 27 2021, 5:41 AM
This revision was automatically updated to reflect the committed changes.