Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2021 18:48:27 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 130arm64-quarterly][sysutils/mcfly] Failed for mcfly-0.5.6_2 in build
Message-ID:  <202107141848.16EImReP035031@ampere1.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:     yuri@FreeBSD.org
Log URL:        http://ampere1.nyi.freebsd.org/data/130arm64-quarterly/1a1fe9490464/logs/mcfly-0.5.6_2.log
Build URL:      http://ampere1.nyi.freebsd.org/build.html?mastername=130arm64-quarterly&build=1a1fe9490464
Log:

=>> Building sysutils/mcfly
build started at Wed Jul 14 18:44:07 UTC 2021
port directory: /usr/ports/sysutils/mcfly
package name: mcfly-0.5.6_2
building for: FreeBSD 130arm64-quarterly-job-02 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 arm64
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p3
UNAME_r=13.0-RELEASE-p3
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/130arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130arm64-quarterly/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---
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/mcfly/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/mcfly/work  HOME=/wrkdirs/usr/ports/sysutils/mcfly/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/mcfly/work/.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--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/mcfly/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/mcfly/work  HOME=/wrkdirs/usr/ports/sysutils/mcfly/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/mcfly/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 -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--
OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mcfly"  EXAMPLESDIR="share/examples/mcfly"  DATADIR="share/mcfly"  WWWDIR="www/mcfly"  ETCDIR="etc/mcfly"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mcfly DOCSDIR=/usr/local/share/doc/mcfly EXAMPLESDIR=/usr/local/share/examples/mcfly  WWWDIR=/usr/local/www/mcfly ETCDIR=/usr/local/etc/mcfly
--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-0-g43ff75f2c3fe) Target: aarch64-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-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p3
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
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)  1048576
stack size              (kbytes, -s)  1048576
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mcfly-0.5.6_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130arm64-quarterly-job-02] Installing pkg-1.16.3...
[130arm64-quarterly-job-02] Extracting pkg-1.16.3: .......... done
===>   mcfly-0.5.6_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mcfly-0.5.6_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by mcfly-0.5.6_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by mcfly-0.5.6_2 for building
=> SHA256 Checksum OK for rust/crates/aho-corasick-0.7.10.tar.gz.
=> SHA256 Checksum OK for rust/crates/ansi_term-0.11.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/arrayref-0.3.6.tar.gz.
=> SHA256 Checksum OK for rust/crates/arrayvec-0.5.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/atty-0.2.14.tar.gz.
=> SHA256 Checksum OK for rust/crates/autocfg-1.0.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/base64-0.11.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/bitflags-1.2.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/blake2b_simd-0.5.10.tar.gz.
=> SHA256 Checksum OK for rust/crates/bstr-0.2.12.tar.gz.
=> SHA256 Checksum OK for rust/crates/byteorder-1.3.4.tar.gz.
=> SHA256 Checksum OK for rust/crates/cc-1.0.52.tar.gz.
=> SHA256 Checksum OK for rust/crates/cfg-if-0.1.10.tar.gz.
=> SHA256 Checksum OK for rust/crates/clap-2.33.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/constant_time_eq-0.1.5.tar.gz.
=> SHA256 Checksum OK for rust/crates/crossbeam-utils-0.7.2.tar.gz.
=> SHA256 Checksum OK for rust/crates/csv-1.1.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/csv-core-0.1.10.tar.gz.
=> SHA256 Checksum OK for rust/crates/dirs-2.0.2.tar.gz.
=> SHA256 Checksum OK for rust/crates/dirs-sys-0.3.4.tar.gz.
=> SHA256 Checksum OK for rust/crates/either-1.6.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/getrandom-0.1.14.tar.gz.
=> SHA256 Checksum OK for rust/crates/hermit-abi-0.1.12.tar.gz.
=> SHA256 Checksum OK for rust/crates/itertools-0.9.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/itoa-0.4.5.tar.gz.
=> SHA256 Checksum OK for rust/crates/lazy_static-1.4.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/libc-0.2.69.tar.gz.
=> SHA256 Checksum OK for rust/crates/libsqlite3-sys-0.10.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/linked-hash-map-0.5.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/lru-cache-0.1.2.tar.gz.
=> SHA256 Checksum OK for rust/crates/memchr-2.3.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/numtoa-0.1.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/pkg-config-0.3.17.tar.gz.
=> SHA256 Checksum OK for rust/crates/ppv-lite86-0.2.6.tar.gz.
=> SHA256 Checksum OK for rust/crates/rand-0.7.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/rand_chacha-0.2.2.tar.gz.
<snip>
   |                                     --                                               --

warning: panic message is not a string literal
  --> src/training_cache.rs:76:38
   |
76 |         .unwrap_or_else(|err| panic!(format!("McFly error: Expected to flush CSV ({})", err)));
   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this is no longer accepted in Rust 2021
   = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
help: remove the `format!(..)` macro call
   |
76 |         .unwrap_or_else(|err| panic!("McFly error: Expected to flush CSV ({})", err));
   |                                     --                                            --

warning: panic message is not a string literal
  --> src/training_cache.rs:98:38
   |
98 |         .unwrap_or_else(|err| panic!(format!("McFly error: Expected to write to CSV ({})", err)));
   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this is no longer accepted in Rust 2021
   = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
help: remove the `format!(..)` macro call
   |
98 |         .unwrap_or_else(|err| panic!("McFly error: Expected to write to CSV ({})", err));
   |                                     --                                               --

warning: panic message is not a string literal
   --> src/training_cache.rs:101:38
    |
101 |         .unwrap_or_else(|err| panic!(format!("McFly error: Expected to flush CSV ({})", err)));
    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this is no longer accepted in Rust 2021
    = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
help: remove the `format!(..)` macro call
    |
101 |         .unwrap_or_else(|err| panic!("McFly error: Expected to flush CSV ({})", err));
    |                                     --                                            --

warning: unused return value of `std::mem::replace` that must be used
   --> src/command_input.rs:106:17
    |
106 |                 mem::replace(&mut self.command, new_command);
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_must_use)]` on by default
    = note: if you don't need the old value, you can just assign the new value directly

warning: unused return value of `std::mem::replace` that must be used
   --> src/command_input.rs:120:17
    |
120 |                 mem::replace(&mut self.command, new_command);
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: if you don't need the old value, you can just assign the new value directly

warning: unused return value of `std::mem::replace` that must be used
   --> src/command_input.rs:134:17
    |
134 |                 mem::replace(&mut self.command, new_command);
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: if you don't need the old value, you can just assign the new value directly

warning: unused return value of `std::mem::replace` that must be used
   --> src/command_input.rs:149:17
    |
149 |                 mem::replace(&mut self.command, new_command);
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: if you don't need the old value, you can just assign the new value directly

warning: unused return value of `std::mem::replace` that must be used
   --> src/command_input.rs:166:17
    |
166 |                 mem::replace(&mut self.command, new_command);
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: if you don't need the old value, you can just assign the new value directly

warning: unused return value of `std::mem::replace` that must be used
   --> src/command_input.rs:186:17
    |
186 |                 mem::replace(&mut self.command, new_command);
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: if you don't need the old value, you can just assign the new value directly

warning: unused return value of `std::mem::replace` that must be used
   --> src/command_input.rs:211:9
    |
211 |         mem::replace(&mut self.command, new_command);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: if you don't need the old value, you can just assign the new value directly

warning: 66 warnings emitted

warning: 80 warnings emitted

     Running `CARGO=/usr/local/bin/cargo CARGO_BIN_NAME=mcfly CARGO_CRATE_NAME=mcfly CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/sysutils/mcfly/work/mcfly-0.5.6 CARGO_PKG_AUTHORS='Andrew Cantino <cantino@users.noreply.github.com>' CARGO_PKG_DESCRIPTION='McFly replaces your default ctrl-r shell history search with an intelligent search engine that takes into account your working directory and the context of recently executed commands. McFly'\''s suggestions are prioritized in real time with a small neural network.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=mcfly CARGO_PKG_REPOSITORY='https://github.com/cantino/mcfly' CARGO_PKG_VERSION=0.5.6 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=6 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name mcfly --edition=2018 src/main.rs --error-format=json --json=
 diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C metadata=5ba6a8ca211884e2 -C extra-filename=-5ba6a8ca211884e2 --out-dir /wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps -L dependency=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps --extern clap=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libclap-5fce8f19a62e187a.rlib --extern csv=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libcsv-0e113bd738c7189d.rlib --extern dirs=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libdirs-4aff63579504e342.rlib --extern itertools=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libitertools-e67f3d08d138e8f8.rlib --extern libc=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/liblibc-acb72bb64bedd722.rlib --extern mcfly=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libmcfly-0e568cf396494080.rlib --extern rand=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libr
 and-cb039af182d52d5a.rlib --extern regex=/wr!
 kdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libregex-3ad8c146b2402c77.rlib --extern relative_path=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/librelative_path-a283db238d5bb476.rlib --extern rusqlite=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/librusqlite-5fff5b889b6666d5.rlib --extern shellexpand=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libshellexpand-a933fec5a076547b.rlib --extern termion=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libtermion-dffe456c01dece0a.rlib --extern unicode_segmentation=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libunicode_segmentation-0bcb25c758ef6ac0.rlib -C linker=cc -C link-arg=-fstack-protector-strong -L native=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/build/libsqlite3-sys-7b87ca787c950907/out`
warning: panic message is not a string literal
  --> src/main.rs:27:24
   |
27 |                   panic!(format!(
   |  ________________________^
28 | |                     "McFly error: Please ensure that HISTFILE is set ({})",
29 | |                     err
30 | |                 ))
   | |_________________^
   |
   = note: `#[warn(non_fmt_panic)]` on by default
   = note: this is no longer accepted in Rust 2021
   = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
help: remove the `format!(..)` macro call
   |
27 |                 panic!(
28 |                     "McFly error: Please ensure that HISTFILE is set ({})",
29 |                     err
30 |                 )
   |

warning: panic message is not a string literal
  --> src/main.rs:38:36
   |
38 | ...                   panic!(format!("McFly error: Time went backwards ({})", err))
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this is no longer accepted in Rust 2021
   = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
help: remove the `format!(..)` macro call
   |
38 |                             panic!("McFly error: Time went backwards ({})", err)
   |                                   --                                          --

warning: panic message is not a string literal
  --> src/main.rs:79:24
   |
79 |                 panic!(format!("McFly error: unable to write to {}: {}", path, err))
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this is no longer accepted in Rust 2021
   = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
help: remove the `format!(..)` macro call
   |
79 |                 panic!("McFly error: unable to write to {}: {}", path, err)
   |                       --                                                 --

error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/usr/local/lib/rustlib/aarch64-unknown-freebsd/lib" "/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/mcfly-5ba6a8ca211884e2.mcfly.85mzw52i-cgu.1.rcgu.o" "-o" "/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/mcfly-5ba6a8ca211884e2" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps" "-L" "/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/build/libsqlite3-sys-7b87ca787c950907/out" "-L" "/usr/local/lib/rustlib/aarch64-unknown-freebsd/lib" "-Wl,-Bstatic" "/tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib" "-Wl,--start-group" "-Wl,--end-group" "/usr/local/lib/rustlib/aarch64-unknown-freebsd/lib/libcompiler_builtins-aea7a9a691481884.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-lexecinfo" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lrt" "-lutil" "-lutil" "-fstack-protector-strong
 "
  = note: ld: error: undefined symbol: __subtf3
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          >>> did you mean: __subdf3
          >>> defined in: /usr/local/lib/rustlib/aarch64-unknown-freebsd/lib/libcompiler_builtins-aea7a9a691481884.rlib
          
          ld: error: undefined symbol: __addtf3
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          >>> did you mean: __adddf3
          >>> defined in: /usr/local/lib/rustlib/aarch64-unknown-freebsd/lib/libcompiler_builtins-aea7a9a691481884.rlib
          
          ld: error: undefined symbol: __multf3
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          >>> referenced 11 more times
          
          ld: error: undefined symbol: __divtf3
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3AtoF) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3AtoF) in archive /tmp/rustcqCazDK/liblibsqlite3_sys-9910e713811e8aaf.rlib
          cc: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: aborting due to previous error; 3 warnings emitted

error: could not compile `mcfly`

Caused by:
  process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_BIN_NAME=mcfly CARGO_CRATE_NAME=mcfly CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/sysutils/mcfly/work/mcfly-0.5.6 CARGO_PKG_AUTHORS='Andrew Cantino <cantino@users.noreply.github.com>' CARGO_PKG_DESCRIPTION='McFly replaces your default ctrl-r shell history search with an intelligent search engine that takes into account your working directory and the context of recently executed commands. McFly'\''s suggestions are prioritized in real time with a small neural network.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=mcfly CARGO_PKG_REPOSITORY='https://github.com/cantino/mcfly' CARGO_PKG_VERSION=0.5.6 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=6 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name mcfly --edition=2018 src/main.rs --er
 ror-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C metadata=5ba6a8ca211884e2 -C extra-filename=-5ba6a8ca211884e2 --out-dir /wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps -L dependency=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps --extern clap=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libclap-5fce8f19a62e187a.rlib --extern csv=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libcsv-0e113bd738c7189d.rlib --extern dirs=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libdirs-4aff63579504e342.rlib --extern itertools=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libitertools-e67f3d08d138e8f8.rlib --extern libc=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/liblibc-acb72bb64bedd722.rlib --extern mcfly=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libmcfly-0e568cf396494080.rlib --extern rand=/wrkdirs/usr/ports/sysutils/mcfly/work/t
 arget/release/deps/librand-cb039af182d52d5a.!
 rlib --extern regex=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libregex-3ad8c146b2402c77.rlib --extern relative_path=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/librelative_path-a283db238d5bb476.rlib --extern rusqlite=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/librusqlite-5fff5b889b6666d5.rlib --extern shellexpand=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libshellexpand-a933fec5a076547b.rlib --extern termion=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libtermion-dffe456c01dece0a.rlib --extern unicode_segmentation=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/deps/libunicode_segmentation-0bcb25c758ef6ac0.rlib -C linker=cc -C link-arg=-fstack-protector-strong -L native=/wrkdirs/usr/ports/sysutils/mcfly/work/target/release/build/libsqlite3-sys-7b87ca787c950907/out` (exit status: 1)
*** Error code 101

Stop.
make: stopped in /usr/ports/sysutils/mcfly



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