Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-heapless0.7.spec'], chrootPath='/var/lib/mock/f41-build-54383220-6525970/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b14d8c67a6db48ba8158041f49cee9b7', '-D', '/var/lib/mock/f41-build-54383220-6525970/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-heapless0.7.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721347200 Wrote: /builddir/build/SRPMS/rust-heapless0.7-0.7.17-2.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-heapless0.7.spec'], chrootPath='/var/lib/mock/f41-build-54383220-6525970/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6e1662c4e16d4b058422de6facb57c0c', '-D', '/var/lib/mock/f41-build-54383220-6525970/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-heapless0.7.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.QfdvYi + umask 022 + cd /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + test -d /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + /usr/bin/rm -rf /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.F1w4cX + umask 022 + cd /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + cd /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + rm -rf heapless-0.7.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/heapless-0.7.17.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd heapless-0.7.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/heapless-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/heapless-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.nRpJef + umask 022 + cd /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + cd heapless-0.7.17 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-heapless0.7-0.7.17-2.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-heapless0.7.spec'], chrootPath='/var/lib/mock/f41-build-54383220-6525970/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ca4aa197d47e4f7391f30a4a4b2b5a1a', '-D', '/var/lib/mock/f41-build-54383220-6525970/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-heapless0.7.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.EFi3hr + umask 022 + cd /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + cd heapless-0.7.17 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-heapless0.7-0.7.17-2.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-heapless0.7.spec'], chrootPath='/var/lib/mock/f41-build-54383220-6525970/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fc9bb8d7c1f24c0b91490327345b54dc', '-D', '/var/lib/mock/f41-build-54383220-6525970/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck9f14i3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-heapless0.7.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.wjJeqX + umask 022 + cd /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + cd heapless-0.7.17 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ixmena + umask 022 + cd /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd heapless-0.7.17 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j12 -Z avoid-dev-deps --profile rpm Compiling semver v1.0.23 Compiling byteorder v1.5.0 Compiling stable_deref_trait v1.2.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/semver-1.0.23/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=5b3ae13c1274ec61 -C extra-filename=-5b3ae13c1274ec61 --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/build/semver-5b3ae13c1274ec61 -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name byteorder --edition=2021 /usr/share/cargo/registry/byteorder-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=c841445feb7cf99a -C extra-filename=-c841445feb7cf99a --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name stable_deref_trait --edition=2015 /usr/share/cargo/registry/stable_deref_trait-1.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=390dc290deb3d81e -C extra-filename=-390dc290deb3d81e --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling hash32 v0.2.1 Running `/usr/bin/rustc --crate-name hash32 --edition=2015 /usr/share/cargo/registry/hash32-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=102390f712e63579 -C extra-filename=-102390f712e63579 --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --extern byteorder=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libbyteorder-c841445feb7cf99a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/build/semver-5b3ae13c1274ec61/build-script-build` Running `/usr/bin/rustc --crate-name semver --edition=2018 /usr/share/cargo/registry/semver-1.0.23/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=8dd420e73df736e7 -C extra-filename=-8dd420e73df736e7 --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --check-cfg 'cfg(doc_cfg)' --check-cfg 'cfg(no_alloc_crate)' --check-cfg 'cfg(no_const_vec_new)' --check-cfg 'cfg(no_exhaustive_int_match)' --check-cfg 'cfg(no_non_exhaustive)' --check-cfg 'cfg(no_nonzero_bitscan)' --check-cfg 'cfg(no_str_strip_prefix)' --check-cfg 'cfg(no_track_caller)' --check-cfg 'cfg(no_unsafe_op_in_unsafe_fn_lint)' --check-cfg 'cfg(test_node_semver)'` Compiling rustc_version v0.4.1 Running `/usr/bin/rustc --crate-name rustc_version --edition=2018 /usr/share/cargo/registry/rustc_version-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=42806f3d500f682c -C extra-filename=-42806f3d500f682c --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --extern semver=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libsemver-8dd420e73df736e7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling heapless v0.7.17 (/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="cas"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("__trybuild", "cas", "default", "defmt", "defmt-impl", "mpmc_large", "serde", "ufmt-impl", "ufmt-write", "x86-sync-pool"))' -C metadata=31141674fbd9990a -C extra-filename=-31141674fbd9990a --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/build/heapless-31141674fbd9990a -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --extern rustc_version=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/librustc_version-42806f3d500f682c.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/build/heapless-31141674fbd9990a/build-script-build` Running `/usr/bin/rustc --crate-name heapless --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="cas"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("__trybuild", "cas", "default", "defmt", "defmt-impl", "mpmc_large", "serde", "ufmt-impl", "ufmt-write", "x86-sync-pool"))' -C metadata=796b2888838fe637 -C extra-filename=-796b2888838fe637 --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --extern hash32=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libhash32-102390f712e63579.rmeta --extern stable_deref_trait=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libstable_deref_trait-390dc290deb3d81e.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg has_cas --cfg has_atomics` warning: unexpected `cfg` condition name: `has_cas` --> src/lib.rs:82:11 | 82 | #[cfg(all(has_cas, feature = "cas"))] | ^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_cas)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_cas)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration note: the lint level is defined here --> src/lib.rs:74:9 | 74 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` warning: unexpected `cfg` condition name: `has_cas` --> src/lib.rs:107:11 | 107 | #[cfg(all(has_cas, feature = "cas"))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_cas)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_cas)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_cas` --> src/lib.rs:109:11 | 109 | #[cfg(all(has_cas, feature = "cas"))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_cas)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_cas)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_atomics` --> src/lib.rs:112:7 | 112 | #[cfg(has_atomics)] | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_atomics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_atomics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:93:39 | 93 | #[cfg(all(feature = "mpmc_large", not(cas_atomic_polyfill)))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:95:35 | 95 | #[cfg(all(feature = "mpmc_large", cas_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:97:44 | 97 | #[cfg(all(not(feature = "mpmc_large"), not(cas_atomic_polyfill)))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:99:40 | 99 | #[cfg(all(not(feature = "mpmc_large"), cas_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:102:11 | 102 | #[cfg(not(cas_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:104:7 | 104 | #[cfg(cas_atomic_polyfill)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv6m` --> src/pool/mod.rs:276:5 | 276 | armv6m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv6m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv6m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7a` --> src/pool/mod.rs:277:5 | 277 | armv7a, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7a)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7a)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7r` --> src/pool/mod.rs:278:5 | 278 | armv7r, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7r)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7r)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7m` --> src/pool/mod.rs:279:5 | 279 | armv7m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv8m_main` --> src/pool/mod.rs:280:5 | 280 | armv8m_main, | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv8m_main)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv8m_main)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv6m` --> src/pool/singleton.rs:20:5 | 20 | armv6m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv6m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv6m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7a` --> src/pool/singleton.rs:21:5 | 21 | armv7a, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7a)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7a)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7r` --> src/pool/singleton.rs:22:5 | 22 | armv7r, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7r)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7r)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7m` --> src/pool/singleton.rs:23:5 | 23 | armv7m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv8m_main` --> src/pool/singleton.rs:24:5 | 24 | armv8m_main, | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv8m_main)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv8m_main)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/pool/singleton/arc.rs:84:7 | 84 | #[cfg(cas_atomic_polyfill)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/pool/singleton/arc.rs:87:11 | 87 | #[cfg(not(cas_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv6m` --> src/pool/singleton/arc.rs:95:5 | 95 | armv6m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv6m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv6m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7a` --> src/pool/singleton/arc.rs:96:5 | 96 | armv7a, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7a)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7a)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7r` --> src/pool/singleton/arc.rs:97:5 | 97 | armv7r, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7r)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7r)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7m` --> src/pool/singleton/arc.rs:98:5 | 98 | armv7m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv8m_main` --> src/pool/singleton/arc.rs:99:5 | 99 | armv8m_main, | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv8m_main)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv8m_main)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/pool/llsc.rs:6:7 | 6 | #[cfg(cas_atomic_polyfill)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/pool/llsc.rs:9:11 | 9 | #[cfg(not(cas_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `full_atomic_polyfill` --> src/spsc.rs:89:7 | 89 | #[cfg(full_atomic_polyfill)] | ^^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(full_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(full_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `full_atomic_polyfill` --> src/spsc.rs:91:11 | 91 | #[cfg(not(full_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(full_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(full_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `heapless` (lib) generated 31 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 3.16s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.07XRFk + umask 022 + cd /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + '[' /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + mkdir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd heapless-0.7.17 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=heapless ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.7.17 + REG_DIR=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT/usr/share/cargo/registry/heapless-0.7.17 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT/usr/share/cargo/registry/heapless-0.7.17 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT/usr/share/cargo/registry/heapless-0.7.17 warning: no (git) VCS found for `/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT/usr/share/cargo/registry/heapless-0.7.17/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT/usr/share/cargo/registry/heapless-0.7.17/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT Scanned 10 directories and 35 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FpS6da + umask 022 + cd /builddir/build/BUILD/rust-heapless0.7-0.7.17-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd heapless-0.7.17 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j12 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh semver v1.0.23 Fresh rustc_version v0.4.1 Fresh byteorder v1.5.0 Fresh hash32 v0.2.1 Fresh stable_deref_trait v1.2.0 warning: unexpected `cfg` condition name: `has_cas` --> src/lib.rs:82:11 | 82 | #[cfg(all(has_cas, feature = "cas"))] | ^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_cas)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_cas)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration note: the lint level is defined here --> src/lib.rs:74:9 | 74 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` warning: unexpected `cfg` condition name: `has_cas` --> src/lib.rs:107:11 | 107 | #[cfg(all(has_cas, feature = "cas"))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_cas)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_cas)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_cas` --> src/lib.rs:109:11 | 109 | #[cfg(all(has_cas, feature = "cas"))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_cas)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_cas)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_atomics` --> src/lib.rs:112:7 | 112 | #[cfg(has_atomics)] | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_atomics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_atomics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:93:39 | 93 | #[cfg(all(feature = "mpmc_large", not(cas_atomic_polyfill)))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:95:35 | 95 | #[cfg(all(feature = "mpmc_large", cas_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:97:44 | 97 | #[cfg(all(not(feature = "mpmc_large"), not(cas_atomic_polyfill)))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:99:40 | 99 | #[cfg(all(not(feature = "mpmc_large"), cas_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:102:11 | 102 | #[cfg(not(cas_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/mpmc.rs:104:7 | 104 | #[cfg(cas_atomic_polyfill)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv6m` --> src/pool/mod.rs:276:5 | 276 | armv6m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv6m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv6m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7a` --> src/pool/mod.rs:277:5 | 277 | armv7a, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7a)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7a)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7r` --> src/pool/mod.rs:278:5 | 278 | armv7r, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7r)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7r)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7m` --> src/pool/mod.rs:279:5 | 279 | armv7m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv8m_main` --> src/pool/mod.rs:280:5 | 280 | armv8m_main, | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv8m_main)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv8m_main)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv6m` --> src/pool/singleton.rs:20:5 | 20 | armv6m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv6m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv6m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7a` --> src/pool/singleton.rs:21:5 | 21 | armv7a, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7a)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7a)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7r` --> src/pool/singleton.rs:22:5 | 22 | armv7r, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7r)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7r)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7m` --> src/pool/singleton.rs:23:5 | 23 | armv7m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv8m_main` --> src/pool/singleton.rs:24:5 | 24 | armv8m_main, | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv8m_main)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv8m_main)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/pool/singleton/arc.rs:84:7 | 84 | #[cfg(cas_atomic_polyfill)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/pool/singleton/arc.rs:87:11 | 87 | #[cfg(not(cas_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv6m` --> src/pool/singleton/arc.rs:95:5 | 95 | armv6m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv6m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv6m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7a` --> src/pool/singleton/arc.rs:96:5 | 96 | armv7a, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7a)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7a)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7r` --> src/pool/singleton/arc.rs:97:5 | 97 | armv7r, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7r)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7r)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv7m` --> src/pool/singleton/arc.rs:98:5 | 98 | armv7m, | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv7m)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv7m)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `armv8m_main` --> src/pool/singleton/arc.rs:99:5 | 99 | armv8m_main, | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(armv8m_main)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(armv8m_main)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/pool/llsc.rs:6:7 | 6 | #[cfg(cas_atomic_polyfill)] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `cas_atomic_polyfill` --> src/pool/llsc.rs:9:11 | 9 | #[cfg(not(cas_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cas_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cas_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `full_atomic_polyfill` --> src/spsc.rs:89:7 | 89 | #[cfg(full_atomic_polyfill)] | ^^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(full_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(full_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `full_atomic_polyfill` --> src/spsc.rs:91:11 | 91 | #[cfg(not(full_atomic_polyfill))] | ^^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(full_atomic_polyfill)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(full_atomic_polyfill)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration Compiling heapless v0.7.17 (/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17) warning: `heapless` (lib) generated 31 warnings Running `/usr/bin/rustc --crate-name cpass --edition=2018 tests/cpass.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="cas"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("__trybuild", "cas", "default", "defmt", "defmt-impl", "mpmc_large", "serde", "ufmt-impl", "ufmt-write", "x86-sync-pool"))' -C metadata=e43eabcf1549b077 -C extra-filename=-e43eabcf1549b077 --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --extern hash32=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libhash32-102390f712e63579.rlib --extern heapless=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libheapless-796b2888838fe637.rlib --extern stable_deref_trait=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libstable_deref_trait-390dc290deb3d81e.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg has_cas --cfg has_atomics` Running `/usr/bin/rustc --crate-name heapless --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="cas"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("__trybuild", "cas", "default", "defmt", "defmt-impl", "mpmc_large", "serde", "ufmt-impl", "ufmt-write", "x86-sync-pool"))' -C metadata=41650f74fc3a901a -C extra-filename=-41650f74fc3a901a --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --extern hash32=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libhash32-102390f712e63579.rlib --extern stable_deref_trait=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libstable_deref_trait-390dc290deb3d81e.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg has_cas --cfg has_atomics` Running `/usr/bin/rustc --crate-name tsan --edition=2018 tests/tsan.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="cas"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("__trybuild", "cas", "default", "defmt", "defmt-impl", "mpmc_large", "serde", "ufmt-impl", "ufmt-write", "x86-sync-pool"))' -C metadata=7a0576207e35aba5 -C extra-filename=-7a0576207e35aba5 --out-dir /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --extern hash32=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libhash32-102390f712e63579.rlib --extern heapless=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libheapless-796b2888838fe637.rlib --extern stable_deref_trait=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libstable_deref_trait-390dc290deb3d81e.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg has_cas --cfg has_atomics` warning: unexpected `cfg` condition name: `unstable_channel` --> tests/tsan.rs:53:7 | 53 | #[cfg(unstable_channel)] | ^^^^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unstable_channel)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unstable_channel)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration note: the lint level is defined here --> tests/tsan.rs:3:9 | 3 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` warning: unexpected `cfg` condition name: `unstable_channel` --> tests/tsan.rs:78:7 | 78 | #[cfg(unstable_channel)] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unstable_channel)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unstable_channel)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `unstable_channel` --> tests/tsan.rs:124:7 | 124 | #[cfg(unstable_channel)] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unstable_channel)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unstable_channel)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `unstable_channel` --> tests/tsan.rs:175:7 | 175 | #[cfg(unstable_channel)] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(unstable_channel)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(unstable_channel)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: creating a mutable reference to mutable static is discouraged --> tests/tsan.rs:13:23 | 13 | let rb = unsafe { &mut RB }; | ^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior = note: `#[warn(static_mut_refs)]` implied by `#[warn(warnings)]` help: use `addr_of_mut!` instead to create a raw pointer | 13 | let rb = unsafe { addr_of_mut!(RB) }; | ~~~~~~~~~~~~~ + warning: creating a mutable reference to mutable static is discouraged --> tests/tsan.rs:34:23 | 34 | let rb = unsafe { &mut RB }; | ^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 34 | let rb = unsafe { addr_of_mut!(RB) }; | ~~~~~~~~~~~~~ + warning: `heapless` (test "tsan") generated 6 warnings warning: creating a mutable reference to mutable static is discouraged --> src/pool/singleton.rs:362:26 | 362 | A::grow(unsafe { &mut MEMORY }); | ^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior = note: `#[warn(static_mut_refs)]` implied by `#[warn(warnings)]` help: use `addr_of_mut!` instead to create a raw pointer | 362 | A::grow(unsafe { addr_of_mut!(MEMORY) }); | ~~~~~~~~~~~~~ + warning: creating a mutable reference to mutable static is discouraged --> src/pool/mod.rs:598:23 | 598 | POOL.grow(&mut MEMORY); | ^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 598 | POOL.grow(addr_of_mut!(MEMORY)); | ~~~~~~~~~~~~~ + warning: creating a mutable reference to mutable static is discouraged --> src/pool/mod.rs:614:29 | 614 | POOL.grow_exact(&mut MEMORY); | ^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 614 | POOL.grow_exact(addr_of_mut!(MEMORY)); | ~~~~~~~~~~~~~ + warning: creating a mutable reference to mutable static is discouraged --> src/pool/mod.rs:633:28 | 633 | POOL.grow(unsafe { &mut MEMORY }); | ^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 633 | POOL.grow(unsafe { addr_of_mut!(MEMORY) }); | ~~~~~~~~~~~~~ + warning: creating a mutable reference to mutable static is discouraged --> src/pool/mod.rs:670:28 | 670 | POOL.grow(unsafe { &mut MEMORY }); | ^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 670 | POOL.grow(unsafe { addr_of_mut!(MEMORY) }); | ~~~~~~~~~~~~~ + warning: `heapless` (lib test) generated 36 warnings (31 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 6.41s Running `/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/heapless-41650f74fc3a901a` running 121 tests test binary_heap::tests::drop ... ok test binary_heap::tests::into_vec ... ok test binary_heap::tests::min ... ok test binary_heap::tests::max ... ok test binary_heap::tests::static_new ... ok test deque::tests::as_slices ... ok test deque::tests::clear ... ok test deque::tests::drop ... ok test deque::tests::empty ... ok test deque::tests::front_back ... ok test deque::tests::full ... ok test deque::tests::iter ... ok test deque::tests::iter_move ... ok test deque::tests::iter_move_drop ... ok test deque::tests::iter_mut ... ok test deque::tests::push_and_pop ... ok test deque::tests::stack_new ... ok test deque::tests::static_new ... ok test histbuf::tests::as_slice ... ok test histbuf::tests::clear ... ok test histbuf::tests::new ... ok test histbuf::tests::ordered ... ok test histbuf::tests::recent ... ok test histbuf::tests::write ... ok test indexmap::tests::first_last ... ok test indexmap::tests::entry_find ... ok test indexmap::tests::entry_occupied_insert ... ok test indexmap::tests::insert_replaces_on_full_map ... ok test indexmap::tests::partial_eq ... ok test indexmap::tests::entry_remove ... ok test indexmap::tests::entry_remove_entry ... ok test indexmap::tests::entry_vacant_insert ... ok test indexmap::tests::size ... ok test linear_map::test::partial_eq ... ok test linear_map::test::static_new ... ok test mpmc::tests::drain_at_pos255 ... ok test mpmc::tests::full_at_wrapped_pos0 ... ok test mpmc::tests::sanity ... ok test indexmap::tests::entry_roll_through_all ... ok test pool::singleton::tests::boxed_zst_is_well_aligned ... ok test pool::singleton::tests::destructors ... ok test indexmap::tests::into_iter ... ok test pool::singleton::tests::sanity ... ok test pool::tests::destructors ... ok test pool::tests::grow ... ok test pool::tests::grow_exact ... ok test pool::tests::sanity ... ok test sorted_linked_list::tests::const_new ... ok test sorted_linked_list::tests::test_empty ... ok test sorted_linked_list::tests::test_full ... ok test sorted_linked_list::tests::test_peek ... ok test sorted_linked_list::tests::test_rejected_push ... ok test sorted_linked_list::tests::test_updating ... ok test sorted_linked_list::tests::test_updating_1 ... ok test sorted_linked_list::tests::test_updating_2 ... ok test sorted_linked_list::tests::test_zero_size ... ok test spsc::tests::clone ... ok test spsc::tests::drop ... ok test spsc::tests::empty ... ok test spsc::tests::eq ... ok test spsc::tests::full ... ok test spsc::tests::hash_equality ... ok test spsc::tests::iter ... ok test spsc::tests::iter_double_ended ... ok test spsc::tests::iter_mut ... ok test spsc::tests::iter_mut_double_ended ... ok test spsc::tests::ready_flag ... ok test spsc::tests::sanity ... ok test spsc::tests::static_new ... ok test spsc::tests::wrap_around ... ok test string::tests::as_bytes ... ok test string::tests::as_mut_str ... ok test string::tests::as_str ... ok test string::tests::clear ... ok test string::tests::clone ... ok test string::tests::cmp ... ok test string::tests::cmp_heterogenous_size ... ok test string::tests::debug ... ok test string::tests::display ... ok test string::tests::empty ... ok test string::tests::from ... ok test string::tests::from_iter ... ok test string::tests::from_num ... ok test string::tests::from_str ... ok test string::tests::into_bytes ... ok test string::tests::is_empty ... ok test string::tests::pop ... ok test string::tests::pop_uenc ... ok test string::tests::push ... ok test string::tests::static_new ... ok test string::tests::from_panic - should panic ... ok test string::tests::truncate ... ok test vec::tests::cmp_heterogenous_size ... ok test string::tests::push_str ... ok test vec::tests::cmp_with_arrays_and_slices ... ok test vec::tests::collect_from_iter ... ok test vec::tests::collect_from_iter_overfull - should panic ... ok test vec::tests::drop ... ok test vec::tests::ends_with ... ok test vec::tests::eq ... ok test vec::tests::extend_from_slice ... ok test vec::tests::cmp ... ok test vec::tests::full ... ok test vec::tests::is_full_empty ... ok test vec::tests::iter ... ok test vec::tests::iter_move ... ok test vec::tests::from_slice ... ok test vec::tests::iter_mut ... ok test vec::tests::iter_move_drop ... ok test vec::tests::push_and_pop ... ok test vec::tests::resize_default ... ok test vec::tests::resize_size_limit ... ok test vec::tests::resize_contents ... ok test vec::tests::stack_new ... ok test vec::tests::static_new ... ok test vec::tests::resize_length_cases ... ok test vec::tests::starts_with ... ok test vec::tests::write ... ok test vec::tests::zero_capacity ... ok test spsc::tests::len ... ok test spsc::tests::try_overflow ... ok test result: ok. 121 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s Running `/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/cpass-e43eabcf1549b077` running 1 test test send ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/tsan-7a0576207e35aba5` running 4 tests test iterator_properly_wraps ... ok test len_properly_wraps ... ok test once ... ok test twice ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests heapless Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name heapless --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17 -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps --extern hash32=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libhash32-102390f712e63579.rlib --extern heapless=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libheapless-796b2888838fe637.rlib --extern stable_deref_trait=/builddir/build/BUILD/rust-heapless0.7-0.7.17-build/heapless-0.7.17/target/rpm/deps/libstable_deref_trait-390dc290deb3d81e.rlib -C embed-bitcode=no --cfg 'feature="cas"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("__trybuild", "cas", "default", "defmt", "defmt-impl", "mpmc_large", "serde", "ufmt-impl", "ufmt-write", "x86-sync-pool"))' --cfg has_cas --cfg has_atomics --error-format human` running 114 tests test src/deque.rs - deque::Deque::new (line 61) ... ok test src/binary_heap.rs - binary_heap::BinaryHeap::is_empty (line 175) ... ok test src/binary_heap.rs - binary_heap::BinaryHeap::iter (line 194) ... ok test src/binary_heap.rs - binary_heap::BinaryHeap::new (line 110) ... ok test src/binary_heap.rs - binary_heap::BinaryHeap::len (line 160) ... ok test src/binary_heap.rs - binary_heap::BinaryHeap::clear (line 141) ... ok test src/binary_heap.rs - binary_heap::BinaryHeap::peek (line 224) ... ok test src/binary_heap.rs - binary_heap::BinaryHeap::push (line 312) ... ok test src/binary_heap.rs - binary_heap::BinaryHeap (line 62) ... ok test src/binary_heap.rs - binary_heap::BinaryHeap::pop (line 279) ... ok test src/binary_heap.rs - binary_heap::BinaryHeap::peek_mut (line 249) ... ok test src/deque.rs - deque::Deque (line 11) ... ok test src/histbuf.rs - histbuf::HistoryBuffer::new (line 52) ... ok test src/histbuf.rs - histbuf::HistoryBuffer::new_with (line 86) ... ok test src/histbuf.rs - histbuf::HistoryBuffer::recent (line 159) ... ok test src/indexmap.rs - indexmap::IndexMap::clear (line 716) ... ok test src/histbuf.rs - histbuf::HistoryBuffer (line 14) ... ok test src/histbuf.rs - histbuf::HistoryBuffer::oldest_ordered (line 189) ... ok test src/indexmap.rs - indexmap::IndexMap::get (line 738) ... ok test src/indexmap.rs - indexmap::IndexMap::contains_key (line 764) ... ok test src/indexmap.rs - indexmap::IndexMap::entry (line 648) ... ok test src/indexmap.rs - indexmap::FnvIndexMap (line 13) ... ok test src/indexmap.rs - indexmap::IndexMap (line 440) ... ok test src/indexmap.rs - indexmap::IndexMap::get_mut (line 789) ... ok test src/indexmap.rs - indexmap::IndexMap::is_empty (line 700) ... ok test src/indexmap.rs - indexmap::IndexMap::iter (line 565) ... ok test src/indexmap.rs - indexmap::IndexMap::insert (line 827) ... ok test src/indexmap.rs - indexmap::IndexMap::len (line 684) ... ok test src/indexmap.rs - indexmap::IndexMap::keys (line 507) ... ok test src/indexmap.rs - indexmap::IndexMap::iter_mut (line 585) ... ok test src/indexset.rs - indexset::IndexSet::capacity (line 99) ... ok test src/indexmap.rs - indexmap::IndexMap::remove (line 852) ... ok test src/indexset.rs - indexset::FnvIndexSet (line 11) ... ok test src/indexmap.rs - indexmap::IndexMap::values_mut (line 543) ... ok test src/indexset.rs - indexset::IndexSet (line 51) ... ok test src/indexmap.rs - indexmap::IndexMap::values (line 525) ... ok test src/indexset.rs - indexset::IndexSet::clear (line 311) ... ok test src/indexset.rs - indexset::IndexSet::insert (line 428) ... ok test src/indexset.rs - indexset::IndexSet::contains (line 330) ... ok test src/indexset.rs - indexset::IndexSet::is_empty (line 295) ... ok test src/indexset.rs - indexset::IndexSet::is_disjoint (line 350) ... ok test src/indexset.rs - indexset::IndexSet::difference (line 150) ... ok test src/indexset.rs - indexset::IndexSet::intersection (line 219) ... ok test src/indexset.rs - indexset::IndexSet::is_subset (line 374) ... ok test src/indexset.rs - indexset::IndexSet::remove (line 451) ... ok test src/indexset.rs - indexset::IndexSet::len (line 279) ... ok test src/indexset.rs - indexset::IndexSet::iter (line 113) ... ok test src/indexset.rs - indexset::IndexSet::is_superset (line 398) ... ok test src/linear_map.rs - linear_map::LinearMap::capacity (line 41) ... ok test src/indexset.rs - indexset::IndexSet::symmetric_difference (line 187) ... ok test src/lib.rs - (line 11) ... ok test src/linear_map.rs - linear_map::LinearMap::clear (line 57) ... ok test src/linear_map.rs - linear_map::LinearMap::contains_key (line 75) ... ok test src/indexset.rs - indexset::IndexSet::union (line 251) ... ok test src/linear_map.rs - linear_map::LinearMap::get (line 93) ... ok test src/mpmc.rs - mpmc (line 12) ... ignored test src/pool/mod.rs - pool (line 15) ... ignored test src/pool/mod.rs - pool (line 83) ... ignored test src/linear_map.rs - linear_map::LinearMap::get_mut (line 117) ... ok test src/pool/singleton/arc.rs - pool::singleton::arc (line 10) ... ignored test src/pool/singleton/arc.rs - pool::singleton::arc (line 54) ... ignored test src/linear_map.rs - linear_map::LinearMap::is_empty (line 192) ... ok test src/linear_map.rs - linear_map::LinearMap::insert (line 165) ... ok test src/linear_map.rs - linear_map::LinearMap::iter_mut (line 231) ... ok test src/linear_map.rs - linear_map::LinearMap::iter (line 208) ... ok test src/linear_map.rs - linear_map::LinearMap::new (line 17) ... ok test src/linear_map.rs - linear_map::LinearMap::len (line 143) ... ok test src/linear_map.rs - linear_map::LinearMap::keys (line 258) ... ok test src/linear_map.rs - linear_map::LinearMap::remove (line 281) ... ok test src/sorted_linked_list.rs - sorted_linked_list::SortedLinkedList::find_mut (line 347) ... ok test src/linear_map.rs - linear_map::LinearMap::values_mut (line 327) ... ok test src/sorted_linked_list.rs - sorted_linked_list::SortedLinkedList::is_empty (line 499) ... ok test src/sorted_linked_list.rs - sorted_linked_list (line 8) ... ok test src/sorted_linked_list.rs - sorted_linked_list::FindMut<'a,T,Idx,K,N>::finish (line 619) ... ok test src/sorted_linked_list.rs - sorted_linked_list::FindMut<'a,T,Idx,K,N>::pop (line 589) ... ok test src/linear_map.rs - linear_map::LinearMap::values (line 307) ... ok test src/sorted_linked_list.rs - sorted_linked_list::SortedLinkedList::is_full (line 477) ... ok test src/sorted_linked_list.rs - sorted_linked_list::SortedLinkedList::iter (line 323) ... ok test src/sorted_linked_list.rs - sorted_linked_list::SortedLinkedList::pop (line 454) ... ok test src/sorted_linked_list.rs - sorted_linked_list::SortedLinkedList::peek (line 405) ... ok test src/string.rs - string::String::as_str (line 61) ... ok test src/spsc.rs - spsc (line 12) ... ok test src/string.rs - string::String::as_mut_str (line 81) ... ok test src/string.rs - string::String::capacity (line 149) ... ok test src/spsc.rs - spsc (line 27) ... ok test src/spsc.rs - spsc::Queue::peek (line 192) ... ok test src/sorted_linked_list.rs - sorted_linked_list::SortedLinkedList::push (line 294) ... ok test src/spsc.rs - spsc::Consumer<'a,T,N>::peek (line 539) ... ok test src/string.rs - string::String::as_mut_vec (line 106) ... ok test src/string.rs - string::String::new (line 19) ... ok test src/string.rs - string::String::clear (line 269) ... ok test src/string.rs - string::String::into_bytes (line 41) ... ok test src/string.rs - string::String::pop (line 236) ... ok test src/string.rs - string::String::truncate (line 209) ... ok test src/string.rs - string::String::push_str (line 127) ... ok test src/vec.rs - vec::Vec::ends_with (line 554) ... ok test src/vec.rs - vec::Vec::as_slice (line 126) ... ok test src/string.rs - string::String::push (line 168) ... ok test src/vec.rs - vec::Vec::as_mut_slice (line 169) ... ok test src/vec.rs - vec::Vec::extend_from_slice (line 212) ... ok test src/vec.rs - vec::Vec (line 11) ... ok test src/vec.rs - vec::Vec::set_len (line 372) - compile ... ok test src/vec.rs - vec::Vec::from_slice (line 79) ... ok test src/vec.rs - vec::Vec::insert (line 582) ... ok test src/vec.rs - vec::Vec::into_array (line 142) ... ok test src/vec.rs - vec::Vec::new (line 54) ... ok test src/vec.rs - vec::Vec::retain (line 679) ... ok test src/vec.rs - vec::Vec::remove (line 641) ... ok test src/vec.rs - vec::Vec::set_len (line 414) ... ok test src/vec.rs - vec::Vec::retain (line 690) ... ok test src/vec.rs - vec::Vec::retain_mut (line 714) ... ok test src/vec.rs - vec::Vec::swap_remove (line 455) ... ok test src/vec.rs - vec::Vec::starts_with (line 531) ... ok test src/vec.rs - vec::Vec::swap_remove_unchecked (line 488) ... ok test result: ok. 109 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 2.73s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-heapless0.7-devel-0.7.17-2.fc41.noarch warning: File listed twice: /usr/share/cargo/registry/heapless-0.7.17/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/heapless-0.7.17/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/heapless-0.7.17/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/heapless-0.7.17/README.md warning: File listed twice: /usr/share/cargo/registry/heapless-0.7.17/suppressions.txt Provides: crate(heapless) = 0.7.17 rust-heapless0.7-devel = 0.7.17-2.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(hash32/default) >= 0.2.1 with crate(hash32/default) < 0.3.0~) (crate(rustc_version/default) >= 0.4.0 with crate(rustc_version/default) < 0.5.0~) (crate(spin/default) >= 0.9.2 with crate(spin/default) < 0.10.0~) (crate(stable_deref_trait) >= 1.0.0 with crate(stable_deref_trait) < 2.0.0~) cargo Processing files: rust-heapless0.7+default-devel-0.7.17-2.fc41.noarch Provides: crate(heapless/default) = 0.7.17 rust-heapless0.7+default-devel = 0.7.17-2.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(heapless) = 0.7.17 crate(heapless/cas) = 0.7.17 Processing files: rust-heapless0.7+cas-devel-0.7.17-2.fc41.noarch Provides: crate(heapless/cas) = 0.7.17 rust-heapless0.7+cas-devel = 0.7.17-2.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(heapless) = 0.7.17 Processing files: rust-heapless0.7+mpmc_large-devel-0.7.17-2.fc41.noarch Provides: crate(heapless/mpmc_large) = 0.7.17 rust-heapless0.7+mpmc_large-devel = 0.7.17-2.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(heapless) = 0.7.17 Processing files: rust-heapless0.7+serde-devel-0.7.17-2.fc41.noarch Provides: crate(heapless/serde) = 0.7.17 rust-heapless0.7+serde-devel = 0.7.17-2.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0~) cargo crate(heapless) = 0.7.17 Processing files: rust-heapless0.7+ufmt-impl-devel-0.7.17-2.fc41.noarch Provides: crate(heapless/ufmt-impl) = 0.7.17 rust-heapless0.7+ufmt-impl-devel = 0.7.17-2.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(heapless) = 0.7.17 crate(heapless/ufmt-write) = 0.7.17 Processing files: rust-heapless0.7+ufmt-write-devel-0.7.17-2.fc41.noarch Provides: crate(heapless/ufmt-write) = 0.7.17 rust-heapless0.7+ufmt-write-devel = 0.7.17-2.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(ufmt-write/default) >= 0.1.0 with crate(ufmt-write/default) < 0.2.0~) cargo crate(heapless) = 0.7.17 Processing files: rust-heapless0.7+x86-sync-pool-devel-0.7.17-2.fc41.noarch Provides: crate(heapless/x86-sync-pool) = 0.7.17 rust-heapless0.7+x86-sync-pool-devel = 0.7.17-2.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(heapless) = 0.7.17 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-heapless0.7-0.7.17-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-heapless0.7-0.7.17-2.fc41.src.rpm Wrote: /builddir/build/RPMS/rust-heapless0.7+cas-devel-0.7.17-2.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-heapless0.7+ufmt-impl-devel-0.7.17-2.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-heapless0.7+mpmc_large-devel-0.7.17-2.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-heapless0.7+ufmt-write-devel-0.7.17-2.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-heapless0.7+default-devel-0.7.17-2.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-heapless0.7+serde-devel-0.7.17-2.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-heapless0.7+x86-sync-pool-devel-0.7.17-2.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-heapless0.7-devel-0.7.17-2.fc41.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/heapless-0.7.17/CHANGELOG.md File listed twice: /usr/share/cargo/registry/heapless-0.7.17/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/heapless-0.7.17/LICENSE-MIT File listed twice: /usr/share/cargo/registry/heapless-0.7.17/README.md File listed twice: /usr/share/cargo/registry/heapless-0.7.17/suppressions.txt Child return code was: 0