Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 2019 15:37:44 GMT
From:      pkg-fallout@FreeBSD.org
To:        rust@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 120i386-default][lang/rust-nightly] Failed for rust-nightly-1.37.0.20190601 in stage
Message-ID:  <201906011537.x51Fbih0037609@beefy5.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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: jbeich@FreeBSD.org
Ident:          $FreeBSD: head/lang/rust-nightly/Makefile 503207 2019-06-01 00:46:40Z jbeich $
Log URL:        http://beefy5.nyi.freebsd.org/data/120i386-default/503212/logs/rust-nightly-1.37.0.20190601.log
Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=120i386-default&build=503212
Log:

=>> Building lang/rust-nightly
build started at Sat Jun  1 05:41:32 UTC 2019
port directory: /usr/ports/lang/rust-nightly
package name: rust-nightly-1.37.0.20190601
building for: FreeBSD 120i386-default-job-04 12.0-RELEASE-p5 FreeBSD 12.0-RELEASE-p5 i386
maintained by: rust@FreeBSD.org
Makefile ident:      $FreeBSD: head/lang/rust-nightly/Makefile 503207 2019-06-01 00:46:40Z jbeich $
Poudriere version: 3.2.8-4-g701d8fe1
Host OSVERSION: 1300018
Jail OSVERSION: 1200086
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RELEASE-p5
UNAME_r=12.0-RELEASE-p5
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-4-g701d8fe1
MASTERMNT=/usr/local/poudriere/data/.m/120i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/120i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/120i386-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=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for rust-nightly-1.37.0.20190601:
     DOCS=on: Build and/or install documentation
     GDB=off: Install ports gdb (necessary for debugging rust programs)
     LLNEXTGEN=off: Build with grammar verification
     SOURCES=off: Install source files
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
rust@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/rust-nightly/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/rust-nightly/work  HOME=/wrkdirs/usr/ports/lang/rust-nightly/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/rust-nightly/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/lang/rust-nightly/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/rust-nightly/work  HOME=/wrkdirs/usr/ports/lang/rust-nightly/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/rust-nightly/work/.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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_I
 NSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
RUST_TARGET=i686-unknown-freebsd PORTDOCS="" PYTHON_INCLUDEDIR=include/python2.7  PYTHON_LIBDIR=lib/python2.7  PYTHON_PLATFORM=freebsd12  PYTHON_SITELIBDIR=lib/python2.7/site-packages  PYTHON_SUFFIX=27  PYTHON_VER=2.7  PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib 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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.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" "-m" "elf_i386_fbsd" "-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 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.0-RELEASE-p5
OSREL=12.0
OSVERSION=1200086
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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    >============================
===>   rust-nightly-1.37.0.20190601 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.11.1.txz
[120i386-default-job-04] Installing pkg-1.11.1...
[120i386-default-job-04] Extracting pkg-1.11.1: .......... done
===>   rust-nightly-1.37.0.20190601 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rust-nightly-1.37.0.20190601
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20  MIT accepted by the user
=> 2019-06-01/rustc-nightly-src.tar.xz doesn't seem to exist in /portdistfiles/rust.
=> Attempting to fetch https://static.rust-lang.org/dist/2019-06-01/rustc-nightly-src.tar.xz
2019-06-01/rustc-nightly-src.tar.xz                     93 MB   26 MBps    03s
=> 2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz doesn't seem to exist in /portdistfiles/rust.
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz
fetch: http://distcache.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz: Not Found
=> Attempting to fetch http://distcache.us-east.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz
fetch: http://distcache.us-east.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz: Not Found
=> Attempting to fetch http://distcache.eu.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz
fetch: http://distcache.eu.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz: Not Found
=> Attempting to fetch http://distcache.us-west.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz
fetch: http://distcache.us-west.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz: Not Found
=> Attempting to fetch https://static.rust-lang.org/dist/2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz
2019-05-23/rustc-beta-i686-unknown-freebsd.tar.gz          71 MB   28 MBps    02s
=> 2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz doesn't seem to exist in /portdistfiles/rust.
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz
fetch: http://distcache.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz: Not Found
=> Attempting to fetch http://distcache.us-east.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz
fetch: http://distcache.us-east.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz: Not Found
=> Attempting to fetch http://distcache.eu.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz
fetch: http://distcache.eu.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz: Not Found
=> Attempting to fetch http://distcache.us-west.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz
fetch: http://distcache.us-west.FreeBSD.org/local-distfiles/tobik/rust/2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz: Not Found
=> Attempting to fetch https://static.rust-lang.org/dist/2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz
2019-05-23/rust-std-beta-i686-unknown-freebsd.tar.gz          82 MB   31 MBps    02s
<snip>
Install clippy stage2 (Some("i686-unknown-freebsd"))
running: "sh" "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/tmp/dist/clippy-nightly-i686-unknown-freebsd/install.sh" "--prefix=/wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local" "--sysconfdir=/wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local/etc" "--datadir=/wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local/share" "--docdir=/wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local/share/doc/rust" "--bindir=/wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local/bin" "--libdir=/wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local/lib" "--mandir=/wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local/man" "--disable-ldconfig"
install: creating uninstall script at /wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local/lib/rustlib/uninstall.sh
install: installing component 'clippy-preview'
install: backing up existing file at /wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local/share/doc/rust/LICENSE-MIT
install: backing up existing file at /wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local/share/doc/rust/LICENSE-APACHE
install: backing up existing file at /wrkdirs/usr/ports/lang/rust-nightly/work/stage/usr/local/share/doc/rust/README.md

    clippy ready to serve.

< Clippy { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd" }
c Assemble { target_compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" } }
> Miri { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd" }
  > Miri { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd" }
Dist miri stage2 (i686-unknown-freebsd)
    > Miri { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd", extra_features: [] }
      > ToolBuild { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd", tool: "miri", path: "src/tools/miri", mode: ToolRustc, is_optional_tool: true, source_type: Submodule, extra_features: [] }
        c Rustc { target: "i686-unknown-freebsd", compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" } }
        c Assemble { target_compiler: Compiler { stage: 1, host: "i686-unknown-freebsd" } }
        c Sysroot { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" } }
        c Sysroot { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" } }
        c Sysroot { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" } }
        c Sysroot { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" } }
        c Sysroot { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" } }
Building stage2 tool miri (i686-unknown-freebsd)
running: "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage0/bin/cargo" "build" "--target" "i686-unknown-freebsd" "-j" "1" "--release" "--frozen" "--manifest-path" "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/src/tools/miri/Cargo.toml" "--message-format" "json"
   Compiling miri v0.1.0 (/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/src/tools/miri)
error[E0412]: cannot find type `Mir` in module `mir`
  --> src/tools/miri/src/fn_call.rs:20:45
   |
20 |     ) -> EvalResult<'tcx, Option<&'mir mir::Mir<'tcx>>> {
   |                                             ^^^ not found in `mir`
help: there is an enum variant `rustc::session::config::BorrowckMode::Mir` and 3 others; try using the variant's enum
   |
20 |     ) -> EvalResult<'tcx, Option<&'mir rustc::session::config::BorrowckMode>> {
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 |     ) -> EvalResult<'tcx, Option<&'mir rustc::session::config::OutputType>> {
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 |     ) -> EvalResult<'tcx, Option<&'mir rustc_mir::util::borrowck_errors::Origin>> {
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0412]: cannot find type `Mir` in module `mir`
   --> src/tools/miri/src/lib.rs:410:45
    |
410 |     ) -> EvalResult<'tcx, Option<&'mir mir::Mir<'tcx>>> {
    |                                             ^^^ not found in `mir`
help: there is an enum variant `rustc::session::config::BorrowckMode::Mir` and 3 others; try using the variant's enum
    |
410 |     ) -> EvalResult<'tcx, Option<&'mir rustc::session::config::BorrowckMode>> {
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
410 |     ) -> EvalResult<'tcx, Option<&'mir rustc::session::config::OutputType>> {
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
410 |     ) -> EvalResult<'tcx, Option<&'mir rustc_mir::util::borrowck_errors::Origin>> {
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/fn_call.rs:610:29
    |
610 |                     Scalar::Bits { bits: 0, size } => {
    |                     --------^^^^
    |                     |
    |                     variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/fn_call.rs:614:29
    |
614 |                     Scalar::Bits { .. } => return err!(ReadBytesAsPointer),
    |                     --------^^^^
    |                     |
    |                     variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:144:22
    |
144 |             (Scalar::Bits { .. }, Scalar::Bits { .. }) =>
    |              --------^^^^
    |              |
    |              variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:144:43
    |
144 |             (Scalar::Bits { .. }, Scalar::Bits { .. }) =>
    |                                   --------^^^^
    |                                   |
    |                                   variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:168:40
    |
168 |             (Scalar::Ptr(ptr), Scalar::Bits { bits, size }) |
    |                                --------^^^^
    |                                |
    |                                variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:169:22
    |
169 |             (Scalar::Bits { bits, size }, Scalar::Ptr(ptr)) => {
    |              --------^^^^
    |              |
    |              variant not found in `rustc_mir::interpret::Scalar<_, _>`

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/tools/miri/src/operator.rs:161:35
    |
161 |                     self.memory().check_bounds_ptr(left, InboundsCheck::Live)?;
    |                                   ^^^^^^^^^^^^^^^^ expected 3 parameters

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/tools/miri/src/operator.rs:162:35
    |
162 |                     self.memory().check_bounds_ptr(right, InboundsCheck::Live)?;
    |                                   ^^^^^^^^^^^^^^^^ expected 3 parameters

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/tools/miri/src/operator.rs:186:38
    |
186 |                     if self.memory().check_bounds_ptr(ptr, InboundsCheck::MaybeDead).is_ok() {
    |                                      ^^^^^^^^^^^^^^^^ expected 3 parameters

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:281:30
    |
281 |                     (Scalar::Bits { bits: (left.offset.bytes() as u128) & right, size: ptr_size }, false)
    |                      --------^^^^
    |                      |
    |                      variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:295:30
    |
295 |                     (Scalar::Bits { bits: 0, size: ptr_size }, false)
    |                      --------^^^^
    |                      |
    |                      variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:300:33
    |
300 |                         Scalar::Bits {
    |                         --------^^^^
    |                         |
    |                         variant not found in `rustc_mir::interpret::Scalar<_, _>`

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/tools/miri/src/operator.rs:343:27
    |
343 |             self.memory().check_bounds_ptr(ptr, InboundsCheck::Live)?;
    |                           ^^^^^^^^^^^^^^^^ expected 3 parameters

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/tools/miri/src/operator.rs:345:27
    |
345 |             self.memory().check_bounds_ptr(ptr, InboundsCheck::Live)?;
    |                           ^^^^^^^^^^^^^^^^ expected 3 parameters

error[E0061]: this function takes 4 parameters but 3 parameters were supplied
   --> src/tools/miri/src/stacked_borrows.rs:553:15
    |
553 |         alloc.check_bounds(this, ptr, size)?;
    |               ^^^^^^^^^^^^ expected 4 parameters

error: aborting due to 17 previous errors

Some errors have detailed explanations: E0061, E0412.
For more information about an error, try `rustc --explain E0061`.
error: Could not compile `miri`.

To learn more, run the command again with --verbose.
command did not execute successfully: "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage0/bin/cargo" "build" "--target" "i686-unknown-freebsd" "-j" "1" "--release" "--frozen" "--manifest-path" "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/src/tools/miri/Cargo.toml" "--message-format" "json"
expected success, got: exit code: 101
      < ToolBuild { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd", tool: "miri", path: "src/tools/miri", mode: ToolRustc, is_optional_tool: true, source_type: Submodule, extra_features: [] }
    < Miri { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd", extra_features: [] }
Unable to build miri, skipping dist
  < Miri { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd" }
skipping Install miri stage2 (i686-unknown-freebsd)
< Miri { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd" }
c Assemble { target_compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" } }
> Analysis { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd" }
  > Analysis { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd" }
Dist analysis
    c Std { compiler: Compiler { stage: 2, host: "i686-unknown-freebsd" }, target: "i686-unknown-freebsd" }
image_src: "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage2-std/i686-unknown-freebsd/release/deps/save-analysis", dst: "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/tmp/dist/rust-analysis-nightly-i686-unknown-freebsd-image/lib/rustlib/i686-unknown-freebsd/analysis"
thread 'main' panicked at 'fs::read_dir(src) failed with No such file or directory (os error 2)', src/bootstrap/lib.rs:1217:18
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Traceback (most recent call last):
  File "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/x.py", line 11, in <module>
    bootstrap.main()
  File "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/src/bootstrap/bootstrap.py", line 847, in main
    bootstrap(help_triggered)
  File "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/src/bootstrap/bootstrap.py", line 833, in bootstrap
    run(args, env=env, verbose=build.verbose)
  File "/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/src/bootstrap/bootstrap.py", line 141, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/bootstrap/debug/bootstrap install --verbose --config ./config.toml --jobs 1
*** Error code 1

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906011537.x51Fbih0037609>