Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-cpython.spec'], chrootPath='/var/lib/mock/f40-build-50508230-6046527/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.ki4mdqp2:/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.ki4mdqp2:/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', '118edfdea41e4ff0b4ae7c18d0f2184a', '-D', '/var/lib/mock/f40-build-50508230-6046527/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ki4mdqp2:/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 x86_64 --nodeps /builddir/build/SPECS/rust-cpython.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/rust-cpython-0.7.1-2.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-cpython.spec'], chrootPath='/var/lib/mock/f40-build-50508230-6046527/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.ki4mdqp2:/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.ki4mdqp2:/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', '4800b18b6cb9455e9cc95add53019107', '-D', '/var/lib/mock/f40-build-50508230-6046527/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ki4mdqp2:/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 x86_64 --nodeps /builddir/build/SPECS/rust-cpython.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dskPJY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cpython-0.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cpython-0.7.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd cpython-0.7.1 + rm -rf /builddir/build/BUILD/cpython-0.7.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/cpython-0.7.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cpython-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm tests/check_symbols.py + 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 + find -type f -executable -exec chmod -x '{}' + + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.8aFPcw + umask 022 + cd /builddir/build/BUILD + cd cpython-0.7.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-cpython-0.7.1-2.fc40.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 x86_64 --nodeps /builddir/build/SPECS/rust-cpython.spec'], chrootPath='/var/lib/mock/f40-build-50508230-6046527/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.ki4mdqp2:/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.ki4mdqp2:/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', '6d0a6b0ab88241e8b5e26550c0df292d', '-D', '/var/lib/mock/f40-build-50508230-6046527/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ki4mdqp2:/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 x86_64 --nodeps /builddir/build/SPECS/rust-cpython.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.VfrfV5 + umask 022 + cd /builddir/build/BUILD + cd cpython-0.7.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-cpython-0.7.1-2.fc40.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 x86_64 /builddir/build/SPECS/rust-cpython.spec'], chrootPath='/var/lib/mock/f40-build-50508230-6046527/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.ki4mdqp2:/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.ki4mdqp2:/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', 'ba87ef42450142f880e08ecfc16452a6', '-D', '/var/lib/mock/f40-build-50508230-6046527/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ki4mdqp2:/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 x86_64 /builddir/build/SPECS/rust-cpython.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Z2Y8Ul + umask 022 + cd /builddir/build/BUILD + cd cpython-0.7.1 + /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.qhEBB9 + umask 022 + cd /builddir/build/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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-errors -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 cpython-0.7.1 + /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 -j6 -Z avoid-dev-deps --profile rpm Compiling memchr v2.7.2 Compiling regex-syntax v0.8.3 Compiling libc v0.2.153 Compiling autocfg v1.1.0 Compiling paste v1.0.14 Compiling cpython v0.7.1 (/builddir/build/BUILD/cpython-0.7.1) Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.2/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="alloc"' --cfg 'feature="std"' -C metadata=b81bc99b30d40115 -C extra-filename=-b81bc99b30d40115 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/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 regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.3/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"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=399f29856fe3ec4f -C extra-filename=-399f29856fe3ec4f --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/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 autocfg /usr/share/cargo/registry/autocfg-1.1.0/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 -C metadata=d7334cdac8eff414 -C extra-filename=-d7334cdac8eff414 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/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 build_script_build /usr/share/cargo/registry/libc-0.2.153/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"' -C metadata=44e8e3d1e4d9e94e -C extra-filename=-44e8e3d1e4d9e94e --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/build/libc-44e8e3d1e4d9e94e -L dependency=/builddir/build/BUILD/cpython-0.7.1/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 build_script_build --edition=2018 /usr/share/cargo/registry/paste-1.0.14/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 -C metadata=f99450a63459f56a -C extra-filename=-f99450a63459f56a --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/build/paste-f99450a63459f56a -L dependency=/builddir/build/BUILD/cpython-0.7.1/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 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="default"' --cfg 'feature="python3-sys"' -C metadata=f06b3f6e37426c6d -C extra-filename=-f06b3f6e37426c6d --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/build/cpython-f06b3f6e37426c6d -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -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/cpython-0.7.1/target/rpm/build/paste-f99450a63459f56a/build-script-build` Running `/usr/bin/rustc --crate-name paste --edition=2018 /usr/share/cargo/registry/paste-1.0.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=4381a87f4d675306 -C extra-filename=-4381a87f4d675306 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern proc_macro --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 aho-corasick v1.1.3 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2021 /usr/share/cargo/registry/aho-corasick-1.1.3/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="perf-literal"' --cfg 'feature="std"' -C metadata=a6a8bdcfa2a59fe1 -C extra-filename=-a6a8bdcfa2a59fe1 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern memchr=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libmemchr-b81bc99b30d40115.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/cpython-0.7.1/target/rpm/build/libc-44e8e3d1e4d9e94e/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.153/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="default"' --cfg 'feature="std"' -C metadata=e2d90e8f7b57c0de -C extra-filename=-e2d90e8f7b57c0de --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/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 --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling num-traits v0.2.18 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/num-traits-0.2.18/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"' -C metadata=787d8a6cf20e5808 -C extra-filename=-787d8a6cf20e5808 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/build/num-traits-787d8a6cf20e5808 -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern autocfg=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libautocfg-d7334cdac8eff414.rlib --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/cpython-0.7.1/target/rpm/build/num-traits-787d8a6cf20e5808/build-script-build` Running `/usr/bin/rustc --crate-name num_traits --edition=2018 /usr/share/cargo/registry/num-traits-0.2.18/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="default"' --cfg 'feature="std"' -C metadata=dfd8cf18cba7662d -C extra-filename=-dfd8cf18cba7662d --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/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 --cfg has_to_int_unchecked --cfg has_reverse_bits --cfg has_leading_trailing_ones --cfg has_div_euclid --cfg has_copysign --cfg has_is_subnormal --cfg has_total_cmp --cfg has_int_to_from_bytes --cfg has_float_to_from_bytes` Compiling regex-automata v0.4.6 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.6/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="alloc"' --cfg 'feature="dfa-onepass"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' -C metadata=fc79ce041b19f830 -C extra-filename=-fc79ce041b19f830 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libaho_corasick-a6a8bdcfa2a59fe1.rmeta --extern memchr=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libmemchr-b81bc99b30d40115.rmeta --extern regex_syntax=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libregex_syntax-399f29856fe3ec4f.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 regex v1.10.3 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.10.3/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="perf"' --cfg 'feature="perf-backtrack"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-onepass"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=1c9570cd9d8dae6e -C extra-filename=-1c9570cd9d8dae6e --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern aho_corasick=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libaho_corasick-a6a8bdcfa2a59fe1.rmeta --extern memchr=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libmemchr-b81bc99b30d40115.rmeta --extern regex_automata=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libregex_automata-fc79ce041b19f830.rmeta --extern regex_syntax=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libregex_syntax-399f29856fe3ec4f.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 python3-sys v0.7.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/python3-sys-0.7.1/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="python-3"' -C metadata=9b8ae37f901f176a -C extra-filename=-9b8ae37f901f176a --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/build/python3-sys-9b8ae37f901f176a -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern regex=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libregex-1c9570cd9d8dae6e.rlib --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/cpython-0.7.1/target/rpm/build/python3-sys-9b8ae37f901f176a/build-script-build` Running `/builddir/build/BUILD/cpython-0.7.1/target/rpm/build/cpython-f06b3f6e37426c6d/build-script-build` Running `/usr/bin/rustc --crate-name python3_sys --edition=2018 /usr/share/cargo/registry/python3-sys-0.7.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 --cfg 'feature="default"' --cfg 'feature="python-3"' -C metadata=88dc7bc9a440a5e9 -C extra-filename=-88dc7bc9a440a5e9 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.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 -L native=/usr/lib64 -l python3.12 --cfg Py_3_4 --cfg Py_3_5 --cfg Py_3_6 --cfg Py_3_7 --cfg Py_3_8 --cfg Py_3_9 --cfg Py_3_10 --cfg Py_3_11 --cfg Py_3_12` Running `/usr/bin/rustc --crate-name cpython --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="default"' --cfg 'feature="python3-sys"' -C metadata=55cace988ff0ba53 -C extra-filename=-55cace988ff0ba53 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rmeta --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rmeta --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.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 -L native=/usr/lib64` warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/boolobject.rs:10:1 | 10 | pyobject_newtype!(PyBool, PyBool_Check, PyBool_Type); | ---------------------------------------------------- in this macro invocation | = 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)]` on by default = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyBool_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/capsule.rs:190:1 | 190 | pyobject_newtype!(PyCapsule, PyCapsule_CheckExact, PyCapsule_Type); | ------------------------------------------------------------------ in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyCapsule_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/dict.rs:30:1 | 30 | pyobject_newtype!(PyDict, PyDict_Check, PyDict_Type); | ---------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyDict_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/list.rs:28:1 | 28 | pyobject_newtype!(PyList, PyList_Check, PyList_Type); | ---------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyList_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/module.rs:33:1 | 33 | pyobject_newtype!(PyModule, PyModule_Check, PyModule_Type); | ---------------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyModule_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/num.rs:56:1 | 56 | pyobject_newtype!(PyLong, PyLong_Check, PyLong_Type); | ---------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyLong_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/num.rs:65:1 | 65 | pyobject_newtype!(PyFloat, PyFloat_Check, PyFloat_Type); | ------------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyFloat_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/object.rs:113:44 | 113 | unsafe { PyType::from_type_ptr(py, &mut ffi::PyBaseObject_Type) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 | 113 | unsafe { PyType::from_type_ptr(py, addr_of_mut!(ffi::PyBaseObject_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/set.rs:30:1 | 30 | pyobject_newtype!(PySet, PySet_Check, PySet_Type); | ------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PySet_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/string.rs:36:1 | 36 | pyobject_newtype!(PyString, PyUnicode_Check, PyUnicode_Type); | ------------------------------------------------------------ in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyUnicode_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/string.rs:42:1 | 42 | pyobject_newtype!(PyBytes, PyBytes_Check, PyBytes_Type); | ------------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyBytes_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/tuple.rs:31:1 | 31 | pyobject_newtype!(PyTuple, PyTuple_Check, PyTuple_Type); | ------------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyTuple_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/typeobject.rs:31:1 | 31 | pyobject_newtype!(PyType, PyType_Check, PyType_Type); | ---------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyType_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: `cpython` (lib) generated 13 warnings Finished rpm [optimized + debuginfo] target(s) in 33.07s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.k4PN6E + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-cpython-0.7.1-2.fc40.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-cpython-0.7.1-2.fc40.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-cpython-0.7.1-2.fc40.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-cpython-0.7.1-2.fc40.x86_64 + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-errors -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 cpython-0.7.1 + 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=cpython ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.7.1 + REG_DIR=/builddir/build/BUILDROOT/rust-cpython-0.7.1-2.fc40.x86_64/usr/share/cargo/registry/cpython-0.7.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-cpython-0.7.1-2.fc40.x86_64/usr/share/cargo/registry/cpython-0.7.1 + /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/BUILDROOT/rust-cpython-0.7.1-2.fc40.x86_64/usr/share/cargo/registry/cpython-0.7.1 warning: No (git) VCS found for `/builddir/build/BUILD/cpython-0.7.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-cpython-0.7.1-2.fc40.x86_64/usr/share/cargo/registry/cpython-0.7.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-cpython-0.7.1-2.fc40.x86_64/usr/share/cargo/registry/cpython-0.7.1/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 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FkemU9 + umask 022 + cd /builddir/build/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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-errors -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 cpython-0.7.1 + /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 -j6 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh memchr v2.7.2 Fresh aho-corasick v1.1.3 Fresh regex-syntax v0.8.3 Fresh regex-automata v0.4.6 Fresh regex v1.10.3 Fresh autocfg v1.1.0 Compiling serde v1.0.197 Compiling rustversion v1.0.14 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.197/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="std"' -C metadata=0325c51e2fc864a5 -C extra-filename=-0325c51e2fc864a5 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/build/serde-0325c51e2fc864a5 -L dependency=/builddir/build/BUILD/cpython-0.7.1/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` Fresh libc v0.2.153 Fresh paste v1.0.14 Fresh num-traits v0.2.18 Fresh python3-sys v0.7.1 Compiling half v1.8.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/rustversion-1.0.14/build/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 -C metadata=e0a68bcf514b748a -C extra-filename=-e0a68bcf514b748a --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/build/rustversion-e0a68bcf514b748a -L dependency=/builddir/build/BUILD/cpython-0.7.1/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` warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/boolobject.rs:10:1 | 10 | pyobject_newtype!(PyBool, PyBool_Check, PyBool_Type); | ---------------------------------------------------- in this macro invocation | = 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)]` on by default = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyBool_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/capsule.rs:190:1 | 190 | pyobject_newtype!(PyCapsule, PyCapsule_CheckExact, PyCapsule_Type); | ------------------------------------------------------------------ in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyCapsule_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/dict.rs:30:1 | 30 | pyobject_newtype!(PyDict, PyDict_Check, PyDict_Type); | ---------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyDict_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/list.rs:28:1 | 28 | pyobject_newtype!(PyList, PyList_Check, PyList_Type); | ---------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyList_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/module.rs:33:1 | 33 | pyobject_newtype!(PyModule, PyModule_Check, PyModule_Type); | ---------------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyModule_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/num.rs:56:1 | 56 | pyobject_newtype!(PyLong, PyLong_Check, PyLong_Type); | ---------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyLong_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/num.rs:65:1 | 65 | pyobject_newtype!(PyFloat, PyFloat_Check, PyFloat_Type); | ------------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyFloat_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/object.rs:113:44 | 113 | unsafe { PyType::from_type_ptr(py, &mut ffi::PyBaseObject_Type) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 | 113 | unsafe { PyType::from_type_ptr(py, addr_of_mut!(ffi::PyBaseObject_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/set.rs:30:1 | 30 | pyobject_newtype!(PySet, PySet_Check, PySet_Type); | ------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PySet_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/string.rs:36:1 | 36 | pyobject_newtype!(PyString, PyUnicode_Check, PyUnicode_Type); | ------------------------------------------------------------ in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyUnicode_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/string.rs:42:1 | 42 | pyobject_newtype!(PyBytes, PyBytes_Check, PyBytes_Type); | ------------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyBytes_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/tuple.rs:31:1 | 31 | pyobject_newtype!(PyTuple, PyTuple_Check, PyTuple_Type); | ------------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyTuple_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/objects/mod.rs:119:80 | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | ::: src/objects/typeobject.rs:31:1 | 31 | pyobject_newtype!(PyType, PyType_Check, PyType_Type); | ---------------------------------------------------- in this macro invocation | = 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: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `addr_of_mut!` instead to create a raw pointer | 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::PyType_Type)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Running `/usr/bin/rustc --crate-name half --edition=2018 /usr/share/cargo/registry/half-1.8.2/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 -C metadata=64304e77ec6b54d9 -C extra-filename=-64304e77ec6b54d9 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/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` warning: `cpython` (lib) generated 13 warnings Running `/builddir/build/BUILD/cpython-0.7.1/target/rpm/build/serde-0325c51e2fc864a5/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.197/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="std"' -C metadata=3a1388b85101a351 -C extra-filename=-3a1388b85101a351 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/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 `/builddir/build/BUILD/cpython-0.7.1/target/rpm/build/rustversion-e0a68bcf514b748a/build-script-build` Running `/usr/bin/rustc --crate-name rustversion --edition=2018 /usr/share/cargo/registry/rustversion-1.0.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=5d7d0b8db462e016 -C extra-filename=-5d7d0b8db462e016 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern proc_macro --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 serde_cbor v0.11.2 Compiling serde_bytes v0.11.14 Running `/usr/bin/rustc --crate-name serde_cbor --edition=2018 /usr/share/cargo/registry/serde_cbor-0.11.2/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="default"' --cfg 'feature="std"' -C metadata=b67a4c8843ce0d7e -C extra-filename=-b67a4c8843ce0d7e --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern half=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libhalf-64304e77ec6b54d9.rmeta --extern serde=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde-3a1388b85101a351.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 `/usr/bin/rustc --crate-name serde_bytes --edition=2018 /usr/share/cargo/registry/serde_bytes-0.11.14/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="default"' --cfg 'feature="std"' -C metadata=8caa63e1c940ce70 -C extra-filename=-8caa63e1c940ce70 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern serde=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde-3a1388b85101a351.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 cpython v0.7.1 (/builddir/build/BUILD/cpython-0.7.1) Running `/usr/bin/rustc --crate-name test_thread_exit --edition=2018 tests/test_thread_exit.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="default"' --cfg 'feature="python3-sys"' -C metadata=232691b04006c63e -C extra-filename=-232691b04006c63e --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern cpython=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name test_function --edition=2018 tests/test_function.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="default"' --cfg 'feature="python3-sys"' -C metadata=78f33e3ee8c937f0 -C extra-filename=-78f33e3ee8c937f0 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern cpython=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name cpython --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="default"' --cfg 'feature="python3-sys"' -C metadata=4ab86a12bd3f2b2c -C extra-filename=-4ab86a12bd3f2b2c --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name test_sharedref --edition=2018 tests/test_sharedref.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="default"' --cfg 'feature="python3-sys"' -C metadata=7a87a560a7d1d955 -C extra-filename=-7a87a560a7d1d955 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern cpython=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name test_class --edition=2018 tests/test_class.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="default"' --cfg 'feature="python3-sys"' -C metadata=c0126499118d396e -C extra-filename=-c0126499118d396e --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern cpython=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name hello --edition=2018 examples/hello.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="python3-sys"' -C metadata=27184afa45e1180a -C extra-filename=-27184afa45e1180a --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/examples -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern cpython=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/test_function.rs:114:9 | 114 | drop(py); // avoid unused variable warning | ^^^^^--^ | | | argument has type `Python<'_>` | = note: use `let _ = ...` to ignore the expression or result = note: `#[warn(dropping_copy_types)]` on by default warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/test_function.rs:133:9 | 133 | drop(py); | ^^^^^--^ | | | argument has type `Python<'_>` | = note: use `let _ = ...` to ignore the expression or result error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" VSLANG="1033" "cc" "-m64" "/tmp/rustcizExyA/symbols.o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/examples/hello-27184afa45e1180a.hello.38744afe7643bb13-cgu.0.rcgu.o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/examples/hello-27184afa45e1180a.1tazk5zfcw1jbyzn.rcgu.o" "-Wl,--as-needed" "-L" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps" "-L" "/usr/lib64" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f396b629468277b0.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1f92a8b231363a34.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d576f81d7cf816b9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-081901a22a16e855.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-989048ecea51f543.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-455a78ce82dee426.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-6234317b2e0fd06e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-c52104a341de123c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d39a15e3d753ab48.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c20a937b842a0a91.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2c35c53e00b6d59.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-c348a011c61919e1.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-30910e49c0e76eee.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-152207f246c9f0e9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b2cc2ff0bb492bdf.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-d42162f1b1beca2b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-80f2c48adae8e1c6.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3160b73e2f852dc7.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-07fd50d0dd6fe3d3.rlib" "-Wl,-Bdynamic" "-lpython3.12" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/examples/hello-27184afa45e1180a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-specs=/usr/lib/rpm/redhat/redhat-package-notes" = note: /usr/bin/ld: /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib(cpython-55cace988ff0ba53.cpython.3ee327794c994b63-cgu.0.rcgu.o): in function `python3_sys::unicodeobject::PyUnicode_READY': /usr/share/cargo/registry/python3-sys-0.7.1/src/unicodeobject.rs:544:(.text._ZN7cpython7objects6string8PyString15to_string_lossy17hc10ab06cf9ac5c2dE+0x1e): undefined reference to `_PyUnicode_Ready' collect2: error: ld returned 1 exit status = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` flag to specify native libraries to link = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) error: could not compile `cpython` (example "hello") due to 1 previous error Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name hello --edition=2018 examples/hello.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="python3-sys"' -C metadata=27184afa45e1180a -C extra-filename=-27184afa45e1180a --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/examples -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern cpython=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` (exit status: 1) warning: build failed, waiting for other jobs to finish... error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" VSLANG="1033" "cc" "-m64" "/tmp/rustc7YyiST/symbols.o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/test_sharedref-7a87a560a7d1d955.test_sharedref.71133ed2836a42c9-cgu.0.rcgu.o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/test_sharedref-7a87a560a7d1d955.52gvaeas4jo7yuiv.rcgu.o" "-Wl,--as-needed" "-L" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps" "-L" "/usr/lib64" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-2e0a38cae6d501cd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-6d0663c36552757f.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3ec8617c021b3b77.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ecee795f1e6f8957.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f396b629468277b0.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1f92a8b231363a34.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d576f81d7cf816b9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-081901a22a16e855.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-989048ecea51f543.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-455a78ce82dee426.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-6234317b2e0fd06e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-c52104a341de123c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d39a15e3d753ab48.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c20a937b842a0a91.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2c35c53e00b6d59.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-c348a011c61919e1.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-30910e49c0e76eee.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-152207f246c9f0e9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b2cc2ff0bb492bdf.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-d42162f1b1beca2b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-80f2c48adae8e1c6.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3160b73e2f852dc7.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-07fd50d0dd6fe3d3.rlib" "-Wl,-Bdynamic" "-lpython3.12" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/test_sharedref-7a87a560a7d1d955" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-specs=/usr/lib/rpm/redhat/redhat-package-notes" = note: /usr/bin/ld: /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib(cpython-55cace988ff0ba53.cpython.3ee327794c994b63-cgu.0.rcgu.o): in function `python3_sys::unicodeobject::PyUnicode_READY': /usr/share/cargo/registry/python3-sys-0.7.1/src/unicodeobject.rs:544:(.text._ZN7cpython7objects6string8PyString15to_string_lossy17hc10ab06cf9ac5c2dE+0x1e): undefined reference to `_PyUnicode_Ready' collect2: error: ld returned 1 exit status = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` flag to specify native libraries to link = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) error: could not compile `cpython` (test "test_sharedref") due to 1 previous error Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name test_sharedref --edition=2018 tests/test_sharedref.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="default"' --cfg 'feature="python3-sys"' -C metadata=7a87a560a7d1d955 -C extra-filename=-7a87a560a7d1d955 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern cpython=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` (exit status: 1) error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" VSLANG="1033" "cc" "-m64" "/tmp/rustcNutLwn/symbols.o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/test_function-78f33e3ee8c937f0.test_function.7b9e279033b4f9a7-cgu.0.rcgu.o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/test_function-78f33e3ee8c937f0.4eq8h0w3awvj2p80.rcgu.o" "-Wl,--as-needed" "-L" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps" "-L" "/usr/lib64" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-2e0a38cae6d501cd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-6d0663c36552757f.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3ec8617c021b3b77.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ecee795f1e6f8957.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f396b629468277b0.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1f92a8b231363a34.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d576f81d7cf816b9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-081901a22a16e855.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-989048ecea51f543.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-455a78ce82dee426.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-6234317b2e0fd06e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-c52104a341de123c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d39a15e3d753ab48.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c20a937b842a0a91.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2c35c53e00b6d59.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-c348a011c61919e1.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-30910e49c0e76eee.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-152207f246c9f0e9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b2cc2ff0bb492bdf.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-d42162f1b1beca2b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-80f2c48adae8e1c6.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3160b73e2f852dc7.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-07fd50d0dd6fe3d3.rlib" "-Wl,-Bdynamic" "-lpython3.12" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/test_function-78f33e3ee8c937f0" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-specs=/usr/lib/rpm/redhat/redhat-package-notes" = note: /usr/bin/ld: /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib(cpython-55cace988ff0ba53.cpython.3ee327794c994b63-cgu.0.rcgu.o): in function `python3_sys::unicodeobject::PyUnicode_READY': /usr/share/cargo/registry/python3-sys-0.7.1/src/unicodeobject.rs:544:(.text._ZN7cpython7objects6string8PyString15to_string_lossy17hc10ab06cf9ac5c2dE+0x1e): undefined reference to `_PyUnicode_Ready' collect2: error: ld returned 1 exit status = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` flag to specify native libraries to link = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) warning: `cpython` (test "test_function") generated 2 warnings error: could not compile `cpython` (test "test_function") due to 1 previous error; 2 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name test_function --edition=2018 tests/test_function.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="default"' --cfg 'feature="python3-sys"' -C metadata=78f33e3ee8c937f0 -C extra-filename=-78f33e3ee8c937f0 --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern cpython=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` (exit status: 1) error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" VSLANG="1033" "cc" "-m64" "/tmp/rustcPbYyUQ/symbols.o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/cpython-4ab86a12bd3f2b2c.cpython.7c1817ac9d3d54bf-cgu.0.rcgu.o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/cpython-4ab86a12bd3f2b2c.2t4183pp0pwc9y00.rcgu.o" "-Wl,--as-needed" "-L" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps" "-L" "/usr/lib64" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-2e0a38cae6d501cd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-6d0663c36552757f.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3ec8617c021b3b77.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ecee795f1e6f8957.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f396b629468277b0.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1f92a8b231363a34.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d576f81d7cf816b9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-081901a22a16e855.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-989048ecea51f543.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-455a78ce82dee426.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-6234317b2e0fd06e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-c52104a341de123c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d39a15e3d753ab48.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c20a937b842a0a91.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2c35c53e00b6d59.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-c348a011c61919e1.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-30910e49c0e76eee.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-152207f246c9f0e9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b2cc2ff0bb492bdf.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-d42162f1b1beca2b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-80f2c48adae8e1c6.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3160b73e2f852dc7.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-07fd50d0dd6fe3d3.rlib" "-Wl,-Bdynamic" "-lpython3.12" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/cpython-4ab86a12bd3f2b2c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-specs=/usr/lib/rpm/redhat/redhat-package-notes" = note: /usr/bin/ld: /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/cpython-4ab86a12bd3f2b2c.cpython.7c1817ac9d3d54bf-cgu.0.rcgu.o: in function `python3_sys::unicodeobject::PyUnicode_READY': /usr/share/cargo/registry/python3-sys-0.7.1/src/unicodeobject.rs:544:(.text._ZN4core3ops8function6FnOnce9call_once17h43bb3f9e4ff5de7fE+0x7c): undefined reference to `_PyUnicode_Ready' /usr/bin/ld: /usr/share/cargo/registry/python3-sys-0.7.1/src/unicodeobject.rs:544:(.text._ZN4core3ops8function6FnOnce9call_once17h70db17a37717f47bE+0x79): undefined reference to `_PyUnicode_Ready' /usr/bin/ld: /usr/share/cargo/registry/python3-sys-0.7.1/src/unicodeobject.rs:544:(.text._ZN7cpython7objects6string8PyString15to_string_lossy17h23cf6be97c9feed3E+0x23): undefined reference to `_PyUnicode_Ready' collect2: error: ld returned 1 exit status = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` flag to specify native libraries to link = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) warning: `cpython` (lib test) generated 13 warnings (13 duplicates) error: could not compile `cpython` (lib test) due to 1 previous error; 13 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name cpython --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="default"' --cfg 'feature="python3-sys"' -C metadata=4ab86a12bd3f2b2c -C extra-filename=-4ab86a12bd3f2b2c --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` (exit status: 1) error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" VSLANG="1033" "cc" "-m64" "/tmp/rustcv85KfK/symbols.o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/test_class-c0126499118d396e.test_class.545527e41129726-cgu.0.rcgu.o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/test_class-c0126499118d396e.5ae27ic0zf0k8o03.rcgu.o" "-Wl,--as-needed" "-L" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps" "-L" "/usr/lib64" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-2e0a38cae6d501cd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-6d0663c36552757f.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3ec8617c021b3b77.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ecee795f1e6f8957.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f396b629468277b0.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1f92a8b231363a34.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d576f81d7cf816b9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-081901a22a16e855.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-989048ecea51f543.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-455a78ce82dee426.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-6234317b2e0fd06e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-c52104a341de123c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d39a15e3d753ab48.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c20a937b842a0a91.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2c35c53e00b6d59.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-c348a011c61919e1.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-30910e49c0e76eee.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-152207f246c9f0e9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b2cc2ff0bb492bdf.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-d42162f1b1beca2b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-80f2c48adae8e1c6.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3160b73e2f852dc7.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-07fd50d0dd6fe3d3.rlib" "-Wl,-Bdynamic" "-lpython3.12" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/test_class-c0126499118d396e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-specs=/usr/lib/rpm/redhat/redhat-package-notes" = note: /usr/bin/ld: /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib(cpython-55cace988ff0ba53.cpython.3ee327794c994b63-cgu.0.rcgu.o): in function `python3_sys::unicodeobject::PyUnicode_READY': /usr/share/cargo/registry/python3-sys-0.7.1/src/unicodeobject.rs:544:(.text._ZN7cpython7objects6string8PyString15to_string_lossy17hc10ab06cf9ac5c2dE+0x1e): undefined reference to `_PyUnicode_Ready' collect2: error: ld returned 1 exit status = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` flag to specify native libraries to link = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) error: could not compile `cpython` (test "test_class") due to 1 previous error Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name test_class --edition=2018 tests/test_class.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="default"' --cfg 'feature="python3-sys"' -C metadata=c0126499118d396e -C extra-filename=-c0126499118d396e --out-dir /builddir/build/BUILD/cpython-0.7.1/target/rpm/deps -L dependency=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps --extern cpython=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libcpython-55cace988ff0ba53.rlib --extern libc=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/liblibc-e2d90e8f7b57c0de.rlib --extern num_traits=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libnum_traits-dfd8cf18cba7662d.rlib --extern paste=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpaste-4381a87f4d675306.so --extern python3_sys=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libpython3_sys-88dc7bc9a440a5e9.rlib --extern rustversion=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/librustversion-5d7d0b8db462e016.so --extern serde_bytes=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_bytes-8caa63e1c940ce70.rlib --extern serde_cbor=/builddir/build/BUILD/cpython-0.7.1/target/rpm/deps/libserde_cbor-b67a4c8843ce0d7e.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 -L native=/usr/lib64` (exit status: 1) error: Bad exit status from /var/tmp/rpm-tmp.FkemU9 (%check) Bad exit status from /var/tmp/rpm-tmp.FkemU9 (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M ba87ef42450142f880e08ecfc16452a6 -D /var/lib/mock/f40-build-50508230-6046527/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ki4mdqp2:/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 x86_64 /builddir/build/SPECS/rust-cpython.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M ba87ef42450142f880e08ecfc16452a6 -D /var/lib/mock/f40-build-50508230-6046527/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ki4mdqp2:/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 x86_64 /builddir/build/SPECS/rust-cpython.spec'