From owner-freebsd-pkg-fallout@freebsd.org Sun Jan 10 17:08:35 2021 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 62B794D2A99 for ; Sun, 10 Jan 2021 17:08:35 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DDNb72JJVz4tQZ for ; Sun, 10 Jan 2021 17:08:35 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4D3C24D2A96; Sun, 10 Jan 2021 17:08:35 +0000 (UTC) Delivered-To: pkg-fallout@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4CFFE4D2A95 for ; Sun, 10 Jan 2021 17:08:35 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDNb71khTz4tNY; Sun, 10 Jan 2021 17:08:35 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy18.nyi.freebsd.org (beefy18.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2A7523CE0; Sun, 10 Jan 2021 17:08:35 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy18.nyi.freebsd.org (localhost [127.0.0.1]) by beefy18.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 10AH8Zsb021830; Sun, 10 Jan 2021 17:08:35 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy18.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 10AH8Zhv021821; Sun, 10 Jan 2021 17:08:35 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sun, 10 Jan 2021 17:08:35 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202101101708.10AH8Zhv021821@beefy18.nyi.freebsd.org> To: rust@FreeBSD.org Subject: [package - main-amd64-default][lang/rust-bootstrap] Failed for armv7-rust-bootstrap-1.48.0 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 17:08:35 -0000 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@FreeBSD.org Last committer: mikael@FreeBSD.org Ident: $FreeBSD: head/lang/rust-bootstrap/Makefile 556445 2020-11-27 17:05:22Z mikael $ Log URL: http://beefy18.nyi.freebsd.org/data/main-amd64-default/p560799_se65e4e61f5/logs/armv7-rust-bootstrap-1.48.0.log Build URL: http://beefy18.nyi.freebsd.org/build.html?mastername=main-amd64-default&build=p560799_se65e4e61f5 Log: =>> Building lang/rust-bootstrap build started at Sun Jan 10 17:06:40 UTC 2021 port directory: /usr/ports/lang/rust-bootstrap package name: armv7-rust-bootstrap-1.48.0 building for: FreeBSD main-amd64-default-job-03 13.0-CURRENT FreeBSD 13.0-CURRENT 1300134 amd64 maintained by: rust@FreeBSD.org Makefile ident: $FreeBSD: head/lang/rust-bootstrap/Makefile 556445 2020-11-27 17:05:22Z mikael $ Poudriere version: 3.2.8-8-gaf08dbda Host OSVERSION: 1300133 Jail OSVERSION: 1300134 Job Id: 03 !!! Jail is newer than host. (Jail: 1300134, Host: 1300133) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1300134 UNAME_v=FreeBSD 13.0-CURRENT 1300134 UNAME_r=13.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 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=/usr/local/poudriere/data/.m/main-amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/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=armv7 DEPENDS_ARGS= MAKE_ARGS= FLAVOR=armv7 ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- rust@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-armv7 XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7 HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/.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-armv7 XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7 HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/.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 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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=freebsd13 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=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.0 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 PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-rc2-0-g43ff75f2c3f) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-rc2-0-g43ff75f2c3f) Target: x86_64-unknown-freebsd13.0 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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-rc2-0-g43ff75f2c3f) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300134 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---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-- =================================================== ===> License APACHE20 MIT accepted by the user =========================================================================== =================================================== ===> armv7-rust-bootstrap-1.48.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.16.1.txz [main-amd64-default-job-03] Installing pkg-1.16.1... [main-amd64-default-job-03] Extracting pkg-1.16.1: .......... done ===> armv7-rust-bootstrap-1.48.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of armv7-rust-bootstrap-1.48.0 =========================================================================== =================================================== =========================================================================== =================================================== ===> License APACHE20 MIT accepted by the user ===> Fetching all distfiles required by armv7-rust-bootstrap-1.48.0 for building =========================================================================== =================================================== ===> License APACHE20 MIT accepted by the user ===> Fetching all distfiles required by armv7-rust-bootstrap-1.48.0 for building => SHA256 Checksum OK for rust/rustc-1.48.0-src.tar.xz. => SHA256 Checksum OK for FreeBSD-12.1-RELEASE-arm-armv7.tar.xz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License APACHE20 MIT accepted by the user ===> Fetching all distfiles required by armv7-rust-bootstrap-1.48.0 for building ===> Extracting for armv7-rust-bootstrap-1.48.0 => SHA256 Checksum OK for rust/rustc-1.48.0-src.tar.xz. => SHA256 Checksum OK for FreeBSD-12.1-RELEASE-arm-armv7.tar.xz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for armv7-rust-bootstrap-1.48.0 ===> Applying FreeBSD patches for armv7-rust-bootstrap-1.48.0 from /usr/ports/lang/rust-bootstrap/../rust/files =========================================================================== =================================================== ===> armv7-rust-bootstrap-1.48.0 depends on executable: cmake - not found ===> Installing existing package /packages/All/cmake-3.19.2.txz [main-amd64-default-job-03] Installing cmake-3.19.2... [main-amd64-default-job-03] `-- Installing curl-7.74.0... [main-amd64-default-job-03] | `-- Installing ca_root_nss-3.58... [main-amd64-default-job-03] | `-- Extracting ca_root_nss-3.58: ........ done | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1807 | | #[inline] 1808 | / | pub const fn to_ne_bytes(self) -> [u8; mem::size_of::()] { 1809 | | | // SAFETY: integers are plain old datatypes so we can always transmute them to 1810 | | | // arrays of bytes 1811 | | | unsafe { mem::transmute(self) } 1812 | | | } | |_|_____________- not a macro .. | 1954 | | } 1955 | | } | |_- in this expansion of `uint_impl!` | ::: library/core/src/num/mod.rs:707:5 | 707 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", 708 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", 709 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", 710 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", 711 | | 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:1919:13 | 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, .. | 1919 | | #[allow_internal_unstable(const_fn_transmute)] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1920 | | #[inline] 1921 | / | pub const fn from_ne_bytes(bytes: [u8; mem::size_of::()]) -> Self { 1922 | | | // SAFETY: integers are plain old datatypes so we can always transmute to them 1923 | | | unsafe { mem::transmute(bytes) } 1924 | | | } | |_|_____________- not a macro .. | 1954 | | } 1955 | | } | |_- in this expansion of `uint_impl!` | ::: library/core/src/num/mod.rs:707:5 | 707 | / uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa", 708 | | "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48", 709 | | "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", 710 | | "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", 711 | | usize_isize_to_xe_bytes_doc!(), usize_isize_from_xe_bytes_doc!() } | |________________________________________________________________________- in this macro invocation Running `/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.0-src/build/x86_64-unknown-freebsd/stage0-std/release/build/unwind-085ee9a583e9656e/build-script-build` Running `/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.0-src/build/x86_64-unknown-freebsd/stage0-std/release/build/std-0bebc8482deaea54/build-script-build` error[E0552]: unrecognized representation hint --> library/core/src/sync/atomic.rs:1199:19 | 1162 | / macro_rules! atomic_int { 1163 | | ($cfg_cas:meta, 1164 | | $cfg_align:meta, 1165 | | $stable:meta, .. | 1199 | | #[repr(C, align($align))] | | ^^^^^^^^^^^^^ .. | 1958 | | } 1959 | | } | |_- in this expansion of `atomic_int!` .. 2173 | / atomic_int! { 2174 | | cfg(target_has_atomic = "ptr"), 2175 | | cfg(target_has_atomic_equal_alignment = "ptr"), 2176 | | stable(feature = "rust1", since = "1.0.0"), .. | 2189 | | isize AtomicIsize ATOMIC_ISIZE_INIT 2190 | | } | |_- in this macro invocation error[E0552]: unrecognized representation hint --> library/core/src/sync/atomic.rs:1199:19 | 1162 | / macro_rules! atomic_int { 1163 | | ($cfg_cas:meta, 1164 | | $cfg_align:meta, 1165 | | $stable:meta, .. | 1199 | | #[repr(C, align($align))] | | ^^^^^^^^^^^^^ .. | 1958 | | } 1959 | | } | |_- in this expansion of `atomic_int!` .. 2192 | / atomic_int! { 2193 | | cfg(target_has_atomic = "ptr"), 2194 | | cfg(target_has_atomic_equal_alignment = "ptr"), 2195 | | stable(feature = "rust1", since = "1.0.0"), .. | 2208 | | usize AtomicUsize ATOMIC_USIZE_INIT 2209 | | } | |_- in this macro invocation error: attribute should be applied to a macro --> library/core/src/slice/mod.rs:93:5 | 93 | #[allow_internal_unstable(const_fn_union)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 94 | / pub const fn len(&self) -> usize { 95 | | // SAFETY: this is safe because `&[T]` and `FatPtr` have the same layout. 96 | | // Only `std` can make this guarantee. 97 | | unsafe { crate::ptr::Repr { rust: self }.raw.len } 98 | | } | |_____- not a macro error: attribute should be applied to a macro --> library/core/src/str/mod.rs:222:5 | 222 | #[allow_internal_unstable(const_fn_transmute)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 223 | / pub const fn as_bytes(&self) -> &[u8] { 224 | | // SAFETY: const sound because we transmute two types with the same layout 225 | | unsafe { mem::transmute(self) } 226 | | } | |_____- not a macro error: attribute should be applied to a macro --> library/core/src/str/converts.rs:160:1 | 160 | #[allow_internal_unstable(const_fn_transmute)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 161 | / pub const unsafe fn from_utf8_unchecked(v: &[u8]) -> &str { 162 | | // SAFETY: the caller must guarantee that the bytes `v` are valid UTF-8. 163 | | // Also relies on `&str` and `&[u8]` having the same layout. 164 | | unsafe { mem::transmute(v) } 165 | | } | |_- 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(gen: T) -> impl Future | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #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: 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: 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: 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: aborting due to 36 previous errors Some errors have detailed explanations: E0277, E0552, 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=96fb8a370c7a3021" "-C" "extra-filename=-96fb8a370c7a3021" "--out-dir" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.0-src/build/x86_64-unknown-freebsd/stage0-std/x86_64-unknown-freebsd/release/deps" "--target" "x86_64-unknown-freebsd" "-C" "linker=cc" "-L" "dependency=/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.0-src/build/x86_64-unknown-freebsd/stage0-std/x86_64-unknown-freebsd/release/deps" "-L" "dependency=/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.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-depinfo" "-Wrust_2018_idioms" "-W unused_lifetimes" "--sysroot" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.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-armv7/rustc-1.48.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=96fb8a370c7a3021 -C extra-filename=-96fb8a370c7a3021 --out-dir /wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.0-src/build/x86_64-unknown-freebsd/stage0-std/x86_64-unknown-freebsd/release/deps --target x86_64-unknown-freebsd -C linker=cc -L dependency=/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.0-src/build/x86_64-unknown-freebsd/stage0-std/x86_64-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.0-src/build/x86_64-unknown-freebsd/stage0-std/release/deps --cfg=bootstrap -Zmacro-backtrace '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Cprefer-dynamic -Z bi nary-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-armv7/rustc-1.48.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 bootstrap.main() File "/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.0-src/src/bootstrap/bootstrap.py", line 1066, in main bootstrap(help_triggered) File "/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.0-src/src/bootstrap/bootstrap.py", line 1052, in bootstrap run(args, env=env, verbose=build.verbose) File "/wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.0-src/src/bootstrap/bootstrap.py", line 153, in run raise RuntimeError(err) RuntimeError: failed to run: /wrkdirs/usr/ports/lang/rust-bootstrap/work-armv7/rustc-1.48.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