[exp - 122amd64-default-build-as-user][lang/rust-bootstrap] Failed for powerpc64-elfv1-rust-bootstrap-1.49.0 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Feb 18 06:35:59 UTC 2021


You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     rust at FreeBSD.org
Last committer: mikael at FreeBSD.org
Ident:          $FreeBSD: head/lang/rust-bootstrap/Makefile 562575 2021-01-25 16:22:55Z mikael $
Log URL:        http://package19.nyi.freebsd.org/data/122amd64-default-build-as-user/565366/logs/powerpc64-elfv1-rust-bootstrap-1.49.0.log
Build URL:      http://package19.nyi.freebsd.org/build.html?mastername=122amd64-default-build-as-user&build=565366
Log:

=>> Building lang/rust-bootstrap
build started at Thu Feb 18 06:32:48 UTC 2021
port directory: /usr/ports/lang/rust-bootstrap
package name: powerpc64-elfv1-rust-bootstrap-1.49.0
building for: FreeBSD 122amd64-default-build-as-user-job-08 12.2-RELEASE-p3 FreeBSD 12.2-RELEASE-p3 amd64
maintained by: rust at FreeBSD.org
Makefile ident:      $FreeBSD: head/lang/rust-bootstrap/Makefile 562575 2021-01-25 16:22:55Z mikael $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300121
Jail OSVERSION: 1202000
Job Id: 08

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE-p3
UNAME_r=12.2-RELEASE-p3
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/poudriere/data/.m/122amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/122amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/122amd64-default-build-as-user/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=powerpc64_elfv1
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=powerpc64_elfv1
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
rust at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PYTHON="/usr/local/bin/python3.7" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1  HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1  HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc9" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -fno-strict-aliasing 
 "  CPP="cpp9" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9 " LIBS=""  CXX="g++9" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9  -Wl,-rpath=/usr/local/lib/gcc9 "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.7m  PYTHON_LIBDIR=lib/python3.7  PYTHON_PLATFORM=freebsd12  PYTHON_SITELIBDIR=lib/python3.7/site-packages  PYTHON_SUFFIX=37  PYTHON_EXT_SUFFIX=  PYTHON_VER=3.7  PYTHON_VERSION=python3.7 PYTHON2="@comment " PYTHON3="" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/rust"  EXAMPLESDIR="share/examples/rust"  DATADIR="share/rust"  WWWDIR="www/rust"  ETCDIR="etc/rust"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/rust DOCSDIR=/usr/local/share/doc/rust EXAMPLESDIR=/usr/local/share/examples/rust  WWWDIR=/usr/local/www/rust ETCDIR=/usr/local/etc/rust
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git at github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git at github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git at github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE-p3
OSREL=12.2
OSVERSION=1202000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License APACHE20 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   powerpc64-elfv1-rust-bootstrap-1.49.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.2.txz
[122amd64-default-build-as-user-job-08] Installing pkg-1.16.2...
[122amd64-default-build-as-user-job-08] Extracting pkg-1.16.2: .......... done
===>   powerpc64-elfv1-rust-bootstrap-1.49.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of powerpc64-elfv1-rust-bootstrap-1.49.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 MIT accepted by the user
===> Fetching all distfiles required by powerpc64-elfv1-rust-bootstrap-1.49.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 MIT accepted by the user
===> Fetching all distfiles required by powerpc64-elfv1-rust-bootstrap-1.49.0 for building
=> SHA256 Checksum OK for rust/rustc-1.49.0-src.tar.xz.
=> SHA256 Checksum OK for FreeBSD-12.1-RELEASE-powerpc64-elfv1.tar.xz.
=> SHA256 Checksum OK for FreeBSD-12.1-RELEASE-powerpc64-elfv1-gcc9-9.2.0.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 MIT accepted by the user
===> Fetching all distfiles required by powerpc64-elfv1-rust-bootstrap-1.49.0 for building
===>  Extracting for powerpc64-elfv1-rust-bootstrap-1.49.0
=> SHA256 Checksum OK for rust/rustc-1.49.0-src.tar.xz.
=> SHA256 Checksum OK for FreeBSD-12.1-RELEASE-powerpc64-elfv1.tar.xz.
=> SHA256 Checksum OK for FreeBSD-12.1-RELEASE-powerpc64-elfv1-gcc9-9.2.0.tar.xz.
tar: Removing leading '/' from member names
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for powerpc64-elfv1-rust-bootstrap-1.49.0
===>  Applying extra patch patches for powerpc64-elfv1-rust-bootstrap-1.49.0 from /usr/ports/lang/rust-bootstrap/../rust/files/powerpc64-elfv1
===>  Applying FreeBSD patches for powerpc64-elfv1-rust-bootstrap-1.49.0 from /usr/ports/lang/rust-bootstrap/../rust/files
===========================================================================
=======================<phase: build-depends  >============================
===>   powerpc64-elfv1-rust-bootstrap-1.49.0 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-3.19.4_1.txz
[122amd64-default-build-as-user-job-08] Installing cmake-3.19.4_1...
[122amd64-default-build-as-user-job-08] `-- Installing curl-7.75.0...
[122amd64-default-build-as-user-job-08] |   `-- Installing ca_root_nss-3.61...
[122amd64-default-build-as-user-job-08] |   `-- Extracting ca_root_nss-3.61: ........ done
[122amd64-default-build-as-user-job-08] |   `-- Installing libnghttp2-1.43.0...
[122amd64-default-build-as-user-job-08] |   `-- Extracting libnghttp2-1.43.0: .......... done
[122amd64-default-build-as-user-job-08] `-- Extracting curl-7.75.0: .......... done
[122amd64-default-build-as-user-job-08] `-- Installing expat-2.2.10...
[122amd64-default-build-as-user-job-08] `-- Extracting expat-2.2.10: .......... done
[122amd64-default-build-as-user-job-08] `-- Installing jsoncpp-1.9.4...
[122amd64-default-build-as-user-job-08] `-- Extracting jsoncpp-1.9.4: .......... done
[122amd64-default-build-as-user-job-08] `-- Installing libarchive-3.4.3_1,1...
[122amd64-default-build-as-user-job-08] |   `-- Installing liblz4-1.9.3,1...
[122amd64-default-build-as-user-job-08] |   `-- Extracting liblz4-1.9.3,1: .......... done
[122amd64-default-build-as-user-job-08] `-- Extracting libarchive-3.4.3_1,1: .......... done
[122amd64-default-build-as-user-job-08] `-- Installing libuv-1.40.0...
<snip>
684  | /       uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16,
685  | |       "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
686  | |       "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
687  | |       "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \
..    |
690  | |         0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]",
691  | |        "", ""}
     | |______________- in this macro invocation

error: attribute should be applied to a macro
    --> library/core/src/num/uint_macros.rs:1809:35
     |
1    |   / macro_rules! uint_impl {
2    |   |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
3    |   |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
4    |   |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
..      |
1809 |   |             #[cfg_attr(bootstrap, allow_internal_unstable(const_fn_transmute))]
     |   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1810 |   |             #[inline]
1811 | / |             pub const fn to_ne_bytes(self) -> [u8; mem::size_of::<Self>()] {
1812 | | |                 // SAFETY: integers are plain old datatypes so we can always transmute them to
1813 | | |                 // arrays of bytes
1814 | | |                 unsafe { mem::transmute(self) }
1815 | | |             }
     | |_|_____________- not a macro
..      |
1993 |   |     }
1994 |   | }
     |   |_- in this expansion of `uint_impl!`
     | 
    ::: library/core/src/num/mod.rs:712:5
     |
712  | /       uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa",
713  | |       "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48",
714  | |       "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
715  | |        "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]",
716  | |       usize_isize_to_xe_bytes_doc!(), usize_isize_from_xe_bytes_doc!() }
     | |________________________________________________________________________- in this macro invocation

error: attribute should be applied to a macro
    --> library/core/src/num/uint_macros.rs:1958:35
     |
1    |   / macro_rules! uint_impl {
2    |   |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
3    |   |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
4    |   |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
..      |
1958 |   |             #[cfg_attr(bootstrap, allow_internal_unstable(const_fn_transmute))]
     |   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1959 |   |             #[inline]
1960 | / |             pub const fn from_ne_bytes(bytes: [u8; mem::size_of::<Self>()]) -> Self {
1961 | | |                 // SAFETY: integers are plain old datatypes so we can always transmute to them
1962 | | |                 unsafe { mem::transmute(bytes) }
1963 | | |             }
     | |_|_____________- not a macro
..      |
1993 |   |     }
1994 |   | }
     |   |_- in this expansion of `uint_impl!`
     | 
    ::: library/core/src/num/mod.rs:712:5
     |
712  | /       uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa",
713  | |       "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48",
714  | |       "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
715  | |        "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]",
716  | |       usize_isize_to_xe_bytes_doc!(), usize_isize_from_xe_bytes_doc!() }
     | |________________________________________________________________________- in this macro invocation

     Running `/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/x86_64-unknown-freebsd/stage0-std/release/build/unwind-c5a574553d78d1d7/build-script-build`
     Running `/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/x86_64-unknown-freebsd/stage0-std/release/build/std-8a1839a21e87b817/build-script-build`
error: attribute should be applied to a macro
  --> library/core/src/slice/mod.rs:92:27
   |
92 |       #[cfg_attr(bootstrap, allow_internal_unstable(const_fn_union))]
   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93 | /     pub const fn len(&self) -> usize {
94 | |         // SAFETY: this is safe because `&[T]` and `FatPtr<T>` have the same layout.
95 | |         // Only `std` can make this guarantee.
96 | |         unsafe { crate::ptr::Repr { rust: self }.raw.len }
97 | |     }
   | |_____- not a macro

error: attribute should be applied to a macro
   --> library/core/src/str/mod.rs:223:27
    |
223 |       #[cfg_attr(bootstrap, allow_internal_unstable(const_fn_transmute))]
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
224 | /     pub const fn as_bytes(&self) -> &[u8] {
225 | |         // SAFETY: const sound because we transmute two types with the same layout
226 | |         unsafe { mem::transmute(self) }
227 | |     }
    | |_____- not a macro

error: attribute should be applied to a macro
   --> library/core/src/str/converts.rs:161:23
    |
161 |   #[cfg_attr(bootstrap, allow_internal_unstable(const_fn_transmute))]
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
162 | / pub const unsafe fn from_utf8_unchecked(v: &[u8]) -> &str {
163 | |     // SAFETY: the caller must guarantee that the bytes `v` are valid UTF-8.
164 | |     // Also relies on `&str` and `&[u8]` having the same layout.
165 | |     unsafe { mem::transmute(v) }
166 | | }
    | |_- not a macro

error: attribute should be applied to a macro
   --> library/core/src/task/wake.rs:134:27
    |
134 |       #[cfg_attr(bootstrap, allow_internal_unstable(const_fn_fn_ptr_basics))]
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
135 | /     pub const fn new(
136 | |         clone: unsafe fn(*const ()) -> RawWaker,
137 | |         wake: unsafe fn(*const ()),
138 | |         wake_by_ref: unsafe fn(*const ()),
..   |
141 | |         Self { clone, wake, wake_by_ref, drop }
142 | |     }
    | |_____- not a macro

error[E0658]: `impl Trait` is not allowed in constant functions
  --> library/core/src/future/mod.rs:61:43
   |
61 | pub const fn from_generator<T>(gen: T) -> impl Future<Output = T::Return>
   |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #77463 <https://github.com/rust-lang/rust/issues/77463> for more information
   = help: add `#![feature(const_impl_trait)]` to the crate attributes to enable

error[E0277]: the size for values of type `T` cannot be known at compilation time
   --> library/core/src/mem/mod.rs:153:34
    |
153 | pub fn forget_unsized<T: ?Sized>(t: T) {
    |                       -          ^ doesn't have a size known at compile-time
    |                       |
    |                       this type parameter needs to be `Sized`
    |
    = help: unsized fn params are gated as an unstable feature
help: function arguments must have a statically known size, borrowed types always have a known size
    |
153 | pub fn forget_unsized<T: ?Sized>(&t: T) {
    |                                  ^

error[E0277]: the size for values of type `T` cannot be known at compilation time
   --> library/core/src/mem/mod.rs:156:14
    |
153 | pub fn forget_unsized<T: ?Sized>(t: T) {
    |                       - this type parameter needs to be `Sized`
..
156 |     unsafe { intrinsics::forget(t) }
    |              ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
    |
    = note: all function arguments must have a statically known size
    = help: unsized fn params are gated as an unstable feature

error[E0277]: the size for values of type `Self` cannot be known at compilation time
   --> library/core/src/ops/range.rs:798:19
    |
798 |     fn assert_len(self, len: usize) -> Range<usize>
    |                   ^^^^ doesn't have a size known at compile-time
    |
    = help: unsized fn params are gated as an unstable feature
help: consider further restricting `Self`
    |
800 |         Self: RangeBounds<usize>, Self: Sized
    |                                 ^^^^^^^^^^^^^
help: function arguments must have a statically known size, borrowed types always have a known size
    |
798 |     fn assert_len(&self, len: usize) -> Range<usize>
    |                   ^

error: aborting due to 37 previous errors

Some errors have detailed explanations: E0277, E0557, E0658.
For more information about an error, try `rustc --explain E0277`.

Did not run successfully: exit code: 1
"/usr/local/bin/rustc" "--crate-name" "core" "--edition=2018" "library/core/src/lib.rs" "--error-format=json" "--json=diagnostic-rendered-ansi,artifacts" "--crate-type" "lib" "--emit=dep-info,metadata,link" "-C" "opt-level=3" "-C" "embed-bitcode=no" "-C" "debuginfo=0" "-C" "metadata=3d3dd5930a1d5d60" "-C" "extra-filename=-3d3dd5930a1d5d60" "--out-dir" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/x86_64-unknown-freebsd/stage0-std/x86_64-unknown-freebsd/release/deps" "--target" "x86_64-unknown-freebsd" "-C" "linker=gcc9" "-L" "dependency=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/x86_64-unknown-freebsd/stage0-std/x86_64-unknown-freebsd/release/deps" "-L" "dependency=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/x86_64-unknown-freebsd/stage0-std/release/deps" "--cfg=bootstrap" "-Zmacro-backtrace" "-Clink-args=-Wl,-rpath,$ORIGIN/../lib" "-Cprefer-dynamic" "-Z" "binary-dep-d
 epinfo" "-Wrust_2018_idioms" "-Wunused_lifetimes" "--sysroot" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/x86_64-unknown-freebsd/stage0-sysroot" "-Z" "force-unstable-if-unmarked"
-------------
error: could not compile `core`

Caused by:
  process didn't exit successfully: `/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/bootstrap/debug/rustc --crate-name core --edition=2018 library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=0 -C metadata=3d3dd5930a1d5d60 -C extra-filename=-3d3dd5930a1d5d60 --out-dir /wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/x86_64-unknown-freebsd/stage0-std/x86_64-unknown-freebsd/release/deps --target x86_64-unknown-freebsd -C linker=gcc9 -L dependency=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/x86_64-unknown-freebsd/stage0-std/x86_64-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/x86_64-unknown-freebsd/stage0-std/release/deps --cfg=bootstrap -Zmacro-backtrace '-Clink-args=-Wl,-rp
 ath,$ORIGIN/../lib' -Cprefer-dynamic -Z binary-dep-depinfo` (exit code: 1)
command did not execute successfully: "/usr/local/bin/cargo" "build" "--target" "x86_64-unknown-freebsd" "-Zbinary-dep-depinfo" "-j" "2" "-v" "--release" "--frozen" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.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 11, in <module>
    bootstrap.main()
  File "/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/src/bootstrap/bootstrap.py", line 1082, in main
    bootstrap(help_triggered)
  File "/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/src/bootstrap/bootstrap.py", line 1068, in bootstrap
    run(args, env=env, verbose=build.verbose)
  File "/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/src/bootstrap/bootstrap.py", line 153, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64_elfv1/rustc-1.49.0-src/build/bootstrap/debug/bootstrap dist --jobs=2 cargo src/librustc library/std
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/rust-bootstrap


More information about the freebsd-pkg-fallout mailing list