Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pyo3_0.19.spec'], chrootPath='/var/lib/mock/f41-build-59173083-6571410/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/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', 'df14bf22f28b4a0db446b5671f34c776', '-D', '/var/lib/mock/f41-build-59173083-6571410/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pyo3_0.19.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1736121600 Wrote: /builddir/build/SRPMS/rust-pyo3_0.19-0.19.2-6.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pyo3_0.19.spec'], chrootPath='/var/lib/mock/f41-build-59173083-6571410/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'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/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', 'abec78346f53425bb625907e2b1a13ef', '-D', '/var/lib/mock/f41-build-59173083-6571410/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pyo3_0.19.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1736121600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.AUzw2t Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gCb9HT + umask 022 + cd /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build + cd /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build + rm -rf pyo3-0.19.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyo3-0.19.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pyo3-0.19.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pyo3-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-ignore-doctests-with-missing-send_wrapper-dependency.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Skip-a-doctest-that-does-not-compile-with-Rust-1.74.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-drop-deny-warnings-from-doctests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-backport-support-for-Python-3.13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r emscripten/ newsfragments/ + rm tests/test_pep_587.rs + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.LuhPtb + umask 022 + cd /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build + cd pyo3-0.19.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --all-features --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pyo3_0.19-0.19.2-6.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pyo3_0.19.spec'], chrootPath='/var/lib/mock/f41-build-59173083-6571410/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'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/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', '90dc088cf6814403b89cf60a06cdd409', '-D', '/var/lib/mock/f41-build-59173083-6571410/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-pyo3_0.19.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1736121600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.UwmiI2 + umask 022 + cd /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build + cd pyo3-0.19.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --all-features --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pyo3_0.19-0.19.2-6.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-pyo3_0.19.spec'], chrootPath='/var/lib/mock/f41-build-59173083-6571410/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/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', 'dfb2cbaced664ca68087ebf967e7f2a5', '-D', '/var/lib/mock/f41-build-59173083-6571410/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8xt76wiu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-pyo3_0.19.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1736121600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4kWo0w + umask 022 + cd /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build + cd pyo3-0.19.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --all-features --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5gbL2R + umask 022 + cd /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyo3-0.19.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j12 -Z avoid-dev-deps --profile rpm Compiling target-lexicon v0.12.16 Compiling autocfg v1.4.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/target-lexicon-0.12.16/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arch_zkasm", "default", "serde", "serde_support", "std"))' -C metadata=a9d6b2610cc163e2 -C extra-filename=-5f004a79362df93f --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/target-lexicon-5f004a79362df93f -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling proc-macro2 v1.0.94 Compiling once_cell v1.21.3 Compiling libc v0.2.170 Compiling unicode-ident v1.0.18 Compiling syn v1.0.109 Compiling parking_lot_core v0.9.10 Compiling scopeguard v1.2.0 Compiling cfg-if v1.0.0 Compiling smallvec v1.14.0 Compiling indoc v1.0.9 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.4.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ba45d22516f330c5 -C extra-filename=-7d057d4549fc7ae2 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=146d4edfd964c667 -C extra-filename=-9cfaff184b21fa6f --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/proc-macro2-9cfaff184b21fa6f -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.21.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="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=6f0e3ad390cffad1 -C extra-filename=-642f515ce4625097 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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=2021 /usr/share/cargo/registry/libc-0.2.170/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=40160763968d0fda -C extra-filename=-25ba98f680a1b72c --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/libc-25ba98f680a1b72c -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=9dca82a3e21123e0 -C extra-filename=-032647afa0f4bc70 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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/syn-1.0.109/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "test", "visit", "visit-mut"))' -C metadata=393e034d559838fc -C extra-filename=-b9a2ce05fb5aeb95 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/syn-b9a2ce05fb5aeb95 -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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=2021 /usr/share/cargo/registry/parking_lot_core-0.9.10/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "deadlock_detection", "nightly", "petgraph", "thread-id"))' -C metadata=fb98f3f3133203fe -C extra-filename=-0b056e3658ec831e --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/parking_lot_core-0b056e3658ec831e -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 scopeguard --edition=2015 /usr/share/cargo/registry/scopeguard-1.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std"))' -C metadata=a6604c431311002e -C extra-filename=-3da3a3194f66221a --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=36ddee5c9aa5fab4 -C extra-filename=-7b9ef657410d7b53 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 smallvec --edition=2018 /usr/share/cargo/registry/smallvec-1.14.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "const_generics", "const_new", "debugger_visualizer", "drain_filter", "drain_keep_rest", "malloc_size_of", "may_dangle", "serde", "specialization", "union", "write"))' -C metadata=1009578dc9224a80 -C extra-filename=-955d5d3262ec83a8 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 indoc --edition=2018 /usr/share/cargo/registry/indoc-1.0.9/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ec1ed7c1cfd5d1be -C extra-filename=-03d5b6cae68c8ea1 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 unindent v0.1.11 Running `/usr/bin/rustc --crate-name unindent --edition=2018 /usr/share/cargo/registry/unindent-0.1.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=35848dd94f3d56e7 -C extra-filename=-22da38caab0b71d6 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/parking_lot_core-0b056e3658ec831e/build-script-build` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/syn-b9a2ce05fb5aeb95/build-script-build` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/proc-macro2-9cfaff184b21fa6f/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=afa712491bcacec0 -C extra-filename=-335d64725686461a --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunicode_ident-032647afa0f4bc70.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 --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/libc-25ba98f680a1b72c/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.170/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=ecab465fd671cdac -C extra-filename=-773f29ea6002099f --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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_const_extern_fn --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/target-lexicon-5f004a79362df93f/build-script-build` Compiling quote v1.0.39 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.39/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=14b225c9edb4fa6f -C extra-filename=-966eb08a36208a1a --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-335d64725686461a.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 target_lexicon --edition=2018 /usr/share/cargo/registry/target-lexicon-0.12.16/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arch_zkasm", "default", "serde", "serde_support", "std"))' -C metadata=102fb86264888dd9 -C extra-filename=-82f35e204ac16373 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 'feature="rust_1_40"'` Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.109/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "test", "visit", "visit-mut"))' -C metadata=3f01e3bb223b171a -C extra-filename=-70ef1f596b08ba89 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-335d64725686461a.rmeta --extern quote=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libquote-966eb08a36208a1a.rmeta --extern unicode_ident=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunicode_ident-032647afa0f4bc70.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 --cfg syn_disable_nightly_tests` Running `/usr/bin/rustc --crate-name parking_lot_core --edition=2021 /usr/share/cargo/registry/parking_lot_core-0.9.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "deadlock_detection", "nightly", "petgraph", "thread-id"))' -C metadata=4d275c21a6936047 -C extra-filename=-0b54ceec5c3bfad5 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rmeta --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rmeta --extern smallvec=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libsmallvec-955d5d3262ec83a8.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 lock_api v0.4.12 Compiling memoffset v0.9.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/lock_api-0.4.12/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="atomic_usize"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' -C metadata=b9d25a1575d7c2da -C extra-filename=-6bad508bb38ca97d --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/lock_api-6bad508bb38ca97d -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern autocfg=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libautocfg-7d057d4549fc7ae2.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 `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/memoffset-0.9.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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const", "unstable_offset_of"))' -C metadata=2b488ecd19361abd -C extra-filename=-cf4ed517ef5b310e --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/memoffset-cf4ed517ef5b310e -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern autocfg=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libautocfg-7d057d4549fc7ae2.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` Compiling pyo3-build-config v0.19.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/pyo3-build-config-0.19.2/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="resolve-config"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "default", "extension-module", "resolve-config"))' -C metadata=4ecfbdb426a11e10 -C extra-filename=-51c90aef178207f4 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/pyo3-build-config-51c90aef178207f4 -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern target_lexicon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtarget_lexicon-82f35e204ac16373.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/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/lock_api-6bad508bb38ca97d/build-script-build` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/memoffset-cf4ed517ef5b310e/build-script-build` Running `/usr/bin/rustc --crate-name lock_api --edition=2021 /usr/share/cargo/registry/lock_api-0.4.12/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="atomic_usize"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' -C metadata=dc9c8e7e993fbc0d -C extra-filename=-3de2b1d63a82fbff --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern scopeguard=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libscopeguard-3da3a3194f66221a.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 --cfg has_const_fn_trait_bound` Running `/usr/bin/rustc --crate-name memoffset --edition=2015 /usr/share/cargo/registry/memoffset-0.9.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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const", "unstable_offset_of"))' -C metadata=6a7120ea60a7b69e -C extra-filename=-dd75790341caff38 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 tuple_ty --cfg allow_clippy --cfg maybe_uninit --cfg doctests --cfg raw_ref_macros --cfg stable_const --cfg stable_offset_of` Compiling parking_lot v0.12.3 Running `/usr/bin/rustc --crate-name parking_lot --edition=2021 /usr/share/cargo/registry/parking_lot-0.12.3/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arc_lock", "deadlock_detection", "default", "hardware-lock-elision", "nightly", "owning_ref", "send_guard", "serde"))' -C metadata=c38cdf9442758e59 -C extra-filename=-08dd6378f1ff1e38 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern lock_api=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblock_api-3de2b1d63a82fbff.rmeta --extern parking_lot_core=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot_core-0b54ceec5c3bfad5.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/pyo3-build-config-51c90aef178207f4/build-script-build` Running `/usr/bin/rustc --crate-name pyo3_build_config --edition=2018 /usr/share/cargo/registry/pyo3-build-config-0.19.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="default"' --cfg 'feature="resolve-config"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "default", "extension-module", "resolve-config"))' -C metadata=1f804c3bdf3f997f -C extra-filename=-d5cf2a44fbcdef58 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern once_cell=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libonce_cell-642f515ce4625097.rmeta --extern target_lexicon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtarget_lexicon-82f35e204ac16373.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 pyo3-macros-backend v0.19.2 Running `/usr/bin/rustc --crate-name pyo3_macros_backend --edition=2018 /usr/share/cargo/registry/pyo3-macros-backend-0.19.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3"))' -C metadata=878b40c1df7848eb -C extra-filename=-88ae5a7cd14b3c77 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-335d64725686461a.rmeta --extern quote=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libquote-966eb08a36208a1a.rmeta --extern syn=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libsyn-70ef1f596b08ba89.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 pyo3-ffi v0.19.2 Compiling pyo3 v0.19.2 (/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/pyo3-ffi-0.19.2/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "default", "extension-module"))' -C metadata=97fe294e5b2eea47 -C extra-filename=-57d4ce311e457bee --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/pyo3-ffi-57d4ce311e457bee -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern pyo3_build_config=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_build_config-d5cf2a44fbcdef58.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 `/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="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=38b4f4ba1f36e957 -C extra-filename=-3a177d12b7fcb5aa --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/pyo3-3a177d12b7fcb5aa -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern pyo3_build_config=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_build_config-d5cf2a44fbcdef58.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/pyo3-ffi-57d4ce311e457bee/build-script-build` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/pyo3-3a177d12b7fcb5aa/build-script-build` Running `/usr/bin/rustc --crate-name pyo3_ffi --edition=2018 /usr/share/cargo/registry/pyo3-ffi-0.19.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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "default", "extension-module"))' -C metadata=2225f62b95e77a3d -C extra-filename=-d0763e062aa71ccf --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.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.13 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Compiling pyo3-macros v0.19.2 Running `/usr/bin/rustc --crate-name pyo3_macros --edition=2018 /usr/share/cargo/registry/pyo3-macros-0.19.2/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "multiple-pymethods"))' -C metadata=fc80cd1f4ec6b052 -C extra-filename=-55010a8823103954 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-335d64725686461a.rlib --extern pyo3_macros_backend=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros_backend-88ae5a7cd14b3c77.rlib --extern quote=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libquote-966eb08a36208a1a.rlib --extern syn=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libsyn-70ef1f596b08ba89.rlib --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` Running `/usr/bin/rustc --crate-name pyo3 --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="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=ed7b70725a731569 -C extra-filename=-821cd2f2a2c12d28 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rmeta --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rmeta --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rmeta --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rmeta --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rmeta --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-55010a8823103954.so --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `PyPy` --> src/lib.rs:308:11 | 308 | #[cfg(not(PyPy))] | ^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/buffer.rs:1:16 | 1 | #![cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:1:33 | 1 | #![cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/marshal.rs:1:12 | 1 | #![cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:246:23 | 246 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:248:27 | 248 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:252:23 | 252 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:256:27 | 256 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:499:23 | 499 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:501:27 | 501 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:536:23 | 536 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:538:27 | 538 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:592:23 | 592 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:594:27 | 594 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:598:23 | 598 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:602:27 | 602 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/conversions/chrono.rs:1:36 | 1 | #![cfg(all(feature = "chrono", not(Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `min_const_generics` --> src/conversions/std/array.rs:3:7 | 3 | #[cfg(min_const_generics)] | ^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(min_const_generics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(min_const_generics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `min_const_generics` --> src/conversions/std/array.rs:184:11 | 184 | #[cfg(not(min_const_generics))] | ^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(min_const_generics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(min_const_generics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/conversions/std/array.rs:33:31 | 33 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/conversions/std/array.rs:35:27 | 35 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:8:7 | 8 | #[cfg(Py_3_13)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/conversions/std/num.rs:168:11 | 168 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/conversions/std/num.rs:294:7 | 294 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:183:31 | 183 | #[cfg(not(Py_3_13))] | ^^^^^^^ ... 289 | int_convert_128!(i128, true); | ---------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:198:27 | 198 | #[cfg(Py_3_13)] | ^^^^^^^ ... 289 | int_convert_128!(i128, true); | ---------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:239:31 | 239 | #[cfg(not(Py_3_13))] | ^^^^^^^ ... 289 | int_convert_128!(i128, true); | ---------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:252:27 | 252 | #[cfg(Py_3_13)] | ^^^^^^^ ... 289 | int_convert_128!(i128, true); | ---------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:183:31 | 183 | #[cfg(not(Py_3_13))] | ^^^^^^^ ... 290 | int_convert_128!(u128, false); | ----------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:198:27 | 198 | #[cfg(Py_3_13)] | ^^^^^^^ ... 290 | int_convert_128!(u128, false); | ----------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:239:31 | 239 | #[cfg(not(Py_3_13))] | ^^^^^^^ ... 290 | int_convert_128!(u128, false); | ----------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:252:27 | 252 | #[cfg(Py_3_13)] | ^^^^^^^ ... 290 | int_convert_128!(u128, false); | ----------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:10:15 | 10 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:13:15 | 13 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:18:15 | 18 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:23:11 | 23 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:28:15 | 28 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:35:11 | 35 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:51:15 | 51 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:99:15 | 99 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:130:15 | 130 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:144:11 | 144 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:154:15 | 154 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:160:11 | 160 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:86:23 | 86 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:89:23 | 89 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/mod.rs:271:15 | 271 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/mod.rs:326:11 | 326 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/err/mod.rs:366:38 | 366 | #[cfg_attr(all(debug_assertions, track_caller), track_caller)] | ^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/mod.rs:435:15 | 435 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/mod.rs:440:19 | 440 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:407:11 | 407 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:414:7 | 414 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:453:11 | 453 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:460:7 | 460 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:468:11 | 468 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:475:7 | 475 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:483:11 | 483 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:490:7 | 490 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/exceptions.rs:512:7 | 512 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/exceptions.rs:720:7 | 720 | #[cfg(Py_3_10)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:359:1 | 359 | / impl_native_exception!( 360 | | PyBaseException, 361 | | PyExc_BaseException, 362 | | native_doc!("BaseException"), 363 | | ffi::PyBaseExceptionObject, 364 | | #checkfunction=ffi::PyExceptionInstance_Check 365 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:366:1 | 366 | impl_native_exception!(PyException, PyExc_Exception, native_doc!("Exception")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:367:1 | 367 | / impl_native_exception!( 368 | | PyStopAsyncIteration, 369 | | PyExc_StopAsyncIteration, 370 | | native_doc!("StopAsyncIteration") 371 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:372:1 | 372 | / impl_native_exception!( 373 | | PyStopIteration, 374 | | PyExc_StopIteration, 375 | | native_doc!("StopIteration"), 376 | | ffi::PyStopIterationObject 377 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:378:1 | 378 | / impl_native_exception!( 379 | | PyGeneratorExit, 380 | | PyExc_GeneratorExit, 381 | | native_doc!("GeneratorExit") 382 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:383:1 | 383 | / impl_native_exception!( 384 | | PyArithmeticError, 385 | | PyExc_ArithmeticError, 386 | | native_doc!("ArithmeticError") 387 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:388:1 | 388 | impl_native_exception!(PyLookupError, PyExc_LookupError, native_doc!("LookupError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:390:1 | 390 | / impl_native_exception!( 391 | | PyAssertionError, 392 | | PyExc_AssertionError, 393 | | native_doc!("AssertionError") 394 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:395:1 | 395 | / impl_native_exception!( 396 | | PyAttributeError, 397 | | PyExc_AttributeError, 398 | | native_doc!("AttributeError") 399 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:400:1 | 400 | impl_native_exception!(PyBufferError, PyExc_BufferError, native_doc!("BufferError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:401:1 | 401 | impl_native_exception!(PyEOFError, PyExc_EOFError, native_doc!("EOFError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:402:1 | 402 | / impl_native_exception!( 403 | | PyFloatingPointError, 404 | | PyExc_FloatingPointError, 405 | | native_doc!("FloatingPointError") 406 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:408:1 | 408 | / impl_native_exception!( 409 | | PyOSError, 410 | | PyExc_OSError, 411 | | native_doc!("OSError"), 412 | | ffi::PyOSErrorObject 413 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:416:1 | 416 | impl_native_exception!(PyImportError, PyExc_ImportError, native_doc!("ImportError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:418:1 | 418 | / impl_native_exception!( 419 | | PyModuleNotFoundError, 420 | | PyExc_ModuleNotFoundError, 421 | | native_doc!("ModuleNotFoundError") 422 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:424:1 | 424 | impl_native_exception!(PyIndexError, PyExc_IndexError, native_doc!("IndexError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:425:1 | 425 | impl_native_exception!(PyKeyError, PyExc_KeyError, native_doc!("KeyError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:426:1 | 426 | / impl_native_exception!( 427 | | PyKeyboardInterrupt, 428 | | PyExc_KeyboardInterrupt, 429 | | native_doc!("KeyboardInterrupt") 430 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:431:1 | 431 | impl_native_exception!(PyMemoryError, PyExc_MemoryError, native_doc!("MemoryError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:432:1 | 432 | impl_native_exception!(PyNameError, PyExc_NameError, native_doc!("NameError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:433:1 | 433 | / impl_native_exception!( 434 | | PyOverflowError, 435 | | PyExc_OverflowError, 436 | | native_doc!("OverflowError") 437 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:438:1 | 438 | / impl_native_exception!( 439 | | PyRuntimeError, 440 | | PyExc_RuntimeError, 441 | | native_doc!("RuntimeError") 442 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:443:1 | 443 | / impl_native_exception!( 444 | | PyRecursionError, 445 | | PyExc_RecursionError, 446 | | native_doc!("RecursionError") 447 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:448:1 | 448 | / impl_native_exception!( 449 | | PyNotImplementedError, 450 | | PyExc_NotImplementedError, 451 | | native_doc!("NotImplementedError") 452 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:454:1 | 454 | / impl_native_exception!( 455 | | PySyntaxError, 456 | | PyExc_SyntaxError, 457 | | native_doc!("SyntaxError"), 458 | | ffi::PySyntaxErrorObject 459 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:462:1 | 462 | / impl_native_exception!( 463 | | PyReferenceError, 464 | | PyExc_ReferenceError, 465 | | native_doc!("ReferenceError") 466 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:467:1 | 467 | impl_native_exception!(PySystemError, PyExc_SystemError, native_doc!("SystemError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:469:1 | 469 | / impl_native_exception!( 470 | | PySystemExit, 471 | | PyExc_SystemExit, 472 | | native_doc!("SystemExit"), 473 | | ffi::PySystemExitObject 474 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:477:1 | 477 | impl_native_exception!(PyTypeError, PyExc_TypeError, native_doc!("TypeError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:478:1 | 478 | / impl_native_exception!( 479 | | PyUnboundLocalError, 480 | | PyExc_UnboundLocalError, 481 | | native_doc!("UnboundLocalError") 482 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:484:1 | 484 | / impl_native_exception!( 485 | | PyUnicodeError, 486 | | PyExc_UnicodeError, 487 | | native_doc!("UnicodeError"), 488 | | ffi::PyUnicodeErrorObject 489 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:497:1 | 497 | / impl_native_exception!( 498 | | PyUnicodeDecodeError, 499 | | PyExc_UnicodeDecodeError, 500 | | native_doc!("UnicodeDecodeError", "") 501 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:502:1 | 502 | / impl_native_exception!( 503 | | PyUnicodeEncodeError, 504 | | PyExc_UnicodeEncodeError, 505 | | native_doc!("UnicodeEncodeError", "") 506 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:507:1 | 507 | / impl_native_exception!( 508 | | PyUnicodeTranslateError, 509 | | PyExc_UnicodeTranslateError, 510 | | native_doc!("UnicodeTranslateError", "") 511 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:513:1 | 513 | / impl_native_exception!( 514 | | PyBaseExceptionGroup, 515 | | PyExc_BaseExceptionGroup, 516 | | native_doc!("BaseExceptionGroup", "") 517 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:518:1 | 518 | impl_native_exception!(PyValueError, PyExc_ValueError, native_doc!("ValueError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:519:1 | 519 | / impl_native_exception!( 520 | | PyZeroDivisionError, 521 | | PyExc_ZeroDivisionError, 522 | | native_doc!("ZeroDivisionError") 523 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:525:1 | 525 | / impl_native_exception!( 526 | | PyBlockingIOError, 527 | | PyExc_BlockingIOError, 528 | | native_doc!("BlockingIOError") 529 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:530:1 | 530 | / impl_native_exception!( 531 | | PyBrokenPipeError, 532 | | PyExc_BrokenPipeError, 533 | | native_doc!("BrokenPipeError") 534 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:535:1 | 535 | / impl_native_exception!( 536 | | PyChildProcessError, 537 | | PyExc_ChildProcessError, 538 | | native_doc!("ChildProcessError") 539 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:540:1 | 540 | / impl_native_exception!( 541 | | PyConnectionError, 542 | | PyExc_ConnectionError, 543 | | native_doc!("ConnectionError") 544 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:545:1 | 545 | / impl_native_exception!( 546 | | PyConnectionAbortedError, 547 | | PyExc_ConnectionAbortedError, 548 | | native_doc!("ConnectionAbortedError") 549 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:550:1 | 550 | / impl_native_exception!( 551 | | PyConnectionRefusedError, 552 | | PyExc_ConnectionRefusedError, 553 | | native_doc!("ConnectionRefusedError") 554 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:555:1 | 555 | / impl_native_exception!( 556 | | PyConnectionResetError, 557 | | PyExc_ConnectionResetError, 558 | | native_doc!("ConnectionResetError") 559 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:560:1 | 560 | / impl_native_exception!( 561 | | PyFileExistsError, 562 | | PyExc_FileExistsError, 563 | | native_doc!("FileExistsError") 564 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:565:1 | 565 | / impl_native_exception!( 566 | | PyFileNotFoundError, 567 | | PyExc_FileNotFoundError, 568 | | native_doc!("FileNotFoundError") 569 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:570:1 | 570 | / impl_native_exception!( 571 | | PyInterruptedError, 572 | | PyExc_InterruptedError, 573 | | native_doc!("InterruptedError") 574 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:575:1 | 575 | / impl_native_exception!( 576 | | PyIsADirectoryError, 577 | | PyExc_IsADirectoryError, 578 | | native_doc!("IsADirectoryError") 579 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:580:1 | 580 | / impl_native_exception!( 581 | | PyNotADirectoryError, 582 | | PyExc_NotADirectoryError, 583 | | native_doc!("NotADirectoryError") 584 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:585:1 | 585 | / impl_native_exception!( 586 | | PyPermissionError, 587 | | PyExc_PermissionError, 588 | | native_doc!("PermissionError") 589 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:590:1 | 590 | / impl_native_exception!( 591 | | PyProcessLookupError, 592 | | PyExc_ProcessLookupError, 593 | | native_doc!("ProcessLookupError") 594 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:595:1 | 595 | / impl_native_exception!( 596 | | PyTimeoutError, 597 | | PyExc_TimeoutError, 598 | | native_doc!("TimeoutError") 599 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:601:1 | 601 | / impl_native_exception!( 602 | | PyEnvironmentError, 603 | | PyExc_EnvironmentError, 604 | | native_doc!("EnvironmentError") 605 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:606:1 | 606 | impl_native_exception!(PyIOError, PyExc_IOError, native_doc!("IOError")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:672:1 | 672 | impl_native_exception!(PyWarning, PyExc_Warning, native_doc!("Warning")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:673:1 | 673 | impl_native_exception!(PyUserWarning, PyExc_UserWarning, native_doc!("UserWarning")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:674:1 | 674 | / impl_native_exception!( 675 | | PyDeprecationWarning, 676 | | PyExc_DeprecationWarning, 677 | | native_doc!("DeprecationWarning") 678 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:679:1 | 679 | / impl_native_exception!( 680 | | PyPendingDeprecationWarning, 681 | | PyExc_PendingDeprecationWarning, 682 | | native_doc!("PendingDeprecationWarning") 683 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:684:1 | 684 | / impl_native_exception!( 685 | | PySyntaxWarning, 686 | | PyExc_SyntaxWarning, 687 | | native_doc!("SyntaxWarning") 688 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:689:1 | 689 | / impl_native_exception!( 690 | | PyRuntimeWarning, 691 | | PyExc_RuntimeWarning, 692 | | native_doc!("RuntimeWarning") 693 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:694:1 | 694 | / impl_native_exception!( 695 | | PyFutureWarning, 696 | | PyExc_FutureWarning, 697 | | native_doc!("FutureWarning") 698 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:699:1 | 699 | / impl_native_exception!( 700 | | PyImportWarning, 701 | | PyExc_ImportWarning, 702 | | native_doc!("ImportWarning") 703 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:704:1 | 704 | / impl_native_exception!( 705 | | PyUnicodeWarning, 706 | | PyExc_UnicodeWarning, 707 | | native_doc!("UnicodeWarning") 708 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:709:1 | 709 | / impl_native_exception!( 710 | | PyBytesWarning, 711 | | PyExc_BytesWarning, 712 | | native_doc!("BytesWarning") 713 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:714:1 | 714 | / impl_native_exception!( 715 | | PyResourceWarning, 716 | | PyExc_ResourceWarning, 717 | | native_doc!("ResourceWarning") 718 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:721:1 | 721 | / impl_native_exception!( 722 | | PyEncodingWarning, 723 | | PyExc_EncodingWarning, 724 | | native_doc!("EncodingWarning") 725 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:359:1 | 359 | / impl_native_exception!( 360 | | PyBaseException, 361 | | PyExc_BaseException, 362 | | native_doc!("BaseException"), 363 | | ffi::PyBaseExceptionObject, 364 | | #checkfunction=ffi::PyExceptionInstance_Check 365 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:359:1 | 359 | / impl_native_exception!( 360 | | PyBaseException, 361 | | PyExc_BaseException, 362 | | native_doc!("BaseException"), 363 | | ffi::PyBaseExceptionObject, 364 | | #checkfunction=ffi::PyExceptionInstance_Check 365 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:366:1 | 366 | impl_native_exception!(PyException, PyExc_Exception, native_doc!("Exception")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:366:1 | 366 | impl_native_exception!(PyException, PyExc_Exception, native_doc!("Exception")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:367:1 | 367 | / impl_native_exception!( 368 | | PyStopAsyncIteration, 369 | | PyExc_StopAsyncIteration, 370 | | native_doc!("StopAsyncIteration") 371 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:367:1 | 367 | / impl_native_exception!( 368 | | PyStopAsyncIteration, 369 | | PyExc_StopAsyncIteration, 370 | | native_doc!("StopAsyncIteration") 371 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:372:1 | 372 | / impl_native_exception!( 373 | | PyStopIteration, 374 | | PyExc_StopIteration, 375 | | native_doc!("StopIteration"), 376 | | ffi::PyStopIterationObject 377 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:372:1 | 372 | / impl_native_exception!( 373 | | PyStopIteration, 374 | | PyExc_StopIteration, 375 | | native_doc!("StopIteration"), 376 | | ffi::PyStopIterationObject 377 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:378:1 | 378 | / impl_native_exception!( 379 | | PyGeneratorExit, 380 | | PyExc_GeneratorExit, 381 | | native_doc!("GeneratorExit") 382 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:378:1 | 378 | / impl_native_exception!( 379 | | PyGeneratorExit, 380 | | PyExc_GeneratorExit, 381 | | native_doc!("GeneratorExit") 382 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:383:1 | 383 | / impl_native_exception!( 384 | | PyArithmeticError, 385 | | PyExc_ArithmeticError, 386 | | native_doc!("ArithmeticError") 387 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:383:1 | 383 | / impl_native_exception!( 384 | | PyArithmeticError, 385 | | PyExc_ArithmeticError, 386 | | native_doc!("ArithmeticError") 387 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:388:1 | 388 | impl_native_exception!(PyLookupError, PyExc_LookupError, native_doc!("LookupError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:388:1 | 388 | impl_native_exception!(PyLookupError, PyExc_LookupError, native_doc!("LookupError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:390:1 | 390 | / impl_native_exception!( 391 | | PyAssertionError, 392 | | PyExc_AssertionError, 393 | | native_doc!("AssertionError") 394 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:390:1 | 390 | / impl_native_exception!( 391 | | PyAssertionError, 392 | | PyExc_AssertionError, 393 | | native_doc!("AssertionError") 394 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:395:1 | 395 | / impl_native_exception!( 396 | | PyAttributeError, 397 | | PyExc_AttributeError, 398 | | native_doc!("AttributeError") 399 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:395:1 | 395 | / impl_native_exception!( 396 | | PyAttributeError, 397 | | PyExc_AttributeError, 398 | | native_doc!("AttributeError") 399 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:400:1 | 400 | impl_native_exception!(PyBufferError, PyExc_BufferError, native_doc!("BufferError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:400:1 | 400 | impl_native_exception!(PyBufferError, PyExc_BufferError, native_doc!("BufferError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:401:1 | 401 | impl_native_exception!(PyEOFError, PyExc_EOFError, native_doc!("EOFError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:401:1 | 401 | impl_native_exception!(PyEOFError, PyExc_EOFError, native_doc!("EOFError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:402:1 | 402 | / impl_native_exception!( 403 | | PyFloatingPointError, 404 | | PyExc_FloatingPointError, 405 | | native_doc!("FloatingPointError") 406 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:402:1 | 402 | / impl_native_exception!( 403 | | PyFloatingPointError, 404 | | PyExc_FloatingPointError, 405 | | native_doc!("FloatingPointError") 406 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:408:1 | 408 | / impl_native_exception!( 409 | | PyOSError, 410 | | PyExc_OSError, 411 | | native_doc!("OSError"), 412 | | ffi::PyOSErrorObject 413 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:408:1 | 408 | / impl_native_exception!( 409 | | PyOSError, 410 | | PyExc_OSError, 411 | | native_doc!("OSError"), 412 | | ffi::PyOSErrorObject 413 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:416:1 | 416 | impl_native_exception!(PyImportError, PyExc_ImportError, native_doc!("ImportError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:416:1 | 416 | impl_native_exception!(PyImportError, PyExc_ImportError, native_doc!("ImportError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:418:1 | 418 | / impl_native_exception!( 419 | | PyModuleNotFoundError, 420 | | PyExc_ModuleNotFoundError, 421 | | native_doc!("ModuleNotFoundError") 422 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:418:1 | 418 | / impl_native_exception!( 419 | | PyModuleNotFoundError, 420 | | PyExc_ModuleNotFoundError, 421 | | native_doc!("ModuleNotFoundError") 422 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:424:1 | 424 | impl_native_exception!(PyIndexError, PyExc_IndexError, native_doc!("IndexError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:424:1 | 424 | impl_native_exception!(PyIndexError, PyExc_IndexError, native_doc!("IndexError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:425:1 | 425 | impl_native_exception!(PyKeyError, PyExc_KeyError, native_doc!("KeyError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:425:1 | 425 | impl_native_exception!(PyKeyError, PyExc_KeyError, native_doc!("KeyError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:426:1 | 426 | / impl_native_exception!( 427 | | PyKeyboardInterrupt, 428 | | PyExc_KeyboardInterrupt, 429 | | native_doc!("KeyboardInterrupt") 430 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:426:1 | 426 | / impl_native_exception!( 427 | | PyKeyboardInterrupt, 428 | | PyExc_KeyboardInterrupt, 429 | | native_doc!("KeyboardInterrupt") 430 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:431:1 | 431 | impl_native_exception!(PyMemoryError, PyExc_MemoryError, native_doc!("MemoryError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:431:1 | 431 | impl_native_exception!(PyMemoryError, PyExc_MemoryError, native_doc!("MemoryError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:432:1 | 432 | impl_native_exception!(PyNameError, PyExc_NameError, native_doc!("NameError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:432:1 | 432 | impl_native_exception!(PyNameError, PyExc_NameError, native_doc!("NameError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:433:1 | 433 | / impl_native_exception!( 434 | | PyOverflowError, 435 | | PyExc_OverflowError, 436 | | native_doc!("OverflowError") 437 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:433:1 | 433 | / impl_native_exception!( 434 | | PyOverflowError, 435 | | PyExc_OverflowError, 436 | | native_doc!("OverflowError") 437 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:438:1 | 438 | / impl_native_exception!( 439 | | PyRuntimeError, 440 | | PyExc_RuntimeError, 441 | | native_doc!("RuntimeError") 442 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:438:1 | 438 | / impl_native_exception!( 439 | | PyRuntimeError, 440 | | PyExc_RuntimeError, 441 | | native_doc!("RuntimeError") 442 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:443:1 | 443 | / impl_native_exception!( 444 | | PyRecursionError, 445 | | PyExc_RecursionError, 446 | | native_doc!("RecursionError") 447 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:443:1 | 443 | / impl_native_exception!( 444 | | PyRecursionError, 445 | | PyExc_RecursionError, 446 | | native_doc!("RecursionError") 447 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:448:1 | 448 | / impl_native_exception!( 449 | | PyNotImplementedError, 450 | | PyExc_NotImplementedError, 451 | | native_doc!("NotImplementedError") 452 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:448:1 | 448 | / impl_native_exception!( 449 | | PyNotImplementedError, 450 | | PyExc_NotImplementedError, 451 | | native_doc!("NotImplementedError") 452 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:454:1 | 454 | / impl_native_exception!( 455 | | PySyntaxError, 456 | | PyExc_SyntaxError, 457 | | native_doc!("SyntaxError"), 458 | | ffi::PySyntaxErrorObject 459 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:454:1 | 454 | / impl_native_exception!( 455 | | PySyntaxError, 456 | | PyExc_SyntaxError, 457 | | native_doc!("SyntaxError"), 458 | | ffi::PySyntaxErrorObject 459 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:462:1 | 462 | / impl_native_exception!( 463 | | PyReferenceError, 464 | | PyExc_ReferenceError, 465 | | native_doc!("ReferenceError") 466 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:462:1 | 462 | / impl_native_exception!( 463 | | PyReferenceError, 464 | | PyExc_ReferenceError, 465 | | native_doc!("ReferenceError") 466 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:467:1 | 467 | impl_native_exception!(PySystemError, PyExc_SystemError, native_doc!("SystemError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:467:1 | 467 | impl_native_exception!(PySystemError, PyExc_SystemError, native_doc!("SystemError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:469:1 | 469 | / impl_native_exception!( 470 | | PySystemExit, 471 | | PyExc_SystemExit, 472 | | native_doc!("SystemExit"), 473 | | ffi::PySystemExitObject 474 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:469:1 | 469 | / impl_native_exception!( 470 | | PySystemExit, 471 | | PyExc_SystemExit, 472 | | native_doc!("SystemExit"), 473 | | ffi::PySystemExitObject 474 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:477:1 | 477 | impl_native_exception!(PyTypeError, PyExc_TypeError, native_doc!("TypeError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:477:1 | 477 | impl_native_exception!(PyTypeError, PyExc_TypeError, native_doc!("TypeError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:478:1 | 478 | / impl_native_exception!( 479 | | PyUnboundLocalError, 480 | | PyExc_UnboundLocalError, 481 | | native_doc!("UnboundLocalError") 482 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:478:1 | 478 | / impl_native_exception!( 479 | | PyUnboundLocalError, 480 | | PyExc_UnboundLocalError, 481 | | native_doc!("UnboundLocalError") 482 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:484:1 | 484 | / impl_native_exception!( 485 | | PyUnicodeError, 486 | | PyExc_UnicodeError, 487 | | native_doc!("UnicodeError"), 488 | | ffi::PyUnicodeErrorObject 489 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:484:1 | 484 | / impl_native_exception!( 485 | | PyUnicodeError, 486 | | PyExc_UnicodeError, 487 | | native_doc!("UnicodeError"), 488 | | ffi::PyUnicodeErrorObject 489 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:497:1 | 497 | / impl_native_exception!( 498 | | PyUnicodeDecodeError, 499 | | PyExc_UnicodeDecodeError, 500 | | native_doc!("UnicodeDecodeError", "") 501 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:497:1 | 497 | / impl_native_exception!( 498 | | PyUnicodeDecodeError, 499 | | PyExc_UnicodeDecodeError, 500 | | native_doc!("UnicodeDecodeError", "") 501 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:502:1 | 502 | / impl_native_exception!( 503 | | PyUnicodeEncodeError, 504 | | PyExc_UnicodeEncodeError, 505 | | native_doc!("UnicodeEncodeError", "") 506 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:502:1 | 502 | / impl_native_exception!( 503 | | PyUnicodeEncodeError, 504 | | PyExc_UnicodeEncodeError, 505 | | native_doc!("UnicodeEncodeError", "") 506 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:507:1 | 507 | / impl_native_exception!( 508 | | PyUnicodeTranslateError, 509 | | PyExc_UnicodeTranslateError, 510 | | native_doc!("UnicodeTranslateError", "") 511 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:507:1 | 507 | / impl_native_exception!( 508 | | PyUnicodeTranslateError, 509 | | PyExc_UnicodeTranslateError, 510 | | native_doc!("UnicodeTranslateError", "") 511 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:513:1 | 513 | / impl_native_exception!( 514 | | PyBaseExceptionGroup, 515 | | PyExc_BaseExceptionGroup, 516 | | native_doc!("BaseExceptionGroup", "") 517 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:513:1 | 513 | / impl_native_exception!( 514 | | PyBaseExceptionGroup, 515 | | PyExc_BaseExceptionGroup, 516 | | native_doc!("BaseExceptionGroup", "") 517 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:518:1 | 518 | impl_native_exception!(PyValueError, PyExc_ValueError, native_doc!("ValueError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:518:1 | 518 | impl_native_exception!(PyValueError, PyExc_ValueError, native_doc!("ValueError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:519:1 | 519 | / impl_native_exception!( 520 | | PyZeroDivisionError, 521 | | PyExc_ZeroDivisionError, 522 | | native_doc!("ZeroDivisionError") 523 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:519:1 | 519 | / impl_native_exception!( 520 | | PyZeroDivisionError, 521 | | PyExc_ZeroDivisionError, 522 | | native_doc!("ZeroDivisionError") 523 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:525:1 | 525 | / impl_native_exception!( 526 | | PyBlockingIOError, 527 | | PyExc_BlockingIOError, 528 | | native_doc!("BlockingIOError") 529 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:525:1 | 525 | / impl_native_exception!( 526 | | PyBlockingIOError, 527 | | PyExc_BlockingIOError, 528 | | native_doc!("BlockingIOError") 529 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:530:1 | 530 | / impl_native_exception!( 531 | | PyBrokenPipeError, 532 | | PyExc_BrokenPipeError, 533 | | native_doc!("BrokenPipeError") 534 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:530:1 | 530 | / impl_native_exception!( 531 | | PyBrokenPipeError, 532 | | PyExc_BrokenPipeError, 533 | | native_doc!("BrokenPipeError") 534 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:535:1 | 535 | / impl_native_exception!( 536 | | PyChildProcessError, 537 | | PyExc_ChildProcessError, 538 | | native_doc!("ChildProcessError") 539 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:535:1 | 535 | / impl_native_exception!( 536 | | PyChildProcessError, 537 | | PyExc_ChildProcessError, 538 | | native_doc!("ChildProcessError") 539 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:540:1 | 540 | / impl_native_exception!( 541 | | PyConnectionError, 542 | | PyExc_ConnectionError, 543 | | native_doc!("ConnectionError") 544 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:540:1 | 540 | / impl_native_exception!( 541 | | PyConnectionError, 542 | | PyExc_ConnectionError, 543 | | native_doc!("ConnectionError") 544 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:545:1 | 545 | / impl_native_exception!( 546 | | PyConnectionAbortedError, 547 | | PyExc_ConnectionAbortedError, 548 | | native_doc!("ConnectionAbortedError") 549 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:545:1 | 545 | / impl_native_exception!( 546 | | PyConnectionAbortedError, 547 | | PyExc_ConnectionAbortedError, 548 | | native_doc!("ConnectionAbortedError") 549 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:550:1 | 550 | / impl_native_exception!( 551 | | PyConnectionRefusedError, 552 | | PyExc_ConnectionRefusedError, 553 | | native_doc!("ConnectionRefusedError") 554 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:550:1 | 550 | / impl_native_exception!( 551 | | PyConnectionRefusedError, 552 | | PyExc_ConnectionRefusedError, 553 | | native_doc!("ConnectionRefusedError") 554 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:555:1 | 555 | / impl_native_exception!( 556 | | PyConnectionResetError, 557 | | PyExc_ConnectionResetError, 558 | | native_doc!("ConnectionResetError") 559 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:555:1 | 555 | / impl_native_exception!( 556 | | PyConnectionResetError, 557 | | PyExc_ConnectionResetError, 558 | | native_doc!("ConnectionResetError") 559 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:560:1 | 560 | / impl_native_exception!( 561 | | PyFileExistsError, 562 | | PyExc_FileExistsError, 563 | | native_doc!("FileExistsError") 564 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:560:1 | 560 | / impl_native_exception!( 561 | | PyFileExistsError, 562 | | PyExc_FileExistsError, 563 | | native_doc!("FileExistsError") 564 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:565:1 | 565 | / impl_native_exception!( 566 | | PyFileNotFoundError, 567 | | PyExc_FileNotFoundError, 568 | | native_doc!("FileNotFoundError") 569 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:565:1 | 565 | / impl_native_exception!( 566 | | PyFileNotFoundError, 567 | | PyExc_FileNotFoundError, 568 | | native_doc!("FileNotFoundError") 569 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:570:1 | 570 | / impl_native_exception!( 571 | | PyInterruptedError, 572 | | PyExc_InterruptedError, 573 | | native_doc!("InterruptedError") 574 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:570:1 | 570 | / impl_native_exception!( 571 | | PyInterruptedError, 572 | | PyExc_InterruptedError, 573 | | native_doc!("InterruptedError") 574 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:575:1 | 575 | / impl_native_exception!( 576 | | PyIsADirectoryError, 577 | | PyExc_IsADirectoryError, 578 | | native_doc!("IsADirectoryError") 579 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:575:1 | 575 | / impl_native_exception!( 576 | | PyIsADirectoryError, 577 | | PyExc_IsADirectoryError, 578 | | native_doc!("IsADirectoryError") 579 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:580:1 | 580 | / impl_native_exception!( 581 | | PyNotADirectoryError, 582 | | PyExc_NotADirectoryError, 583 | | native_doc!("NotADirectoryError") 584 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:580:1 | 580 | / impl_native_exception!( 581 | | PyNotADirectoryError, 582 | | PyExc_NotADirectoryError, 583 | | native_doc!("NotADirectoryError") 584 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:585:1 | 585 | / impl_native_exception!( 586 | | PyPermissionError, 587 | | PyExc_PermissionError, 588 | | native_doc!("PermissionError") 589 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:585:1 | 585 | / impl_native_exception!( 586 | | PyPermissionError, 587 | | PyExc_PermissionError, 588 | | native_doc!("PermissionError") 589 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:590:1 | 590 | / impl_native_exception!( 591 | | PyProcessLookupError, 592 | | PyExc_ProcessLookupError, 593 | | native_doc!("ProcessLookupError") 594 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:590:1 | 590 | / impl_native_exception!( 591 | | PyProcessLookupError, 592 | | PyExc_ProcessLookupError, 593 | | native_doc!("ProcessLookupError") 594 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:595:1 | 595 | / impl_native_exception!( 596 | | PyTimeoutError, 597 | | PyExc_TimeoutError, 598 | | native_doc!("TimeoutError") 599 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:595:1 | 595 | / impl_native_exception!( 596 | | PyTimeoutError, 597 | | PyExc_TimeoutError, 598 | | native_doc!("TimeoutError") 599 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:601:1 | 601 | / impl_native_exception!( 602 | | PyEnvironmentError, 603 | | PyExc_EnvironmentError, 604 | | native_doc!("EnvironmentError") 605 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:601:1 | 601 | / impl_native_exception!( 602 | | PyEnvironmentError, 603 | | PyExc_EnvironmentError, 604 | | native_doc!("EnvironmentError") 605 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:606:1 | 606 | impl_native_exception!(PyIOError, PyExc_IOError, native_doc!("IOError")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:606:1 | 606 | impl_native_exception!(PyIOError, PyExc_IOError, native_doc!("IOError")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:672:1 | 672 | impl_native_exception!(PyWarning, PyExc_Warning, native_doc!("Warning")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:672:1 | 672 | impl_native_exception!(PyWarning, PyExc_Warning, native_doc!("Warning")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:673:1 | 673 | impl_native_exception!(PyUserWarning, PyExc_UserWarning, native_doc!("UserWarning")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:673:1 | 673 | impl_native_exception!(PyUserWarning, PyExc_UserWarning, native_doc!("UserWarning")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:674:1 | 674 | / impl_native_exception!( 675 | | PyDeprecationWarning, 676 | | PyExc_DeprecationWarning, 677 | | native_doc!("DeprecationWarning") 678 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:674:1 | 674 | / impl_native_exception!( 675 | | PyDeprecationWarning, 676 | | PyExc_DeprecationWarning, 677 | | native_doc!("DeprecationWarning") 678 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:679:1 | 679 | / impl_native_exception!( 680 | | PyPendingDeprecationWarning, 681 | | PyExc_PendingDeprecationWarning, 682 | | native_doc!("PendingDeprecationWarning") 683 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:679:1 | 679 | / impl_native_exception!( 680 | | PyPendingDeprecationWarning, 681 | | PyExc_PendingDeprecationWarning, 682 | | native_doc!("PendingDeprecationWarning") 683 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:684:1 | 684 | / impl_native_exception!( 685 | | PySyntaxWarning, 686 | | PyExc_SyntaxWarning, 687 | | native_doc!("SyntaxWarning") 688 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:684:1 | 684 | / impl_native_exception!( 685 | | PySyntaxWarning, 686 | | PyExc_SyntaxWarning, 687 | | native_doc!("SyntaxWarning") 688 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:689:1 | 689 | / impl_native_exception!( 690 | | PyRuntimeWarning, 691 | | PyExc_RuntimeWarning, 692 | | native_doc!("RuntimeWarning") 693 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:689:1 | 689 | / impl_native_exception!( 690 | | PyRuntimeWarning, 691 | | PyExc_RuntimeWarning, 692 | | native_doc!("RuntimeWarning") 693 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:694:1 | 694 | / impl_native_exception!( 695 | | PyFutureWarning, 696 | | PyExc_FutureWarning, 697 | | native_doc!("FutureWarning") 698 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:694:1 | 694 | / impl_native_exception!( 695 | | PyFutureWarning, 696 | | PyExc_FutureWarning, 697 | | native_doc!("FutureWarning") 698 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:699:1 | 699 | / impl_native_exception!( 700 | | PyImportWarning, 701 | | PyExc_ImportWarning, 702 | | native_doc!("ImportWarning") 703 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:699:1 | 699 | / impl_native_exception!( 700 | | PyImportWarning, 701 | | PyExc_ImportWarning, 702 | | native_doc!("ImportWarning") 703 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:704:1 | 704 | / impl_native_exception!( 705 | | PyUnicodeWarning, 706 | | PyExc_UnicodeWarning, 707 | | native_doc!("UnicodeWarning") 708 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:704:1 | 704 | / impl_native_exception!( 705 | | PyUnicodeWarning, 706 | | PyExc_UnicodeWarning, 707 | | native_doc!("UnicodeWarning") 708 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:709:1 | 709 | / impl_native_exception!( 710 | | PyBytesWarning, 711 | | PyExc_BytesWarning, 712 | | native_doc!("BytesWarning") 713 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:709:1 | 709 | / impl_native_exception!( 710 | | PyBytesWarning, 711 | | PyExc_BytesWarning, 712 | | native_doc!("BytesWarning") 713 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:714:1 | 714 | / impl_native_exception!( 715 | | PyResourceWarning, 716 | | PyExc_ResourceWarning, 717 | | native_doc!("ResourceWarning") 718 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:714:1 | 714 | / impl_native_exception!( 715 | | PyResourceWarning, 716 | | PyExc_ResourceWarning, 717 | | native_doc!("ResourceWarning") 718 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:721:1 | 721 | / impl_native_exception!( 722 | | PyEncodingWarning, 723 | | PyExc_EncodingWarning, 724 | | native_doc!("EncodingWarning") 725 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:721:1 | 721 | / impl_native_exception!( 722 | | PyEncodingWarning, 723 | | PyExc_EncodingWarning, 724 | | native_doc!("EncodingWarning") 725 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:762:5 | 762 | import_exception!(asyncio, CancelledError); | ------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:762:5 | 762 | import_exception!(asyncio, CancelledError); | ------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:763:5 | 763 | import_exception!(asyncio, InvalidStateError); | --------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:763:5 | 763 | import_exception!(asyncio, InvalidStateError); | --------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:764:5 | 764 | import_exception!(asyncio, TimeoutError); | ---------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:764:5 | 764 | import_exception!(asyncio, TimeoutError); | ---------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:765:5 | 765 | import_exception!(asyncio, IncompleteReadError); | ----------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:765:5 | 765 | import_exception!(asyncio, IncompleteReadError); | ----------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:766:5 | 766 | import_exception!(asyncio, LimitOverrunError); | --------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:766:5 | 766 | import_exception!(asyncio, LimitOverrunError); | --------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:767:5 | 767 | import_exception!(asyncio, QueueEmpty); | -------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:767:5 | 767 | import_exception!(asyncio, QueueEmpty); | -------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:768:5 | 768 | import_exception!(asyncio, QueueFull); | ------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:768:5 | 768 | import_exception!(asyncio, QueueFull); | ------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:789:5 | 789 | import_exception!(socket, herror); | --------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:789:5 | 789 | import_exception!(socket, herror); | --------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:790:5 | 790 | import_exception!(socket, gaierror); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:790:5 | 790 | import_exception!(socket, gaierror); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:791:5 | 791 | import_exception!(socket, timeout); | ---------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:791:5 | 791 | import_exception!(socket, timeout); | ---------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/gil.rs:81:11 | 81 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/gil.rs:128:11 | 128 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `thread_local_const_init` --> src/gil.rs:16:14 | 16 | if #[cfg(thread_local_const_init)] { | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thread_local_const_init)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thread_local_const_init)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/gil.rs:183:59 | 183 | if #[cfg(all(feature = "auto-initialize", not(PyPy)))] { | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/gil.rs:190:27 | 190 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `option_insert` --> src/impl_/extract_argument.rs:53:15 | 53 | #[cfg(not(option_insert))] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(option_insert)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(option_insert)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `option_insert` --> src/impl_/extract_argument.rs:59:11 | 59 | #[cfg(option_insert)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(option_insert)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(option_insert)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `option_insert` --> src/impl_/extract_argument.rs:68:15 | 68 | #[cfg(not(option_insert))] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(option_insert)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(option_insert)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `option_insert` --> src/impl_/extract_argument.rs:74:11 | 74 | #[cfg(option_insert)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(option_insert)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(option_insert)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/extract_argument.rs:227:15 | 227 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pyclass.rs:826:11 | 826 | #[cfg(not(Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pyclass.rs:779:15 | 779 | #[cfg(not(Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pyclass.rs:817:15 | 817 | #[cfg(Py_3_8)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pymethods.rs:15:7 | 15 | #[cfg(Py_3_8)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pymethods.rs:20:11 | 20 | #[cfg(not(Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/pymethods.rs:77:11 | 77 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/pymethods.rs:67:15 | 67 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pymethods.rs:33:11 | 33 | #[cfg(Py_3_8)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pymethods.rs:39:15 | 39 | #[cfg(not(Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/pymethods.rs:156:15 | 156 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/pymethods.rs:184:23 | 184 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/impl_/pymodule.rs:59:19 | 59 | #[cfg(all(PyPy, not(Py_3_8)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pymodule.rs:59:29 | 59 | #[cfg(all(PyPy, not(Py_3_8)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/trampoline.rs:122:15 | 122 | #[cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/impl_/trampoline.rs:122:32 | 122 | #[cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/trampoline.rs:127:15 | 127 | #[cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/impl_/trampoline.rs:127:32 | 127 | #[cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/instance.rs:693:21 | 693 | not(PyPy), | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/instance.rs:694:21 | 694 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/instance.rs:694:38 | 694 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/instance.rs:694:55 | 694 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/instance.rs:762:26 | 762 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/instance.rs:762:42 | 762 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/instance.rs:762:58 | 762 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: elided lifetime has a name --> src/instance.rs:1087:64 | 1087 | pub fn downcast<'p, T>(&'p self, py: Python<'p>) -> Result<&T, PyDowncastError<'_>> | -- lifetime `'p` declared here ^ this elided lifetime gets resolved as `'p` | = note: `#[warn(elided_named_lifetimes)]` on by default warning: elided lifetime has a name --> src/instance.rs:1087:84 | 1087 | pub fn downcast<'p, T>(&'p self, py: Python<'p>) -> Result<&T, PyDowncastError<'_>> | -- lifetime `'p` declared here ^^ this elided lifetime gets resolved as `'p` warning: elided lifetime has a name --> src/instance.rs:1100:74 | 1100 | pub unsafe fn downcast_unchecked<'p, T>(&'p self, py: Python<'p>) -> &T | -- lifetime `'p` declared here ^ this elided lifetime gets resolved as `'p` warning: elided lifetime has a name --> src/instance.rs:1109:86 | 1109 | pub fn cast_as<'p, D>(&'p self, py: Python<'p>) -> Result<&'p D, PyDowncastError<'_>> | -- lifetime `'p` declared here ^^ this elided lifetime gets resolved as `'p` warning: unexpected `cfg` condition name: `PyPy` --> src/marker.rs:391:13 | 391 | not(PyPy), | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/marker.rs:394:16 | 394 | #[cfg_attr(PyPy, doc = "`prepare_freethreaded_python`")] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/marker.rs:448:13 | 448 | all(Py_3_8, not(PyPy)), | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/marker.rs:448:25 | 448 | all(Py_3_8, not(PyPy)), | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/marker.rs:451:24 | 451 | #[cfg_attr(any(not(Py_3_8), PyPy), doc = "`_Py_InitializeMain`")] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/marker.rs:451:33 | 451 | #[cfg_attr(any(not(Py_3_8), PyPy), doc = "`_Py_InitializeMain`")] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/panic.rs:6:1 | 6 | / pyo3_exception!( 7 | | " 8 | | The exception raised when Rust code called from Python panics. ... | 15 | | PyBaseException 16 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyo3_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/panic.rs:6:1 | 6 | / pyo3_exception!( 7 | | " 8 | | The exception raised when Rust code called from Python panics. ... | 15 | | PyBaseException 16 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyo3_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pycell.rs:915:19 | 915 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pycell.rs:924:15 | 924 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/pyclass/create_type_object.rs:70:19 | 70 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:70:32 | 70 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/pyclass/create_type_object.rs:88:27 | 88 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:88:40 | 88 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/pyclass/create_type_object.rs:93:27 | 93 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:93:40 | 93 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/pyclass/create_type_object.rs:172:27 | 172 | #[cfg(not(any(PyPy, all(Py_LIMITED_API, not(Py_3_10)))))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:172:37 | 172 | #[cfg(not(any(PyPy, all(Py_LIMITED_API, not(Py_3_10)))))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/pyclass/create_type_object.rs:172:57 | 172 | #[cfg(not(any(PyPy, all(Py_LIMITED_API, not(Py_3_10)))))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/pyclass/create_type_object.rs:253:27 | 253 | #[cfg(all(not(PyPy), not(Py_LIMITED_API), not(Py_3_10)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:253:38 | 253 | #[cfg(all(not(PyPy), not(Py_LIMITED_API), not(Py_3_10)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/pyclass/create_type_object.rs:253:59 | 253 | #[cfg(all(not(PyPy), not(Py_LIMITED_API), not(Py_3_10)))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/pyclass/create_type_object.rs:278:15 | 278 | #[cfg(Py_3_9)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:312:23 | 312 | #[cfg(all(not(Py_LIMITED_API), not(Py_3_9)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/pyclass/create_type_object.rs:312:44 | 312 | #[cfg(all(not(Py_LIMITED_API), not(Py_3_9)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/pyclass_init.rs:49:19 | 49 | #[cfg(addr_of)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/pyclass_init.rs:51:23 | 51 | #[cfg(not(addr_of))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass_init.rs:63:19 | 63 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass_init.rs:66:23 | 66 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/type_object.rs:69:15 | 69 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/type_object.rs:74:11 | 74 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/type_object.rs:83:15 | 83 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/type_object.rs:88:11 | 88 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:8:11 | 8 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:11:11 | 11 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:17:11 | 17 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:20:15 | 20 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:20:36 | 20 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:24:15 | 24 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:24:36 | 24 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:32:11 | 32 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:37:11 | 37 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:276:11 | 276 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:279:11 | 279 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:283:15 | 283 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:283:36 | 283 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:292:11 | 292 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/any.rs:6:11 | 6 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/any.rs:55:1 | 55 | / pyobject_native_type_info!( 56 | | PyAny, 57 | | ffi::PyBaseObject_Type, 58 | | Some("builtins"), 59 | | #checkfunction=PyObject_Check 60 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type_info` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/any.rs:55:1 | 55 | / pyobject_native_type_info!( 56 | | PyAny, 57 | | ffi::PyBaseObject_Type, 58 | | Some("builtins"), 59 | | #checkfunction=PyObject_Check 60 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type_info` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/any.rs:1080:15 | 1080 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/types/any.rs:182:17 | 182 | if cfg!(Py_3_10) | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/any.rs:547:21 | 547 | not(PyPy), | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/types/any.rs:548:21 | 548 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/any.rs:548:38 | 548 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/types/any.rs:548:55 | 548 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/types/any.rs:681:26 | 681 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/any.rs:681:42 | 681 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/any.rs:681:58 | 681 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: elided lifetime has a name --> src/types/any.rs:839:70 | 839 | pub fn cast_as<'a, D>(&'a self) -> Result<&'a D, PyDowncastError<'_>> | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` warning: elided lifetime has a name --> src/types/any.rs:899:71 | 899 | pub fn downcast<'p, T>(&'p self) -> Result<&'p T, PyDowncastError<'_>> | -- lifetime `'p` declared here ^^ this elided lifetime gets resolved as `'p` warning: elided lifetime has a name --> src/types/any.rs:937:77 | 937 | pub fn downcast_exact<'p, T>(&'p self) -> Result<&'p T, PyDowncastError<'_>> | -- lifetime `'p` declared here ^^ this elided lifetime gets resolved as `'p` warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/boolobject.rs:11:1 | 11 | pyobject_native_type!(PyBool, ffi::PyObject, ffi::PyBool_Type, #checkfunction=ffi::PyBool_Check); | ------------------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/boolobject.rs:11:1 | 11 | pyobject_native_type!(PyBool, ffi::PyObject, ffi::PyBool_Type, #checkfunction=ffi::PyBool_Check); | ------------------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/boolobject.rs:11:1 | 11 | pyobject_native_type!(PyBool, ffi::PyObject, ffi::PyBool_Type, #checkfunction=ffi::PyBool_Check); | ------------------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/bytearray.rs:10:1 | 10 | pyobject_native_type_core!(PyByteArray, ffi::PyByteArray_Type, #checkfunction=ffi::PyByteArray_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/bytearray.rs:10:1 | 10 | pyobject_native_type_core!(PyByteArray, ffi::PyByteArray_Type, #checkfunction=ffi::PyByteArray_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/bytes.rs:16:1 | 16 | pyobject_native_type_core!(PyBytes, ffi::PyBytes_Type, #checkfunction=ffi::PyBytes_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/bytes.rs:16:1 | 16 | pyobject_native_type_core!(PyBytes, ffi::PyBytes_Type, #checkfunction=ffi::PyBytes_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/capsule.rs:44:1 | 44 | pyobject_native_type_core!(PyCapsule, ffi::PyCapsule_Type, #checkfunction=ffi::PyCapsule_CheckExact); | ---------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/capsule.rs:44:1 | 44 | pyobject_native_type_core!(PyCapsule, ffi::PyCapsule_Type, #checkfunction=ffi::PyCapsule_CheckExact); | ---------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/code.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyCode, 10 | | ffi::PyCode_Type, 11 | | #checkfunction=ffi::PyCode_Check 12 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/code.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyCode, 10 | | ffi::PyCode_Type, 11 | | #checkfunction=ffi::PyCode_Check 12 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/complex.rs:39:15 | 39 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/complex.rs:39:31 | 39 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/complex.rs:14:1 | 14 | / pyobject_native_type!( 15 | | PyComplex, 16 | | ffi::PyComplexObject, 17 | | ffi::PyComplex_Type, 18 | | #checkfunction=ffi::PyComplex_Check 19 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/complex.rs:14:1 | 14 | / pyobject_native_type!( 15 | | PyComplex, 16 | | ffi::PyComplexObject, 17 | | ffi::PyComplex_Type, 18 | | #checkfunction=ffi::PyComplex_Check 19 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/complex.rs:14:1 | 14 | / pyobject_native_type!( 15 | | PyComplex, 16 | | ffi::PyComplexObject, 17 | | ffi::PyComplex_Type, 18 | | #checkfunction=ffi::PyComplex_Check 19 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/datetime.rs:173:1 | 173 | / pyobject_native_type!( 174 | | PyDate, 175 | | crate::ffi::PyDateTime_Date, 176 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateType, 177 | | #module=Some("datetime"), 178 | | #checkfunction=PyDate_Check 179 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/datetime.rs:228:1 | 228 | / pyobject_native_type!( 229 | | PyDateTime, 230 | | crate::ffi::PyDateTime_DateTime, 231 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateTimeType, 232 | | #module=Some("datetime"), 233 | | #checkfunction=PyDateTime_Check 234 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/datetime.rs:377:1 | 377 | / pyobject_native_type!( 378 | | PyTime, 379 | | crate::ffi::PyDateTime_Time, 380 | | *ensure_datetime_api(Python::assume_gil_acquired()).TimeType, 381 | | #module=Some("datetime"), 382 | | #checkfunction=PyTime_Check 383 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/datetime.rs:477:1 | 477 | / pyobject_native_type!( 478 | | PyTzInfo, 479 | | crate::ffi::PyObject, 480 | | *ensure_datetime_api(Python::assume_gil_acquired()).TZInfoType, 481 | | #module=Some("datetime"), 482 | | #checkfunction=PyTZInfo_Check 483 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/datetime.rs:493:1 | 493 | / pyobject_native_type!( 494 | | PyDelta, 495 | | crate::ffi::PyDateTime_Delta, 496 | | *ensure_datetime_api(Python::assume_gil_acquired()).DeltaType, 497 | | #module=Some("datetime"), 498 | | #checkfunction=PyDelta_Check 499 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/datetime.rs:173:1 | 173 | / pyobject_native_type!( 174 | | PyDate, 175 | | crate::ffi::PyDateTime_Date, 176 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateType, 177 | | #module=Some("datetime"), 178 | | #checkfunction=PyDate_Check 179 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/datetime.rs:173:1 | 173 | / pyobject_native_type!( 174 | | PyDate, 175 | | crate::ffi::PyDateTime_Date, 176 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateType, 177 | | #module=Some("datetime"), 178 | | #checkfunction=PyDate_Check 179 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/datetime.rs:228:1 | 228 | / pyobject_native_type!( 229 | | PyDateTime, 230 | | crate::ffi::PyDateTime_DateTime, 231 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateTimeType, 232 | | #module=Some("datetime"), 233 | | #checkfunction=PyDateTime_Check 234 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/datetime.rs:228:1 | 228 | / pyobject_native_type!( 229 | | PyDateTime, 230 | | crate::ffi::PyDateTime_DateTime, 231 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateTimeType, 232 | | #module=Some("datetime"), 233 | | #checkfunction=PyDateTime_Check 234 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/datetime.rs:377:1 | 377 | / pyobject_native_type!( 378 | | PyTime, 379 | | crate::ffi::PyDateTime_Time, 380 | | *ensure_datetime_api(Python::assume_gil_acquired()).TimeType, 381 | | #module=Some("datetime"), 382 | | #checkfunction=PyTime_Check 383 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/datetime.rs:377:1 | 377 | / pyobject_native_type!( 378 | | PyTime, 379 | | crate::ffi::PyDateTime_Time, 380 | | *ensure_datetime_api(Python::assume_gil_acquired()).TimeType, 381 | | #module=Some("datetime"), 382 | | #checkfunction=PyTime_Check 383 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/datetime.rs:477:1 | 477 | / pyobject_native_type!( 478 | | PyTzInfo, 479 | | crate::ffi::PyObject, 480 | | *ensure_datetime_api(Python::assume_gil_acquired()).TZInfoType, 481 | | #module=Some("datetime"), 482 | | #checkfunction=PyTZInfo_Check 483 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/datetime.rs:477:1 | 477 | / pyobject_native_type!( 478 | | PyTzInfo, 479 | | crate::ffi::PyObject, 480 | | *ensure_datetime_api(Python::assume_gil_acquired()).TZInfoType, 481 | | #module=Some("datetime"), 482 | | #checkfunction=PyTZInfo_Check 483 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/datetime.rs:493:1 | 493 | / pyobject_native_type!( 494 | | PyDelta, 495 | | crate::ffi::PyDateTime_Delta, 496 | | *ensure_datetime_api(Python::assume_gil_acquired()).DeltaType, 497 | | #module=Some("datetime"), 498 | | #checkfunction=PyDelta_Check 499 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/datetime.rs:493:1 | 493 | / pyobject_native_type!( 494 | | PyDelta, 495 | | crate::ffi::PyDateTime_Delta, 496 | | *ensure_datetime_api(Python::assume_gil_acquired()).DeltaType, 497 | | #module=Some("datetime"), 498 | | #checkfunction=PyDelta_Check 499 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:5:11 | 5 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:21:11 | 21 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:25:11 | 25 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:33:11 | 33 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:37:11 | 37 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:45:11 | 45 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:49:11 | 49 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/dict.rs:13:1 | 13 | / pyobject_native_type!( 14 | | PyDict, 15 | | ffi::PyDictObject, 16 | | ffi::PyDict_Type, 17 | | #checkfunction=ffi::PyDict_Check 18 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/dict.rs:13:1 | 13 | / pyobject_native_type!( 14 | | PyDict, 15 | | ffi::PyDictObject, 16 | | ffi::PyDict_Type, 17 | | #checkfunction=ffi::PyDict_Check 18 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/dict.rs:13:1 | 13 | / pyobject_native_type!( 14 | | PyDict, 15 | | ffi::PyDictObject, 16 | | ffi::PyDict_Type, 17 | | #checkfunction=ffi::PyDict_Check 18 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/dict.rs:26:1 | 26 | / pyobject_native_type_core!( 27 | | PyDictKeys, 28 | | ffi::PyDictKeys_Type, 29 | | #checkfunction=ffi::PyDictKeys_Check 30 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/dict.rs:26:1 | 26 | / pyobject_native_type_core!( 27 | | PyDictKeys, 28 | | ffi::PyDictKeys_Type, 29 | | #checkfunction=ffi::PyDictKeys_Check 30 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/dict.rs:38:1 | 38 | / pyobject_native_type_core!( 39 | | PyDictValues, 40 | | ffi::PyDictValues_Type, 41 | | #checkfunction=ffi::PyDictValues_Check 42 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/dict.rs:38:1 | 38 | / pyobject_native_type_core!( 39 | | PyDictValues, 40 | | ffi::PyDictValues_Type, 41 | | #checkfunction=ffi::PyDictValues_Check 42 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/dict.rs:50:1 | 50 | / pyobject_native_type_core!( 51 | | PyDictItems, 52 | | ffi::PyDictItems_Type, 53 | | #checkfunction=ffi::PyDictItems_Check 54 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/dict.rs:50:1 | 50 | / pyobject_native_type_core!( 51 | | PyDictItems, 52 | | ffi::PyDictItems_Type, 53 | | #checkfunction=ffi::PyDictItems_Check 54 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:69:15 | 69 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/types/dict.rs:101:23 | 101 | #[cfg(any(not(Py_3_8), PyPy, Py_LIMITED_API))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:101:32 | 101 | #[cfg(any(not(Py_3_8), PyPy, Py_LIMITED_API))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/dict.rs:101:38 | 101 | #[cfg(any(not(Py_3_8), PyPy, Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/types/dict.rs:106:19 | 106 | #[cfg(all(Py_3_8, not(PyPy), not(Py_LIMITED_API)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:106:31 | 106 | #[cfg(all(Py_3_8, not(PyPy), not(Py_LIMITED_API)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/dict.rs:106:42 | 106 | #[cfg(all(Py_3_8, not(PyPy), not(Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/floatob.rs:18:1 | 18 | / pyobject_native_type!( 19 | | PyFloat, 20 | | ffi::PyFloatObject, 21 | | ffi::PyFloat_Type, 22 | | #checkfunction=ffi::PyFloat_Check 23 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/floatob.rs:18:1 | 18 | / pyobject_native_type!( 19 | | PyFloat, 20 | | ffi::PyFloatObject, 21 | | ffi::PyFloat_Type, 22 | | #checkfunction=ffi::PyFloat_Check 23 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/floatob.rs:18:1 | 18 | / pyobject_native_type!( 19 | | PyFloat, 20 | | ffi::PyFloatObject, 21 | | ffi::PyFloat_Type, 22 | | #checkfunction=ffi::PyFloat_Check 23 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/floatob.rs:33:19 | 33 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/floatob.rs:39:15 | 39 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/floatob.rs:71:19 | 71 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/frame.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyFrame, 10 | | ffi::PyFrame_Type, 11 | | #checkfunction=ffi::PyFrame_Check 12 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/frame.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyFrame, 10 | | ffi::PyFrame_Type, 11 | | #checkfunction=ffi::PyFrame_Check 12 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/frozenset.rs:1:7 | 1 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/frozenset.rs:50:11 | 50 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/frozenset.rs:58:7 | 58 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/frozenset.rs:117:7 | 117 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/frozenset.rs:147:11 | 147 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/frozenset.rs:51:1 | 51 | / pyobject_native_type!( 52 | | PyFrozenSet, 53 | | ffi::PySetObject, 54 | | ffi::PyFrozenSet_Type, 55 | | #checkfunction=ffi::PyFrozenSet_Check 56 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/frozenset.rs:51:1 | 51 | / pyobject_native_type!( 52 | | PyFrozenSet, 53 | | ffi::PySetObject, 54 | | ffi::PyFrozenSet_Type, 55 | | #checkfunction=ffi::PyFrozenSet_Check 56 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/frozenset.rs:51:1 | 51 | / pyobject_native_type!( 52 | | PyFrozenSet, 53 | | ffi::PySetObject, 54 | | ffi::PyFrozenSet_Type, 55 | | #checkfunction=ffi::PyFrozenSet_Check 56 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/function.rs:179:15 | 179 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/function.rs:179:40 | 179 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/types/function.rs:179:50 | 179 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/function.rs:182:15 | 182 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/function.rs:182:40 | 182 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/types/function.rs:182:50 | 182 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/function.rs:17:1 | 17 | pyobject_native_type_core!(PyCFunction, ffi::PyCFunction_Type, #checkfunction=ffi::PyCFunction_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/function.rs:17:1 | 17 | pyobject_native_type_core!(PyCFunction, ffi::PyCFunction_Type, #checkfunction=ffi::PyCFunction_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/function.rs:183:1 | 183 | pyobject_native_type_core!(PyFunction, ffi::PyFunction_Type, #checkfunction=ffi::PyFunction_Check); | -------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/function.rs:183:1 | 183 | pyobject_native_type_core!(PyFunction, ffi::PyFunction_Type, #checkfunction=ffi::PyFunction_Check); | -------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/iterator.rs:59:15 | 59 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/list.rs:13:1 | 13 | pyobject_native_type_core!(PyList, ffi::PyList_Type, #checkfunction=ffi::PyList_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/list.rs:13:1 | 13 | pyobject_native_type_core!(PyList, ffi::PyList_Type, #checkfunction=ffi::PyList_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:38:23 | 38 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:40:19 | 40 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:141:15 | 141 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:97:23 | 97 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:99:19 | 99 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:302:23 | 302 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/list.rs:302:39 | 302 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:304:27 | 304 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/list.rs:304:43 | 304 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/module.rs:21:1 | 21 | pyobject_native_type_core!(PyModule, ffi::PyModule_Type, #checkfunction=ffi::PyModule_Check); | -------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/module.rs:21:1 | 21 | pyobject_native_type_core!(PyModule, ffi::PyModule_Type, #checkfunction=ffi::PyModule_Check); | -------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/module.rs:202:15 | 202 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/num.rs:12:1 | 12 | pyobject_native_type_core!(PyLong, ffi::PyLong_Type, #checkfunction=ffi::PyLong_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/num.rs:12:1 | 12 | pyobject_native_type_core!(PyLong, ffi::PyLong_Type, #checkfunction=ffi::PyLong_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/pysuper.rs:11:1 | 11 | pyobject_native_type_core!(PySuper, ffi::PySuper_Type); | ------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/pysuper.rs:11:1 | 11 | pyobject_native_type_core!(PySuper, ffi::PySuper_Type); | ------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/sequence.rs:175:15 | 175 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/set.rs:1:7 | 1 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/set.rs:14:11 | 14 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/set.rs:22:7 | 22 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/set.rs:129:7 | 129 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/set.rs:169:11 | 169 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/set.rs:15:1 | 15 | / pyobject_native_type!( 16 | | PySet, 17 | | ffi::PySetObject, 18 | | ffi::PySet_Type, 19 | | #checkfunction=ffi::PySet_Check 20 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/set.rs:15:1 | 15 | / pyobject_native_type!( 16 | | PySet, 17 | | ffi::PySetObject, 18 | | ffi::PySet_Type, 19 | | #checkfunction=ffi::PySet_Check 20 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/set.rs:15:1 | 15 | / pyobject_native_type!( 16 | | PySet, 17 | | ffi::PySetObject, 18 | | ffi::PySet_Type, 19 | | #checkfunction=ffi::PySet_Check 20 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/slice.rs:12:1 | 12 | / pyobject_native_type!( 13 | | PySlice, 14 | | ffi::PySliceObject, 15 | | ffi::PySlice_Type, 16 | | #checkfunction=ffi::PySlice_Check 17 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/slice.rs:12:1 | 12 | / pyobject_native_type!( 13 | | PySlice, 14 | | ffi::PySliceObject, 15 | | ffi::PySlice_Type, 16 | | #checkfunction=ffi::PySlice_Check 17 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/slice.rs:12:1 | 12 | / pyobject_native_type!( 13 | | PySlice, 14 | | ffi::PySliceObject, 15 | | ffi::PySlice_Type, 16 | | #checkfunction=ffi::PySlice_Check 17 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:1:11 | 1 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:13:11 | 13 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:26:11 | 26 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/string.rs:130:1 | 130 | pyobject_native_type_core!(PyString, ffi::PyUnicode_Type, #checkfunction=ffi::PyUnicode_Check); | ---------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/string.rs:130:1 | 130 | pyobject_native_type_core!(PyString, ffi::PyUnicode_Type, #checkfunction=ffi::PyUnicode_Check); | ---------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:239:15 | 239 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/types/string.rs:184:30 | 184 | if #[cfg(any(Py_3_10, not(Py_LIMITED_API)))] { | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:184:43 | 184 | if #[cfg(any(Py_3_10, not(Py_LIMITED_API)))] { | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/types/string.rs:243:19 | 243 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/traceback.rs:10:1 | 10 | / pyobject_native_type_core!( 11 | | PyTraceback, 12 | | ffi::PyTraceBack_Type, 13 | | #checkfunction=ffi::PyTraceBack_Check 14 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/traceback.rs:10:1 | 10 | / pyobject_native_type_core!( 11 | | PyTraceback, 12 | | ffi::PyTraceBack_Type, 13 | | #checkfunction=ffi::PyTraceBack_Check 14 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:36:27 | 36 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:36:43 | 36 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:38:23 | 38 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:38:39 | 38 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/tuple.rs:56:1 | 56 | pyobject_native_type_core!(PyTuple, ffi::PyTuple_Type, #checkfunction=ffi::PyTuple_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/tuple.rs:56:1 | 56 | pyobject_native_type_core!(PyTuple, ffi::PyTuple_Type, #checkfunction=ffi::PyTuple_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:167:19 | 167 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:167:35 | 167 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:174:15 | 174 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:107:27 | 107 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:107:43 | 107 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:109:23 | 109 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:109:39 | 109 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:241:23 | 241 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:241:39 | 241 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:243:27 | 243 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:243:43 | 243 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 349 | tuple_conversion!(1, (ref0, 0, T0)); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 349 | tuple_conversion!(1, (ref0, 0, T0)); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 349 | tuple_conversion!(1, (ref0, 0, T0)); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 349 | tuple_conversion!(1, (ref0, 0, T0)); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 350 | tuple_conversion!(2, (ref0, 0, T0), (ref1, 1, T1)); | -------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 350 | tuple_conversion!(2, (ref0, 0, T0), (ref1, 1, T1)); | -------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 350 | tuple_conversion!(2, (ref0, 0, T0), (ref1, 1, T1)); | -------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 350 | tuple_conversion!(2, (ref0, 0, T0), (ref1, 1, T1)); | -------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 351 | tuple_conversion!(3, (ref0, 0, T0), (ref1, 1, T1), (ref2, 2, T2)); | ----------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 351 | tuple_conversion!(3, (ref0, 0, T0), (ref1, 1, T1), (ref2, 2, T2)); | ----------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 351 | tuple_conversion!(3, (ref0, 0, T0), (ref1, 1, T1), (ref2, 2, T2)); | ----------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 351 | tuple_conversion!(3, (ref0, 0, T0), (ref1, 1, T1), (ref2, 2, T2)); | ----------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 352 | / tuple_conversion!( 353 | | 4, 354 | | (ref0, 0, T0), 355 | | (ref1, 1, T1), 356 | | (ref2, 2, T2), 357 | | (ref3, 3, T3) 358 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 352 | / tuple_conversion!( 353 | | 4, 354 | | (ref0, 0, T0), 355 | | (ref1, 1, T1), 356 | | (ref2, 2, T2), 357 | | (ref3, 3, T3) 358 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 352 | / tuple_conversion!( 353 | | 4, 354 | | (ref0, 0, T0), 355 | | (ref1, 1, T1), 356 | | (ref2, 2, T2), 357 | | (ref3, 3, T3) 358 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 352 | / tuple_conversion!( 353 | | 4, 354 | | (ref0, 0, T0), 355 | | (ref1, 1, T1), 356 | | (ref2, 2, T2), 357 | | (ref3, 3, T3) 358 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 359 | / tuple_conversion!( 360 | | 5, 361 | | (ref0, 0, T0), 362 | | (ref1, 1, T1), ... | 365 | | (ref4, 4, T4) 366 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 359 | / tuple_conversion!( 360 | | 5, 361 | | (ref0, 0, T0), 362 | | (ref1, 1, T1), ... | 365 | | (ref4, 4, T4) 366 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 359 | / tuple_conversion!( 360 | | 5, 361 | | (ref0, 0, T0), 362 | | (ref1, 1, T1), ... | 365 | | (ref4, 4, T4) 366 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 359 | / tuple_conversion!( 360 | | 5, 361 | | (ref0, 0, T0), 362 | | (ref1, 1, T1), ... | 365 | | (ref4, 4, T4) 366 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 367 | / tuple_conversion!( 368 | | 6, 369 | | (ref0, 0, T0), 370 | | (ref1, 1, T1), ... | 374 | | (ref5, 5, T5) 375 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 367 | / tuple_conversion!( 368 | | 6, 369 | | (ref0, 0, T0), 370 | | (ref1, 1, T1), ... | 374 | | (ref5, 5, T5) 375 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 367 | / tuple_conversion!( 368 | | 6, 369 | | (ref0, 0, T0), 370 | | (ref1, 1, T1), ... | 374 | | (ref5, 5, T5) 375 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 367 | / tuple_conversion!( 368 | | 6, 369 | | (ref0, 0, T0), 370 | | (ref1, 1, T1), ... | 374 | | (ref5, 5, T5) 375 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 376 | / tuple_conversion!( 377 | | 7, 378 | | (ref0, 0, T0), 379 | | (ref1, 1, T1), ... | 384 | | (ref6, 6, T6) 385 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 376 | / tuple_conversion!( 377 | | 7, 378 | | (ref0, 0, T0), 379 | | (ref1, 1, T1), ... | 384 | | (ref6, 6, T6) 385 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 376 | / tuple_conversion!( 377 | | 7, 378 | | (ref0, 0, T0), 379 | | (ref1, 1, T1), ... | 384 | | (ref6, 6, T6) 385 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 376 | / tuple_conversion!( 377 | | 7, 378 | | (ref0, 0, T0), 379 | | (ref1, 1, T1), ... | 384 | | (ref6, 6, T6) 385 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 386 | / tuple_conversion!( 387 | | 8, 388 | | (ref0, 0, T0), 389 | | (ref1, 1, T1), ... | 395 | | (ref7, 7, T7) 396 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 386 | / tuple_conversion!( 387 | | 8, 388 | | (ref0, 0, T0), 389 | | (ref1, 1, T1), ... | 395 | | (ref7, 7, T7) 396 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 386 | / tuple_conversion!( 387 | | 8, 388 | | (ref0, 0, T0), 389 | | (ref1, 1, T1), ... | 395 | | (ref7, 7, T7) 396 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 386 | / tuple_conversion!( 387 | | 8, 388 | | (ref0, 0, T0), 389 | | (ref1, 1, T1), ... | 395 | | (ref7, 7, T7) 396 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 397 | / tuple_conversion!( 398 | | 9, 399 | | (ref0, 0, T0), 400 | | (ref1, 1, T1), ... | 407 | | (ref8, 8, T8) 408 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 397 | / tuple_conversion!( 398 | | 9, 399 | | (ref0, 0, T0), 400 | | (ref1, 1, T1), ... | 407 | | (ref8, 8, T8) 408 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 397 | / tuple_conversion!( 398 | | 9, 399 | | (ref0, 0, T0), 400 | | (ref1, 1, T1), ... | 407 | | (ref8, 8, T8) 408 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 397 | / tuple_conversion!( 398 | | 9, 399 | | (ref0, 0, T0), 400 | | (ref1, 1, T1), ... | 407 | | (ref8, 8, T8) 408 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 409 | / tuple_conversion!( 410 | | 10, 411 | | (ref0, 0, T0), 412 | | (ref1, 1, T1), ... | 420 | | (ref9, 9, T9) 421 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 409 | / tuple_conversion!( 410 | | 10, 411 | | (ref0, 0, T0), 412 | | (ref1, 1, T1), ... | 420 | | (ref9, 9, T9) 421 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 409 | / tuple_conversion!( 410 | | 10, 411 | | (ref0, 0, T0), 412 | | (ref1, 1, T1), ... | 420 | | (ref9, 9, T9) 421 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 409 | / tuple_conversion!( 410 | | 10, 411 | | (ref0, 0, T0), 412 | | (ref1, 1, T1), ... | 420 | | (ref9, 9, T9) 421 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 422 | / tuple_conversion!( 423 | | 11, 424 | | (ref0, 0, T0), 425 | | (ref1, 1, T1), ... | 434 | | (ref10, 10, T10) 435 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 422 | / tuple_conversion!( 423 | | 11, 424 | | (ref0, 0, T0), 425 | | (ref1, 1, T1), ... | 434 | | (ref10, 10, T10) 435 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 422 | / tuple_conversion!( 423 | | 11, 424 | | (ref0, 0, T0), 425 | | (ref1, 1, T1), ... | 434 | | (ref10, 10, T10) 435 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 422 | / tuple_conversion!( 423 | | 11, 424 | | (ref0, 0, T0), 425 | | (ref1, 1, T1), ... | 434 | | (ref10, 10, T10) 435 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 437 | / tuple_conversion!( 438 | | 12, 439 | | (ref0, 0, T0), 440 | | (ref1, 1, T1), ... | 450 | | (ref11, 11, T11) 451 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 437 | / tuple_conversion!( 438 | | 12, 439 | | (ref0, 0, T0), 440 | | (ref1, 1, T1), ... | 450 | | (ref11, 11, T11) 451 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 437 | / tuple_conversion!( 438 | | 12, 439 | | (ref0, 0, T0), 440 | | (ref1, 1, T1), ... | 450 | | (ref11, 11, T11) 451 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 437 | / tuple_conversion!( 438 | | 12, 439 | | (ref0, 0, T0), 440 | | (ref1, 1, T1), ... | 450 | | (ref11, 11, T11) 451 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/typeobject.rs:8:1 | 8 | pyobject_native_type_core!(PyType, ffi::PyType_Type, #checkfunction=ffi::PyType_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/typeobject.rs:8:1 | 8 | pyobject_native_type_core!(PyType, ffi::PyType_Type, #checkfunction=ffi::PyType_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: elided lifetime has a name --> src/version.rs:31:74 | 29 | impl<'py> PythonVersionInfo<'py> { | --- lifetime `'py` declared here 30 | /// Parses a hard-coded Python interpreter version string (e.g. 3.9.0a4+). 31 | pub(crate) fn from_str(version_number_str: &'py str) -> Result { | ^ this elided lifetime gets resolved as `'py` warning: unused import: `crate::conversions::*` --> src/lib.rs:434:9 | 434 | pub use crate::conversions::*; | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unexpected `cfg` condition name: `PyPy` --> src/macros.rs:159:11 | 159 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/any.rs:55:1 | 55 | / pyobject_native_type_info!( 56 | | PyAny, 57 | | ffi::PyBaseObject_Type, 58 | | Some("builtins"), 59 | | #checkfunction=PyObject_Check 60 | | ); | |_- in this macro invocation | = note: `#[warn(unused_unsafe)]` on by default = note: this warning originates in the macro `pyobject_native_type_info` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/boolobject.rs:11:1 | 11 | pyobject_native_type!(PyBool, ffi::PyObject, ffi::PyBool_Type, #checkfunction=ffi::PyBool_Check); | ------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/bytearray.rs:10:1 | 10 | pyobject_native_type_core!(PyByteArray, ffi::PyByteArray_Type, #checkfunction=ffi::PyByteArray_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/bytes.rs:16:1 | 16 | pyobject_native_type_core!(PyBytes, ffi::PyBytes_Type, #checkfunction=ffi::PyBytes_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/capsule.rs:44:1 | 44 | pyobject_native_type_core!(PyCapsule, ffi::PyCapsule_Type, #checkfunction=ffi::PyCapsule_CheckExact); | ---------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/code.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyCode, 10 | | ffi::PyCode_Type, 11 | | #checkfunction=ffi::PyCode_Check 12 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/complex.rs:14:1 | 14 | / pyobject_native_type!( 15 | | PyComplex, 16 | | ffi::PyComplexObject, 17 | | ffi::PyComplex_Type, 18 | | #checkfunction=ffi::PyComplex_Check 19 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/dict.rs:13:1 | 13 | / pyobject_native_type!( 14 | | PyDict, 15 | | ffi::PyDictObject, 16 | | ffi::PyDict_Type, 17 | | #checkfunction=ffi::PyDict_Check 18 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/dict.rs:26:1 | 26 | / pyobject_native_type_core!( 27 | | PyDictKeys, 28 | | ffi::PyDictKeys_Type, 29 | | #checkfunction=ffi::PyDictKeys_Check 30 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/dict.rs:38:1 | 38 | / pyobject_native_type_core!( 39 | | PyDictValues, 40 | | ffi::PyDictValues_Type, 41 | | #checkfunction=ffi::PyDictValues_Check 42 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/dict.rs:50:1 | 50 | / pyobject_native_type_core!( 51 | | PyDictItems, 52 | | ffi::PyDictItems_Type, 53 | | #checkfunction=ffi::PyDictItems_Check 54 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/floatob.rs:18:1 | 18 | / pyobject_native_type!( 19 | | PyFloat, 20 | | ffi::PyFloatObject, 21 | | ffi::PyFloat_Type, 22 | | #checkfunction=ffi::PyFloat_Check 23 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/frame.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyFrame, 10 | | ffi::PyFrame_Type, 11 | | #checkfunction=ffi::PyFrame_Check 12 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/frozenset.rs:51:1 | 51 | / pyobject_native_type!( 52 | | PyFrozenSet, 53 | | ffi::PySetObject, 54 | | ffi::PyFrozenSet_Type, 55 | | #checkfunction=ffi::PyFrozenSet_Check 56 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/function.rs:17:1 | 17 | pyobject_native_type_core!(PyCFunction, ffi::PyCFunction_Type, #checkfunction=ffi::PyCFunction_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/function.rs:183:1 | 183 | pyobject_native_type_core!(PyFunction, ffi::PyFunction_Type, #checkfunction=ffi::PyFunction_Check); | -------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/list.rs:13:1 | 13 | pyobject_native_type_core!(PyList, ffi::PyList_Type, #checkfunction=ffi::PyList_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/module.rs:21:1 | 21 | pyobject_native_type_core!(PyModule, ffi::PyModule_Type, #checkfunction=ffi::PyModule_Check); | -------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/num.rs:12:1 | 12 | pyobject_native_type_core!(PyLong, ffi::PyLong_Type, #checkfunction=ffi::PyLong_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/pysuper.rs:11:1 | 11 | pyobject_native_type_core!(PySuper, ffi::PySuper_Type); | ------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/set.rs:15:1 | 15 | / pyobject_native_type!( 16 | | PySet, 17 | | ffi::PySetObject, 18 | | ffi::PySet_Type, 19 | | #checkfunction=ffi::PySet_Check 20 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/slice.rs:12:1 | 12 | / pyobject_native_type!( 13 | | PySlice, 14 | | ffi::PySliceObject, 15 | | ffi::PySlice_Type, 16 | | #checkfunction=ffi::PySlice_Check 17 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/string.rs:130:1 | 130 | pyobject_native_type_core!(PyString, ffi::PyUnicode_Type, #checkfunction=ffi::PyUnicode_Check); | ---------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/traceback.rs:10:1 | 10 | / pyobject_native_type_core!( 11 | | PyTraceback, 12 | | ffi::PyTraceBack_Type, 13 | | #checkfunction=ffi::PyTraceBack_Check 14 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/tuple.rs:56:1 | 56 | pyobject_native_type_core!(PyTuple, ffi::PyTuple_Type, #checkfunction=ffi::PyTuple_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/typeobject.rs:8:1 | 8 | pyobject_native_type_core!(PyType, ffi::PyType_Type, #checkfunction=ffi::PyType_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: creating a mutable reference to mutable static is discouraged --> src/pycell.rs:910:38 | 910 | if T::type_object_raw(py) == &mut PyBaseObject_Type { | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives = note: `#[warn(static_mut_refs)]` on by default help: use `&raw mut` instead to create a raw pointer | 910 - if T::type_object_raw(py) == &mut PyBaseObject_Type { 910 + if T::type_object_raw(py) == &raw mut PyBaseObject_Type { | warning: `auto` traits are unstable --> src/marker.rs:262:12 | 262 | pub unsafe auto trait Ungil {} | ^^^^ | = note: see issue #13231 for more information = help: add `#![feature(auto_traits)]` to the crate attributes to enable = note: this compiler was built on 2025-03-31; consider upgrading it if it is out of date = warning: unstable syntax can change at any point in the future, causing a hard error! = note: for more information, see issue #65860 warning: `pyo3` (lib) generated 599 warnings (run `cargo fix --lib -p pyo3` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 1m 17s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cGiiCc + umask 022 + cd /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build + '[' /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build + mkdir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyo3-0.19.2 + 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=pyo3 ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.19.2 + REG_DIR=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT/usr/share/cargo/registry/pyo3-0.19.2 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT/usr/share/cargo/registry/pyo3-0.19.2 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT/usr/share/cargo/registry/pyo3-0.19.2 warning: no (git) VCS found for `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT/usr/share/cargo/registry/pyo3-0.19.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT/usr/share/cargo/registry/pyo3-0.19.2/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 *** WARNING: ./usr/share/cargo/registry/pyo3-0.19.2/src/conversions/std/ipaddr.rs is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT Scanned 28 directories and 194 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.98Fi81 + umask 022 + cd /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyo3-0.19.2 + export LANG=C.utf8 + LANG=C.utf8 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j12 -Z avoid-dev-deps --profile rpm --no-fail-fast --features auto-initialize -- --skip doc_test::guide_migration_md Compiling proc-macro2 v1.0.94 Fresh unicode-ident v1.0.18 Fresh autocfg v1.4.0 Fresh cfg-if v1.0.0 Compiling serde v1.0.218 Fresh once_cell v1.21.3 Compiling crossbeam-utils v0.8.21 Compiling byteorder v1.5.0 Compiling equivalent v1.0.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=70c29edd3b1563d7 -C extra-filename=-0de2494fc79241c7 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/proc-macro2-0de2494fc79241c7 -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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/serde-1.0.218/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="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=7c2e28be1358d14b -C extra-filename=-86e2d614ca5984e3 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/serde-86e2d614ca5984e3 -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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=2021 /usr/share/cargo/registry/crossbeam-utils-0.8.21/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs '--allow=clippy::lint_groups_priority' '--allow=clippy::declare_interior_mutable_const' --check-cfg 'cfg(crossbeam_loom)' --check-cfg 'cfg(crossbeam_sanitize)' -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=ebaef92510e54479 -C extra-filename=-118f0e91100c9cae --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/crossbeam-utils-118f0e91100c9cae -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling num-traits v0.2.19 Compiling hashbrown v0.15.2 Running `/usr/bin/rustc --crate-name byteorder --edition=2021 /usr/share/cargo/registry/byteorder-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=5cad177e8d8b54cc -C extra-filename=-9343b791790a612c --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 equivalent --edition=2015 /usr/share/cargo/registry/equivalent-1.0.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=4423ab943d55e13f -C extra-filename=-1463c1b7dd0806df --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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=2021 /usr/share/cargo/registry/num-traits-0.2.19/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="i128"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=6c09789c75c497e1 -C extra-filename=-72c54efba6833505 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/num-traits-72c54efba6833505 -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern autocfg=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libautocfg-7d057d4549fc7ae2.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` Fresh libc v0.2.170 Fresh target-lexicon v0.12.16 Compiling serde_json v1.0.140 Running `/usr/bin/rustc --crate-name hashbrown --edition=2021 /usr/share/cargo/registry/hashbrown-0.15.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "allocator-api2", "compiler_builtins", "core", "default", "default-hasher", "equivalent", "inline-more", "nightly", "raw-entry", "rayon", "rustc-dep-of-std", "rustc-internal-api", "serde"))' -C metadata=a2ab9f4af9d794cc -C extra-filename=-0dac3724143b68ff --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling getrandom v0.2.15 Fresh smallvec v1.14.0 Compiling winnow v0.7.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde_json-1.0.140/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=a7c052f198019fc9 -C extra-filename=-a0b38348283d1729 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/serde_json-a0b38348283d1729 -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.2.15/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("custom", "linux_disable_fallback", "rdrand", "std"))' -C metadata=068a1e1583596166 -C extra-filename=-7b76ec222cdea1fd --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rmeta --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.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 rayon-core v1.12.1 Running `/usr/bin/rustc --crate-name winnow --edition=2021 /usr/share/cargo/registry/winnow-0.7.3/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--allow=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::same_functions_in_if_condition' '--allow=clippy::result_large_err' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "debug", "default", "simd", "std", "unstable-doc", "unstable-recover"))' -C metadata=beda01297581a4ef -C extra-filename=-db6e412726f931f2 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 pyo3-build-config v0.19.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rayon-core-1.12.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1b9897a64083d2ba -C extra-filename=-c9f83982af228572 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/rayon-core-c9f83982af228572 -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling target-triple v0.1.4 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/target-triple-0.1.4/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=7e6cb6ad61b4e875 -C extra-filename=-d1861e490437dc4e --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/target-triple-d1861e490437dc4e -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 scopeguard v1.2.0 Fresh lock_api v0.4.12 Compiling pyo3 v0.19.2 (/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2) 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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=4cb79a99d534c05e -C extra-filename=-7e097e436bc71aa4 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/pyo3-7e097e436bc71aa4 -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern pyo3_build_config=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_build_config-d5cf2a44fbcdef58.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` Compiling rand_core v0.6.4 Running `/usr/bin/rustc --crate-name rand_core --edition=2018 /usr/share/cargo/registry/rand_core-0.6.4/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="alloc"' --cfg 'feature="getrandom"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "getrandom", "serde", "serde1", "std"))' -C metadata=a2af6d3ac5a3ddbc -C extra-filename=-2f85f8f539f2856b --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern getrandom=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libgetrandom-7b76ec222cdea1fd.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/rayon-core-c9f83982af228572/build-script-build` Fresh parking_lot_core v0.9.10 Compiling memchr v2.7.4 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.4/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="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=fd6278f562469f06 -C extra-filename=-14547f9668aa8784 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/serde_json-a0b38348283d1729/build-script-build` Compiling rustversion v1.0.20 Compiling itoa v1.0.15 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/rustversion-1.0.20/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=dffb8f1fd7baa05f -C extra-filename=-3b9337c13f0e0f4f --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/rustversion-3b9337c13f0e0f4f -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 itoa --edition=2018 /usr/share/cargo/registry/itoa-1.0.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=108878f6f6c2222d -C extra-filename=-1ff3e467db63a7fe --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/num-traits-72c54efba6833505/build-script-build` Running `/usr/bin/rustc --crate-name num_traits --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/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="i128"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=234761403da29868 -C extra-filename=-65944303bd3d8c14 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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_total_cmp --check-cfg 'cfg(has_total_cmp)'` Compiling rust_decimal v1.36.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rust_decimal-1.36.0/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="serde"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("c-repr", "db-diesel-mysql", "db-diesel-postgres", "db-diesel2-mysql", "db-diesel2-postgres", "db-postgres", "db-tokio-postgres", "default", "diesel", "legacy-ops", "maths", "maths-nopanic", "ndarray", "proptest", "rand", "rkyv", "rkyv-safe", "rocket-traits", "rust-fuzz", "serde", "serde-arbitrary-precision", "serde-bincode", "serde-float", "serde-str", "serde-with-arbitrary-precision", "serde-with-float", "serde-with-str", "serde_json", "std", "tokio-pg", "tokio-postgres"))' -C metadata=79729739e6ecde6f -C extra-filename=-efa861a4a655cc3d --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/rust_decimal-efa861a4a655cc3d -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling ryu v1.0.18 Running `/usr/bin/rustc --crate-name ryu --edition=2018 /usr/share/cargo/registry/ryu-1.0.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic", "small"))' -C metadata=3397862291169105 -C extra-filename=-dac8394b691b47d2 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/pyo3-7e097e436bc71aa4/build-script-build` Compiling rand_xorshift v0.3.0 Running `/usr/bin/rustc --crate-name rand_xorshift --edition=2018 /usr/share/cargo/registry/rand_xorshift-0.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("serde", "serde1"))' -C metadata=3401018964c14bcb -C extra-filename=-38dc6e867ade1b2c --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern rand_core=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librand_core-2f85f8f539f2856b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/crossbeam-utils-118f0e91100c9cae/build-script-build` Running `/usr/bin/rustc --crate-name crossbeam_utils --edition=2021 /usr/share/cargo/registry/crossbeam-utils-0.8.21/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 --warn=unexpected_cfgs '--allow=clippy::lint_groups_priority' '--allow=clippy::declare_interior_mutable_const' --check-cfg 'cfg(crossbeam_loom)' --check-cfg 'cfg(crossbeam_sanitize)' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=d588dbfc906d42a5 -C extra-filename=-5dabe8a49008ab39 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --check-cfg 'cfg(crossbeam_no_atomic,crossbeam_sanitize_thread)'` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/serde-86e2d614ca5984e3/build-script-build` Fresh memoffset v0.9.1 Fresh parking_lot v0.12.3 Fresh pyo3-ffi v0.19.2 Compiling unarray v0.1.4 Running `/usr/bin/rustc --crate-name unarray --edition=2018 /usr/share/cargo/registry/unarray-0.1.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=2d3d22c516202f4d -C extra-filename=-a4c9e8fc43281d79 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/target-triple-d1861e490437dc4e/build-script-build` Running `/usr/bin/rustc --crate-name target_triple --edition=2021 /usr/share/cargo/registry/target-triple-0.1.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=297e84545fcf3141 -C extra-filename=-dfa3d2091846059b --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --check-cfg 'cfg(host_os, values("windows"))'` Compiling iana-time-zone v0.1.61 Running `/usr/bin/rustc --crate-name iana_time_zone --edition=2018 /usr/share/cargo/registry/iana-time-zone-0.1.61/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="fallback"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("fallback"))' -C metadata=5276de81ed8eb68f -C extra-filename=-8b6b079ab28dc354 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling arrayvec v0.7.6 Running `/usr/bin/rustc --crate-name arrayvec --edition=2018 /usr/share/cargo/registry/arrayvec-0.7.6/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std", "zeroize"))' -C metadata=a74cde139b1312c5 -C extra-filename=-83ba0a3172fe2886 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling glob v0.3.2 Running `/usr/bin/rustc --crate-name glob --edition=2015 /usr/share/cargo/registry/glob-0.3.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=5c4c721c9a307c65 -C extra-filename=-1312fc5268591b35 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 unindent v0.1.11 Compiling regex-syntax v0.8.5 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.5/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"' --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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=e2bc63f828433528 -C extra-filename=-8cb1c1a321ffc38b --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/proc-macro2-0de2494fc79241c7/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=869c4528f4307ea1 -C extra-filename=-fa4389d41876d60f --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunicode_ident-032647afa0f4bc70.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 --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Compiling indexmap v2.7.1 Running `/usr/bin/rustc --crate-name indexmap --edition=2021 /usr/share/cargo/registry/indexmap-2.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 '--allow=clippy::style' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "borsh", "default", "quickcheck", "rayon", "rustc-rayon", "serde", "std", "test_debug"))' -C metadata=80af21f6c7c0c800 -C extra-filename=-34e2dba67f9040ad --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern equivalent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libequivalent-1463c1b7dd0806df.rmeta --extern hashbrown=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libhashbrown-0dac3724143b68ff.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 either v1.14.0 Running `/usr/bin/rustc --crate-name either --edition=2021 /usr/share/cargo/registry/either-1.14.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "use_std"))' -C metadata=03a5677cac51a2b1 -C extra-filename=-c1a62c04bf9c664d --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/rust_decimal-efa861a4a655cc3d/build-script-build` Compiling lazy_static v1.5.0 Running `/usr/bin/rustc --crate-name lazy_static --edition=2015 /usr/share/cargo/registry/lazy_static-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("spin", "spin_no_std"))' -C metadata=44ed1733b97c50df -C extra-filename=-ebecc2af526b7706 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 indoc v1.0.9 Compiling termcolor v1.4.1 Running `/usr/bin/rustc --crate-name termcolor --edition=2018 /usr/share/cargo/registry/termcolor-1.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=8015e463520d3474 -C extra-filename=-df1111b128de9d41 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling bitflags v2.9.0 Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.9.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "bytemuck", "compiler_builtins", "core", "example_generated", "rustc-dep-of-std", "serde", "std"))' -C metadata=1fce93dcce3916df -C extra-filename=-e5cd5727a3d8c192 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling crossbeam-epoch v0.9.18 Running `/usr/bin/rustc --crate-name crossbeam_epoch --edition=2021 /usr/share/cargo/registry/crossbeam-epoch-0.9.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="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "nightly", "std"))' -C metadata=e82f7fd137461029 -C extra-filename=-f2de342e96830a2d --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern crossbeam_utils=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcrossbeam_utils-5dabe8a49008ab39.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 quote v1.0.39 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.39/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=87a38d3a7d3ecba5 -C extra-filename=-102249ed9ebeccd3 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-fa4389d41876d60f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/build/rustversion-3b9337c13f0e0f4f/build-script-build` Compiling chrono v0.4.40 Running `/usr/bin/rustc --crate-name chrono --edition=2021 /usr/share/cargo/registry/chrono-0.4.40/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="alloc"' --cfg 'feature="clock"' --cfg 'feature="default"' --cfg 'feature="iana-time-zone"' --cfg 'feature="now"' --cfg 'feature="oldtime"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary", "clock", "default", "iana-time-zone", "libc", "now", "oldtime", "pure-rust-locales", "rkyv", "rkyv-16", "rkyv-32", "rkyv-64", "rkyv-validation", "serde", "std", "unstable-locales"))' -C metadata=ea0a496b61ba49a8 -C extra-filename=-60f05a2eeafd7f6e --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern iana_time_zone=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libiana_time_zone-8b6b079ab28dc354.rmeta --extern num_traits=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libnum_traits-65944303bd3d8c14.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 crossbeam-deque v0.8.6 Running `/usr/bin/rustc --crate-name crossbeam_deque --edition=2021 /usr/share/cargo/registry/crossbeam-deque-0.8.6/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 --warn=unexpected_cfgs '--allow=clippy::lint_groups_priority' '--allow=clippy::declare_interior_mutable_const' --check-cfg 'cfg(crossbeam_loom)' --check-cfg 'cfg(crossbeam_sanitize)' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=869b3f4fa7eab5bb -C extra-filename=-76cfdbc987bd9440 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern crossbeam_epoch=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcrossbeam_epoch-f2de342e96830a2d.rmeta --extern crossbeam_utils=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcrossbeam_utils-5dabe8a49008ab39.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 rustversion --edition=2018 /usr/share/cargo/registry/rustversion-1.0.20/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d7733d0ec92cc16e -C extra-filename=-3abb806910d53acd --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/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 --check-cfg 'cfg(cfg_macro_not_allowed)' --check-cfg 'cfg(host_os, values("windows"))'` Compiling syn v2.0.99 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.99/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=6286fcb79c870e4e -C extra-filename=-65d4fe41003db1d9 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-fa4389d41876d60f.rmeta --extern quote=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libquote-102249ed9ebeccd3.rmeta --extern unicode_ident=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunicode_ident-032647afa0f4bc70.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 syn v1.0.109 Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.109/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "test", "visit", "visit-mut"))' -C metadata=01ba30c65618f8ee -C extra-filename=-08c8642e41966e3a --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-fa4389d41876d60f.rmeta --extern quote=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libquote-102249ed9ebeccd3.rmeta --extern unicode_ident=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunicode_ident-032647afa0f4bc70.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 --cfg syn_disable_nightly_tests` Running `/usr/bin/rustc --crate-name rayon_core --edition=2021 /usr/share/cargo/registry/rayon-core-1.12.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=7ccb053addf0f50d -C extra-filename=-4115cba73c1c3035 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern crossbeam_deque=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcrossbeam_deque-76cfdbc987bd9440.rmeta --extern crossbeam_utils=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcrossbeam_utils-5dabe8a49008ab39.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 assert_approx_eq v1.1.0 Running `/usr/bin/rustc --crate-name assert_approx_eq --edition=2018 /usr/share/cargo/registry/assert_approx_eq-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 opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=2553e26aa978a91d -C extra-filename=-ba64919ddc346854 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling rayon v1.10.0 Running `/usr/bin/rustc --crate-name rayon --edition=2021 /usr/share/cargo/registry/rayon-1.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ac1826d906a410bb -C extra-filename=-354f9d1228de77bd --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern either=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libeither-c1a62c04bf9c664d.rmeta --extern rayon_core=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon_core-4115cba73c1c3035.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 pyo3-macros-backend v0.19.2 Running `/usr/bin/rustc --crate-name pyo3_macros_backend --edition=2018 /usr/share/cargo/registry/pyo3-macros-backend-0.19.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3"))' -C metadata=2d5e8456bde51e87 -C extra-filename=-45edcef220ed2d47 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-fa4389d41876d60f.rmeta --extern quote=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libquote-102249ed9ebeccd3.rmeta --extern syn=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libsyn-08c8642e41966e3a.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 serde_derive v1.0.218 Compiling zerocopy-derive v0.7.35 Running `/usr/bin/rustc --crate-name serde_derive --edition=2015 /usr/share/cargo/registry/serde_derive-1.0.218/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 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "deserialize_in_place"))' -C metadata=7eca5492f504bfb6 -C extra-filename=-09f17ca14d6cba99 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-fa4389d41876d60f.rlib --extern quote=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libquote-102249ed9ebeccd3.rlib --extern syn=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libsyn-65d4fe41003db1d9.rlib --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` Running `/usr/bin/rustc --crate-name zerocopy_derive --edition=2018 /usr/share/cargo/registry/zerocopy-derive-0.7.35/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=75a6f5e03d85f3ee -C extra-filename=-dac81e6194e91b45 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-fa4389d41876d60f.rlib --extern quote=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libquote-102249ed9ebeccd3.rlib --extern syn=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libsyn-65d4fe41003db1d9.rlib --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 zerocopy v0.7.35 Running `/usr/bin/rustc --crate-name zerocopy --edition=2018 /usr/share/cargo/registry/zerocopy-0.7.35/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="byteorder"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="simd"' --cfg 'feature="zerocopy-derive"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "byteorder", "default", "derive", "simd", "simd-nightly", "zerocopy-derive"))' -C metadata=5719188773e57415 -C extra-filename=-3c1755ae69d024b3 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern byteorder=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libbyteorder-9343b791790a612c.rmeta --extern zerocopy_derive=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libzerocopy_derive-dac81e6194e91b45.so --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 ppv-lite86 v0.2.20 Running `/usr/bin/rustc --crate-name ppv_lite86 --edition=2021 /usr/share/cargo/registry/ppv-lite86-0.2.20/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="simd"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "no_simd", "simd", "std"))' -C metadata=bc5826c3b87a4ced -C extra-filename=-54453fc42a2465d8 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern zerocopy=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libzerocopy-3c1755ae69d024b3.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 rand_chacha v0.3.1 Running `/usr/bin/rustc --crate-name rand_chacha --edition=2018 /usr/share/cargo/registry/rand_chacha-0.3.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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "serde1", "simd", "std"))' -C metadata=6be8d811084f412b -C extra-filename=-6efe017c60c45f10 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern ppv_lite86=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libppv_lite86-54453fc42a2465d8.rmeta --extern rand_core=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librand_core-2f85f8f539f2856b.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 rand v0.8.5 Running `/usr/bin/rustc --crate-name rand --edition=2018 /usr/share/cargo/registry/rand-0.8.5/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="alloc"' --cfg 'feature="getrandom"' --cfg 'feature="libc"' --cfg 'feature="rand_chacha"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "getrandom", "libc", "log", "min_const_gen", "nightly", "packed_simd", "rand_chacha", "serde", "serde1", "simd_support", "small_rng", "std", "std_rng"))' -C metadata=ff1b6d654d1e4b2d -C extra-filename=-de9c2fdb2a277d7e --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rmeta --extern rand_chacha=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librand_chacha-6efe017c60c45f10.rmeta --extern rand_core=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librand_core-2f85f8f539f2856b.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 proptest v1.6.0 Running `/usr/bin/rustc --crate-name proptest --edition=2018 /usr/share/cargo/registry/proptest-1.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="lazy_static"' --cfg 'feature="regex-syntax"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic64bit", "attr-macro", "bit-set", "default", "default-code-coverage", "fork", "handle-panics", "hardware-rng", "lazy_static", "no_std", "proptest-macro", "regex-syntax", "rusty-fork", "std", "tempfile", "timeout", "unstable", "x86"))' -C metadata=2a4218a1126529ee -C extra-filename=-8529c86c5d321057 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libbitflags-e5cd5727a3d8c192.rmeta --extern lazy_static=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblazy_static-ebecc2af526b7706.rmeta --extern num_traits=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libnum_traits-65944303bd3d8c14.rmeta --extern rand=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librand-de9c2fdb2a277d7e.rmeta --extern rand_chacha=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librand_chacha-6efe017c60c45f10.rmeta --extern rand_xorshift=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librand_xorshift-38dc6e867ade1b2c.rmeta --extern regex_syntax=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libregex_syntax-8cb1c1a321ffc38b.rmeta --extern unarray=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunarray-a4c9e8fc43281d79.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 --edition=2018 /usr/share/cargo/registry/serde-1.0.218/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="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=8907e3a2c2bd47f2 -C extra-filename=-b5035079fb68f12a --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern serde_derive=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_derive-09f17ca14d6cba99.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_core_try_from)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_float_copysign)' --check-cfg 'cfg(no_num_nonzero_signed)' --check-cfg 'cfg(no_relaxed_trait_bounds)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_systemtime_checked_add)' --check-cfg 'cfg(no_target_has_atomic)'` Compiling pyo3-macros v0.19.2 Running `/usr/bin/rustc --crate-name pyo3_macros --edition=2018 /usr/share/cargo/registry/pyo3-macros-0.19.2/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "multiple-pymethods"))' -C metadata=ae8357f48b070942 -C extra-filename=-530e12b895131a2b --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproc_macro2-fa4389d41876d60f.rlib --extern pyo3_macros_backend=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros_backend-45edcef220ed2d47.rlib --extern quote=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libquote-102249ed9ebeccd3.rlib --extern syn=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libsyn-08c8642e41966e3a.rlib --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 toml_datetime v0.6.8 Compiling serde_spanned v0.6.8 Running `/usr/bin/rustc --crate-name toml_datetime --edition=2021 /usr/share/cargo/registry/toml_datetime-0.6.8/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="serde"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("serde"))' -C metadata=3a44055a7ad3fa6b -C extra-filename=-6636039b999d7b0a --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.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_spanned --edition=2021 /usr/share/cargo/registry/serde_spanned-0.6.8/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="serde"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("serde"))' -C metadata=b5780158c49611a8 -C extra-filename=-f257ff9fe5ba5efa --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.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_json --edition=2021 /usr/share/cargo/registry/serde_json-1.0.140/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=de17bcd97e33896e -C extra-filename=-b6f845c616c893b8 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern itoa=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libitoa-1ff3e467db63a7fe.rmeta --extern memchr=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemchr-14547f9668aa8784.rmeta --extern ryu=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libryu-dac8394b691b47d2.rmeta --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.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 --cfg 'fast_arithmetic="64"' --check-cfg 'cfg(fast_arithmetic, values("32", "64"))'` Running `/usr/bin/rustc --crate-name rust_decimal --edition=2021 /usr/share/cargo/registry/rust_decimal-1.36.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="serde"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("c-repr", "db-diesel-mysql", "db-diesel-postgres", "db-diesel2-mysql", "db-diesel2-postgres", "db-postgres", "db-tokio-postgres", "default", "diesel", "legacy-ops", "maths", "maths-nopanic", "ndarray", "proptest", "rand", "rkyv", "rkyv-safe", "rocket-traits", "rust-fuzz", "serde", "serde-arbitrary-precision", "serde-bincode", "serde-float", "serde-str", "serde-with-arbitrary-precision", "serde-with-float", "serde-with-str", "serde_json", "std", "tokio-pg", "tokio-postgres"))' -C metadata=c71740a7fe4d8fe4 -C extra-filename=-ca4517bb0b679510 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern arrayvec=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libarrayvec-83ba0a3172fe2886.rmeta --extern num_traits=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libnum_traits-65944303bd3d8c14.rmeta --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.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 toml_edit v0.22.24 Running `/usr/bin/rustc --crate-name toml_edit --edition=2021 /usr/share/cargo/registry/toml_edit-0.22.24/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--allow=clippy::result_large_err' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="display"' --cfg 'feature="parse"' --cfg 'feature="serde"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "display", "parse", "perf", "serde", "unbounded"))' -C metadata=595b93f3a66f2667 -C extra-filename=-0b9ffbea6712351a --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern indexmap=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindexmap-34e2dba67f9040ad.rmeta --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rmeta --extern serde_spanned=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_spanned-f257ff9fe5ba5efa.rmeta --extern toml_datetime=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtoml_datetime-6636039b999d7b0a.rmeta --extern winnow=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libwinnow-db6e412726f931f2.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 pyo3 --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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=76c57cc9edda9914 -C extra-filename=-8fffdf9ae26b87a2 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rmeta --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rmeta --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rmeta --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rmeta --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rmeta --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `PyPy` --> src/lib.rs:308:11 | 308 | #[cfg(not(PyPy))] | ^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/buffer.rs:1:16 | 1 | #![cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:1:33 | 1 | #![cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/marshal.rs:1:12 | 1 | #![cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:246:23 | 246 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:248:27 | 248 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:252:23 | 252 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:256:27 | 256 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:499:23 | 499 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:501:27 | 501 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:536:23 | 536 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:538:27 | 538 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:592:23 | 592 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:594:27 | 594 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:598:23 | 598 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/buffer.rs:602:27 | 602 | #[cfg(not(Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/conversions/chrono.rs:1:36 | 1 | #![cfg(all(feature = "chrono", not(Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `min_const_generics` --> src/conversions/std/array.rs:3:7 | 3 | #[cfg(min_const_generics)] | ^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(min_const_generics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(min_const_generics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `min_const_generics` --> src/conversions/std/array.rs:184:11 | 184 | #[cfg(not(min_const_generics))] | ^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(min_const_generics)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(min_const_generics)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/conversions/std/array.rs:33:31 | 33 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/conversions/std/array.rs:35:27 | 35 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:8:7 | 8 | #[cfg(Py_3_13)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/conversions/std/num.rs:168:11 | 168 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/conversions/std/num.rs:294:7 | 294 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:183:31 | 183 | #[cfg(not(Py_3_13))] | ^^^^^^^ ... 289 | int_convert_128!(i128, true); | ---------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:198:27 | 198 | #[cfg(Py_3_13)] | ^^^^^^^ ... 289 | int_convert_128!(i128, true); | ---------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:239:31 | 239 | #[cfg(not(Py_3_13))] | ^^^^^^^ ... 289 | int_convert_128!(i128, true); | ---------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:252:27 | 252 | #[cfg(Py_3_13)] | ^^^^^^^ ... 289 | int_convert_128!(i128, true); | ---------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:183:31 | 183 | #[cfg(not(Py_3_13))] | ^^^^^^^ ... 290 | int_convert_128!(u128, false); | ----------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:198:27 | 198 | #[cfg(Py_3_13)] | ^^^^^^^ ... 290 | int_convert_128!(u128, false); | ----------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:239:31 | 239 | #[cfg(not(Py_3_13))] | ^^^^^^^ ... 290 | int_convert_128!(u128, false); | ----------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_13` --> src/conversions/std/num.rs:252:27 | 252 | #[cfg(Py_3_13)] | ^^^^^^^ ... 290 | int_convert_128!(u128, false); | ----------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_13)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_13)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `int_convert_128` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:10:15 | 10 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:13:15 | 13 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:18:15 | 18 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:23:11 | 23 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:28:15 | 28 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:35:11 | 35 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:51:15 | 51 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:99:15 | 99 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:130:15 | 130 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:144:11 | 144 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:154:15 | 154 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:160:11 | 160 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:86:23 | 86 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/err_state.rs:89:23 | 89 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/mod.rs:271:15 | 271 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/mod.rs:326:11 | 326 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/err/mod.rs:366:38 | 366 | #[cfg_attr(all(debug_assertions, track_caller), track_caller)] | ^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/mod.rs:435:15 | 435 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/mod.rs:440:19 | 440 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:407:11 | 407 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:414:7 | 414 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:453:11 | 453 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:460:7 | 460 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:468:11 | 468 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:475:7 | 475 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:483:11 | 483 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/exceptions.rs:490:7 | 490 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/exceptions.rs:512:7 | 512 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/exceptions.rs:720:7 | 720 | #[cfg(Py_3_10)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:359:1 | 359 | / impl_native_exception!( 360 | | PyBaseException, 361 | | PyExc_BaseException, 362 | | native_doc!("BaseException"), 363 | | ffi::PyBaseExceptionObject, 364 | | #checkfunction=ffi::PyExceptionInstance_Check 365 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:366:1 | 366 | impl_native_exception!(PyException, PyExc_Exception, native_doc!("Exception")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:367:1 | 367 | / impl_native_exception!( 368 | | PyStopAsyncIteration, 369 | | PyExc_StopAsyncIteration, 370 | | native_doc!("StopAsyncIteration") 371 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:372:1 | 372 | / impl_native_exception!( 373 | | PyStopIteration, 374 | | PyExc_StopIteration, 375 | | native_doc!("StopIteration"), 376 | | ffi::PyStopIterationObject 377 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:378:1 | 378 | / impl_native_exception!( 379 | | PyGeneratorExit, 380 | | PyExc_GeneratorExit, 381 | | native_doc!("GeneratorExit") 382 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:383:1 | 383 | / impl_native_exception!( 384 | | PyArithmeticError, 385 | | PyExc_ArithmeticError, 386 | | native_doc!("ArithmeticError") 387 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:388:1 | 388 | impl_native_exception!(PyLookupError, PyExc_LookupError, native_doc!("LookupError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:390:1 | 390 | / impl_native_exception!( 391 | | PyAssertionError, 392 | | PyExc_AssertionError, 393 | | native_doc!("AssertionError") 394 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:395:1 | 395 | / impl_native_exception!( 396 | | PyAttributeError, 397 | | PyExc_AttributeError, 398 | | native_doc!("AttributeError") 399 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:400:1 | 400 | impl_native_exception!(PyBufferError, PyExc_BufferError, native_doc!("BufferError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:401:1 | 401 | impl_native_exception!(PyEOFError, PyExc_EOFError, native_doc!("EOFError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:402:1 | 402 | / impl_native_exception!( 403 | | PyFloatingPointError, 404 | | PyExc_FloatingPointError, 405 | | native_doc!("FloatingPointError") 406 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:408:1 | 408 | / impl_native_exception!( 409 | | PyOSError, 410 | | PyExc_OSError, 411 | | native_doc!("OSError"), 412 | | ffi::PyOSErrorObject 413 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:416:1 | 416 | impl_native_exception!(PyImportError, PyExc_ImportError, native_doc!("ImportError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:418:1 | 418 | / impl_native_exception!( 419 | | PyModuleNotFoundError, 420 | | PyExc_ModuleNotFoundError, 421 | | native_doc!("ModuleNotFoundError") 422 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:424:1 | 424 | impl_native_exception!(PyIndexError, PyExc_IndexError, native_doc!("IndexError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:425:1 | 425 | impl_native_exception!(PyKeyError, PyExc_KeyError, native_doc!("KeyError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:426:1 | 426 | / impl_native_exception!( 427 | | PyKeyboardInterrupt, 428 | | PyExc_KeyboardInterrupt, 429 | | native_doc!("KeyboardInterrupt") 430 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:431:1 | 431 | impl_native_exception!(PyMemoryError, PyExc_MemoryError, native_doc!("MemoryError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:432:1 | 432 | impl_native_exception!(PyNameError, PyExc_NameError, native_doc!("NameError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:433:1 | 433 | / impl_native_exception!( 434 | | PyOverflowError, 435 | | PyExc_OverflowError, 436 | | native_doc!("OverflowError") 437 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:438:1 | 438 | / impl_native_exception!( 439 | | PyRuntimeError, 440 | | PyExc_RuntimeError, 441 | | native_doc!("RuntimeError") 442 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:443:1 | 443 | / impl_native_exception!( 444 | | PyRecursionError, 445 | | PyExc_RecursionError, 446 | | native_doc!("RecursionError") 447 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:448:1 | 448 | / impl_native_exception!( 449 | | PyNotImplementedError, 450 | | PyExc_NotImplementedError, 451 | | native_doc!("NotImplementedError") 452 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:454:1 | 454 | / impl_native_exception!( 455 | | PySyntaxError, 456 | | PyExc_SyntaxError, 457 | | native_doc!("SyntaxError"), 458 | | ffi::PySyntaxErrorObject 459 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:462:1 | 462 | / impl_native_exception!( 463 | | PyReferenceError, 464 | | PyExc_ReferenceError, 465 | | native_doc!("ReferenceError") 466 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:467:1 | 467 | impl_native_exception!(PySystemError, PyExc_SystemError, native_doc!("SystemError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:469:1 | 469 | / impl_native_exception!( 470 | | PySystemExit, 471 | | PyExc_SystemExit, 472 | | native_doc!("SystemExit"), 473 | | ffi::PySystemExitObject 474 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:477:1 | 477 | impl_native_exception!(PyTypeError, PyExc_TypeError, native_doc!("TypeError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:478:1 | 478 | / impl_native_exception!( 479 | | PyUnboundLocalError, 480 | | PyExc_UnboundLocalError, 481 | | native_doc!("UnboundLocalError") 482 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:484:1 | 484 | / impl_native_exception!( 485 | | PyUnicodeError, 486 | | PyExc_UnicodeError, 487 | | native_doc!("UnicodeError"), 488 | | ffi::PyUnicodeErrorObject 489 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:497:1 | 497 | / impl_native_exception!( 498 | | PyUnicodeDecodeError, 499 | | PyExc_UnicodeDecodeError, 500 | | native_doc!("UnicodeDecodeError", "") 501 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:502:1 | 502 | / impl_native_exception!( 503 | | PyUnicodeEncodeError, 504 | | PyExc_UnicodeEncodeError, 505 | | native_doc!("UnicodeEncodeError", "") 506 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:507:1 | 507 | / impl_native_exception!( 508 | | PyUnicodeTranslateError, 509 | | PyExc_UnicodeTranslateError, 510 | | native_doc!("UnicodeTranslateError", "") 511 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:513:1 | 513 | / impl_native_exception!( 514 | | PyBaseExceptionGroup, 515 | | PyExc_BaseExceptionGroup, 516 | | native_doc!("BaseExceptionGroup", "") 517 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:518:1 | 518 | impl_native_exception!(PyValueError, PyExc_ValueError, native_doc!("ValueError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:519:1 | 519 | / impl_native_exception!( 520 | | PyZeroDivisionError, 521 | | PyExc_ZeroDivisionError, 522 | | native_doc!("ZeroDivisionError") 523 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:525:1 | 525 | / impl_native_exception!( 526 | | PyBlockingIOError, 527 | | PyExc_BlockingIOError, 528 | | native_doc!("BlockingIOError") 529 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:530:1 | 530 | / impl_native_exception!( 531 | | PyBrokenPipeError, 532 | | PyExc_BrokenPipeError, 533 | | native_doc!("BrokenPipeError") 534 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:535:1 | 535 | / impl_native_exception!( 536 | | PyChildProcessError, 537 | | PyExc_ChildProcessError, 538 | | native_doc!("ChildProcessError") 539 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:540:1 | 540 | / impl_native_exception!( 541 | | PyConnectionError, 542 | | PyExc_ConnectionError, 543 | | native_doc!("ConnectionError") 544 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:545:1 | 545 | / impl_native_exception!( 546 | | PyConnectionAbortedError, 547 | | PyExc_ConnectionAbortedError, 548 | | native_doc!("ConnectionAbortedError") 549 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:550:1 | 550 | / impl_native_exception!( 551 | | PyConnectionRefusedError, 552 | | PyExc_ConnectionRefusedError, 553 | | native_doc!("ConnectionRefusedError") 554 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:555:1 | 555 | / impl_native_exception!( 556 | | PyConnectionResetError, 557 | | PyExc_ConnectionResetError, 558 | | native_doc!("ConnectionResetError") 559 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:560:1 | 560 | / impl_native_exception!( 561 | | PyFileExistsError, 562 | | PyExc_FileExistsError, 563 | | native_doc!("FileExistsError") 564 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:565:1 | 565 | / impl_native_exception!( 566 | | PyFileNotFoundError, 567 | | PyExc_FileNotFoundError, 568 | | native_doc!("FileNotFoundError") 569 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:570:1 | 570 | / impl_native_exception!( 571 | | PyInterruptedError, 572 | | PyExc_InterruptedError, 573 | | native_doc!("InterruptedError") 574 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:575:1 | 575 | / impl_native_exception!( 576 | | PyIsADirectoryError, 577 | | PyExc_IsADirectoryError, 578 | | native_doc!("IsADirectoryError") 579 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:580:1 | 580 | / impl_native_exception!( 581 | | PyNotADirectoryError, 582 | | PyExc_NotADirectoryError, 583 | | native_doc!("NotADirectoryError") 584 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:585:1 | 585 | / impl_native_exception!( 586 | | PyPermissionError, 587 | | PyExc_PermissionError, 588 | | native_doc!("PermissionError") 589 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:590:1 | 590 | / impl_native_exception!( 591 | | PyProcessLookupError, 592 | | PyExc_ProcessLookupError, 593 | | native_doc!("ProcessLookupError") 594 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:595:1 | 595 | / impl_native_exception!( 596 | | PyTimeoutError, 597 | | PyExc_TimeoutError, 598 | | native_doc!("TimeoutError") 599 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:601:1 | 601 | / impl_native_exception!( 602 | | PyEnvironmentError, 603 | | PyExc_EnvironmentError, 604 | | native_doc!("EnvironmentError") 605 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:606:1 | 606 | impl_native_exception!(PyIOError, PyExc_IOError, native_doc!("IOError")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:672:1 | 672 | impl_native_exception!(PyWarning, PyExc_Warning, native_doc!("Warning")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:673:1 | 673 | impl_native_exception!(PyUserWarning, PyExc_UserWarning, native_doc!("UserWarning")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:674:1 | 674 | / impl_native_exception!( 675 | | PyDeprecationWarning, 676 | | PyExc_DeprecationWarning, 677 | | native_doc!("DeprecationWarning") 678 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:679:1 | 679 | / impl_native_exception!( 680 | | PyPendingDeprecationWarning, 681 | | PyExc_PendingDeprecationWarning, 682 | | native_doc!("PendingDeprecationWarning") 683 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:684:1 | 684 | / impl_native_exception!( 685 | | PySyntaxWarning, 686 | | PyExc_SyntaxWarning, 687 | | native_doc!("SyntaxWarning") 688 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:689:1 | 689 | / impl_native_exception!( 690 | | PyRuntimeWarning, 691 | | PyExc_RuntimeWarning, 692 | | native_doc!("RuntimeWarning") 693 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:694:1 | 694 | / impl_native_exception!( 695 | | PyFutureWarning, 696 | | PyExc_FutureWarning, 697 | | native_doc!("FutureWarning") 698 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:699:1 | 699 | / impl_native_exception!( 700 | | PyImportWarning, 701 | | PyExc_ImportWarning, 702 | | native_doc!("ImportWarning") 703 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:704:1 | 704 | / impl_native_exception!( 705 | | PyUnicodeWarning, 706 | | PyExc_UnicodeWarning, 707 | | native_doc!("UnicodeWarning") 708 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:709:1 | 709 | / impl_native_exception!( 710 | | PyBytesWarning, 711 | | PyExc_BytesWarning, 712 | | native_doc!("BytesWarning") 713 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:714:1 | 714 | / impl_native_exception!( 715 | | PyResourceWarning, 716 | | PyExc_ResourceWarning, 717 | | native_doc!("ResourceWarning") 718 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/exceptions.rs:721:1 | 721 | / impl_native_exception!( 722 | | PyEncodingWarning, 723 | | PyExc_EncodingWarning, 724 | | native_doc!("EncodingWarning") 725 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:359:1 | 359 | / impl_native_exception!( 360 | | PyBaseException, 361 | | PyExc_BaseException, 362 | | native_doc!("BaseException"), 363 | | ffi::PyBaseExceptionObject, 364 | | #checkfunction=ffi::PyExceptionInstance_Check 365 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:359:1 | 359 | / impl_native_exception!( 360 | | PyBaseException, 361 | | PyExc_BaseException, 362 | | native_doc!("BaseException"), 363 | | ffi::PyBaseExceptionObject, 364 | | #checkfunction=ffi::PyExceptionInstance_Check 365 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:366:1 | 366 | impl_native_exception!(PyException, PyExc_Exception, native_doc!("Exception")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:366:1 | 366 | impl_native_exception!(PyException, PyExc_Exception, native_doc!("Exception")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:367:1 | 367 | / impl_native_exception!( 368 | | PyStopAsyncIteration, 369 | | PyExc_StopAsyncIteration, 370 | | native_doc!("StopAsyncIteration") 371 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:367:1 | 367 | / impl_native_exception!( 368 | | PyStopAsyncIteration, 369 | | PyExc_StopAsyncIteration, 370 | | native_doc!("StopAsyncIteration") 371 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:372:1 | 372 | / impl_native_exception!( 373 | | PyStopIteration, 374 | | PyExc_StopIteration, 375 | | native_doc!("StopIteration"), 376 | | ffi::PyStopIterationObject 377 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:372:1 | 372 | / impl_native_exception!( 373 | | PyStopIteration, 374 | | PyExc_StopIteration, 375 | | native_doc!("StopIteration"), 376 | | ffi::PyStopIterationObject 377 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:378:1 | 378 | / impl_native_exception!( 379 | | PyGeneratorExit, 380 | | PyExc_GeneratorExit, 381 | | native_doc!("GeneratorExit") 382 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:378:1 | 378 | / impl_native_exception!( 379 | | PyGeneratorExit, 380 | | PyExc_GeneratorExit, 381 | | native_doc!("GeneratorExit") 382 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:383:1 | 383 | / impl_native_exception!( 384 | | PyArithmeticError, 385 | | PyExc_ArithmeticError, 386 | | native_doc!("ArithmeticError") 387 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:383:1 | 383 | / impl_native_exception!( 384 | | PyArithmeticError, 385 | | PyExc_ArithmeticError, 386 | | native_doc!("ArithmeticError") 387 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:388:1 | 388 | impl_native_exception!(PyLookupError, PyExc_LookupError, native_doc!("LookupError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:388:1 | 388 | impl_native_exception!(PyLookupError, PyExc_LookupError, native_doc!("LookupError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:390:1 | 390 | / impl_native_exception!( 391 | | PyAssertionError, 392 | | PyExc_AssertionError, 393 | | native_doc!("AssertionError") 394 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:390:1 | 390 | / impl_native_exception!( 391 | | PyAssertionError, 392 | | PyExc_AssertionError, 393 | | native_doc!("AssertionError") 394 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:395:1 | 395 | / impl_native_exception!( 396 | | PyAttributeError, 397 | | PyExc_AttributeError, 398 | | native_doc!("AttributeError") 399 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:395:1 | 395 | / impl_native_exception!( 396 | | PyAttributeError, 397 | | PyExc_AttributeError, 398 | | native_doc!("AttributeError") 399 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:400:1 | 400 | impl_native_exception!(PyBufferError, PyExc_BufferError, native_doc!("BufferError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:400:1 | 400 | impl_native_exception!(PyBufferError, PyExc_BufferError, native_doc!("BufferError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:401:1 | 401 | impl_native_exception!(PyEOFError, PyExc_EOFError, native_doc!("EOFError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:401:1 | 401 | impl_native_exception!(PyEOFError, PyExc_EOFError, native_doc!("EOFError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:402:1 | 402 | / impl_native_exception!( 403 | | PyFloatingPointError, 404 | | PyExc_FloatingPointError, 405 | | native_doc!("FloatingPointError") 406 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:402:1 | 402 | / impl_native_exception!( 403 | | PyFloatingPointError, 404 | | PyExc_FloatingPointError, 405 | | native_doc!("FloatingPointError") 406 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:408:1 | 408 | / impl_native_exception!( 409 | | PyOSError, 410 | | PyExc_OSError, 411 | | native_doc!("OSError"), 412 | | ffi::PyOSErrorObject 413 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:408:1 | 408 | / impl_native_exception!( 409 | | PyOSError, 410 | | PyExc_OSError, 411 | | native_doc!("OSError"), 412 | | ffi::PyOSErrorObject 413 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:416:1 | 416 | impl_native_exception!(PyImportError, PyExc_ImportError, native_doc!("ImportError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:416:1 | 416 | impl_native_exception!(PyImportError, PyExc_ImportError, native_doc!("ImportError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:418:1 | 418 | / impl_native_exception!( 419 | | PyModuleNotFoundError, 420 | | PyExc_ModuleNotFoundError, 421 | | native_doc!("ModuleNotFoundError") 422 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:418:1 | 418 | / impl_native_exception!( 419 | | PyModuleNotFoundError, 420 | | PyExc_ModuleNotFoundError, 421 | | native_doc!("ModuleNotFoundError") 422 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:424:1 | 424 | impl_native_exception!(PyIndexError, PyExc_IndexError, native_doc!("IndexError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:424:1 | 424 | impl_native_exception!(PyIndexError, PyExc_IndexError, native_doc!("IndexError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:425:1 | 425 | impl_native_exception!(PyKeyError, PyExc_KeyError, native_doc!("KeyError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:425:1 | 425 | impl_native_exception!(PyKeyError, PyExc_KeyError, native_doc!("KeyError")); | --------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:426:1 | 426 | / impl_native_exception!( 427 | | PyKeyboardInterrupt, 428 | | PyExc_KeyboardInterrupt, 429 | | native_doc!("KeyboardInterrupt") 430 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:426:1 | 426 | / impl_native_exception!( 427 | | PyKeyboardInterrupt, 428 | | PyExc_KeyboardInterrupt, 429 | | native_doc!("KeyboardInterrupt") 430 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:431:1 | 431 | impl_native_exception!(PyMemoryError, PyExc_MemoryError, native_doc!("MemoryError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:431:1 | 431 | impl_native_exception!(PyMemoryError, PyExc_MemoryError, native_doc!("MemoryError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:432:1 | 432 | impl_native_exception!(PyNameError, PyExc_NameError, native_doc!("NameError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:432:1 | 432 | impl_native_exception!(PyNameError, PyExc_NameError, native_doc!("NameError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:433:1 | 433 | / impl_native_exception!( 434 | | PyOverflowError, 435 | | PyExc_OverflowError, 436 | | native_doc!("OverflowError") 437 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:433:1 | 433 | / impl_native_exception!( 434 | | PyOverflowError, 435 | | PyExc_OverflowError, 436 | | native_doc!("OverflowError") 437 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:438:1 | 438 | / impl_native_exception!( 439 | | PyRuntimeError, 440 | | PyExc_RuntimeError, 441 | | native_doc!("RuntimeError") 442 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:438:1 | 438 | / impl_native_exception!( 439 | | PyRuntimeError, 440 | | PyExc_RuntimeError, 441 | | native_doc!("RuntimeError") 442 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:443:1 | 443 | / impl_native_exception!( 444 | | PyRecursionError, 445 | | PyExc_RecursionError, 446 | | native_doc!("RecursionError") 447 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:443:1 | 443 | / impl_native_exception!( 444 | | PyRecursionError, 445 | | PyExc_RecursionError, 446 | | native_doc!("RecursionError") 447 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:448:1 | 448 | / impl_native_exception!( 449 | | PyNotImplementedError, 450 | | PyExc_NotImplementedError, 451 | | native_doc!("NotImplementedError") 452 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:448:1 | 448 | / impl_native_exception!( 449 | | PyNotImplementedError, 450 | | PyExc_NotImplementedError, 451 | | native_doc!("NotImplementedError") 452 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:454:1 | 454 | / impl_native_exception!( 455 | | PySyntaxError, 456 | | PyExc_SyntaxError, 457 | | native_doc!("SyntaxError"), 458 | | ffi::PySyntaxErrorObject 459 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:454:1 | 454 | / impl_native_exception!( 455 | | PySyntaxError, 456 | | PyExc_SyntaxError, 457 | | native_doc!("SyntaxError"), 458 | | ffi::PySyntaxErrorObject 459 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:462:1 | 462 | / impl_native_exception!( 463 | | PyReferenceError, 464 | | PyExc_ReferenceError, 465 | | native_doc!("ReferenceError") 466 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:462:1 | 462 | / impl_native_exception!( 463 | | PyReferenceError, 464 | | PyExc_ReferenceError, 465 | | native_doc!("ReferenceError") 466 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:467:1 | 467 | impl_native_exception!(PySystemError, PyExc_SystemError, native_doc!("SystemError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:467:1 | 467 | impl_native_exception!(PySystemError, PyExc_SystemError, native_doc!("SystemError")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:469:1 | 469 | / impl_native_exception!( 470 | | PySystemExit, 471 | | PyExc_SystemExit, 472 | | native_doc!("SystemExit"), 473 | | ffi::PySystemExitObject 474 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:469:1 | 469 | / impl_native_exception!( 470 | | PySystemExit, 471 | | PyExc_SystemExit, 472 | | native_doc!("SystemExit"), 473 | | ffi::PySystemExitObject 474 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:477:1 | 477 | impl_native_exception!(PyTypeError, PyExc_TypeError, native_doc!("TypeError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:477:1 | 477 | impl_native_exception!(PyTypeError, PyExc_TypeError, native_doc!("TypeError")); | ------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:478:1 | 478 | / impl_native_exception!( 479 | | PyUnboundLocalError, 480 | | PyExc_UnboundLocalError, 481 | | native_doc!("UnboundLocalError") 482 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:478:1 | 478 | / impl_native_exception!( 479 | | PyUnboundLocalError, 480 | | PyExc_UnboundLocalError, 481 | | native_doc!("UnboundLocalError") 482 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:484:1 | 484 | / impl_native_exception!( 485 | | PyUnicodeError, 486 | | PyExc_UnicodeError, 487 | | native_doc!("UnicodeError"), 488 | | ffi::PyUnicodeErrorObject 489 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:484:1 | 484 | / impl_native_exception!( 485 | | PyUnicodeError, 486 | | PyExc_UnicodeError, 487 | | native_doc!("UnicodeError"), 488 | | ffi::PyUnicodeErrorObject 489 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:497:1 | 497 | / impl_native_exception!( 498 | | PyUnicodeDecodeError, 499 | | PyExc_UnicodeDecodeError, 500 | | native_doc!("UnicodeDecodeError", "") 501 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:497:1 | 497 | / impl_native_exception!( 498 | | PyUnicodeDecodeError, 499 | | PyExc_UnicodeDecodeError, 500 | | native_doc!("UnicodeDecodeError", "") 501 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:502:1 | 502 | / impl_native_exception!( 503 | | PyUnicodeEncodeError, 504 | | PyExc_UnicodeEncodeError, 505 | | native_doc!("UnicodeEncodeError", "") 506 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:502:1 | 502 | / impl_native_exception!( 503 | | PyUnicodeEncodeError, 504 | | PyExc_UnicodeEncodeError, 505 | | native_doc!("UnicodeEncodeError", "") 506 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:507:1 | 507 | / impl_native_exception!( 508 | | PyUnicodeTranslateError, 509 | | PyExc_UnicodeTranslateError, 510 | | native_doc!("UnicodeTranslateError", "") 511 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:507:1 | 507 | / impl_native_exception!( 508 | | PyUnicodeTranslateError, 509 | | PyExc_UnicodeTranslateError, 510 | | native_doc!("UnicodeTranslateError", "") 511 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:513:1 | 513 | / impl_native_exception!( 514 | | PyBaseExceptionGroup, 515 | | PyExc_BaseExceptionGroup, 516 | | native_doc!("BaseExceptionGroup", "") 517 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:513:1 | 513 | / impl_native_exception!( 514 | | PyBaseExceptionGroup, 515 | | PyExc_BaseExceptionGroup, 516 | | native_doc!("BaseExceptionGroup", "") 517 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:518:1 | 518 | impl_native_exception!(PyValueError, PyExc_ValueError, native_doc!("ValueError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:518:1 | 518 | impl_native_exception!(PyValueError, PyExc_ValueError, native_doc!("ValueError")); | --------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:519:1 | 519 | / impl_native_exception!( 520 | | PyZeroDivisionError, 521 | | PyExc_ZeroDivisionError, 522 | | native_doc!("ZeroDivisionError") 523 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:519:1 | 519 | / impl_native_exception!( 520 | | PyZeroDivisionError, 521 | | PyExc_ZeroDivisionError, 522 | | native_doc!("ZeroDivisionError") 523 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:525:1 | 525 | / impl_native_exception!( 526 | | PyBlockingIOError, 527 | | PyExc_BlockingIOError, 528 | | native_doc!("BlockingIOError") 529 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:525:1 | 525 | / impl_native_exception!( 526 | | PyBlockingIOError, 527 | | PyExc_BlockingIOError, 528 | | native_doc!("BlockingIOError") 529 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:530:1 | 530 | / impl_native_exception!( 531 | | PyBrokenPipeError, 532 | | PyExc_BrokenPipeError, 533 | | native_doc!("BrokenPipeError") 534 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:530:1 | 530 | / impl_native_exception!( 531 | | PyBrokenPipeError, 532 | | PyExc_BrokenPipeError, 533 | | native_doc!("BrokenPipeError") 534 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:535:1 | 535 | / impl_native_exception!( 536 | | PyChildProcessError, 537 | | PyExc_ChildProcessError, 538 | | native_doc!("ChildProcessError") 539 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:535:1 | 535 | / impl_native_exception!( 536 | | PyChildProcessError, 537 | | PyExc_ChildProcessError, 538 | | native_doc!("ChildProcessError") 539 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:540:1 | 540 | / impl_native_exception!( 541 | | PyConnectionError, 542 | | PyExc_ConnectionError, 543 | | native_doc!("ConnectionError") 544 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:540:1 | 540 | / impl_native_exception!( 541 | | PyConnectionError, 542 | | PyExc_ConnectionError, 543 | | native_doc!("ConnectionError") 544 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:545:1 | 545 | / impl_native_exception!( 546 | | PyConnectionAbortedError, 547 | | PyExc_ConnectionAbortedError, 548 | | native_doc!("ConnectionAbortedError") 549 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:545:1 | 545 | / impl_native_exception!( 546 | | PyConnectionAbortedError, 547 | | PyExc_ConnectionAbortedError, 548 | | native_doc!("ConnectionAbortedError") 549 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:550:1 | 550 | / impl_native_exception!( 551 | | PyConnectionRefusedError, 552 | | PyExc_ConnectionRefusedError, 553 | | native_doc!("ConnectionRefusedError") 554 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:550:1 | 550 | / impl_native_exception!( 551 | | PyConnectionRefusedError, 552 | | PyExc_ConnectionRefusedError, 553 | | native_doc!("ConnectionRefusedError") 554 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:555:1 | 555 | / impl_native_exception!( 556 | | PyConnectionResetError, 557 | | PyExc_ConnectionResetError, 558 | | native_doc!("ConnectionResetError") 559 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:555:1 | 555 | / impl_native_exception!( 556 | | PyConnectionResetError, 557 | | PyExc_ConnectionResetError, 558 | | native_doc!("ConnectionResetError") 559 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:560:1 | 560 | / impl_native_exception!( 561 | | PyFileExistsError, 562 | | PyExc_FileExistsError, 563 | | native_doc!("FileExistsError") 564 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:560:1 | 560 | / impl_native_exception!( 561 | | PyFileExistsError, 562 | | PyExc_FileExistsError, 563 | | native_doc!("FileExistsError") 564 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:565:1 | 565 | / impl_native_exception!( 566 | | PyFileNotFoundError, 567 | | PyExc_FileNotFoundError, 568 | | native_doc!("FileNotFoundError") 569 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:565:1 | 565 | / impl_native_exception!( 566 | | PyFileNotFoundError, 567 | | PyExc_FileNotFoundError, 568 | | native_doc!("FileNotFoundError") 569 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:570:1 | 570 | / impl_native_exception!( 571 | | PyInterruptedError, 572 | | PyExc_InterruptedError, 573 | | native_doc!("InterruptedError") 574 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:570:1 | 570 | / impl_native_exception!( 571 | | PyInterruptedError, 572 | | PyExc_InterruptedError, 573 | | native_doc!("InterruptedError") 574 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:575:1 | 575 | / impl_native_exception!( 576 | | PyIsADirectoryError, 577 | | PyExc_IsADirectoryError, 578 | | native_doc!("IsADirectoryError") 579 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:575:1 | 575 | / impl_native_exception!( 576 | | PyIsADirectoryError, 577 | | PyExc_IsADirectoryError, 578 | | native_doc!("IsADirectoryError") 579 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:580:1 | 580 | / impl_native_exception!( 581 | | PyNotADirectoryError, 582 | | PyExc_NotADirectoryError, 583 | | native_doc!("NotADirectoryError") 584 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:580:1 | 580 | / impl_native_exception!( 581 | | PyNotADirectoryError, 582 | | PyExc_NotADirectoryError, 583 | | native_doc!("NotADirectoryError") 584 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:585:1 | 585 | / impl_native_exception!( 586 | | PyPermissionError, 587 | | PyExc_PermissionError, 588 | | native_doc!("PermissionError") 589 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:585:1 | 585 | / impl_native_exception!( 586 | | PyPermissionError, 587 | | PyExc_PermissionError, 588 | | native_doc!("PermissionError") 589 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:590:1 | 590 | / impl_native_exception!( 591 | | PyProcessLookupError, 592 | | PyExc_ProcessLookupError, 593 | | native_doc!("ProcessLookupError") 594 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:590:1 | 590 | / impl_native_exception!( 591 | | PyProcessLookupError, 592 | | PyExc_ProcessLookupError, 593 | | native_doc!("ProcessLookupError") 594 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:595:1 | 595 | / impl_native_exception!( 596 | | PyTimeoutError, 597 | | PyExc_TimeoutError, 598 | | native_doc!("TimeoutError") 599 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:595:1 | 595 | / impl_native_exception!( 596 | | PyTimeoutError, 597 | | PyExc_TimeoutError, 598 | | native_doc!("TimeoutError") 599 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:601:1 | 601 | / impl_native_exception!( 602 | | PyEnvironmentError, 603 | | PyExc_EnvironmentError, 604 | | native_doc!("EnvironmentError") 605 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:601:1 | 601 | / impl_native_exception!( 602 | | PyEnvironmentError, 603 | | PyExc_EnvironmentError, 604 | | native_doc!("EnvironmentError") 605 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:606:1 | 606 | impl_native_exception!(PyIOError, PyExc_IOError, native_doc!("IOError")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:606:1 | 606 | impl_native_exception!(PyIOError, PyExc_IOError, native_doc!("IOError")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:672:1 | 672 | impl_native_exception!(PyWarning, PyExc_Warning, native_doc!("Warning")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:672:1 | 672 | impl_native_exception!(PyWarning, PyExc_Warning, native_doc!("Warning")); | ------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:673:1 | 673 | impl_native_exception!(PyUserWarning, PyExc_UserWarning, native_doc!("UserWarning")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:673:1 | 673 | impl_native_exception!(PyUserWarning, PyExc_UserWarning, native_doc!("UserWarning")); | ------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:674:1 | 674 | / impl_native_exception!( 675 | | PyDeprecationWarning, 676 | | PyExc_DeprecationWarning, 677 | | native_doc!("DeprecationWarning") 678 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:674:1 | 674 | / impl_native_exception!( 675 | | PyDeprecationWarning, 676 | | PyExc_DeprecationWarning, 677 | | native_doc!("DeprecationWarning") 678 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:679:1 | 679 | / impl_native_exception!( 680 | | PyPendingDeprecationWarning, 681 | | PyExc_PendingDeprecationWarning, 682 | | native_doc!("PendingDeprecationWarning") 683 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:679:1 | 679 | / impl_native_exception!( 680 | | PyPendingDeprecationWarning, 681 | | PyExc_PendingDeprecationWarning, 682 | | native_doc!("PendingDeprecationWarning") 683 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:684:1 | 684 | / impl_native_exception!( 685 | | PySyntaxWarning, 686 | | PyExc_SyntaxWarning, 687 | | native_doc!("SyntaxWarning") 688 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:684:1 | 684 | / impl_native_exception!( 685 | | PySyntaxWarning, 686 | | PyExc_SyntaxWarning, 687 | | native_doc!("SyntaxWarning") 688 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:689:1 | 689 | / impl_native_exception!( 690 | | PyRuntimeWarning, 691 | | PyExc_RuntimeWarning, 692 | | native_doc!("RuntimeWarning") 693 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:689:1 | 689 | / impl_native_exception!( 690 | | PyRuntimeWarning, 691 | | PyExc_RuntimeWarning, 692 | | native_doc!("RuntimeWarning") 693 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:694:1 | 694 | / impl_native_exception!( 695 | | PyFutureWarning, 696 | | PyExc_FutureWarning, 697 | | native_doc!("FutureWarning") 698 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:694:1 | 694 | / impl_native_exception!( 695 | | PyFutureWarning, 696 | | PyExc_FutureWarning, 697 | | native_doc!("FutureWarning") 698 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:699:1 | 699 | / impl_native_exception!( 700 | | PyImportWarning, 701 | | PyExc_ImportWarning, 702 | | native_doc!("ImportWarning") 703 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:699:1 | 699 | / impl_native_exception!( 700 | | PyImportWarning, 701 | | PyExc_ImportWarning, 702 | | native_doc!("ImportWarning") 703 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:704:1 | 704 | / impl_native_exception!( 705 | | PyUnicodeWarning, 706 | | PyExc_UnicodeWarning, 707 | | native_doc!("UnicodeWarning") 708 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:704:1 | 704 | / impl_native_exception!( 705 | | PyUnicodeWarning, 706 | | PyExc_UnicodeWarning, 707 | | native_doc!("UnicodeWarning") 708 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:709:1 | 709 | / impl_native_exception!( 710 | | PyBytesWarning, 711 | | PyExc_BytesWarning, 712 | | native_doc!("BytesWarning") 713 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:709:1 | 709 | / impl_native_exception!( 710 | | PyBytesWarning, 711 | | PyExc_BytesWarning, 712 | | native_doc!("BytesWarning") 713 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:714:1 | 714 | / impl_native_exception!( 715 | | PyResourceWarning, 716 | | PyExc_ResourceWarning, 717 | | native_doc!("ResourceWarning") 718 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:714:1 | 714 | / impl_native_exception!( 715 | | PyResourceWarning, 716 | | PyExc_ResourceWarning, 717 | | native_doc!("ResourceWarning") 718 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:721:1 | 721 | / impl_native_exception!( 722 | | PyEncodingWarning, 723 | | PyExc_EncodingWarning, 724 | | native_doc!("EncodingWarning") 725 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:721:1 | 721 | / impl_native_exception!( 722 | | PyEncodingWarning, 723 | | PyExc_EncodingWarning, 724 | | native_doc!("EncodingWarning") 725 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:762:5 | 762 | import_exception!(asyncio, CancelledError); | ------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:762:5 | 762 | import_exception!(asyncio, CancelledError); | ------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:763:5 | 763 | import_exception!(asyncio, InvalidStateError); | --------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:763:5 | 763 | import_exception!(asyncio, InvalidStateError); | --------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:764:5 | 764 | import_exception!(asyncio, TimeoutError); | ---------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:764:5 | 764 | import_exception!(asyncio, TimeoutError); | ---------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:765:5 | 765 | import_exception!(asyncio, IncompleteReadError); | ----------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:765:5 | 765 | import_exception!(asyncio, IncompleteReadError); | ----------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:766:5 | 766 | import_exception!(asyncio, LimitOverrunError); | --------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:766:5 | 766 | import_exception!(asyncio, LimitOverrunError); | --------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:767:5 | 767 | import_exception!(asyncio, QueueEmpty); | -------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:767:5 | 767 | import_exception!(asyncio, QueueEmpty); | -------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:768:5 | 768 | import_exception!(asyncio, QueueFull); | ------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:768:5 | 768 | import_exception!(asyncio, QueueFull); | ------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:789:5 | 789 | import_exception!(socket, herror); | --------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:789:5 | 789 | import_exception!(socket, herror); | --------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:790:5 | 790 | import_exception!(socket, gaierror); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:790:5 | 790 | import_exception!(socket, gaierror); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:791:5 | 791 | import_exception!(socket, timeout); | ---------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:791:5 | 791 | import_exception!(socket, timeout); | ---------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/gil.rs:81:11 | 81 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/gil.rs:128:11 | 128 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `thread_local_const_init` --> src/gil.rs:16:14 | 16 | if #[cfg(thread_local_const_init)] { | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thread_local_const_init)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thread_local_const_init)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/gil.rs:183:59 | 183 | if #[cfg(all(feature = "auto-initialize", not(PyPy)))] { | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `option_insert` --> src/impl_/extract_argument.rs:53:15 | 53 | #[cfg(not(option_insert))] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(option_insert)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(option_insert)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `option_insert` --> src/impl_/extract_argument.rs:59:11 | 59 | #[cfg(option_insert)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(option_insert)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(option_insert)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `option_insert` --> src/impl_/extract_argument.rs:68:15 | 68 | #[cfg(not(option_insert))] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(option_insert)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(option_insert)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `option_insert` --> src/impl_/extract_argument.rs:74:11 | 74 | #[cfg(option_insert)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(option_insert)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(option_insert)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/extract_argument.rs:227:15 | 227 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pyclass.rs:826:11 | 826 | #[cfg(not(Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pyclass.rs:779:15 | 779 | #[cfg(not(Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pyclass.rs:817:15 | 817 | #[cfg(Py_3_8)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pymethods.rs:15:7 | 15 | #[cfg(Py_3_8)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pymethods.rs:20:11 | 20 | #[cfg(not(Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/pymethods.rs:77:11 | 77 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/pymethods.rs:67:15 | 67 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pymethods.rs:33:11 | 33 | #[cfg(Py_3_8)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pymethods.rs:39:15 | 39 | #[cfg(not(Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/pymethods.rs:156:15 | 156 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/pymethods.rs:184:23 | 184 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/impl_/pymodule.rs:59:19 | 59 | #[cfg(all(PyPy, not(Py_3_8)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/impl_/pymodule.rs:59:29 | 59 | #[cfg(all(PyPy, not(Py_3_8)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/trampoline.rs:122:15 | 122 | #[cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/impl_/trampoline.rs:122:32 | 122 | #[cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/impl_/trampoline.rs:127:15 | 127 | #[cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/impl_/trampoline.rs:127:32 | 127 | #[cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/instance.rs:693:21 | 693 | not(PyPy), | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/instance.rs:694:21 | 694 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/instance.rs:694:38 | 694 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/instance.rs:694:55 | 694 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/instance.rs:762:26 | 762 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/instance.rs:762:42 | 762 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/instance.rs:762:58 | 762 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: elided lifetime has a name --> src/instance.rs:1087:64 | 1087 | pub fn downcast<'p, T>(&'p self, py: Python<'p>) -> Result<&T, PyDowncastError<'_>> | -- lifetime `'p` declared here ^ this elided lifetime gets resolved as `'p` | = note: `#[warn(elided_named_lifetimes)]` on by default warning: elided lifetime has a name --> src/instance.rs:1087:84 | 1087 | pub fn downcast<'p, T>(&'p self, py: Python<'p>) -> Result<&T, PyDowncastError<'_>> | -- lifetime `'p` declared here ^^ this elided lifetime gets resolved as `'p` warning: elided lifetime has a name --> src/instance.rs:1100:74 | 1100 | pub unsafe fn downcast_unchecked<'p, T>(&'p self, py: Python<'p>) -> &T | -- lifetime `'p` declared here ^ this elided lifetime gets resolved as `'p` warning: elided lifetime has a name --> src/instance.rs:1109:86 | 1109 | pub fn cast_as<'p, D>(&'p self, py: Python<'p>) -> Result<&'p D, PyDowncastError<'_>> | -- lifetime `'p` declared here ^^ this elided lifetime gets resolved as `'p` warning: unexpected `cfg` condition name: `PyPy` --> src/marker.rs:391:13 | 391 | not(PyPy), | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/marker.rs:394:16 | 394 | #[cfg_attr(PyPy, doc = "`prepare_freethreaded_python`")] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/marker.rs:448:13 | 448 | all(Py_3_8, not(PyPy)), | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/marker.rs:448:25 | 448 | all(Py_3_8, not(PyPy)), | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/marker.rs:451:24 | 451 | #[cfg_attr(any(not(Py_3_8), PyPy), doc = "`_Py_InitializeMain`")] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/marker.rs:451:33 | 451 | #[cfg_attr(any(not(Py_3_8), PyPy), doc = "`_Py_InitializeMain`")] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/panic.rs:6:1 | 6 | / pyo3_exception!( 7 | | " 8 | | The exception raised when Rust code called from Python panics. ... | 15 | | PyBaseException 16 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyo3_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/panic.rs:6:1 | 6 | / pyo3_exception!( 7 | | " 8 | | The exception raised when Rust code called from Python panics. ... | 15 | | PyBaseException 16 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyo3_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pycell.rs:915:19 | 915 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pycell.rs:924:15 | 924 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/pyclass/create_type_object.rs:70:19 | 70 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:70:32 | 70 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/pyclass/create_type_object.rs:88:27 | 88 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:88:40 | 88 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/pyclass/create_type_object.rs:93:27 | 93 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:93:40 | 93 | #[cfg(all(not(Py_3_9), not(Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/pyclass/create_type_object.rs:172:27 | 172 | #[cfg(not(any(PyPy, all(Py_LIMITED_API, not(Py_3_10)))))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:172:37 | 172 | #[cfg(not(any(PyPy, all(Py_LIMITED_API, not(Py_3_10)))))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/pyclass/create_type_object.rs:172:57 | 172 | #[cfg(not(any(PyPy, all(Py_LIMITED_API, not(Py_3_10)))))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/pyclass/create_type_object.rs:253:27 | 253 | #[cfg(all(not(PyPy), not(Py_LIMITED_API), not(Py_3_10)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:253:38 | 253 | #[cfg(all(not(PyPy), not(Py_LIMITED_API), not(Py_3_10)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/pyclass/create_type_object.rs:253:59 | 253 | #[cfg(all(not(PyPy), not(Py_LIMITED_API), not(Py_3_10)))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/pyclass/create_type_object.rs:278:15 | 278 | #[cfg(Py_3_9)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass/create_type_object.rs:312:23 | 312 | #[cfg(all(not(Py_LIMITED_API), not(Py_3_9)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/pyclass/create_type_object.rs:312:44 | 312 | #[cfg(all(not(Py_LIMITED_API), not(Py_3_9)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/pyclass_init.rs:49:19 | 49 | #[cfg(addr_of)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/pyclass_init.rs:51:23 | 51 | #[cfg(not(addr_of))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass_init.rs:63:19 | 63 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/pyclass_init.rs:66:23 | 66 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/type_object.rs:69:15 | 69 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/type_object.rs:74:11 | 74 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/type_object.rs:83:15 | 83 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/type_object.rs:88:11 | 88 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:8:11 | 8 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:11:11 | 11 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:17:11 | 17 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:20:15 | 20 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:20:36 | 20 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:24:15 | 24 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:24:36 | 24 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:32:11 | 32 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:37:11 | 37 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:276:11 | 276 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:279:11 | 279 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:283:15 | 283 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:283:36 | 283 | #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/mod.rs:292:11 | 292 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/any.rs:6:11 | 6 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/any.rs:55:1 | 55 | / pyobject_native_type_info!( 56 | | PyAny, 57 | | ffi::PyBaseObject_Type, 58 | | Some("builtins"), 59 | | #checkfunction=PyObject_Check 60 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type_info` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/any.rs:55:1 | 55 | / pyobject_native_type_info!( 56 | | PyAny, 57 | | ffi::PyBaseObject_Type, 58 | | Some("builtins"), 59 | | #checkfunction=PyObject_Check 60 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type_info` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/any.rs:1080:15 | 1080 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/types/any.rs:182:17 | 182 | if cfg!(Py_3_10) | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/any.rs:547:21 | 547 | not(PyPy), | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/types/any.rs:548:21 | 548 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/any.rs:548:38 | 548 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/types/any.rs:548:55 | 548 | any(Py_3_10, all(not(Py_LIMITED_API), Py_3_9)) // PyObject_CallNoArgs was added to python in 3.9 but to limited API in 3.10 | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/types/any.rs:681:26 | 681 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/any.rs:681:42 | 681 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/any.rs:681:58 | 681 | if #[cfg(all(Py_3_9, not(any(Py_LIMITED_API, PyPy))))] { | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: elided lifetime has a name --> src/types/any.rs:839:70 | 839 | pub fn cast_as<'a, D>(&'a self) -> Result<&'a D, PyDowncastError<'_>> | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` warning: elided lifetime has a name --> src/types/any.rs:899:71 | 899 | pub fn downcast<'p, T>(&'p self) -> Result<&'p T, PyDowncastError<'_>> | -- lifetime `'p` declared here ^^ this elided lifetime gets resolved as `'p` warning: elided lifetime has a name --> src/types/any.rs:937:77 | 937 | pub fn downcast_exact<'p, T>(&'p self) -> Result<&'p T, PyDowncastError<'_>> | -- lifetime `'p` declared here ^^ this elided lifetime gets resolved as `'p` warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/boolobject.rs:11:1 | 11 | pyobject_native_type!(PyBool, ffi::PyObject, ffi::PyBool_Type, #checkfunction=ffi::PyBool_Check); | ------------------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/boolobject.rs:11:1 | 11 | pyobject_native_type!(PyBool, ffi::PyObject, ffi::PyBool_Type, #checkfunction=ffi::PyBool_Check); | ------------------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/boolobject.rs:11:1 | 11 | pyobject_native_type!(PyBool, ffi::PyObject, ffi::PyBool_Type, #checkfunction=ffi::PyBool_Check); | ------------------------------------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/bytearray.rs:10:1 | 10 | pyobject_native_type_core!(PyByteArray, ffi::PyByteArray_Type, #checkfunction=ffi::PyByteArray_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/bytearray.rs:10:1 | 10 | pyobject_native_type_core!(PyByteArray, ffi::PyByteArray_Type, #checkfunction=ffi::PyByteArray_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/bytes.rs:16:1 | 16 | pyobject_native_type_core!(PyBytes, ffi::PyBytes_Type, #checkfunction=ffi::PyBytes_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/bytes.rs:16:1 | 16 | pyobject_native_type_core!(PyBytes, ffi::PyBytes_Type, #checkfunction=ffi::PyBytes_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/capsule.rs:44:1 | 44 | pyobject_native_type_core!(PyCapsule, ffi::PyCapsule_Type, #checkfunction=ffi::PyCapsule_CheckExact); | ---------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/capsule.rs:44:1 | 44 | pyobject_native_type_core!(PyCapsule, ffi::PyCapsule_Type, #checkfunction=ffi::PyCapsule_CheckExact); | ---------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/code.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyCode, 10 | | ffi::PyCode_Type, 11 | | #checkfunction=ffi::PyCode_Check 12 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/code.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyCode, 10 | | ffi::PyCode_Type, 11 | | #checkfunction=ffi::PyCode_Check 12 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/complex.rs:39:15 | 39 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/complex.rs:39:31 | 39 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/complex.rs:14:1 | 14 | / pyobject_native_type!( 15 | | PyComplex, 16 | | ffi::PyComplexObject, 17 | | ffi::PyComplex_Type, 18 | | #checkfunction=ffi::PyComplex_Check 19 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/complex.rs:14:1 | 14 | / pyobject_native_type!( 15 | | PyComplex, 16 | | ffi::PyComplexObject, 17 | | ffi::PyComplex_Type, 18 | | #checkfunction=ffi::PyComplex_Check 19 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/complex.rs:14:1 | 14 | / pyobject_native_type!( 15 | | PyComplex, 16 | | ffi::PyComplexObject, 17 | | ffi::PyComplex_Type, 18 | | #checkfunction=ffi::PyComplex_Check 19 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/datetime.rs:173:1 | 173 | / pyobject_native_type!( 174 | | PyDate, 175 | | crate::ffi::PyDateTime_Date, 176 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateType, 177 | | #module=Some("datetime"), 178 | | #checkfunction=PyDate_Check 179 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/datetime.rs:228:1 | 228 | / pyobject_native_type!( 229 | | PyDateTime, 230 | | crate::ffi::PyDateTime_DateTime, 231 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateTimeType, 232 | | #module=Some("datetime"), 233 | | #checkfunction=PyDateTime_Check 234 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/datetime.rs:377:1 | 377 | / pyobject_native_type!( 378 | | PyTime, 379 | | crate::ffi::PyDateTime_Time, 380 | | *ensure_datetime_api(Python::assume_gil_acquired()).TimeType, 381 | | #module=Some("datetime"), 382 | | #checkfunction=PyTime_Check 383 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/datetime.rs:477:1 | 477 | / pyobject_native_type!( 478 | | PyTzInfo, 479 | | crate::ffi::PyObject, 480 | | *ensure_datetime_api(Python::assume_gil_acquired()).TZInfoType, 481 | | #module=Some("datetime"), 482 | | #checkfunction=PyTZInfo_Check 483 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/datetime.rs:493:1 | 493 | / pyobject_native_type!( 494 | | PyDelta, 495 | | crate::ffi::PyDateTime_Delta, 496 | | *ensure_datetime_api(Python::assume_gil_acquired()).DeltaType, 497 | | #module=Some("datetime"), 498 | | #checkfunction=PyDelta_Check 499 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/datetime.rs:173:1 | 173 | / pyobject_native_type!( 174 | | PyDate, 175 | | crate::ffi::PyDateTime_Date, 176 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateType, 177 | | #module=Some("datetime"), 178 | | #checkfunction=PyDate_Check 179 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/datetime.rs:173:1 | 173 | / pyobject_native_type!( 174 | | PyDate, 175 | | crate::ffi::PyDateTime_Date, 176 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateType, 177 | | #module=Some("datetime"), 178 | | #checkfunction=PyDate_Check 179 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/datetime.rs:228:1 | 228 | / pyobject_native_type!( 229 | | PyDateTime, 230 | | crate::ffi::PyDateTime_DateTime, 231 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateTimeType, 232 | | #module=Some("datetime"), 233 | | #checkfunction=PyDateTime_Check 234 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/datetime.rs:228:1 | 228 | / pyobject_native_type!( 229 | | PyDateTime, 230 | | crate::ffi::PyDateTime_DateTime, 231 | | *ensure_datetime_api(Python::assume_gil_acquired()).DateTimeType, 232 | | #module=Some("datetime"), 233 | | #checkfunction=PyDateTime_Check 234 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/datetime.rs:377:1 | 377 | / pyobject_native_type!( 378 | | PyTime, 379 | | crate::ffi::PyDateTime_Time, 380 | | *ensure_datetime_api(Python::assume_gil_acquired()).TimeType, 381 | | #module=Some("datetime"), 382 | | #checkfunction=PyTime_Check 383 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/datetime.rs:377:1 | 377 | / pyobject_native_type!( 378 | | PyTime, 379 | | crate::ffi::PyDateTime_Time, 380 | | *ensure_datetime_api(Python::assume_gil_acquired()).TimeType, 381 | | #module=Some("datetime"), 382 | | #checkfunction=PyTime_Check 383 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/datetime.rs:477:1 | 477 | / pyobject_native_type!( 478 | | PyTzInfo, 479 | | crate::ffi::PyObject, 480 | | *ensure_datetime_api(Python::assume_gil_acquired()).TZInfoType, 481 | | #module=Some("datetime"), 482 | | #checkfunction=PyTZInfo_Check 483 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/datetime.rs:477:1 | 477 | / pyobject_native_type!( 478 | | PyTzInfo, 479 | | crate::ffi::PyObject, 480 | | *ensure_datetime_api(Python::assume_gil_acquired()).TZInfoType, 481 | | #module=Some("datetime"), 482 | | #checkfunction=PyTZInfo_Check 483 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/datetime.rs:493:1 | 493 | / pyobject_native_type!( 494 | | PyDelta, 495 | | crate::ffi::PyDateTime_Delta, 496 | | *ensure_datetime_api(Python::assume_gil_acquired()).DeltaType, 497 | | #module=Some("datetime"), 498 | | #checkfunction=PyDelta_Check 499 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/datetime.rs:493:1 | 493 | / pyobject_native_type!( 494 | | PyDelta, 495 | | crate::ffi::PyDateTime_Delta, 496 | | *ensure_datetime_api(Python::assume_gil_acquired()).DeltaType, 497 | | #module=Some("datetime"), 498 | | #checkfunction=PyDelta_Check 499 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:5:11 | 5 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:21:11 | 21 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:25:11 | 25 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:33:11 | 33 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:37:11 | 37 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:45:11 | 45 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:49:11 | 49 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/dict.rs:13:1 | 13 | / pyobject_native_type!( 14 | | PyDict, 15 | | ffi::PyDictObject, 16 | | ffi::PyDict_Type, 17 | | #checkfunction=ffi::PyDict_Check 18 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/dict.rs:13:1 | 13 | / pyobject_native_type!( 14 | | PyDict, 15 | | ffi::PyDictObject, 16 | | ffi::PyDict_Type, 17 | | #checkfunction=ffi::PyDict_Check 18 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/dict.rs:13:1 | 13 | / pyobject_native_type!( 14 | | PyDict, 15 | | ffi::PyDictObject, 16 | | ffi::PyDict_Type, 17 | | #checkfunction=ffi::PyDict_Check 18 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/dict.rs:26:1 | 26 | / pyobject_native_type_core!( 27 | | PyDictKeys, 28 | | ffi::PyDictKeys_Type, 29 | | #checkfunction=ffi::PyDictKeys_Check 30 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/dict.rs:26:1 | 26 | / pyobject_native_type_core!( 27 | | PyDictKeys, 28 | | ffi::PyDictKeys_Type, 29 | | #checkfunction=ffi::PyDictKeys_Check 30 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/dict.rs:38:1 | 38 | / pyobject_native_type_core!( 39 | | PyDictValues, 40 | | ffi::PyDictValues_Type, 41 | | #checkfunction=ffi::PyDictValues_Check 42 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/dict.rs:38:1 | 38 | / pyobject_native_type_core!( 39 | | PyDictValues, 40 | | ffi::PyDictValues_Type, 41 | | #checkfunction=ffi::PyDictValues_Check 42 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/dict.rs:50:1 | 50 | / pyobject_native_type_core!( 51 | | PyDictItems, 52 | | ffi::PyDictItems_Type, 53 | | #checkfunction=ffi::PyDictItems_Check 54 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/dict.rs:50:1 | 50 | / pyobject_native_type_core!( 51 | | PyDictItems, 52 | | ffi::PyDictItems_Type, 53 | | #checkfunction=ffi::PyDictItems_Check 54 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:69:15 | 69 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/types/dict.rs:101:23 | 101 | #[cfg(any(not(Py_3_8), PyPy, Py_LIMITED_API))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:101:32 | 101 | #[cfg(any(not(Py_3_8), PyPy, Py_LIMITED_API))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/dict.rs:101:38 | 101 | #[cfg(any(not(Py_3_8), PyPy, Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/types/dict.rs:106:19 | 106 | #[cfg(all(Py_3_8, not(PyPy), not(Py_LIMITED_API)))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:106:31 | 106 | #[cfg(all(Py_3_8, not(PyPy), not(Py_LIMITED_API)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/dict.rs:106:42 | 106 | #[cfg(all(Py_3_8, not(PyPy), not(Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/floatob.rs:18:1 | 18 | / pyobject_native_type!( 19 | | PyFloat, 20 | | ffi::PyFloatObject, 21 | | ffi::PyFloat_Type, 22 | | #checkfunction=ffi::PyFloat_Check 23 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/floatob.rs:18:1 | 18 | / pyobject_native_type!( 19 | | PyFloat, 20 | | ffi::PyFloatObject, 21 | | ffi::PyFloat_Type, 22 | | #checkfunction=ffi::PyFloat_Check 23 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/floatob.rs:18:1 | 18 | / pyobject_native_type!( 19 | | PyFloat, 20 | | ffi::PyFloatObject, 21 | | ffi::PyFloat_Type, 22 | | #checkfunction=ffi::PyFloat_Check 23 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/floatob.rs:33:19 | 33 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/floatob.rs:39:15 | 39 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/floatob.rs:71:19 | 71 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/frame.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyFrame, 10 | | ffi::PyFrame_Type, 11 | | #checkfunction=ffi::PyFrame_Check 12 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/frame.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyFrame, 10 | | ffi::PyFrame_Type, 11 | | #checkfunction=ffi::PyFrame_Check 12 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/frozenset.rs:1:7 | 1 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/frozenset.rs:50:11 | 50 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/frozenset.rs:58:7 | 58 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/frozenset.rs:117:7 | 117 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/frozenset.rs:147:11 | 147 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/frozenset.rs:51:1 | 51 | / pyobject_native_type!( 52 | | PyFrozenSet, 53 | | ffi::PySetObject, 54 | | ffi::PyFrozenSet_Type, 55 | | #checkfunction=ffi::PyFrozenSet_Check 56 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/frozenset.rs:51:1 | 51 | / pyobject_native_type!( 52 | | PyFrozenSet, 53 | | ffi::PySetObject, 54 | | ffi::PyFrozenSet_Type, 55 | | #checkfunction=ffi::PyFrozenSet_Check 56 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/frozenset.rs:51:1 | 51 | / pyobject_native_type!( 52 | | PyFrozenSet, 53 | | ffi::PySetObject, 54 | | ffi::PyFrozenSet_Type, 55 | | #checkfunction=ffi::PyFrozenSet_Check 56 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/function.rs:179:15 | 179 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/function.rs:179:40 | 179 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/types/function.rs:179:50 | 179 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/function.rs:182:15 | 182 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/function.rs:182:40 | 182 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/types/function.rs:182:50 | 182 | #[cfg(all(not(Py_LIMITED_API), not(all(PyPy, not(Py_3_8)))))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/function.rs:17:1 | 17 | pyobject_native_type_core!(PyCFunction, ffi::PyCFunction_Type, #checkfunction=ffi::PyCFunction_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/function.rs:17:1 | 17 | pyobject_native_type_core!(PyCFunction, ffi::PyCFunction_Type, #checkfunction=ffi::PyCFunction_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/function.rs:183:1 | 183 | pyobject_native_type_core!(PyFunction, ffi::PyFunction_Type, #checkfunction=ffi::PyFunction_Check); | -------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/function.rs:183:1 | 183 | pyobject_native_type_core!(PyFunction, ffi::PyFunction_Type, #checkfunction=ffi::PyFunction_Check); | -------------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/iterator.rs:59:15 | 59 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/list.rs:13:1 | 13 | pyobject_native_type_core!(PyList, ffi::PyList_Type, #checkfunction=ffi::PyList_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/list.rs:13:1 | 13 | pyobject_native_type_core!(PyList, ffi::PyList_Type, #checkfunction=ffi::PyList_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:38:23 | 38 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:40:19 | 40 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:141:15 | 141 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:97:23 | 97 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:99:19 | 99 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:302:23 | 302 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/list.rs:302:39 | 302 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:304:27 | 304 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/list.rs:304:43 | 304 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/module.rs:21:1 | 21 | pyobject_native_type_core!(PyModule, ffi::PyModule_Type, #checkfunction=ffi::PyModule_Check); | -------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/module.rs:21:1 | 21 | pyobject_native_type_core!(PyModule, ffi::PyModule_Type, #checkfunction=ffi::PyModule_Check); | -------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/module.rs:202:15 | 202 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/num.rs:12:1 | 12 | pyobject_native_type_core!(PyLong, ffi::PyLong_Type, #checkfunction=ffi::PyLong_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/num.rs:12:1 | 12 | pyobject_native_type_core!(PyLong, ffi::PyLong_Type, #checkfunction=ffi::PyLong_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/pysuper.rs:11:1 | 11 | pyobject_native_type_core!(PySuper, ffi::PySuper_Type); | ------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/pysuper.rs:11:1 | 11 | pyobject_native_type_core!(PySuper, ffi::PySuper_Type); | ------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/sequence.rs:175:15 | 175 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/set.rs:1:7 | 1 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/set.rs:14:11 | 14 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/set.rs:22:7 | 22 | #[cfg(PyPy)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/set.rs:129:7 | 129 | #[cfg(Py_LIMITED_API)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/set.rs:169:11 | 169 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/set.rs:15:1 | 15 | / pyobject_native_type!( 16 | | PySet, 17 | | ffi::PySetObject, 18 | | ffi::PySet_Type, 19 | | #checkfunction=ffi::PySet_Check 20 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/set.rs:15:1 | 15 | / pyobject_native_type!( 16 | | PySet, 17 | | ffi::PySetObject, 18 | | ffi::PySet_Type, 19 | | #checkfunction=ffi::PySet_Check 20 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/set.rs:15:1 | 15 | / pyobject_native_type!( 16 | | PySet, 17 | | ffi::PySetObject, 18 | | ffi::PySet_Type, 19 | | #checkfunction=ffi::PySet_Check 20 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/mod.rs:266:19 | 266 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | ::: src/types/slice.rs:12:1 | 12 | / pyobject_native_type!( 13 | | PySlice, 14 | | ffi::PySliceObject, 15 | | ffi::PySlice_Type, 16 | | #checkfunction=ffi::PySlice_Check 17 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/slice.rs:12:1 | 12 | / pyobject_native_type!( 13 | | PySlice, 14 | | ffi::PySliceObject, 15 | | ffi::PySlice_Type, 16 | | #checkfunction=ffi::PySlice_Check 17 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/slice.rs:12:1 | 12 | / pyobject_native_type!( 13 | | PySlice, 14 | | ffi::PySliceObject, 15 | | ffi::PySlice_Type, 16 | | #checkfunction=ffi::PySlice_Check 17 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:1:11 | 1 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:13:11 | 13 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:26:11 | 26 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/string.rs:130:1 | 130 | pyobject_native_type_core!(PyString, ffi::PyUnicode_Type, #checkfunction=ffi::PyUnicode_Check); | ---------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/string.rs:130:1 | 130 | pyobject_native_type_core!(PyString, ffi::PyUnicode_Type, #checkfunction=ffi::PyUnicode_Check); | ---------------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:239:15 | 239 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/types/string.rs:184:30 | 184 | if #[cfg(any(Py_3_10, not(Py_LIMITED_API)))] { | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:184:43 | 184 | if #[cfg(any(Py_3_10, not(Py_LIMITED_API)))] { | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/types/string.rs:243:19 | 243 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/traceback.rs:10:1 | 10 | / pyobject_native_type_core!( 11 | | PyTraceback, 12 | | ffi::PyTraceBack_Type, 13 | | #checkfunction=ffi::PyTraceBack_Check 14 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/traceback.rs:10:1 | 10 | / pyobject_native_type_core!( 11 | | PyTraceback, 12 | | ffi::PyTraceBack_Type, 13 | | #checkfunction=ffi::PyTraceBack_Check 14 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:36:27 | 36 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:36:43 | 36 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:38:23 | 38 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:38:39 | 38 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/tuple.rs:56:1 | 56 | pyobject_native_type_core!(PyTuple, ffi::PyTuple_Type, #checkfunction=ffi::PyTuple_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/tuple.rs:56:1 | 56 | pyobject_native_type_core!(PyTuple, ffi::PyTuple_Type, #checkfunction=ffi::PyTuple_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:167:19 | 167 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:167:35 | 167 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:174:15 | 174 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:107:27 | 107 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:107:43 | 107 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:109:23 | 109 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:109:39 | 109 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:241:23 | 241 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:241:39 | 241 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:243:27 | 243 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:243:43 | 243 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 349 | tuple_conversion!(1, (ref0, 0, T0)); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 349 | tuple_conversion!(1, (ref0, 0, T0)); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 349 | tuple_conversion!(1, (ref0, 0, T0)); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 349 | tuple_conversion!(1, (ref0, 0, T0)); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 350 | tuple_conversion!(2, (ref0, 0, T0), (ref1, 1, T1)); | -------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 350 | tuple_conversion!(2, (ref0, 0, T0), (ref1, 1, T1)); | -------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 350 | tuple_conversion!(2, (ref0, 0, T0), (ref1, 1, T1)); | -------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 350 | tuple_conversion!(2, (ref0, 0, T0), (ref1, 1, T1)); | -------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 351 | tuple_conversion!(3, (ref0, 0, T0), (ref1, 1, T1), (ref2, 2, T2)); | ----------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 351 | tuple_conversion!(3, (ref0, 0, T0), (ref1, 1, T1), (ref2, 2, T2)); | ----------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 351 | tuple_conversion!(3, (ref0, 0, T0), (ref1, 1, T1), (ref2, 2, T2)); | ----------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 351 | tuple_conversion!(3, (ref0, 0, T0), (ref1, 1, T1), (ref2, 2, T2)); | ----------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 352 | / tuple_conversion!( 353 | | 4, 354 | | (ref0, 0, T0), 355 | | (ref1, 1, T1), 356 | | (ref2, 2, T2), 357 | | (ref3, 3, T3) 358 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 352 | / tuple_conversion!( 353 | | 4, 354 | | (ref0, 0, T0), 355 | | (ref1, 1, T1), 356 | | (ref2, 2, T2), 357 | | (ref3, 3, T3) 358 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 352 | / tuple_conversion!( 353 | | 4, 354 | | (ref0, 0, T0), 355 | | (ref1, 1, T1), 356 | | (ref2, 2, T2), 357 | | (ref3, 3, T3) 358 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 352 | / tuple_conversion!( 353 | | 4, 354 | | (ref0, 0, T0), 355 | | (ref1, 1, T1), 356 | | (ref2, 2, T2), 357 | | (ref3, 3, T3) 358 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 359 | / tuple_conversion!( 360 | | 5, 361 | | (ref0, 0, T0), 362 | | (ref1, 1, T1), ... | 365 | | (ref4, 4, T4) 366 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 359 | / tuple_conversion!( 360 | | 5, 361 | | (ref0, 0, T0), 362 | | (ref1, 1, T1), ... | 365 | | (ref4, 4, T4) 366 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 359 | / tuple_conversion!( 360 | | 5, 361 | | (ref0, 0, T0), 362 | | (ref1, 1, T1), ... | 365 | | (ref4, 4, T4) 366 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 359 | / tuple_conversion!( 360 | | 5, 361 | | (ref0, 0, T0), 362 | | (ref1, 1, T1), ... | 365 | | (ref4, 4, T4) 366 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 367 | / tuple_conversion!( 368 | | 6, 369 | | (ref0, 0, T0), 370 | | (ref1, 1, T1), ... | 374 | | (ref5, 5, T5) 375 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 367 | / tuple_conversion!( 368 | | 6, 369 | | (ref0, 0, T0), 370 | | (ref1, 1, T1), ... | 374 | | (ref5, 5, T5) 375 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 367 | / tuple_conversion!( 368 | | 6, 369 | | (ref0, 0, T0), 370 | | (ref1, 1, T1), ... | 374 | | (ref5, 5, T5) 375 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 367 | / tuple_conversion!( 368 | | 6, 369 | | (ref0, 0, T0), 370 | | (ref1, 1, T1), ... | 374 | | (ref5, 5, T5) 375 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 376 | / tuple_conversion!( 377 | | 7, 378 | | (ref0, 0, T0), 379 | | (ref1, 1, T1), ... | 384 | | (ref6, 6, T6) 385 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 376 | / tuple_conversion!( 377 | | 7, 378 | | (ref0, 0, T0), 379 | | (ref1, 1, T1), ... | 384 | | (ref6, 6, T6) 385 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 376 | / tuple_conversion!( 377 | | 7, 378 | | (ref0, 0, T0), 379 | | (ref1, 1, T1), ... | 384 | | (ref6, 6, T6) 385 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 376 | / tuple_conversion!( 377 | | 7, 378 | | (ref0, 0, T0), 379 | | (ref1, 1, T1), ... | 384 | | (ref6, 6, T6) 385 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 386 | / tuple_conversion!( 387 | | 8, 388 | | (ref0, 0, T0), 389 | | (ref1, 1, T1), ... | 395 | | (ref7, 7, T7) 396 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 386 | / tuple_conversion!( 387 | | 8, 388 | | (ref0, 0, T0), 389 | | (ref1, 1, T1), ... | 395 | | (ref7, 7, T7) 396 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 386 | / tuple_conversion!( 387 | | 8, 388 | | (ref0, 0, T0), 389 | | (ref1, 1, T1), ... | 395 | | (ref7, 7, T7) 396 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 386 | / tuple_conversion!( 387 | | 8, 388 | | (ref0, 0, T0), 389 | | (ref1, 1, T1), ... | 395 | | (ref7, 7, T7) 396 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 397 | / tuple_conversion!( 398 | | 9, 399 | | (ref0, 0, T0), 400 | | (ref1, 1, T1), ... | 407 | | (ref8, 8, T8) 408 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 397 | / tuple_conversion!( 398 | | 9, 399 | | (ref0, 0, T0), 400 | | (ref1, 1, T1), ... | 407 | | (ref8, 8, T8) 408 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 397 | / tuple_conversion!( 398 | | 9, 399 | | (ref0, 0, T0), 400 | | (ref1, 1, T1), ... | 407 | | (ref8, 8, T8) 408 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 397 | / tuple_conversion!( 398 | | 9, 399 | | (ref0, 0, T0), 400 | | (ref1, 1, T1), ... | 407 | | (ref8, 8, T8) 408 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 409 | / tuple_conversion!( 410 | | 10, 411 | | (ref0, 0, T0), 412 | | (ref1, 1, T1), ... | 420 | | (ref9, 9, T9) 421 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 409 | / tuple_conversion!( 410 | | 10, 411 | | (ref0, 0, T0), 412 | | (ref1, 1, T1), ... | 420 | | (ref9, 9, T9) 421 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 409 | / tuple_conversion!( 410 | | 10, 411 | | (ref0, 0, T0), 412 | | (ref1, 1, T1), ... | 420 | | (ref9, 9, T9) 421 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 409 | / tuple_conversion!( 410 | | 10, 411 | | (ref0, 0, T0), 412 | | (ref1, 1, T1), ... | 420 | | (ref9, 9, T9) 421 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 422 | / tuple_conversion!( 423 | | 11, 424 | | (ref0, 0, T0), 425 | | (ref1, 1, T1), ... | 434 | | (ref10, 10, T10) 435 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 422 | / tuple_conversion!( 423 | | 11, 424 | | (ref0, 0, T0), 425 | | (ref1, 1, T1), ... | 434 | | (ref10, 10, T10) 435 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 422 | / tuple_conversion!( 423 | | 11, 424 | | (ref0, 0, T0), 425 | | (ref1, 1, T1), ... | 434 | | (ref10, 10, T10) 435 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 422 | / tuple_conversion!( 423 | | 11, 424 | | (ref0, 0, T0), 425 | | (ref1, 1, T1), ... | 434 | | (ref10, 10, T10) 435 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:332:27 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^^^^^^^^^^^ ... 437 | / tuple_conversion!( 438 | | 12, 439 | | (ref0, 0, T0), 440 | | (ref1, 1, T1), ... | 450 | | (ref11, 11, T11) 451 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:332:43 | 332 | #[cfg(any(Py_LIMITED_API, PyPy))] | ^^^^ ... 437 | / tuple_conversion!( 438 | | 12, 439 | | (ref0, 0, T0), 440 | | (ref1, 1, T1), ... | 450 | | (ref11, 11, T11) 451 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:335:31 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ ... 437 | / tuple_conversion!( 438 | | 12, 439 | | (ref0, 0, T0), 440 | | (ref1, 1, T1), ... | 450 | | (ref11, 11, T11) 451 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:335:47 | 335 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ ... 437 | / tuple_conversion!( 438 | | 12, 439 | | (ref0, 0, T0), 440 | | (ref1, 1, T1), ... | 450 | | (ref11, 11, T11) 451 | | ); | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/types/typeobject.rs:8:1 | 8 | pyobject_native_type_core!(PyType, ffi::PyType_Type, #checkfunction=ffi::PyType_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/types/typeobject.rs:8:1 | 8 | pyobject_native_type_core!(PyType, ffi::PyType_Type, #checkfunction=ffi::PyType_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: elided lifetime has a name --> src/version.rs:31:74 | 29 | impl<'py> PythonVersionInfo<'py> { | --- lifetime `'py` declared here 30 | /// Parses a hard-coded Python interpreter version string (e.g. 3.9.0a4+). 31 | pub(crate) fn from_str(version_number_str: &'py str) -> Result { | ^ this elided lifetime gets resolved as `'py` warning: unused import: `crate::conversions::*` --> src/lib.rs:434:9 | 434 | pub use crate::conversions::*; | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unexpected `cfg` condition name: `PyPy` --> src/macros.rs:159:11 | 159 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/any.rs:55:1 | 55 | / pyobject_native_type_info!( 56 | | PyAny, 57 | | ffi::PyBaseObject_Type, 58 | | Some("builtins"), 59 | | #checkfunction=PyObject_Check 60 | | ); | |_- in this macro invocation | = note: `#[warn(unused_unsafe)]` on by default = note: this warning originates in the macro `pyobject_native_type_info` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/boolobject.rs:11:1 | 11 | pyobject_native_type!(PyBool, ffi::PyObject, ffi::PyBool_Type, #checkfunction=ffi::PyBool_Check); | ------------------------------------------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/bytearray.rs:10:1 | 10 | pyobject_native_type_core!(PyByteArray, ffi::PyByteArray_Type, #checkfunction=ffi::PyByteArray_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/bytes.rs:16:1 | 16 | pyobject_native_type_core!(PyBytes, ffi::PyBytes_Type, #checkfunction=ffi::PyBytes_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/capsule.rs:44:1 | 44 | pyobject_native_type_core!(PyCapsule, ffi::PyCapsule_Type, #checkfunction=ffi::PyCapsule_CheckExact); | ---------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/code.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyCode, 10 | | ffi::PyCode_Type, 11 | | #checkfunction=ffi::PyCode_Check 12 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/complex.rs:14:1 | 14 | / pyobject_native_type!( 15 | | PyComplex, 16 | | ffi::PyComplexObject, 17 | | ffi::PyComplex_Type, 18 | | #checkfunction=ffi::PyComplex_Check 19 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) Compiling toml v0.8.20 Running `/usr/bin/rustc --crate-name toml --edition=2021 /usr/share/cargo/registry/toml-0.8.20/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 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::wildcard_imports' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_to_string' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::string_add' '--warn=clippy::str_to_string' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--allow=clippy::result_large_err' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--warn=clippy::needless_continue' '--warn=clippy::mutex_integer' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' --cfg 'feature="default"' --cfg 'feature="display"' --cfg 'feature="parse"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "display", "indexmap", "parse", "preserve_order"))' -C metadata=185534cdb3a4ebe6 -C extra-filename=-377c26c4fdea6469 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rmeta --extern serde_spanned=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_spanned-f257ff9fe5ba5efa.rmeta --extern toml_datetime=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtoml_datetime-6636039b999d7b0a.rmeta --extern toml_edit=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtoml_edit-0b9ffbea6712351a.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` warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/dict.rs:13:1 | 13 | / pyobject_native_type!( 14 | | PyDict, 15 | | ffi::PyDictObject, 16 | | ffi::PyDict_Type, 17 | | #checkfunction=ffi::PyDict_Check 18 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/dict.rs:26:1 | 26 | / pyobject_native_type_core!( 27 | | PyDictKeys, 28 | | ffi::PyDictKeys_Type, 29 | | #checkfunction=ffi::PyDictKeys_Check 30 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/dict.rs:38:1 | 38 | / pyobject_native_type_core!( 39 | | PyDictValues, 40 | | ffi::PyDictValues_Type, 41 | | #checkfunction=ffi::PyDictValues_Check 42 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/dict.rs:50:1 | 50 | / pyobject_native_type_core!( 51 | | PyDictItems, 52 | | ffi::PyDictItems_Type, 53 | | #checkfunction=ffi::PyDictItems_Check 54 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/floatob.rs:18:1 | 18 | / pyobject_native_type!( 19 | | PyFloat, 20 | | ffi::PyFloatObject, 21 | | ffi::PyFloat_Type, 22 | | #checkfunction=ffi::PyFloat_Check 23 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/frame.rs:8:1 | 8 | / pyobject_native_type_core!( 9 | | PyFrame, 10 | | ffi::PyFrame_Type, 11 | | #checkfunction=ffi::PyFrame_Check 12 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/frozenset.rs:51:1 | 51 | / pyobject_native_type!( 52 | | PyFrozenSet, 53 | | ffi::PySetObject, 54 | | ffi::PyFrozenSet_Type, 55 | | #checkfunction=ffi::PyFrozenSet_Check 56 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/function.rs:17:1 | 17 | pyobject_native_type_core!(PyCFunction, ffi::PyCFunction_Type, #checkfunction=ffi::PyCFunction_Check); | ----------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/function.rs:183:1 | 183 | pyobject_native_type_core!(PyFunction, ffi::PyFunction_Type, #checkfunction=ffi::PyFunction_Check); | -------------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/list.rs:13:1 | 13 | pyobject_native_type_core!(PyList, ffi::PyList_Type, #checkfunction=ffi::PyList_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/module.rs:21:1 | 21 | pyobject_native_type_core!(PyModule, ffi::PyModule_Type, #checkfunction=ffi::PyModule_Check); | -------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/num.rs:12:1 | 12 | pyobject_native_type_core!(PyLong, ffi::PyLong_Type, #checkfunction=ffi::PyLong_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/pysuper.rs:11:1 | 11 | pyobject_native_type_core!(PySuper, ffi::PySuper_Type); | ------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/set.rs:15:1 | 15 | / pyobject_native_type!( 16 | | PySet, 17 | | ffi::PySetObject, 18 | | ffi::PySet_Type, 19 | | #checkfunction=ffi::PySet_Check 20 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/slice.rs:12:1 | 12 | / pyobject_native_type!( 13 | | PySlice, 14 | | ffi::PySliceObject, 15 | | ffi::PySlice_Type, 16 | | #checkfunction=ffi::PySlice_Check 17 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/string.rs:130:1 | 130 | pyobject_native_type_core!(PyString, ffi::PyUnicode_Type, #checkfunction=ffi::PyUnicode_Check); | ---------------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/traceback.rs:10:1 | 10 | / pyobject_native_type_core!( 11 | | PyTraceback, 12 | | ffi::PyTraceBack_Type, 13 | | #checkfunction=ffi::PyTraceBack_Check 14 | | ); | |_- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/tuple.rs:56:1 | 56 | pyobject_native_type_core!(PyTuple, ffi::PyTuple_Type, #checkfunction=ffi::PyTuple_Check); | ----------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary `unsafe` block --> src/types/mod.rs:199:17 | 199 | unsafe { ::std::ptr::addr_of_mut!($typeobject) } | ^^^^^^ unnecessary `unsafe` block | ::: src/types/typeobject.rs:8:1 | 8 | pyobject_native_type_core!(PyType, ffi::PyType_Type, #checkfunction=ffi::PyType_Check); | -------------------------------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `pyobject_native_type_core` (in Nightly builds, run with -Z macro-backtrace for more info) warning: creating a mutable reference to mutable static is discouraged --> src/pycell.rs:910:38 | 910 | if T::type_object_raw(py) == &mut PyBaseObject_Type { | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives = note: `#[warn(static_mut_refs)]` on by default help: use `&raw mut` instead to create a raw pointer | 910 - if T::type_object_raw(py) == &mut PyBaseObject_Type { 910 + if T::type_object_raw(py) == &raw mut PyBaseObject_Type { | Compiling trybuild v1.0.104 Running `/usr/bin/rustc --crate-name trybuild --edition=2021 /usr/share/cargo/registry/trybuild-1.0.104/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("diff"))' -C metadata=25144a730f2a2f8e -C extra-filename=-1fd1f8144307655d --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern glob=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libglob-1312fc5268591b35.rmeta --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rmeta --extern serde_derive=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_derive-09f17ca14d6cba99.so --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rmeta --extern target_triple=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtarget_triple-dfa3d2091846059b.rmeta --extern termcolor=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtermcolor-df1111b128de9d41.rmeta --extern toml=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtoml-377c26c4fdea6469.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` warning: `auto` traits are unstable --> src/marker.rs:262:12 | 262 | pub unsafe auto trait Ungil {} | ^^^^ | = note: see issue #13231 for more information = help: add `#![feature(auto_traits)]` to the crate attributes to enable = note: this compiler was built on 2025-03-31; consider upgrading it if it is out of date = warning: unstable syntax can change at any point in the future, causing a hard error! = note: for more information, see issue #65860 warning: `pyo3` (lib) generated 598 warnings (run `cargo fix --lib -p pyo3` to apply 1 suggestion) Running `/usr/bin/rustc --crate-name test_multiple_pymethods --edition=2018 tests/test_multiple_pymethods.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=221e7f5b8572ce99 -C extra-filename=-b7c055bc3319a27f --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_macros --edition=2018 tests/test_macros.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=342ca4ec25a913fd -C extra-filename=-b843d5855f274f77 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_append_to_inittab --edition=2018 tests/test_append_to_inittab.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=aeccd431ce4fdbde -C extra-filename=-30f638735da6db03 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_pyfunction --edition=2018 tests/test_pyfunction.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=3d804ce17412915a -C extra-filename=-6289ddeb8e339c12 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_anyhow --edition=2018 tests/test_anyhow.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=630da5e41589fd5d -C extra-filename=-0003dc0211482dca --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_static_slots --edition=2018 tests/test_static_slots.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=3ccf857b53af1aa1 -C extra-filename=-bfe5c6d0bab7ba38 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_wrap_pyfunction_deduction --edition=2018 tests/test_wrap_pyfunction_deduction.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=ce447cc0627c9292 -C extra-filename=-399faf5120cf6613 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_default_impls --edition=2018 tests/test_default_impls.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=2158330b50c29984 -C extra-filename=-3beb6a2ea415c293 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_text_signature --edition=2018 tests/test_text_signature.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=069de2f8e18b0423 -C extra-filename=-661b0f08f130c905 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name pyo3 --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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=cdb5414d47b7d11c -C extra-filename=-734a3c6a48760fbc --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_getter_setter --edition=2018 tests/test_getter_setter.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=90d67f89a8498e25 -C extra-filename=-5dd732fe4e6b1291 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_string --edition=2018 tests/test_string.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=27ae275bdbe55697 -C extra-filename=-b82edf066cf89b34 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `Py_3_8` --> tests/common.rs:3:31 | 3 | #[cfg(all(feature = "macros", Py_3_8))] | ^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_3_8` --> tests/common.rs:49:31 | 49 | #[cfg(all(feature = "macros", Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> tests/common.rs:56:31 | 56 | #[cfg(all(feature = "macros", Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> tests/common.rs:66:31 | 66 | #[cfg(all(feature = "macros", Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> tests/test_append_to_inittab.rs:1:36 | 1 | #![cfg(all(feature = "macros", not(PyPy)))] | ^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `PyPy` --> tests/test_append_to_inittab.rs:15:11 | 15 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:5:11 | 5 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:8:11 | 8 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:10:15 | 10 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> tests/test_pyfunction.rs:10:31 | 10 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:34:11 | 34 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:45:11 | 45 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:77:15 | 77 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> tests/test_pyfunction.rs:77:31 | 77 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:119:11 | 119 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:127:11 | 127 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:135:11 | 135 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:154:11 | 154 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> tests/common.rs:3:31 | 3 | #[cfg(all(feature = "macros", Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_pyfunction.rs:103:23 | 103 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> tests/test_pyfunction.rs:103:39 | 103 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_text_signature.rs:38:16 | 38 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_text_signature.rs:38:36 | 38 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_text_signature.rs:65:16 | 65 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_text_signature.rs:65:36 | 65 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_text_signature.rs:411:16 | 411 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_text_signature.rs:411:36 | 411 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_text_signature.rs:241:23 | 241 | #[cfg(any(not(Py_LIMITED_API), Py_3_10))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_text_signature.rs:241:40 | 241 | #[cfg(any(not(Py_LIMITED_API), Py_3_10))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_text_signature.rs:444:20 | 444 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_text_signature.rs:444:40 | 444 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_text_signature.rs:480:20 | 480 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_text_signature.rs:480:40 | 480 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_text_signature.rs:513:20 | 513 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_text_signature.rs:513:40 | 513 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_static_slots.rs:14:1 | 14 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 15 | impl Count5 { | ------ | | | `Count5` is not local | `Count5` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) Running `/usr/bin/rustc --crate-name test_class_attributes --edition=2018 tests/test_class_attributes.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=f5557a115fe8febe -C extra-filename=-aff02affa8ebf360 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` Running `/usr/bin/rustc --crate-name test_pyself --edition=2018 tests/test_pyself.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=bc71428ec48e5582 -C extra-filename=-d099b1394e5a0c64 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `cfg_panic` --> tests/test_class_attributes.rs:99:12 | 99 | #[cfg_attr(cfg_panic, cfg(panic = "unwind"))] | ^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cfg_panic)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cfg_panic)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default Running `/usr/bin/rustc --crate-name test_super --edition=2018 tests/test_super.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=81d4b945dceb99d0 -C extra-filename=-e20e37d4792a6858 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `PyPy` --> tests/test_super.rs:1:36 | 1 | #![cfg(all(feature = "macros", not(PyPy)))] | ^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_text_signature.rs:43:5 | 43 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 5 bodies 44 | impl MyClass { | ------- | | | `MyClass` is not local | `MyClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_text_signature.rs:72:5 | 72 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 5 bodies 73 | impl MyClass { | ------- | | | `MyClass` is not local | `MyClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_text_signature.rs:198:5 | 198 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 5 bodies 199 | impl MyClass { | ------- | | | `MyClass` is not local | `MyClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_text_signature.rs:286:5 | 286 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 5 bodies 287 | impl MyClass { | ------- | | | `MyClass` is not local | `MyClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_text_signature.rs:416:5 | 416 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 5 bodies 417 | impl MyClass { | ------- | | | `MyClass` is not local | `MyClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_text_signature.rs:453:9 | 453 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 5 bodies 454 | impl MyClass { | ------- | | | `MyClass` is not local | `MyClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_text_signature.rs:486:9 | 486 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 5 bodies 487 | impl MyClass { | ------- | | | `MyClass` is not local | `MyClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_text_signature.rs:518:9 | 518 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 5 bodies 519 | impl MyClass { | ------- | | | `MyClass` is not local | `MyClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_super.rs:10:1 | 10 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 11 | impl BaseClass { | --------- | | | `BaseClass` is not local | `BaseClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_super.rs:25:1 | 25 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 26 | impl SubClass { | -------- | | | `SubClass` is not local | `SubClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_3_12` --> src/err/mod.rs:888:15 | 888 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `pyo3` (test "test_append_to_inittab") generated 2 warnings Running `/usr/bin/rustc --crate-name test_exceptions --edition=2018 tests/test_exceptions.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=0faf4337e66f5233 -C extra-filename=-847927d6e2e6dbc0 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `Py_3_8` --> tests/test_exceptions.rs:101:7 | 101 | #[cfg(Py_3_8)] | ^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_3_11` --> src/exceptions.rs:1037:11 | 1037 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/exceptions.rs:1116:11 | 1116 | #[cfg(Py_3_10)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:807:5 | 807 | import_exception!(socket, gaierror); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:807:5 | 807 | import_exception!(socket, gaierror); | ----------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:808:5 | 808 | import_exception!(email.errors, MessageError); | --------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:808:5 | 808 | import_exception!(email.errors, MessageError); | --------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:863:9 | 863 | create_exception!(mymodule, CustomError, PyException); | ----------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:863:9 | 863 | create_exception!(mymodule, CustomError, PyException); | ----------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:887:9 | 887 | create_exception!(mymodule.exceptions, CustomError, PyException); | ---------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:887:9 | 887 | create_exception!(mymodule.exceptions, CustomError, PyException); | ---------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:905:9 | 905 | create_exception!(mymodule, CustomError, PyException, "Some docs"); | ------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:905:9 | 905 | create_exception!(mymodule, CustomError, PyException, "Some docs"); | ------------------------------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/exceptions.rs:929:9 | 929 | / create_exception!( 930 | | mymodule, 931 | | CustomError, 932 | | PyException, 933 | | concat!("Some", " more ", stringify!(docs)) 934 | | ); | |_________- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/exceptions.rs:929:9 | 929 | / create_exception!( 930 | | mymodule, 931 | | CustomError, 932 | | PyException, 933 | | concat!("Some", " more ", stringify!(docs)) 934 | | ); | |_________- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:4:11 | 4 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/ffi/tests.rs:9:15 | 9 | #[cfg(not(any(Py_3_12, Py_LIMITED_API)))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:9:24 | 9 | #[cfg(not(any(Py_3_12, Py_LIMITED_API)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:12:11 | 12 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:33:11 | 33 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:54:11 | 54 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:75:11 | 75 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:93:11 | 93 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:117:11 | 117 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:165:11 | 165 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/ffi/tests.rs:166:12 | 166 | #[cfg_attr(Py_3_10, allow(deprecated))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:207:11 | 207 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/ffi/tests.rs:208:12 | 208 | #[cfg_attr(Py_3_10, allow(deprecated))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/ffi/tests.rs:251:11 | 251 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/ffi/tests.rs:253:11 | 253 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/ffi/tests.rs:312:7 | 312 | #[cfg(Py_3_12)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/ffi/tests.rs:124:19 | 124 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/ffi/tests.rs:127:19 | 127 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/ffi/tests.rs:136:19 | 136 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/ffi/tests.rs:157:19 | 157 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/ffi/tests.rs:159:19 | 159 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/ffi/tests.rs:139:38 | 139 | let interned_count = if cfg!(Py_3_12) { 2 } else { 4 }; | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/ffi/tests.rs:181:23 | 181 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_12` --> src/ffi/tests.rs:223:23 | 223 | #[cfg(not(Py_3_12))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_12)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/marker.rs:1139:15 | 1139 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:453:15 | 453 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:455:15 | 455 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:474:15 | 474 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:489:15 | 489 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:547:15 | 547 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:906:15 | 906 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:916:15 | 916 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:926:15 | 926 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/dict.rs:936:15 | 936 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/iterator.rs:323:15 | 323 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/list.rs:590:19 | 590 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/list.rs:590:35 | 590 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/sequence.rs:693:15 | 693 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/set.rs:403:21 | 403 | if cfg!(Py_LIMITED_API) { | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:283:15 | 283 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:346:15 | 346 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:359:15 | 359 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:385:15 | 385 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:401:19 | 401 | #[cfg(all(not(Py_LIMITED_API), target_endian = "little"))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:427:15 | 427 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/string.rs:440:19 | 440 | #[cfg(all(not(Py_LIMITED_API), target_endian = "little"))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:531:15 | 531 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> src/types/tuple.rs:633:19 | 633 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/types/tuple.rs:633:35 | 633 | #[cfg(not(any(Py_LIMITED_API, PyPy)))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_7` --> src/version.rs:107:19 | 107 | #[cfg(Py_3_7)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_7)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_7)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_7` --> src/version.rs:109:19 | 109 | #[cfg(Py_3_7)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_7)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_7)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/version.rs:111:19 | 111 | #[cfg(Py_3_8)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/version.rs:113:19 | 113 | #[cfg(Py_3_8)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/version.rs:115:19 | 115 | #[cfg(Py_3_9)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> src/version.rs:117:19 | 117 | #[cfg(Py_3_9)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/version.rs:119:19 | 119 | #[cfg(Py_3_10)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> src/version.rs:121:19 | 121 | #[cfg(Py_3_10)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/version.rs:123:19 | 123 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_11` --> src/version.rs:125:19 | 125 | #[cfg(Py_3_11)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> src/test_hygiene/misc.rs:38:11 | 38 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/test_hygiene/misc.rs:28:1 | 28 | crate::create_exception!(mymodule, CustomError, crate::exceptions::PyException); | ------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `crate::create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/test_hygiene/misc.rs:28:1 | 28 | crate::create_exception!(mymodule, CustomError, crate::exceptions::PyException); | ------------------------------------------------------------------------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `crate::create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:195:27 | 195 | #[cfg(not(addr_of))] | ^^^^^^^ | ::: src/test_hygiene/misc.rs:29:1 | 29 | crate::import_exception!(socket, gaierror); | ------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `crate::import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `addr_of` --> src/types/mod.rs:198:23 | 198 | #[cfg(addr_of)] | ^^^^^^^ | ::: src/test_hygiene/misc.rs:29:1 | 29 | crate::import_exception!(socket, gaierror); | ------------------------------------------ in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(addr_of)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(addr_of)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `$crate::pyobject_native_type_info` which comes from the expansion of the macro `crate::import_exception` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `FALSE` --> src/test_hygiene/pyclass.rs:42:11 | 42 | #[cfg(FALSE)] | ^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `FALSE` --> src/test_hygiene/pyclass.rs:46:15 | 46 | #[cfg(not(FALSE))] | ^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `FALSE` --> src/test_hygiene/pyclass.rs:54:11 | 54 | #[cfg(FALSE)] | ^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `FALSE` --> src/test_hygiene/pyclass.rs:59:15 | 59 | #[cfg(not(FALSE))] | ^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(FALSE)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/test_hygiene/pymethods.rs:12:7 | 12 | #[cfg(Py_3_8)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> src/test_hygiene/pymethods.rs:412:11 | 412 | #[cfg(not(Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `pyo3` (test "test_string") generated 4 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_mapping --edition=2018 tests/test_mapping.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=80714d6e2e17ca46 -C extra-filename=-2d8e05e96a7e67c9 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_static_slots") generated 5 warnings Running `/usr/bin/rustc --crate-name test_gc --edition=2018 tests/test_gc.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=ecedd1781e680e85 -C extra-filename=-71379198ed230688 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_mapping.rs:20:1 | 20 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__setitem__` and up 2 bodies 21 | impl Mapping { | ------- `Mapping` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_mapping.rs:20:1 | 20 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__delitem__` and up 2 bodies 21 | impl Mapping { | ------- `Mapping` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_mapping.rs:20:1 | 20 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 21 | impl Mapping { | ------- | | | `Mapping` is not local | `Mapping` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `pyo3` (test "test_macros") generated 4 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_inheritance --edition=2018 tests/test_inheritance.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=0b614656a9151ecc -C extra-filename=-12091699554df8ef --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_inheritance.rs:171:11 | 171 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_inheritance.rs:344:11 | 344 | #[cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> tests/test_inheritance.rs:177:15 | 177 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> tests/test_inheritance.rs:182:19 | 182 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `PyPy` --> tests/test_inheritance.rs:190:19 | 190 | #[cfg(not(PyPy))] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(PyPy)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(PyPy)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `pyo3` (test "test_default_impls") generated 4 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_no_imports --edition=2018 tests/test_no_imports.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=64b13eddfda25995 -C extra-filename=-148da713ded212f4 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: trait `Traversable` is never used --> tests/test_gc.rs:400:7 | 400 | trait Traversable { | ^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_gc.rs:167:1 | 167 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 168 | impl BaseClassWithDrop { | ----------------- | | | `BaseClassWithDrop` is not local | `BaseClassWithDrop` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_gc.rs:188:1 | 188 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 189 | impl SubClassWithDrop { | ---------------- | | | `SubClassWithDrop` is not local | `SubClassWithDrop` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `pyo3` (test "test_super") generated 3 warnings Running `/usr/bin/rustc --crate-name test_dict_iter --edition=2018 tests/test_dict_iter.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=45719ea9a0a415f2 -C extra-filename=-7e18d7c6f6ca1e0e --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_inheritance.rs:34:1 | 34 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 35 | impl BaseClass { | --------- | | | `BaseClass` is not local | `BaseClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_inheritance.rs:56:1 | 56 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 57 | impl SubClass { | -------- | | | `SubClass` is not local | `SubClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_inheritance.rs:128:1 | 128 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 129 | impl BaseClassWithResult { | ------------------- | | | `BaseClassWithResult` is not local | `BaseClassWithResult` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_inheritance.rs:141:1 | 141 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 142 | impl SubClass2 { | --------- | | | `SubClass2` is not local | `SubClass2` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_inheritance.rs:300:1 | 300 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 301 | impl SimpleClass { | ----------- | | | `SimpleClass` is not local | `SimpleClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_inheritance.rs:191:9 | 191 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 5 bodies 192 | impl SetWithName { | ----------- | | | `SetWithName` is not local | `SetWithName` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_inheritance.rs:216:5 | 216 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 217 | impl DictWithName { | ------------ | | | `DictWithName` is not local | `DictWithName` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_inheritance.rs:259:5 | 259 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 260 | impl CustomException { | --------------- | | | `CustomException` is not local | `CustomException` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_no_imports.rs:31:1 | 31 | #[pyo3::pymethods] | ^----------------- | | | move the `impl` block outside of this method `__add__` and up 2 bodies 32 | impl BasicClass { | ---------- `BasicClass` is not local | = note: the attribute macro `pyo3::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_no_imports.rs:31:1 | 31 | #[pyo3::pymethods] | -^^^^^^^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 32 | impl BasicClass { | ---------- | | | `BasicClass` is not local | `BasicClass` is not local | = note: the attribute macro `pyo3::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_no_imports.rs:131:1 | 131 | #[pyo3::pymethods] | -^^^^^^^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 132 | impl NewClassMethod { | -------------- | | | `NewClassMethod` is not local | `NewClassMethod` is not local | = note: the attribute macro `pyo3::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pyo3::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pyo3::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) Running `/usr/bin/rustc --crate-name test_enum --edition=2018 tests/test_enum.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=a4928c4196dbc114 -C extra-filename=-ac35fb67d4b992fc --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_exceptions") generated 5 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_module --edition=2018 tests/test_module.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=a876814350b02ad4 -C extra-filename=-56ca2b444dec6e73 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_class_attributes") generated 5 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_class_basics --edition=2018 tests/test_class_basics.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=a3fb6b430ef84a9d -C extra-filename=-49387a068e4b1e99 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_class_basics.rs:363:16 | 363 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_9)), ignore)] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_3_9` --> tests/test_class_basics.rs:363:36 | 363 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_9)), ignore)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_class_basics.rs:386:16 | 386 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_class_basics.rs:386:36 | 386 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_class_basics.rs:414:16 | 414 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_9)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> tests/test_class_basics.rs:414:36 | 414 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_9)), ignore)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_class_basics.rs:445:16 | 445 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_9)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> tests/test_class_basics.rs:445:36 | 445 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_9)), ignore)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_class_basics.rs:469:16 | 469 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_9)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> tests/test_class_basics.rs:469:36 | 469 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_9)), ignore)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_class_basics.rs:494:16 | 494 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_9)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_9` --> tests/test_class_basics.rs:494:36 | 494 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_9)), ignore)] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_9)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_9)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> tests/test_class_basics.rs:540:7 | 540 | #[cfg(Py_3_8)] // sys.unraisablehook not available until Python 3.8 | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_module.rs:17:1 | 17 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 18 | impl ValueClass { | ---------- | | | `ValueClass` is not local | `ValueClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `pyo3` (test "test_pyself") generated 4 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_methods --edition=2018 tests/test_methods.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=0e5964473b140f0b -C extra-filename=-57359eaa74769dbe --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_basics.rs:182:1 | 182 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 183 | impl ClassWithObjectField { | -------------------- | | | `ClassWithObjectField` is not local | `ClassWithObjectField` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_basics.rs:204:1 | 204 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 205 | impl UnsendableBase { | -------------- | | | `UnsendableBase` is not local | `UnsendableBase` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_basics.rs:222:1 | 222 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 223 | impl UnsendableChild { | --------------- | | | `UnsendableChild` is not local | `UnsendableChild` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `pyo3` (test "test_getter_setter") generated 4 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_buffer_protocol --edition=2018 tests/test_buffer_protocol.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=35343b63171ac27f -C extra-filename=-475b8a00fa8ce266 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_buffer_protocol.rs:2:16 | 2 | #![cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_3_11` --> tests/test_buffer_protocol.rs:2:33 | 2 | #![cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> tests/test_buffer_protocol.rs:97:7 | 97 | #[cfg(Py_3_8)] // sys.unraisablehook not available until Python 3.8 | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `pyo3` (test "test_no_imports") generated 3 warnings Running `/usr/bin/rustc --crate-name test_datetime --edition=2018 tests/test_datetime.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=ab986e4d56e859c3 -C extra-filename=-b493afc54391f3f5 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_datetime.rs:1:12 | 1 | #![cfg(not(Py_LIMITED_API))] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: `pyo3` (test "test_mapping") generated 7 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_proto_methods --edition=2018 tests/test_proto_methods.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=9bc80c17aafb8fbb -C extra-filename=-26431f8eed13a8f7 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_text_signature") generated 26 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name common --edition=2018 tests/common.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=cff72f7fc7281a16 -C extra-filename=-aacafae1aeb31749 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_methods.rs:66:1 | 66 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 67 | impl ClassMethod { | ----------- | | | `ClassMethod` is not local | `ClassMethod` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_methods.rs:117:1 | 117 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 118 | impl StaticMethod { | ------------ | | | `StaticMethod` is not local | `StaticMethod` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_methods.rs:1286:1 | 1286 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 1287 | impl FromSequence { | ------------ | | | `FromSequence` is not local | `FromSequence` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_methods.rs:1316:1 | 1316 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 1317 | impl r#RawIdents { | ----------- | | | `RawIdents` is not local | `RawIdents` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_methods.rs:1456:9 | 1456 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies ... 1461 | / issue_1506!( 1462 | | #[pymethods] 1463 | | impl Issue1506 { | | --------- | | | | | `Issue1506` is not local | | `Issue1506` is not local 1464 | | fn issue_1506( ... | 1537 | | ); | |_- in this macro invocation | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` which comes from the expansion of the macro `issue_1506` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `pyo3` (test "test_pyfunction") generated 18 warnings (3 duplicates) Running `/usr/bin/rustc --crate-name test_class_conversion --edition=2018 tests/test_class_conversion.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=3195c69026053d45 -C extra-filename=-71bf7d21271ba8a9 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_inheritance") generated 17 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_class_new --edition=2018 tests/test_class_new.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=057325d7fd5fb130 -C extra-filename=-e2dccaba1a010877 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_gc") generated 7 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_variable_arguments_deprecated --edition=2018 tests/test_variable_arguments_deprecated.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=438ed05b5ef8da83 -C extra-filename=-028f4f5b509b3fe4 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_datetime") generated 1 warning Running `/usr/bin/rustc --crate-name test_variable_arguments --edition=2018 tests/test_variable_arguments.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=dd7c9eb5842dca4d -C extra-filename=-74c08be59c9d2599 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:20:1 | 20 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__getattr__` and up 2 bodies 21 | impl ExampleClass { | ------------ `ExampleClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:20:1 | 20 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__setattr__` and up 2 bodies 21 | impl ExampleClass { | ------------ `ExampleClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:20:1 | 20 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__delattr__` and up 2 bodies 21 | impl ExampleClass { | ------------ `ExampleClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:190:1 | 190 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__setitem__` and up 2 bodies 191 | impl Mapping { | ------- `Mapping` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:190:1 | 190 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__delitem__` and up 2 bodies 191 | impl Mapping { | ------- `Mapping` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:260:1 | 260 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__setitem__` and up 2 bodies 261 | impl Sequence { | -------- `Sequence` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:260:1 | 260 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__delitem__` and up 2 bodies 261 | impl Sequence { | -------- `Sequence` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:428:1 | 428 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__setitem__` and up 2 bodies 429 | impl SetItem { | ------- `SetItem` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:455:1 | 455 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__delitem__` and up 2 bodies 456 | impl DelItem { | ------- `DelItem` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:480:1 | 480 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__setitem__` and up 2 bodies 481 | impl SetDelItem { | ---------- `SetDelItem` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:480:1 | 480 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__delitem__` and up 2 bodies 481 | impl SetDelItem { | ---------- `SetDelItem` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:562:1 | 562 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__getattr__` and up 2 bodies 563 | impl ClassWithGetAttr { | ---------------- `ClassWithGetAttr` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:584:1 | 584 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__getattribute__` and up 2 bodies 585 | impl ClassWithGetAttribute { | --------------------- `ClassWithGetAttribute` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:603:1 | 603 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__getattribute__` and up 2 bodies 604 | impl ClassWithGetAttrAndGetAttribute { | ------------------------------- `ClassWithGetAttrAndGetAttribute` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:603:1 | 603 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__getattr__` and up 2 bodies 604 | impl ClassWithGetAttrAndGetAttribute { | ------------------------------- `ClassWithGetAttrAndGetAttribute` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_new.rs:11:1 | 11 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 12 | impl EmptyClassWithNew { | ----------------- | | | `EmptyClassWithNew` is not local | `EmptyClassWithNew` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:643:1 | 643 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 644 | impl OnceFuture { | ---------- | | | `OnceFuture` is not local | `OnceFuture` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_new.rs:40:1 | 40 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 41 | impl UnitClassWithNew { | ---------------- | | | `UnitClassWithNew` is not local | `UnitClassWithNew` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:702:1 | 702 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 703 | impl AsyncIterator { | ------------- | | | `AsyncIterator` is not local | `AsyncIterator` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_new.rs:63:1 | 63 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 64 | impl TupleClassWithNew { | ----------------- | | | `TupleClassWithNew` is not local | `TupleClassWithNew` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:761:1 | 761 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__set__` and up 2 bodies 762 | impl DescrCounter { | ------------ `DescrCounter` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:761:1 | 761 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__delete__` and up 2 bodies 762 | impl DescrCounter { | ------------ `DescrCounter` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_proto_methods.rs:761:1 | 761 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 762 | impl DescrCounter { | ------------ | | | `DescrCounter` is not local | `DescrCounter` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_new.rs:88:1 | 88 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 89 | impl NewWithOneArg { | ------------- | | | `NewWithOneArg` is not local | `NewWithOneArg` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_new.rs:113:1 | 113 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 114 | impl NewWithTwoArgs { | -------------- | | | `NewWithTwoArgs` is not local | `NewWithTwoArgs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_new.rs:145:1 | 145 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 146 | impl SuperClass { | ---------- | | | `SuperClass` is not local | `SuperClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_new.rs:192:1 | 192 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 193 | impl NewWithCustomError { | ------------------ | | | `NewWithCustomError` is not local | `NewWithCustomError` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_class_new.rs:215:1 | 215 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 216 | impl NewExisting { | ----------- | | | `NewExisting` is not local | `NewExisting` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `pyo3` (test "common") generated 4 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_not_msrv --edition=2018 tests/test_not_msrv.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=678f64255bb55438 -C extra-filename=-06ae43eed69cc8a7 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `Py_3_8` --> tests/not_msrv/../common.rs:3:31 | 3 | #[cfg(all(feature = "macros", Py_3_8))] | ^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_3_8` --> tests/not_msrv/../common.rs:49:31 | 49 | #[cfg(all(feature = "macros", Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> tests/not_msrv/../common.rs:56:31 | 56 | #[cfg(all(feature = "macros", Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_8` --> tests/not_msrv/../common.rs:66:31 | 66 | #[cfg(all(feature = "macros", Py_3_8))] | ^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_8)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_8)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `pyo3` (test "test_buffer_protocol") generated 7 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_arithmetics --edition=2018 tests/test_arithmetics.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=9029e81f2c9f011e -C extra-filename=-4152d97e5cedb07e --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_module") generated 5 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_frompyobject --edition=2018 tests/test_frompyobject.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=b7830959f74269ea -C extra-filename=-1ff4901b07f51562 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_enum") generated 4 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_serde --edition=2018 tests/test_serde.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=5c9eed04b3dc08ff -C extra-filename=-acc19ebeca30da76 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: field `0` is never read --> tests/test_frompyobject.rs:423:9 | 423 | Foo(Foo<'a>), | --- ^^^^^^^ | | | field in this variant | = note: `EnumWithCatchAll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 423 - Foo(Foo<'a>), 423 + Foo(()), | Running `/usr/bin/rustc --crate-name test_unsendable_dict --edition=2018 tests/test_unsendable_dict.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=d9c6a3c01780eb90 -C extra-filename=-8cc497b008af4c95 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:14:1 | 14 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 15 | impl UnaryArithmetic { | --------------- | | | `UnaryArithmetic` is not local | `UnaryArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:162:1 | 162 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__add__` and up 2 bodies 163 | impl BinaryArithmetic { | ---------------- `BinaryArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:162:1 | 162 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__sub__` and up 2 bodies 163 | impl BinaryArithmetic { | ---------------- `BinaryArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:162:1 | 162 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__mul__` and up 2 bodies 163 | impl BinaryArithmetic { | ---------------- `BinaryArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:162:1 | 162 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__lshift__` and up 2 bodies 163 | impl BinaryArithmetic { | ---------------- `BinaryArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:162:1 | 162 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rshift__` and up 2 bodies 163 | impl BinaryArithmetic { | ---------------- `BinaryArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:162:1 | 162 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__and__` and up 2 bodies 163 | impl BinaryArithmetic { | ---------------- `BinaryArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:162:1 | 162 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__xor__` and up 2 bodies 163 | impl BinaryArithmetic { | ---------------- `BinaryArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:162:1 | 162 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__or__` and up 2 bodies 163 | impl BinaryArithmetic { | ---------------- `BinaryArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:162:1 | 162 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__pow__` and up 2 bodies 163 | impl BinaryArithmetic { | ---------------- `BinaryArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:241:1 | 241 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__radd__` and up 2 bodies 242 | impl RhsArithmetic { | ------------- `RhsArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:241:1 | 241 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rsub__` and up 2 bodies 242 | impl RhsArithmetic { | ------------- `RhsArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:241:1 | 241 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rmul__` and up 2 bodies 242 | impl RhsArithmetic { | ------------- `RhsArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:241:1 | 241 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rlshift__` and up 2 bodies 242 | impl RhsArithmetic { | ------------- `RhsArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_unsendable_dict.rs:18:16 | 18 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_unsendable_dict.rs:18:36 | 18 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_unsendable_dict.rs:38:16 | 38 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_unsendable_dict.rs:38:36 | 38 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:241:1 | 241 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rrshift__` and up 2 bodies 242 | impl RhsArithmetic { | ------------- `RhsArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:241:1 | 241 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rand__` and up 2 bodies 242 | impl RhsArithmetic { | ------------- `RhsArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:241:1 | 241 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rxor__` and up 2 bodies 242 | impl RhsArithmetic { | ------------- `RhsArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:241:1 | 241 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__ror__` and up 2 bodies 242 | impl RhsArithmetic { | ------------- `RhsArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:241:1 | 241 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rpow__` and up 2 bodies 242 | impl RhsArithmetic { | ------------- `RhsArithmetic` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__add__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__sub__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__mul__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__lshift__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rshift__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__and__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__xor__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__or__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__pow__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__matmul__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__radd__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rsub__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rmul__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rlshift__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rrshift__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rand__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rxor__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__ror__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rpow__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rmatmul__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rtruediv__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:314:1 | 314 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rfloordiv__` and up 2 bodies 315 | impl LhsAndRhs { | --------- `LhsAndRhs` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__add__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__sub__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__mul__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__matmul__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__truediv__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__floordiv__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__mod__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__pow__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__lshift__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__rshift__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__divmod__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__and__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__or__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_arithmetics.rs:535:5 | 535 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__xor__` and up 2 bodies 536 | impl RichComparisonToSelf { | -------------------- `RichComparisonToSelf` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_unsendable_dict.rs:9:1 | 9 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 10 | impl UnsendableDictClass { | ------------------- | | | `UnsendableDictClass` is not local | `UnsendableDictClass` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_unsendable_dict.rs:29:1 | 29 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 30 | impl UnsendableDictClassWithWeakRef { | ------------------------------ | | | `UnsendableDictClassWithWeakRef` is not local | `UnsendableDictClassWithWeakRef` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `pyo3` (test "test_variable_arguments_deprecated") generated 4 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_field_cfg --edition=2018 tests/test_field_cfg.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=f6985959b1560b0c -C extra-filename=-6a72f93ae9b2a35c --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_not_msrv") generated 4 warnings Running `/usr/bin/rustc --crate-name test_various --edition=2018 tests/test_various.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=c7254fd37dcd1cba -C extra-filename=-36a9b38b997cc369 --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: `pyo3` (test "test_variable_arguments") generated 4 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_sequence --edition=2018 tests/test_sequence.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=b6be48ef68ddc436 -C extra-filename=-1ef9d15b8040e89d --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_various.rs:145:16 | 145 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_3_10` --> tests/test_various.rs:145:36 | 145 | #[cfg_attr(all(Py_LIMITED_API, not(Py_3_10)), ignore)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_10)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_10)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `pyo3` (test "test_class_conversion") generated 4 warnings (4 duplicates) Running `/usr/bin/rustc --crate-name test_buffer --edition=2018 tests/test_buffer.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=b8ba008bdcc895e8 -C extra-filename=-a8280323bcbfd1de --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: unexpected `cfg` condition name: `Py_LIMITED_API` --> tests/test_buffer.rs:2:16 | 2 | #![cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_LIMITED_API)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_LIMITED_API)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `Py_3_11` --> tests/test_buffer.rs:2:33 | 2 | #![cfg(any(not(Py_LIMITED_API), Py_3_11))] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_11)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(Py_3_11)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_various.rs:118:1 | 118 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 119 | impl PickleSupport { | ------------- | | | `PickleSupport` is not local | `PickleSupport` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_sequence.rs:16:1 | 16 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__setitem__` and up 2 bodies 17 | impl ByteSequence { | ------------ `ByteSequence` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_sequence.rs:16:1 | 16 | #[pymethods] | ^----------- | | | move the `impl` block outside of this method `__delitem__` and up 2 bodies 17 | impl ByteSequence { | ------------ `ByteSequence` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/test_sequence.rs:16:1 | 16 | #[pymethods] | -^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 17 | impl ByteSequence { | ------------ | | | `ByteSequence` is not local | `ByteSequence` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `pyo3` (test "test_class_new") generated 8 warnings Running `/usr/bin/rustc --crate-name test_bytes --edition=2018 tests/test_bytes.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="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' -C metadata=a197f7f626549e08 -C extra-filename=-ec2c64f9ad419a6f --out-dir /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.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 --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind` warning: field `0` is never read --> src/test_hygiene/misc.rs:5:16 | 5 | struct Derive1(i32); // newtype case | ------- ^^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` on by default warning: calls to `std::str::from_utf8` with a invalid literal always return an error --> src/exceptions.rs:1019:19 | 1018 | let invalid_utf8 = b"fo\xd8o"; | ---------- the literal was valid UTF-8 up to the 2 bytes 1019 | let err = std::str::from_utf8(invalid_utf8).expect_err("should be invalid utf8"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(invalid_from_utf8)]` on by default warning: calls to `std::str::from_utf8` with a invalid literal always return an error --> src/exceptions.rs:1075:19 | 1074 | let invalid_utf8 = b"fo\xd8o"; | ---------- the literal was valid UTF-8 up to the 2 bytes 1075 | let err = std::str::from_utf8(invalid_utf8).expect_err("should be invalid utf8"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/types/any.rs:1259:9 | 1259 | #[pymethods(crate = "crate")] | ^---------------------------- | | | move the `impl` block outside of this method `__getattr__` and up 3 bodies 1260 | impl GetattrFail { | ----------- `GetattrFail` is not local | = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__getattr__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__getattribute__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__setattr__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__delattr__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__set__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__delete__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__setitem__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__delitem__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__add__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__sub__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__mul__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__truediv__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__floordiv__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__mod__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__divmod__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__pow__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__lshift__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rshift__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__and__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__xor__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__or__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__radd__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rmul__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rtruediv__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rfloordiv__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rmod__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rdivmod__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rpow__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rlshift__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rrshift__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rand__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__rxor__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | ^------------------ | | | move the `impl` block outside of this method `__ror__` and up 2 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/test_hygiene/pymethods.rs:13:1 | 13 | #[crate::pymethods] | -^^^^^^^^^^^^^^^^^^ | | | `PyClassImplCollector` is not local | `PyClassNewTextSignature` is not local | move the `impl` block outside of this function `trampoline` and up 4 bodies 14 | #[pyo3(crate = "crate")] 15 | impl Dummy { | ----- | | | `Dummy` is not local | `Dummy` is not local | = note: the attribute macro `crate::pymethods` defines the non-local `impl`, and may need to be changed = note: the attribute macro `crate::pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `pyo3` (test "test_unsendable_dict") generated 6 warnings warning: `pyo3` (test "test_buffer") generated 6 warnings (4 duplicates) warning: `pyo3` (test "test_class_basics") generated 20 warnings (4 duplicates) warning: `pyo3` (test "test_bytes") generated 4 warnings (4 duplicates) warning: `pyo3` (test "test_various") generated 7 warnings (4 duplicates) warning: `pyo3` (test "test_frompyobject") generated 5 warnings (4 duplicates) warning: `pyo3` (test "test_sequence") generated 7 warnings (4 duplicates) warning: `pyo3` (test "test_proto_methods") generated 24 warnings (4 duplicates) warning: `pyo3` (test "test_arithmetics") generated 59 warnings (4 duplicates) warning: `pyo3` (test "test_methods") generated 9 warnings (4 duplicates) warning: `pyo3` (lib test) generated 721 warnings (598 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 3m 17s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/pyo3-734a3c6a48760fbc --skip 'doc_test::guide_migration_md'` running 551 tests test buffer::tests::test_compatible_size ... ok test buffer::tests::test_element_type_from_format ... ok test conversions::std::array::min_const_generics::tests::array_try_from_fn ... ok test buffer::tests::test_debug ... ok test conversion::tests::test_try_from_unchecked ... ok test conversion::tests::test_option_as_ptr ... ok test conversions::std::array::tests::test_extract_invalid_sequence_length ... ok test conversions::std::array::tests::test_pyclass_intopy_array_conversion ... ok test buffer::tests::test_bytes_buffer ... ok test conversions::std::map::tests::test_btreemap_into_py ... ok test conversions::std::array::tests::test_extract_non_iterable_to_array ... ok test conversion::tests::test_try_from_exact ... ok test conversions::std::array::tests::test_extract_small_bytearray_to_array ... ok test conversions::std::map::tests::test_hashmap_into_python ... ok test conversions::std::array::min_const_generics::tests::test_extract_bytearray_to_array ... ok test conversions::std::num::test_128bit_integers::test_i128_overflow ... ok test conversions::std::array::tests::test_topyobject_array_conversion ... ok test conversions::std::ipaddr::test_ipaddr::test_from_pystring ... ok test conversions::std::array::tests::test_intopy_array_conversion ... ok test conversions::std::map::tests::test_btreemap_to_python ... ok test conversions::std::num::test_128bit_integers::test_nonzero_i128_overflow ... ok test conversion::tests::test_try_from ... ok test conversions::std::num::test_128bit_integers::test_nonzero_u128_max ... ok test conversions::std::num::test_128bit_integers::test_nonzero_u128_overflow ... ok test conversions::std::num::test_128bit_integers::test_nonzero_i128_max ... ok test conversions::std::num::test_128bit_integers::test_nonzero_u128_zero_value ... ok test conversions::std::map::tests::test_hashmap_to_python ... ok test conversions::std::num::test_128bit_integers::test_i128_max ... ok test conversions::std::num::test_128bit_integers::test_i128_min ... ok test conversions::std::num::tests::i128::from_py_string_type_error ... ok test conversions::std::num::test_128bit_integers::test_nonzero_i128_min ... ok test conversions::std::num::test_128bit_integers::test_u128_max ... ok test conversions::std::num::tests::i16::from_py_string_type_error ... ok test conversions::std::num::test_128bit_integers::test_u128_overflow ... ok test conversions::std::num::test_128bit_integers::test_nonzero_i128_zero_value ... ok test conversions::std::num::tests::i128::from_py_float_type_error ... ok test conversions::std::num::tests::i16::to_py_object_and_back ... ok test conversions::std::num::tests::i16::from_py_float_type_error ... ok test conversions::std::num::tests::i64::from_py_string_type_error ... ok test conversions::std::num::tests::i32::from_py_float_type_error ... ok test conversions::std::num::tests::i128::to_py_object_and_back ... ok test conversions::std::num::tests::i64::from_py_float_type_error ... ok test conversions::std::num::tests::i8::from_py_float_type_error ... ok test conversions::std::num::tests::i64::to_py_object_and_back ... ok test conversions::std::num::tests::i8::from_py_string_type_error ... ok test conversions::std::num::tests::isize::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_i128::from_py_float_type_error ... ok test conversions::std::num::tests::isize::from_py_float_type_error ... ok test conversions::std::num::tests::i8::to_py_object_and_back ... ok test conversions::std::num::tests::i32::to_py_object_and_back ... ok test conversions::std::num::tests::i32::from_py_string_type_error ... ok test conversions::std::num::tests::isize::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_i128::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_i128::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_i32::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_i32::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_i16::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_i16::from_py_float_type_error ... ok test conversions::std::num::tests::nonzero_i32::from_py_float_type_error ... ok test conversions::std::num::tests::nonzero_i64::from_py_float_type_error ... ok test conversions::std::num::tests::nonzero_i8::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_i64::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_isize::from_py_float_type_error ... ok test conversions::std::num::tests::nonzero_i8::from_py_float_type_error ... ok test conversions::std::num::tests::nonzero_isize::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_i8::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_isize::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_i16::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_u128::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_u16::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_u128::from_py_float_type_error ... ok test conversions::std::num::tests::nonzero_u128::from_py_string_type_error ... ok test conversions::std::num::test_128bit_integers::test_nonzero_i128_roundtrip ... ok test conversions::std::num::tests::nonzero_u16::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_u32::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_u32::from_py_float_type_error ... ok test conversions::std::num::tests::nonzero_i64::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_u16::from_py_float_type_error ... ok test conversions::std::num::tests::nonzero_u8::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_u8::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_usize::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_u32::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_u64::from_py_float_type_error ... ok test conversions::std::num::tests::nonzero_u64::from_py_string_type_error ... ok test conversions::std::num::tests::nonzero_u64::to_py_object_and_back ... ok test conversions::std::num::tests::nonzero_u8::from_py_float_type_error ... ok test conversions::std::num::tests::test_i64_min ... ok test conversions::std::num::tests::test_nonzero_u32_max ... ok test conversions::std::num::tests::test_nonzero_i64_max ... ok test conversions::std::num::tests::nonzero_usize::from_py_float_type_error ... ok test conversions::std::num::tests::nonzero_usize::to_py_object_and_back ... ok test conversions::std::num::tests::u128::from_py_float_type_error ... ok test conversions::std::num::tests::test_u64_max ... ok test conversions::std::num::tests::test_nonzero_i64_min ... ok test conversions::std::num::tests::u128::from_py_string_type_error ... ok test conversions::std::num::tests::u128::to_py_object_and_back ... ok test conversions::std::num::tests::test_i64_max ... ok test conversions::std::num::tests::u16::from_py_float_type_error ... ok test conversions::std::num::tests::u16::from_py_string_type_error ... ok test conversions::std::num::tests::u16::to_py_object_and_back ... ok test conversions::std::num::tests::u32::from_py_float_type_error ... ok test conversions::std::num::tests::u32::from_py_string_type_error ... ok test conversions::std::num::tests::u32::to_py_object_and_back ... ok test conversions::std::num::tests::u64::from_py_float_type_error ... ok test conversions::std::num::tests::test_nonzero_u64_max ... ok test conversions::std::num::tests::test_u32_max ... ok test conversions::std::num::tests::u8::to_py_object_and_back ... ok test conversions::std::num::tests::usize::from_py_float_type_error ... ok test conversions::std::num::tests::usize::from_py_string_type_error ... ok test conversions::std::num::test_128bit_integers::test_u128_roundtrip ... ok test conversions::std::num::tests::u64::to_py_object_and_back ... ok test conversions::std::num::tests::u8::from_py_float_type_error ... ok test conversions::std::num::tests::u8::from_py_string_type_error ... ok test conversions::std::osstr::tests::test_topyobject_roundtrip ... ok test conversions::std::num::tests::usize::to_py_object_and_back ... ok test conversions::std::set::tests::test_extract_btreeset ... ok test conversions::std::osstr::tests::test_non_utf8_conversion ... ok test conversions::std::num::tests::u64::from_py_string_type_error ... ok test conversions::std::set::tests::test_set_to_object ... ok test conversions::std::slice::tests::test_extract_bytes ... ok test conversions::std::path::tests::test_non_utf8_conversion ... ok test conversions::std::path::tests::test_topyobject_roundtrip ... ok test conversions::std::osstr::tests::test_intopy_roundtrip ... ok test conversions::std::set::tests::test_extract_hashset ... ok test conversions::std::set::tests::test_set_into_py ... ok test conversions::std::num::test_128bit_integers::test_nonzero_u128_roundtrip ... ok test conversions::std::string::tests::test_extract_str ... ok test conversions::std::string::tests::test_non_bmp ... ok test conversions::std::string::tests::test_string_into_py ... ok test conversions::std::path::tests::test_intopy_roundtrip ... ok test conversions::std::string::tests::test_extract_char_err ... ok test err::tests::err_debug ... ok test conversions::std::string::tests::test_cow_to_object ... ok test conversions::std::string::tests::test_extract_char ... ok test conversions::std::string::tests::test_cow_into_py ... ok test err::tests::no_error ... ok test err::tests::set_valueerror ... ok test err::tests::test_pyerr_send_sync ... ok test err::tests::err_display ... ok test err::tests::test_pyerr_cause ... ok test err::tests::set_typeerror ... ok test err::tests::test_pyerr_matches ... ok test err::tests::invalid_error_type ... ok test err::impls::tests::io_errors ... ok test conversions::std::num::test_128bit_integers::test_i128_roundtrip ... ok test buffer::tests::test_array_buffer ... ok test conversions::std::ipaddr::test_ipaddr::test_roundtrip ... ok test exceptions::socket::tests::gaierror ... ok test exceptions::socket::tests::herror ... ok test exceptions::socket::tests::timeout ... ok test exceptions::tests::PyArithmeticError ... ok test exceptions::tests::PyAssertionError ... ok test exceptions::tests::PyAttributeError ... ok test exceptions::tests::PyBaseException ... ok test exceptions::tests::PyBaseExceptionGroup ... ok test exceptions::tests::PyBlockingIOError ... ok test exceptions::tests::PyBrokenPipeError ... ok test exceptions::tests::PyBufferError ... ok test exceptions::tests::PyChildProcessError ... ok test exceptions::tests::PyConnectionError ... ok test exceptions::tests::PyBytesWarning ... ok test exceptions::tests::PyConnectionAbortedError ... ok test exceptions::tests::PyConnectionRefusedError ... ok test exceptions::tests::PyConnectionResetError ... ok test exceptions::tests::PyDeprecationWarning ... ok test exceptions::tests::PyEOFError ... ok test exceptions::tests::PyEncodingWarning ... ok test exceptions::tests::PyEnvironmentError ... ok test exceptions::tests::PyException ... ok test exceptions::tests::PyFileExistsError ... ok test exceptions::tests::PyFileNotFoundError ... ok test exceptions::tests::PyFloatingPointError ... ok test exceptions::tests::PyFutureWarning ... ok test exceptions::tests::PyGeneratorExit ... ok test exceptions::tests::PyIOError ... ok test exceptions::tests::PyIndexError ... ok test exceptions::tests::PyImportWarning ... ok test exceptions::tests::PyImportError ... ok test exceptions::tests::PyInterruptedError ... ok test exceptions::tests::PyKeyError ... ok test exceptions::tests::PyIsADirectoryError ... ok test exceptions::tests::PyKeyboardInterrupt ... ok test exceptions::tests::PyModuleNotFoundError ... ok test exceptions::tests::PyLookupError ... ok test exceptions::tests::PyMemoryError ... ok test err::tests::warnings ... ok test exceptions::tests::PyNameError ... ok test exceptions::tests::PyNotADirectoryError ... ok test exceptions::tests::PyNotImplementedError ... ok test exceptions::tests::PyOSError ... ok test exceptions::tests::PyOverflowError ... ok test exceptions::tests::PyPendingDeprecationWarning ... ok test exceptions::tests::PyPermissionError ... ok test exceptions::tests::PyRecursionError ... ok test exceptions::tests::PyProcessLookupError ... ok test exceptions::tests::PyStopAsyncIteration ... ok test exceptions::tests::PyRuntimeError ... ok test exceptions::tests::PyReferenceError ... ok test exceptions::tests::PyStopIteration ... ok test exceptions::tests::PyRuntimeWarning ... ok test exceptions::tests::PySyntaxError ... ok test exceptions::tests::PySyntaxWarning ... ok test exceptions::tests::PySystemError ... ok test exceptions::tests::PySystemExit ... ok test exceptions::tests::PyTimeoutError ... ok test exceptions::tests::PyTypeError ... ok test exceptions::tests::PyUnicodeDecodeError ... ok test exceptions::tests::PyUnboundLocalError ... ok test exceptions::tests::PyUnicodeError ... ok test exceptions::tests::PyUnicodeTranslateError ... ok test exceptions::tests::PyUnicodeEncodeError ... ok test exceptions::tests::PyUserWarning ... ok test exceptions::tests::PyValueError ... ok test exceptions::tests::PyWarning ... ok test exceptions::tests::PyUnicodeWarning ... ok test exceptions::tests::custom_exception_doc_expr ... ok test exceptions::tests::PyZeroDivisionError ... ok test exceptions::tests::custom_exception ... ok test exceptions::tests::custom_exception_doc ... ok test exceptions::tests::custom_exception_dotted_module ... ok test exceptions::tests::native_exception_chain ... ok pyo3_runtime.PanicException: new panic test exceptions::tests::native_exception_debug ... ok test exceptions::tests::native_exception_display ... ok test exceptions::tests::unicode_decode_error ... ok test ffi::tests::ascii_object_bitfield ... ok test ffi::tests::ascii ... ok test exceptions::tests::test_check_exception ... ok test err::tests::fetching_panic_exception_resumes_unwind - should panic ... ok test ffi::tests::test_inc_dec_ref ... ok test ffi::tests::test_inc_dec_ref_immortal ... ok test ffi::tests::test_datetime_fromtimestamp ... ok test ffi::tests::test_timezone_from_offset_and_name ... ok test ffi::tests::test_utc_timezone ... ok test ffi::tests::ucs4 ... ok test ffi::tests::test_get_tzinfo ... ok test ffi::tests::test_date_fromtimestamp ... ok test gil::tests::dropping_gil_does_not_invalidate_references ... ok test gil::tests::test_allow_threads_updates_refcounts ... ok test gil::tests::test_allow_threads ... ok test exceptions::tests::test_check_exception_nested ... ok test ffi::tests::test_timezone_from_offset ... ok test gil::tests::test_clone_with_gil ... ok test gil::tests::test_gil_counts ... ok test gil::tests::test_owned ... ok test gil::tests::test_clone_in_other_thread ... ok test gil::tests::test_pyobject_drop_without_gil_doesnt_decrease_refcnt ... ok test impl_::extract_argument::tests::keyword_not_string ... ok test gil::tests::test_update_counts_does_not_deadlock ... ok test impl_::extract_argument::tests::missing_required_arguments ... ok test impl_::extract_argument::tests::push_parameter_list_empty ... ok test impl_::extract_argument::tests::push_parameter_list_four ... ok test gil::tests::test_owned_nested ... ok test gil::tests::test_clone_without_gil ... ok test impl_::extract_argument::tests::push_parameter_list_one ... ok test impl_::extract_argument::tests::push_parameter_list_three ... ok test gil::tests::test_pyobject_drop_with_gil_decreases_refcnt ... ok test impl_::extract_argument::tests::push_parameter_list_two ... ok test instance::tests::invalid_attr ... ok test impl_::pymodule::tests::module_init ... ok test instance::tests::attr ... ok test impl_::pymodule::tests::module_def_new ... ok test impl_::extract_argument::tests::unexpected_keyword_argument ... ok test instance::tests::pyobject_from_py ... ok test instance::tests::pystring_attr ... ok test instance::tests::py_from_dict ... ok test instance::tests::test_is_ellipsis ... ok test instance::tests::test_call_for_non_existing_method ... ok test instance::tests::test_call0 ... ok test instance::tests::using_macros::instance_borrow_methods ... ok test marker::tests::test_acquire_gil ... ok test marker::tests::test_allow_threads_panics_safely ... ok test marker::tests::test_ellipsis ... ok test marshal::tests::marshal_roundtrip ... ok test marker::tests::test_allow_threads_pass_stuff_in ... ok test pycell::impl_::tests::test_inherited_mutability ... ok test marker::tests::test_eval ... ok test pycell::tests::pycell_replace ... ok test marker::tests::test_allow_threads_releases_and_acquires_gil ... ok test pycell::impl_::tests::test_immutable_borrows_prevent_mutable_borrows ... ok test pycell::tests::pycell_replace_with_panic - should panic ... ok test pycell::tests::pycell_swap ... ok test pycell::tests::pycell_replace_panic - should panic ... ok test pycell::impl_::tests::test_mutable_borrow_prevents_further_borrows ... ok test pycell::tests::pycell_replace_with ... ok test pyclass::tests::test_compare_op_matches ... ok test pycell::tests::pycell_swap_panic_other_borrowed - should panic ... ok test pycell::tests::pycell_swap_panic - should panic ... ok test types::any::tests::test_any_contains ... ok test types::any::tests::test_any_is_exact_instance ... ok test sync::tests::test_once_cell ... ok test sync::tests::test_intern ... ok test test_hygiene::pyfunction::invoke_wrap_pyfunction ... ok test types::any::tests::test_any_is_exact_instance_of ... ok test types::any::tests::test_any_is_instance_of ... ok test types::any::tests::test_call_for_non_existing_method ... ok test types::any::tests::test_call_method0 ... ok test types::any::tests::test_call_with_kwargs ... ok test types::any::tests::test_dir ... ok test types::any::tests::test_eq_methods_bools ... ok test types::any::tests::test_eq_methods_floats ... ok test types::any::tests::test_eq_methods_integers ... ok test types::any::tests::test_any_is_instance ... ok test types::any::tests::test_hasattr_error ... ok test types::any::tests::test_hasattr ... ok test types::any::tests::test_eq_methods_strings ... ok test types::any::tests::test_nan_eq ... ok test types::any::tests::test_lookup_special ... ok test types::any::tests::test_is_ellipsis ... ok test types::boolobject::tests::test_false ... ok test types::boolobject::tests::test_true ... ok test types::bytearray::tests::test_as_bytes ... ok test types::any::tests::test_type ... ok test types::bytearray::tests::test_byte_array_new_with_error ... ok test types::bytearray::tests::test_as_bytes_mut ... ok test types::bytearray::tests::test_from ... ok test types::bytearray::tests::test_byte_array_new_with_zero_initialised ... ok test types::bytearray::tests::test_from_err ... ok test types::bytearray::tests::test_byte_array_new_with ... ok test types::bytearray::tests::test_resize ... ok test types::bytearray::tests::test_len ... ok test types::bytes::tests::test_bytes_new_with_zero_initialised ... ok test types::bytes::tests::test_bytes_new_with ... ok test types::bytes::tests::test_bytes_index ... ok test types::bytearray::tests::test_to_vec ... ok test types::bytes::tests::test_bytes_new_with_error ... ok test types::capsule::tests::test_pycapsule_destructor ... ok test types::bytes::tests::test_cow_impl ... ok test types::capsule::tests::test_pycapsule_no_name ... ok test types::capsule::tests::test_pycapsule_import ... ok test types::capsule::tests::test_pycapsule_context ... ok test types::capsule::tests::test_vec_context ... ok test types::capsule::tests::test_pycapsule_func ... ok test types::capsule::tests::test_vec_storage ... ok test types::capsule::tests::test_pycapsule_struct ... ok test types::complex::not_limited_impls::tests::test_add ... ok test types::complex::not_limited_impls::tests::test_abs ... ok test types::complex::not_limited_impls::tests::test_mul ... ok test types::complex::not_limited_impls::tests::test_neg ... ok test types::complex::tests::test_from_double ... ok test types::complex::not_limited_impls::tests::test_sub ... ok test types::complex::not_limited_impls::tests::test_pow ... ok test types::complex::not_limited_impls::tests::test_div ... ok test types::datetime::tests::test_date_fromtimestamp ... ok test types::datetime::tests::test_get_tzinfo ... ok test types::datetime::tests::test_datetime_fromtimestamp ... ok test types::datetime::tests::test_new_with_fold ... ok test types::dict::tests::dict_as_mapping ... ok test types::dict::tests::dict_items_view ... ok test types::dict::tests::dict_keys_view ... ok test types::dict::tests::dict_update ... ok test types::dict::tests::dict_update_if_missing ... ok test types::dict::tests::test_btreemap_into_dict ... ok test types::dict::tests::test_contains ... ok test types::dict::tests::test_copy ... ok test types::dict::tests::dict_values_view ... ok test types::dict::tests::test_del_item_does_not_update_original_object ... ok test types::dict::tests::test_from_sequence ... ok test types::dict::tests::test_from_sequence_err ... ok test types::dict::tests::test_del_item ... ok test types::dict::tests::test_get_item ... ok test types::dict::tests::test_get_item_with_error ... ok test types::dict::tests::test_into_iter ... ok test types::dict::tests::test_hashmap_into_dict ... ok test types::dict::tests::test_iter_size_hint ... ok test types::dict::tests::test_items ... ok test types::dict::tests::test_iter_key_mutated - should panic ... ok test types::dict::tests::test_iter_value_mutated ... ok test types::dict::tests::test_iter ... ok test types::dict::tests::test_keys ... ok test types::dict::tests::test_iter_key_mutated_constant_len - should panic ... ok test types::dict::tests::test_set_item ... ok test types::dict::tests::test_set_item_does_not_update_original_object ... ok test types::dict::tests::test_set_item_refcnt ... ok test types::dict::tests::test_len ... ok test types::dict::tests::test_new ... ok test types::dict::tests::test_slice_into_dict ... ok test types::dict::tests::test_values ... ok test types::dict::tests::test_vec_into_dict ... ok test types::floatob::tests::int_to_float ... ok test types::floatob::tests::test_float_value ... ok test types::floatob::tests::to_from_f32 ... ok test types::floatob::tests::to_from_f64 ... ok test types::frozenset::tests::test_frozenset_builder ... ok test types::frozenset::tests::test_frozenset_contains ... ok test types::frozenset::tests::test_frozenset_empty ... ok test types::frozenset::tests::test_frozenset_iter ... ok test types::frozenset::tests::test_frozenset_new_and_len ... ok test types::iterator::tests::fibonacci_generator ... ok test types::iterator::tests::int_not_iterable ... ok test types::iterator::tests::iter_item_refcnt ... ok test types::iterator::tests::iter_refcnt ... ok test types::iterator::tests::iterator_try_from ... ok test types::iterator::tests::python_class_not_iterator ... ok test types::iterator::tests::python_class_iterator ... ok test types::iterator::tests::length_hint_becomes_size_hint_lower_bound ... ok test types::iterator::tests::test_as_ref ... ok test types::iterator::tests::test_into_ref ... ok test types::iterator::tests::vec_iter ... ok test types::list::tests::bad_clone_mem_leaks ... ok test types::list::tests::test_append ... ok test types::list::tests::overflowing_size - should panic ... ok test types::list::tests::test_append_refcnt ... ok test types::list::tests::test_array_into_py ... ok test types::list::tests::test_extract ... ok test types::list::tests::test_get_item ... ok test types::list::tests::test_get_slice ... ok test types::list::tests::test_insert ... ok test types::list::tests::test_insert_refcnt ... ok test types::list::tests::test_iter_size_hint ... ok test types::list::tests::test_into_iter ... ok test types::list::tests::test_len ... ok test types::list::tests::test_iter ... ok test types::list::tests::test_list_contains ... ok test types::list::tests::test_list_get_item_sanity ... ok test types::list::tests::test_list_del_item ... ok test types::list::tests::test_list_get_item_unchecked_sanity ... ok test types::list::tests::test_list_index ... ok test types::list::tests::test_list_del_slice ... ok test types::list::tests::test_list_index_trait_panic - should panic ... ok test types::list::tests::test_list_index_trait_range_panic_end - should panic ... ok test types::list::tests::test_list_index_trait ... ok test types::list::tests::test_list_index_trait_range_from_panic - should panic ... ok test types::list::tests::test_list_get_item_invalid_index ... ok test types::list::tests::test_list_index_trait_range_panic_start - should panic ... ok test types::list::tests::test_list_index_trait_range_panic_wrong_order - should panic ... ok test types::list::tests::test_list_index_trait_ranges ... ok test types::list::tests::test_list_set_slice ... ok test types::list::tests::test_list_to_tuple ... ok test types::list::tests::test_set_item_refcnt ... ok test types::list::tests::test_new ... ok test types::list::tests::test_set_item ... ok test types::list::tests::too_long_iterator - should panic ... ok test types::list::tests::test_sort ... ok test types::list::tests::too_short_iterator - should panic ... ok test types::mapping::tests::test_as_ref ... ok test types::list::tests::test_reverse ... ok test types::mapping::tests::test_contains ... ok test types::mapping::tests::test_del_item ... ok test types::mapping::tests::test_get_item ... ok test types::mapping::tests::test_into_ref ... ok test types::mapping::tests::test_items ... ok test types::mapping::tests::test_keys ... ok test types::mapping::tests::test_set_item ... ok test types::mapping::tests::test_len ... ok test types::mapping::tests::test_values ... ok test types::module::tests::module_import_and_name ... ok test types::sequence::tests::test_as_ref ... ok test types::sequence::tests::test_del_slice ... ok test types::sequence::tests::test_extract_bytearray_to_vec ... ok test types::sequence::tests::test_extract_range_to_vec ... ok test types::sequence::tests::test_list_coercion ... ok test types::sequence::tests::test_lists_coerce_to_tuples ... ok test types::sequence::tests::test_extract_tuple_to_vec ... ok test types::sequence::tests::test_numbers_are_not_sequences ... ok test types::sequence::tests::test_into_ref ... ok test types::sequence::tests::test_seq_contains ... ok test types::sequence::tests::test_seq_concat ... ok test types::sequence::tests::test_seq_count ... ok test types::sequence::tests::test_seq_del_item ... ok test types::sequence::tests::test_seq_concat_string ... ok test types::sequence::tests::test_seq_downcast_unchecked ... ok test types::sequence::tests::test_seq_empty ... ok test types::sequence::tests::test_seq_get_item ... ok test types::sequence::tests::test_seq_index_trait ... ok test types::sequence::tests::test_seq_index ... ok test types::sequence::tests::test_seq_get_slice ... ok test types::sequence::tests::test_seq_index_trait_range_panic_wrong_order - should panic ... ok test types::sequence::tests::test_seq_index_trait_range_panic_end - should panic ... ok test types::sequence::tests::test_seq_index_trait_range_from_panic - should panic ... ok test types::sequence::tests::test_seq_index_trait_range_panic_start - should panic ... ok test types::sequence::tests::test_seq_inplace ... ok test types::sequence::tests::test_seq_index_trait_panic - should panic ... ok test types::sequence::tests::test_seq_is_empty ... ok test types::sequence::tests::test_seq_iter ... ok test types::sequence::tests::test_seq_set_item_refcnt ... ok test types::sequence::tests::test_seq_strings ... ok test types::sequence::tests::test_seq_index_trait_ranges ... ok test types::sequence::tests::test_seq_set_item ... ok test types::sequence::tests::test_seq_repeat ... ok test types::sequence::tests::test_strings_cannot_be_extracted_to_vec ... ok test types::sequence::tests::test_set_slice ... ok test types::sequence::tests::test_strings_are_sequences ... ok test types::sequence::tests::test_strings_coerce_to_lists ... ok test types::sequence::tests::test_tuple_coercion ... ok test types::set::tests::test_set_contains ... ok test types::set::tests::test_set_add ... ok test types::set::tests::test_set_clear ... ok test types::set::tests::test_set_discard ... ok test types::set::tests::test_set_empty ... ok test types::set::tests::test_set_iter_size_hint ... ok test types::set::tests::test_set_len ... ok test types::set::tests::test_set_iter_mutation_same_len - should panic ... ok test types::set::tests::test_set_iter_mutation - should panic ... ok test types::set::tests::test_set_iter ... ok test types::set::tests::test_set_new ... ok test types::slice::tests::test_py_slice_indices_new ... ok test types::set::tests::test_set_pop ... ok test types::string::tests::test_display_string ... ok test types::slice::tests::test_py_slice_full ... ok test types::slice::tests::test_py_slice_new ... ok test types::string::tests::test_intern_string ... ok test types::string::tests::test_debug_string ... ok test types::string::tests::test_string_data_ucs1 ... ok test types::string::tests::test_string_data_ucs1_invalid ... ok test types::string::tests::test_string_data_ucs2 ... ok test types::string::tests::test_string_data_ucs2_invalid ... ok test types::string::tests::test_string_data_ucs4 ... ok test types::string::tests::test_string_data_ucs4_invalid ... ok test types::string::tests::test_to_str_ascii ... ok test types::string::tests::test_to_str_surrogate ... ok test types::string::tests::test_to_string_lossy ... ok test types::traceback::tests::format_traceback ... ok test types::traceback::tests::test_err_from_value ... ok test types::string::tests::test_to_str_unicode ... ok test types::traceback::tests::test_err_into_py ... ok test types::tuple::tests::test_as_slice ... ok test types::tuple::tests::overflowing_size - should panic ... ok test types::tuple::tests::bad_clone_mem_leaks_2 ... ok test types::tuple::tests::bad_clone_mem_leaks ... ok test types::tuple::tests::test_iter ... ok test types::tuple::tests::test_len ... ok test types::tuple::tests::test_into_iter ... ok test types::tuple::tests::test_new ... ok test types::tuple::tests::test_slice ... ok test types::tuple::tests::test_tuple_get_item_invalid_index ... ok test types::tuple::tests::test_tuple_get_item_sanity ... ok test types::tuple::tests::test_tuple_contains ... ok test types::tuple::tests::test_tuple_index_trait ... ok test types::tuple::tests::test_tuple_index ... ok test types::tuple::tests::test_tuple_get_item_unchecked_sanity ... ok test types::tuple::tests::test_tuple_index_trait_panic - should panic ... ok test types::tuple::tests::test_tuple_index_trait_range_from_panic - should panic ... ok test types::tuple::tests::test_tuple_index_trait_range_panic_start - should panic ... ok test types::tuple::tests::test_tuple_index_trait_range_panic_wrong_order - should panic ... ok test types::tuple::tests::test_tuple_index_trait_range_panic_end - should panic ... ok test types::tuple::tests::test_tuple_lengths_up_to_12 ... ok test types::tuple::tests::test_tuple_to_list ... ok test types::tuple::tests::test_tuple_index_trait_ranges ... ok test types::tuple::tests::too_long_iterator - should panic ... ok test types::typeobject::tests::test_type_is_subclass ... ok test types::tuple::tests::too_short_iterator - should panic ... ok test types::typeobject::tests::test_type_is_subclass_of ... ok test version::test::test_python_version_info ... ok test version::test::test_python_version_info_parse ... ok test exceptions::asyncio::tests::CancelledError ... ok test exceptions::asyncio::tests::InvalidStateError ... ok test exceptions::asyncio::tests::QueueEmpty ... ok test exceptions::asyncio::tests::IncompleteReadError ... ok test exceptions::asyncio::tests::LimitOverrunError ... ok test exceptions::asyncio::tests::TimeoutError ... ok test exceptions::asyncio::tests::QueueFull ... ok test result: ok. 551 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/common-aacafae1aeb31749 --skip 'doc_test::guide_migration_md'` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_anyhow-0003dc0211482dca --skip 'doc_test::guide_migration_md'` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_append_to_inittab-30f638735da6db03 --skip 'doc_test::guide_migration_md'` running 1 test test test_module_append_to_inittab ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_arithmetics-4152d97e5cedb07e --skip 'doc_test::guide_migration_md'` running 15 tests test inplace_operations ... ok test return_not_implemented::inplace_arith ... ok test binary_arithmetic ... ok test return_not_implemented::equality ... ok test indexable ... ok test rhs_arithmetic ... ok test return_not_implemented::reverse_arith ... ok test rich_comparisons ... ok test return_not_implemented::inplace_bitwise ... ok test rich_comparisons_python_3_type_error ... ok test unary_arithmetic ... ok test return_not_implemented::bitwise ... ok test lhs_fellback_to_rhs ... ok test return_not_implemented::ordering ... ok test return_not_implemented::arith ... ok test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_buffer-a8280323bcbfd1de --skip 'doc_test::guide_migration_md'` running 1 test test test_get_buffer_errors ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_buffer_protocol-475b8a00fa8ce266 --skip 'doc_test::guide_migration_md'` running 3 tests test test_releasebuffer_unraisable_error ... ok test test_buffer ... ok test test_buffer_referenced ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_bytes-ec2c64f9ad419a6f --skip 'doc_test::guide_migration_md'` running 4 tests test test_pybytes_bytes_conversion ... ok test test_pybytes_vec_conversion ... ok test test_py_as_bytes ... ok test test_bytearray_vec_conversion ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_class_attributes-aff02affa8ebf360 --skip 'doc_test::guide_migration_md'` running 4 tests test class_attributes_are_immutable ... ignored test class_attributes ... ok test recursive_class_attributes ... ok test test_fallible_class_attribute ... ok test result: ok. 3 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.03s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_class_basics-49387a068e4b1e99 --skip 'doc_test::guide_migration_md'` running 19 tests test empty_class_in_module ... ignored test access_frozen_class_without_gil ... ok test class_with_docstr ... ok test empty_class ... ok test dunder_dict_support ... ok test access_dunder_dict ... ok test inherited_dict ... ok test custom_names ... ok test class_with_object_field ... ok test test_pymethods_from_py_with ... ok test test_raw_idents ... ok test test_tuple_struct_class ... ok test unit_class ... ok test panic_unsendable_base - should panic ... ok test panic_unsendable_child - should panic ... ok test drop_unsendable_elsewhere ... ok test inherited_weakref ... ok test weakref_dunder_dict_support ... ok test weakref_support ... ok test result: ok. 18 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_class_conversion-71bf7d21271ba8a9 --skip 'doc_test::guide_migration_md'` running 6 tests test test_polymorphic_container_stores_base_class ... ok test test_cloneable_pyclass ... ok test test_polymorphic_container_stores_sub_class ... ok test test_pycell_deref ... ok test test_polymorphic_container_does_not_accept_other_types ... ok test test_pyref_as_base ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_class_new-e2dccaba1a010877 --skip 'doc_test::guide_migration_md'` running 8 tests test new_with_one_arg ... ok test empty_class_with_new ... ok test unit_class_with_new ... ok test new_with_custom_error ... ok test test_new_existing ... ok test subclass_new ... ok test new_with_two_args ... ok test tuple_class_with_new ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_datetime-b493afc54391f3f5 --skip 'doc_test::guide_migration_md'` running 8 tests test test_datetime_check ... ok test test_time_check ... ok test test_datetime_utc ... ok test test_pytime_out_of_bounds ... ok test test_delta_check ... ok test test_date_check ... ok test test_pydatetime_out_of_bounds ... ok test test_pydate_out_of_bounds ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_default_impls-3beb6a2ea415c293 --skip 'doc_test::guide_migration_md'` running 2 tests test test_default_slot_exists ... ok test test_override_slot ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_dict_iter-7e18d7c6f6ca1e0e --skip 'doc_test::guide_migration_md'` running 1 test test iter_dict_nosegv ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.10s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_enum-ac35fb67d4b992fc --skip 'doc_test::guide_migration_md'` running 13 tests test test_repr_parse ... ok test test_enum_arg ... ok test test_custom_discriminant ... ok test test_return_enum ... ok test test_enum_eq_enum ... ok test test_rename_variant_repr_correct ... ok test test_enum_to_int ... ok test test_enum_class_attr ... ok test test_enum_compare_int_no_throw_when_overflow ... ok test test_enum_eq_incomparable ... ok test test_enum_compare_int ... ok test test_big_enum_no_overflow ... ok test test_rename_enum_repr_correct ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_exceptions-847927d6e2e6dbc0 --skip 'doc_test::guide_migration_md'` running 4 tests test test_exception_nosegfault ... ok test test_filenotfounderror ... ok test test_custom_error ... ok test test_write_unraisable ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_field_cfg-6a72f93ae9b2a35c --skip 'doc_test::guide_migration_md'` running 1 test test test_cfg ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_frompyobject-1ff4901b07f51562 --skip 'doc_test::guide_migration_md'` running 21 tests test test_enum_error ... ok test test_enum_catch_all ... ok test test_generic_named_fields_struct ... ok test test_struct_nested_type_errors ... ok test test_from_py_with_tuple_struct_error ... ok test test_err_rename ... ok test test_named_fields_struct ... ok test test_transparent_struct_error_message ... ok test test_generic_transparent_named_field_struct ... ok test test_transparent_tuple_error_message ... ok test test_from_py_with ... ok test test_from_py_with_enum ... ok test test_struct_nested_type_errors_with_generics ... ok test test_transparent_from_py_with ... ok test test_named_field_with_ext_fn ... ok test test_transparent_named_field_struct ... ok test test_from_py_with_tuple_struct ... ok test test_transparent_tuple_struct ... ok test test_enum ... ok test test_tuple_struct ... ok test test_tuple_struct_error_message ... ok test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_gc-71379198ed230688 --skip 'doc_test::guide_migration_md'` running 12 tests test data_is_dropped ... ok test gc_integration ... ok test inheritance_with_new_methods_with_drop ... ok test class_with_freelist ... ok test traverse_partial ... ok test gc_null_traversal ... ok test tries_gil_in_traverse ... ok test gc_during_borrow ... ok test traverse_panic ... ok test drop_during_traversal_without_gil ... ok test traverse_cannot_be_hijacked ... ok test drop_during_traversal_with_gil ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_getter_setter-5dd732fe4e6b1291 --skip 'doc_test::guide_migration_md'` running 8 tests test get_set_all ... ok test borrowed_value_with_lifetime_of_self ... ok test class_with_properties ... ok test cell_getter_setter ... ok test tuple_struct_getter_setter ... ok test getter_setter_autogen ... ok test ref_getter_setter ... ok test get_all_and_set ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_inheritance-12091699554df8ef --skip 'doc_test::guide_migration_md'` running 12 tests test inheritance_with_new_methods ... ok test inheriting_native_type::inherit_set ... ok test inheriting_native_type::inherit_dict_drop ... ok test test_subclass_ref_counts ... ok test mutation_fails ... ok test inheriting_native_type::inherit_dict ... ok test handle_result_in_new ... ok test inheriting_native_type::custom_exception ... ok test is_subclass_and_is_instance ... ok test call_base_and_sub_methods ... ok test subclass ... ok test module_add_class_inherit_bool_fails ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_macros-b843d5855f274f77 --skip 'doc_test::guide_migration_md'` running 1 test test test_macro_rules_interactions ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_mapping-2d8e05e96a7e67c9 --skip 'doc_test::guide_migration_md'` running 4 tests test test_delitem ... ok test test_setitem ... ok test test_getitem ... ok test mapping_is_not_sequence ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_methods-57359eaa74769dbe --skip 'doc_test::guide_migration_md'` running 16 tests test deprecated::meth_args ... ok test meth_doc ... ok test test_issue_2988 ... ok test method_with_lifetime ... ok test instance_method ... ok test class_method_with_args ... ok test method_with_pyclassarg ... ok test instance_method_with_args ... ok test test_cfg_attrs ... ok test class_method ... ok test static_method ... ok test static_method_with_args ... ok test meth_signature ... ok test test_option_pyclass_arg ... ok test test_raw_idents ... ok test test_from_sequence ... ok test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_module-56ca2b444dec6e73 --skip 'doc_test::guide_migration_md'` running 12 tests test test_custom_names ... ok test test_module_with_functions ... ok test test_module_functions_with_module ... ok test test_module_dunder_all ... ok test test_vararg_module ... ok test test_module_doc_hidden ... ok test test_module_with_constant ... ok test test_module_from_code ... ok test test_module_dict ... ok test test_module_renaming ... ok test test_raw_idents ... ok test test_module_nesting ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_multiple_pymethods-b7c055bc3319a27f --skip 'doc_test::guide_migration_md'` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_no_imports-148da713ded212f4 --skip 'doc_test::guide_migration_md'` running 2 tests test test_basic ... ok test test_new_class_method ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_not_msrv-06ae43eed69cc8a7 --skip 'doc_test::guide_migration_md'` running 1 test test requires_1_54::meth_doc ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_proto_methods-26431f8eed13a8f7 --skip 'doc_test::guide_migration_md'` running 25 tests test delitem ... ok test callable ... ok test getattr_doesnt_override_member ... ok test descr_getset ... ok test setdelitem ... ok test iterator ... ok test len_overflow ... ok test contains ... ok test getattribute_overrides_member ... ok test getattr_and_getattribute ... ok test setitem ... ok test test_bool ... ok test test_contains_opt_out ... ok test test_delattr ... ok test test_getattr ... ok test test_getitem ... ok test test_hash ... ok test test_hash_opt_out ... ok test test_repr ... ok test test_setattr ... ok test test_str ... ok test mapping ... ok test sequence ... ok test test_anext_aiter ... ok test test_await ... ok test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_pyfunction-6289ddeb8e339c12 --skip 'doc_test::guide_migration_md'` running 14 tests test required_argument_after_option ... ok test test_closure ... ok test test_closure_counter ... ok test test_from_py_with_defaults ... ok test test_functions_with_function_args ... ok test test_pycfunction_new_with_keywords ... ok test test_optional_bool ... ok test test_pycfunction_new ... ok test test_conversion_error ... ok test test_return_value_borrows_from_arguments ... ok test use_pyfunction ... ok test test_function_with_custom_conversion ... ok test test_function_with_custom_conversion_error ... ok test test_buffer_add ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_pyself-d099b1394e5a0c64 --skip 'doc_test::guide_migration_md'` running 3 tests test test_clone_ref ... ok test test_nested_iter_reset ... ok test test_nested_iter ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_sequence-1ef9d15b8040e89d --skip 'doc_test::guide_migration_md'` running 13 tests test test_generic_list_set ... ok test test_repeat ... ok test test_getitem ... ok test test_delitem ... ok test sequence_length ... ok test test_option_list_get ... ok test test_inplace_repeat ... ok test test_contains ... ok test test_setitem ... ok test test_concat ... ok test test_inplace_concat ... ok test test_generic_list_get ... ok test sequence_is_not_mapping ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_serde-acc19ebeca30da76 --skip 'doc_test::guide_migration_md'` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_static_slots-bfe5c6d0bab7ba38 --skip 'doc_test::guide_migration_md'` running 3 tests test test_len ... ok test test_getitem ... ok test test_list ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_string-b82edf066cf89b34 --skip 'doc_test::guide_migration_md'` running 1 test test test_unicode_encode_error ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_super-e20e37d4792a6858 --skip 'doc_test::guide_migration_md'` running 1 test test test_call_super_method ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_text_signature-661b0f08f130c905 --skip 'doc_test::guide_migration_md'` running 14 tests test class_with_docs_and_signature ... ok test class_with_signature_no_doc ... ok test class_without_docs_or_signature ... ok test test_auto_test_signature_function ... ok test test_methods ... ok test test_auto_test_signature_opt_out ... ok test class_with_docs ... ok test deprecated::class_with_docs_and_signature ... ok test test_auto_test_signature_method ... ok test test_function ... ok test deprecated::class_with_deprecated_text_signature_and_on_new ... ok test deprecated::class_with_deprecated_text_signature ... ok test test_pyfn ... ok test test_raw_identifiers ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_unsendable_dict-8cc497b008af4c95 --skip 'doc_test::guide_migration_md'` running 2 tests test test_unsendable_dict ... ok test test_unsendable_dict_with_weakref ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_variable_arguments-74c08be59c9d2599 --skip 'doc_test::guide_migration_md'` running 2 tests test variable_args ... ok test variable_kwargs ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_variable_arguments_deprecated-028f4f5b509b3fe4 --skip 'doc_test::guide_migration_md'` running 2 tests test variable_args ... ok test variable_kwargs ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_various-36a9b38b997cc369 --skip 'doc_test::guide_migration_md'` running 8 tests test intopytuple_pyclass ... ok test test_result_conversion ... ok test pytuple_pyclass_iter ... ok test intopytuple_primitive ... ok test return_custom_class ... ok test mut_ref_arg ... ok test pytuple_primitive_iter ... ok test test_pickle ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running `/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/test_wrap_pyfunction_deduction-399faf5120cf6613 --skip 'doc_test::guide_migration_md'` running 1 test test wrap_pyfunction_deduction ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests pyo3 Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name pyo3 --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2 -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps -L native=/usr/lib64 --test-args --skip --test-args 'doc_test::guide_migration_md' --extern assert_approx_eq=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libassert_approx_eq-ba64919ddc346854.rlib --extern cfg_if=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libcfg_if-7b9ef657410d7b53.rlib --extern chrono=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libchrono-60f05a2eeafd7f6e.rlib --extern indoc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libindoc-03d5b6cae68c8ea1.so --extern libc=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/liblibc-773f29ea6002099f.rlib --extern memoffset=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libmemoffset-dd75790341caff38.rlib --extern parking_lot=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libparking_lot-08dd6378f1ff1e38.rlib --extern proptest=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libproptest-8529c86c5d321057.rlib --extern pyo3=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3-8fffdf9ae26b87a2.rlib --extern pyo3_ffi=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_ffi-d0763e062aa71ccf.rlib --extern pyo3_macros=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libpyo3_macros-530e12b895131a2b.so --extern rayon=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librayon-354f9d1228de77bd.rlib --extern rust_decimal=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librust_decimal-ca4517bb0b679510.rlib --extern rustversion=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/librustversion-3abb806910d53acd.so --extern serde=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde-b5035079fb68f12a.rlib --extern serde_json=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libserde_json-b6f845c616c893b8.rlib --extern trybuild=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libtrybuild-1fd1f8144307655d.rlib --extern unindent=/builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/pyo3-0.19.2/target/rpm/deps/libunindent-22da38caab0b71d6.rlib -C embed-bitcode=no --cfg 'feature="auto-initialize"' --cfg 'feature="default"' --cfg 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("abi3", "abi3-py310", "abi3-py311", "abi3-py37", "abi3-py38", "abi3-py39", "anyhow", "auto-initialize", "chrono", "default", "experimental-inspect", "extension-module", "eyre", "full", "hashbrown", "indexmap", "indoc", "inventory", "macros", "multiple-pymethods", "nightly", "num-bigint", "num-complex", "pyo3-macros", "rust_decimal", "serde", "unindent"))' --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 --cfg Py_3_13 --cfg min_const_generics --cfg addr_of --cfg option_insert --cfg thread_local_const_init --cfg panic_unwind --error-format human` warning: `auto` traits are unstable --> src/marker.rs:262:12 | 262 | pub unsafe auto trait Ungil {} | ^^^^ | = note: see issue #13231 for more information = help: add `#![feature(auto_traits)]` to the crate attributes to enable = note: this compiler was built on 2025-03-31; consider upgrading it if it is out of date = warning: unstable syntax can change at any point in the future, causing a hard error! = note: for more information, see issue #65860 warning: 1 warning emitted running 409 tests test src/conversion.rs - conversion::AsPyPointer (line 41) - compile ... ok test src/conversion.rs - conversion::test_no_clone (line 615) - compile fail ... ok test src/conversion.rs - conversion::IntoPy (line 163) ... ok test src/conversion.rs - conversion::IntoPyPointer (line 74) ... ok test src/conversion.rs - conversion::AsPyPointer (line 21) ... ok test src/conversion.rs - conversion::FromPyObject (line 240) ... ok test src/err/mod.rs - err::PyErr::clone_ref (line 610) ... ok test src/err/mod.rs - err::PyErr::get_type (line 193) ... ok test src/conversion.rs - conversion::IntoPy (line 183) ... ok test src/err/mod.rs - err::PyErr::from_value (line 156) ... ok test src/err/mod.rs - err::PyErr::new (line 101) ... ok test src/err/mod.rs - err::PyErr::traceback (line 240) ... ok test src/conversion.rs - conversion::IntoPy (line 148) ... ok test src/err/mod.rs - err::PyErr::new (line 83) ... ok test src/err/mod.rs - err::PyErr::value (line 209) ... ok test src/err/mod.rs - err::PyErr::warn (line 546) ... ok test src/err/mod.rs - err::PyErr::write_unraisable (line 516) ... ok test src/exceptions.rs - exceptions::PyArithmeticError (line 418) ... ok test src/exceptions.rs - exceptions::PyAssertionError (line 425) ... ok test src/exceptions.rs - exceptions::PyArithmeticError (line 389) ... ok test src/exceptions.rs - exceptions::PyAttributeError (line 430) ... ok test src/exceptions.rs - exceptions::PyAttributeError (line 401) ... ok test src/exceptions.rs - exceptions::PyAssertionError (line 396) ... ok test src/exceptions.rs - exceptions::PyBaseException (line 394) ... ok test src/exceptions.rs - exceptions::PyBaseException (line 365) ... ok test src/exceptions.rs - exceptions::PyBlockingIOError (line 531) ... ok test src/exceptions.rs - exceptions::PyBlockingIOError (line 560) ... ok test src/exceptions.rs - exceptions::PyBrokenPipeError (line 565) ... ok test src/exceptions.rs - exceptions::PyBrokenPipeError (line 536) ... ok test src/exceptions.rs - exceptions::PyBufferError (line 435) ... ok test src/exceptions.rs - exceptions::PyBytesWarning (line 744) ... ok test src/exceptions.rs - exceptions::PyBufferError (line 406) ... ok test src/exceptions.rs - exceptions::PyChildProcessError (line 570) ... ok test src/exceptions.rs - exceptions::PyBytesWarning (line 715) ... ok test src/exceptions.rs - exceptions::PyConnectionAbortedError (line 580) ... ok test src/exceptions.rs - exceptions::PyChildProcessError (line 541) ... ok test src/exceptions.rs - exceptions::PyConnectionAbortedError (line 551) ... ok test src/exceptions.rs - exceptions::PyConnectionError (line 546) ... ok test src/exceptions.rs - exceptions::PyConnectionError (line 575) ... ok test src/exceptions.rs - exceptions::PyConnectionRefusedError (line 585) ... ok test src/exceptions.rs - exceptions::PyConnectionRefusedError (line 556) ... ok test src/exceptions.rs - exceptions::PyConnectionResetError (line 590) ... ok test src/exceptions.rs - exceptions::PyDeprecationWarning (line 709) ... ok test src/exceptions.rs - exceptions::PyConnectionResetError (line 561) ... ok test src/exceptions.rs - exceptions::PyDeprecationWarning (line 680) ... ok test src/exceptions.rs - exceptions::PyEOFError (line 436) ... ok test src/exceptions.rs - exceptions::PyEncodingWarning (line 756) ... ok test src/exceptions.rs - exceptions::PyEOFError (line 407) ... ok test src/exceptions.rs - exceptions::PyEncodingWarning (line 727) ... ok test src/exceptions.rs - exceptions::PyEnvironmentError (line 636) ... ok test src/exceptions.rs - exceptions::PyEnvironmentError (line 607) ... ok test src/exceptions.rs - exceptions::PyException (line 372) ... ok test src/exceptions.rs - exceptions::PyFileExistsError (line 595) ... ok test src/exceptions.rs - exceptions::PyException (line 401) ... ok test src/exceptions.rs - exceptions::PyFileNotFoundError (line 600) ... ok test src/exceptions.rs - exceptions::PyFileExistsError (line 566) ... ok test src/exceptions.rs - exceptions::PyFileNotFoundError (line 571) ... ok test src/exceptions.rs - exceptions::PyFloatingPointError (line 437) ... ok test src/exceptions.rs - exceptions::PyFloatingPointError (line 408) ... ok test src/exceptions.rs - exceptions::PyFutureWarning (line 729) ... ok test src/exceptions.rs - exceptions::PyFutureWarning (line 700) ... ok test src/exceptions.rs - exceptions::PyGeneratorExit (line 413) ... ok test src/exceptions.rs - exceptions::PyGeneratorExit (line 384) ... ok test src/exceptions.rs - exceptions::PyIOError (line 641) ... ok test src/exceptions.rs - exceptions::PyImportError (line 451) ... ok test src/exceptions.rs - exceptions::PyIOError (line 612) ... ok test src/exceptions.rs - exceptions::PyImportError (line 422) ... ok test src/exceptions.rs - exceptions::PyImportWarning (line 734) ... ok test src/exceptions.rs - exceptions::PyIndexError (line 459) ... ok test src/exceptions.rs - exceptions::PyIndexError (line 430) ... ok test src/exceptions.rs - exceptions::PyImportWarning (line 705) ... ok test src/exceptions.rs - exceptions::PyInterruptedError (line 605) ... ok test src/exceptions.rs - exceptions::PyInterruptedError (line 576) ... ok test src/exceptions.rs - exceptions::PyIsADirectoryError (line 610) ... ok test src/exceptions.rs - exceptions::PyIsADirectoryError (line 581) ... ok test src/exceptions.rs - exceptions::PyKeyError (line 460) ... ok test src/exceptions.rs - exceptions::PyKeyError (line 431) ... ok test src/exceptions.rs - exceptions::PyKeyboardInterrupt (line 461) ... ok test src/exceptions.rs - exceptions::PyKeyboardInterrupt (line 432) ... ok test src/exceptions.rs - exceptions::PyLookupError (line 394) ... ok test src/exceptions.rs - exceptions::PyLookupError (line 423) ... ok test src/exceptions.rs - exceptions::PyMemoryError (line 466) ... ok test src/exceptions.rs - exceptions::PyMemoryError (line 437) ... ok test src/exceptions.rs - exceptions::PyModuleNotFoundError (line 453) ... ok test src/exceptions.rs - exceptions::PyModuleNotFoundError (line 424) ... ok test src/exceptions.rs - exceptions::PyNameError (line 467) ... ok test src/exceptions.rs - exceptions::PyNameError (line 438) ... ok test src/exceptions.rs - exceptions::PyNotADirectoryError (line 615) ... ok test src/exceptions.rs - exceptions::PyNotADirectoryError (line 586) ... ok test src/exceptions.rs - exceptions::PyNotImplementedError (line 483) ... ok test src/exceptions.rs - exceptions::PyOSError (line 443) ... ok test src/exceptions.rs - exceptions::PyOverflowError (line 468) ... ok test src/exceptions.rs - exceptions::PyNotImplementedError (line 454) ... ok test src/exceptions.rs - exceptions::PyOSError (line 414) ... ok test src/exceptions.rs - exceptions::PyPendingDeprecationWarning (line 714) ... ok test src/exceptions.rs - exceptions::PyOverflowError (line 439) ... ok test src/exceptions.rs - exceptions::PyPendingDeprecationWarning (line 685) ... ok test src/exceptions.rs - exceptions::PyPermissionError (line 620) ... ok test src/exceptions.rs - exceptions::PyPermissionError (line 591) ... ok test src/exceptions.rs - exceptions::PyProcessLookupError (line 625) ... ok test src/exceptions.rs - exceptions::PyRecursionError (line 478) ... ok test src/exceptions.rs - exceptions::PyProcessLookupError (line 596) ... ok test src/exceptions.rs - exceptions::PyReferenceError (line 497) ... ok test src/exceptions.rs - exceptions::PyRecursionError (line 449) ... ok test src/exceptions.rs - exceptions::PyResourceWarning (line 749) ... ok test src/exceptions.rs - exceptions::PyReferenceError (line 468) ... ok test src/exceptions.rs - exceptions::PyResourceWarning (line 720) ... ok test src/exceptions.rs - exceptions::PyRuntimeError (line 473) ... ok test src/exceptions.rs - exceptions::PyRuntimeError (line 444) ... ok test src/exceptions.rs - exceptions::PyRuntimeWarning (line 724) ... ok test src/exceptions.rs - exceptions::PyRuntimeWarning (line 695) ... ok test src/exceptions.rs - exceptions::PyStopAsyncIteration (line 373) ... ok test src/exceptions.rs - exceptions::PyStopAsyncIteration (line 402) ... ok test src/exceptions.rs - exceptions::PyStopIteration (line 407) ... ok test src/exceptions.rs - exceptions::PyStopIteration (line 378) ... ok test src/exceptions.rs - exceptions::PySyntaxError (line 489) ... ok test src/exceptions.rs - exceptions::PySyntaxError (line 460) ... ok test src/exceptions.rs - exceptions::PySyntaxWarning (line 719) ... ok test src/exceptions.rs - exceptions::PyUnicodeDecodeError::new_utf8 (line 640) ... ignored test src/exceptions.rs - exceptions::PySystemError (line 502) ... ok test src/exceptions.rs - exceptions::PySystemExit (line 504) ... ok test src/exceptions.rs - exceptions::PySyntaxWarning (line 690) ... ok test src/exceptions.rs - exceptions::PySystemExit (line 475) ... ok test src/exceptions.rs - exceptions::PySystemError (line 473) ... ok test src/exceptions.rs - exceptions::PyTimeoutError (line 630) ... ok test src/exceptions.rs - exceptions::PyTypeError (line 512) ... ok test src/exceptions.rs - exceptions::PyTimeoutError (line 601) ... ok test src/exceptions.rs - exceptions::PyUnboundLocalError (line 513) ... ok test src/exceptions.rs - exceptions::PyTypeError (line 483) ... ok test src/exceptions.rs - exceptions::PyUnboundLocalError (line 484) ... ok test src/exceptions.rs - exceptions::PyUnicodeError (line 490) ... ok test src/exceptions.rs - exceptions::PyUnicodeError (line 519) ... ok test src/exceptions.rs - exceptions::PyUserWarning (line 708) ... ok test src/exceptions.rs - exceptions::PyUnicodeWarning (line 739) ... ok test src/exceptions.rs - exceptions::PyUnicodeWarning (line 710) ... ok test src/exceptions.rs - exceptions::PyUserWarning (line 679) ... ok test src/exceptions.rs - exceptions::PyValueError (line 553) ... ok test src/exceptions.rs - exceptions::PyValueError (line 524) ... ok test src/exceptions.rs - exceptions::PyWarning (line 707) ... ok test src/instance.rs - instance::Py (line 59) - compile fail ... ok test src/exceptions.rs - exceptions::PyWarning (line 678) ... ok test src/exceptions.rs - exceptions::PyZeroDivisionError (line 554) ... ok test src/exceptions.rs - exceptions::PyZeroDivisionError (line 525) ... ok test src/gil.rs - gil::prepare_freethreaded_python (line 73) ... ok test src/exceptions.rs - exceptions::import_exception (line 67) ... ok test src/instance.rs - instance::Py (line 170) ... ok test src/gil.rs - gil::with_embedded_python_interpreter (line 118) ... ok test src/exceptions.rs - exceptions::create_exception (line 147) ... ok test src/instance.rs - instance::Py::into_ref (line 325) - compile fail ... ok test src/instance.rs - instance::Py::as_ref (line 282) ... ok test src/instance.rs - instance::Py (line 125) ... ok test src/instance.rs - instance::Py::clone_ref (line 534) ... ok test src/instance.rs - instance::Py::into_ref (line 342) ... ok test src/instance.rs - instance::Py::as_ref (line 295) ... ok test src/lib.rs - doc_test::guide_bnd_multiple_python_versions_md (line 492) ... ignored test src/lib.rs - doc_test::guide_bnd_multiple_python_versions_md (line 520) ... ignored test src/instance.rs - instance::Py::borrow (line 375) ... ok test src/lib.rs - doc_test::guide_building_and_distribution_md (line 593) ... ignored test src/instance.rs - instance::Py::borrow_mut (line 412) ... ok test src/lib.rs - doc_test::guide_class_call (line 494) ... ignored test src/lib.rs - doc_test::guide_class_call (line 550) ... ignored test src/instance.rs - instance::Py::get (line 480) ... ok test src/instance.rs - instance::Py (line 90) ... ok test src/instance.rs - instance::Py::getattr (line 596) ... ok test src/instance.rs - instance::Py::new (line 240) ... ok test src/instance.rs - instance::PyObject::downcast (line 1046) ... ok test src/instance.rs - instance::Py::setattr (line 632) ... ok test src/lib.rs - doc_test::guide_building_and_distribution_md (line 628) ... ok test src/lib.rs - (line 219) ... ok test src/lib.rs - doc_test::guide_bnd_multiple_python_versions_md (line 574) ... ok test src/lib.rs - (line 157) ... ok test src/instance.rs - instance::PyObject::downcast (line 1063) ... ok test src/lib.rs - doc_test::guide_class_md (line 1007) ... ok test src/lib.rs - doc_test::guide_class_md (line 1093) ... ok test src/lib.rs - doc_test::guide_class_md (line 1070) ... ok test src/lib.rs - doc_test::guide_class_md (line 1044) ... ok test src/lib.rs - doc_test::guide_class_md (line 1121) ... ok test src/lib.rs - doc_test::guide_class_md (line 1145) ... ok test src/lib.rs - doc_test::guide_class_md (line 1190) ... ok test src/lib.rs - doc_test::guide_class_md (line 1166) ... ok test src/lib.rs - doc_test::guide_class_md (line 1527) - compile fail ... ok test src/lib.rs - doc_test::guide_class_md (line 1535) - compile fail ... ok test src/lib.rs - doc_test::guide_class_md (line 1244) ... ok test src/lib.rs - doc_test::guide_class_md (line 1205) ... ok test src/lib.rs - doc_test::guide_class_md (line 1268) ... ok test src/lib.rs - doc_test::guide_class_md (line 1421) ... ok test src/lib.rs - doc_test::guide_class_md (line 1317) ... ok test src/lib.rs - doc_test::guide_class_md (line 1465) ... ok test src/lib.rs - doc_test::guide_class_md (line 1443) ... ok test src/lib.rs - doc_test::guide_class_md (line 1485) ... ok test src/lib.rs - doc_test::guide_class_md (line 1559) ... ok test src/lib.rs - doc_test::guide_class_md (line 558) ... ok test src/lib.rs - doc_test::guide_class_md (line 1507) ... ok test src/lib.rs - doc_test::guide_class_md (line 501) ... ok test src/lib.rs - doc_test::guide_class_md (line 861) - compile fail ... ok test src/lib.rs - doc_test::guide_class_md (line 574) ... ok test src/lib.rs - doc_test::guide_class_md (line 608) ... ok test src/lib.rs - doc_test::guide_class_md (line 641) ... ok test src/lib.rs - doc_test::guide_class_md (line 700) ... ok test src/lib.rs - doc_test::guide_class_numeric (line 511) ... ok test src/lib.rs - doc_test::guide_class_md (line 674) ... ok test src/lib.rs - doc_test::guide_class_md (line 956) ... ok test src/lib.rs - doc_test::guide_class_md (line 931) ... ok test src/lib.rs - doc_test::guide_class_md (line 888) ... ok test src/lib.rs - doc_test::guide_class_md (line 981) ... ok test src/lib.rs - doc_test::guide_class_numeric (line 897) ... ok test src/lib.rs - doc_test::guide_class_md (line 826) ... ok test src/lib.rs - doc_test::guide_class_md (line 757) ... ok test src/lib.rs - doc_test::guide_class_numeric (line 524) ... ok test src/lib.rs - doc_test::guide_class_numeric (line 550) ... ok test src/lib.rs - doc_test::guide_class_numeric (line 605) ... ok test src/lib.rs - doc_test::guide_class_numeric (line 633) ... ok test src/lib.rs - doc_test::guide_class_object (line 615) ... ok test src/lib.rs - doc_test::guide_class_object (line 523) ... ok test src/lib.rs - doc_test::guide_class_object (line 557) ... ok test src/lib.rs - doc_test::guide_class_object (line 580) ... ok test src/lib.rs - doc_test::guide_class_object (line 482) ... ok test src/lib.rs - doc_test::guide_class_object (line 659) ... ok test src/lib.rs - doc_test::guide_class_object (line 633) ... ok test src/lib.rs - doc_test::guide_class_object (line 682) ... ok test src/lib.rs - doc_test::guide_class_protocols_md (line 524) ... ok test src/lib.rs - doc_test::guide_class_numeric (line 684) ... ok test src/lib.rs - doc_test::guide_class_object (line 706) ... ok test src/lib.rs - doc_test::guide_class_protocols_md (line 705) ... ok test src/lib.rs - doc_test::guide_class_object (line 722) ... ok test src/lib.rs - doc_test::guide_class_protocols_md (line 588) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 488) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 524) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 554) ... ok test src/lib.rs - doc_test::guide_class_protocols_md (line 861) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 578) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 621) ... ok test src/lib.rs - doc_test::guide_class_protocols_md (line 612) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 652) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 675) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 975) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 701) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 887) ... ok test src/lib.rs - doc_test::guide_exception_md (line 484) ... ok test src/lib.rs - doc_test::guide_exception_md (line 538) ... ok test src/lib.rs - doc_test::guide_conversions_traits_md (line 740) ... ok test src/lib.rs - doc_test::guide_exception_md (line 554) ... ok test src/lib.rs - doc_test::guide_exception_md (line 495) ... ok test src/lib.rs - doc_test::guide_exception_md (line 568) ... ok test src/lib.rs - doc_test::guide_exception_md (line 517) ... ok test src/lib.rs - doc_test::guide_exception_md (line 583) ... ok test src/lib.rs - doc_test::guide_features_md (line 618) ... ok test src/lib.rs - doc_test::guide_faq_md (line 652) ... ok test src/lib.rs - doc_test::guide_faq_md (line 562) ... ok test src/lib.rs - doc_test::guide_faq_md (line 602) ... ok test src/lib.rs - doc_test::guide_function_error_handling_md (line 627) ... ok test src/lib.rs - doc_test::guide_function_md (line 561) ... ok test src/lib.rs - doc_test::guide_function_error_handling_md (line 668) ... ok test src/lib.rs - doc_test::guide_function_error_handling_md (line 509) ... ok test src/lib.rs - doc_test::guide_function_error_handling_md (line 541) ... ok test src/lib.rs - doc_test::guide_function_md (line 525) ... ok test src/lib.rs - doc_test::guide_function_md (line 484) ... ok test src/lib.rs - doc_test::guide_function_error_handling_md (line 571) ... ok test src/lib.rs - doc_test::guide_function_md (line 657) ... ok test src/lib.rs - doc_test::guide_function_md (line 586) ... ok test src/lib.rs - doc_test::guide_function_md (line 674) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 490) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 560) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 592) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 673) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 606) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 637) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 519) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 758) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 708) ... ok test src/lib.rs - doc_test::guide_memory_md (line 502) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 848) ... ok test src/lib.rs - doc_test::guide_function_signature_md (line 806) ... ok test src/lib.rs - doc_test::guide_memory_md (line 522) ... ok test src/lib.rs - doc_test::guide_memory_md (line 550) ... ok test src/lib.rs - doc_test::guide_parallelism_md (line 483) - compile ... ok test src/lib.rs - doc_test::guide_parallelism_md (line 512) - compile ... ok test src/lib.rs - doc_test::guide_memory_md (line 569) ... ok test src/lib.rs - doc_test::guide_parallelism_md (line 530) - compile ... ok test src/lib.rs - doc_test::guide_memory_md (line 641) ... ok test src/lib.rs - doc_test::guide_memory_md (line 672) ... ok test src/lib.rs - doc_test::guide_memory_md (line 619) ... ok test src/lib.rs - doc_test::guide_memory_md (line 695) ... ok test src/lib.rs - doc_test::guide_module_md (line 482) ... ok test src/lib.rs - doc_test::guide_performance_md (line 539) ... ok test src/lib.rs - doc_test::guide_performance_md (line 557) ... ok test src/lib.rs - doc_test::guide_module_md (line 504) ... ok test src/lib.rs - doc_test::guide_python_from_rust_md (line 835) ... ignored test src/lib.rs - doc_test::guide_module_md (line 548) ... ok test src/lib.rs - doc_test::guide_python_from_rust_md (line 865) - compile ... ok test src/lib.rs - doc_test::guide_rust_cpython_md (line 488) ... ignored test src/lib.rs - doc_test::guide_python_from_rust_md (line 502) ... ok test src/lib.rs - doc_test::guide_rust_cpython_md (line 532) ... ignored test src/lib.rs - doc_test::guide_rust_cpython_md (line 543) ... ignored test src/lib.rs - doc_test::guide_performance_md (line 486) ... ok test src/lib.rs - doc_test::guide_python_from_rust_md (line 623) ... ok test src/lib.rs - doc_test::guide_performance_md (line 513) ... ok test src/lib.rs - doc_test::guide_trait_bounds_md (line 627) ... ignored test src/lib.rs - doc_test::guide_python_from_rust_md (line 601) ... ok test src/lib.rs - doc_test::guide_python_from_rust_md (line 546) ... ok test src/lib.rs - doc_test::guide_python_from_rust_md (line 697) ... ok test src/lib.rs - doc_test::guide_trait_bounds_md (line 502) ... ok test src/lib.rs - doc_test::guide_python_from_rust_md (line 651) ... ok test src/lib.rs - doc_test::guide_python_from_rust_md (line 896) ... ok test src/lib.rs - doc_test::guide_trait_bounds_md (line 543) ... ok test src/lib.rs - doc_test::guide_python_from_rust_md (line 738) ... ok test src/lib.rs - doc_test::guide_python_from_rust_md (line 762) ... ok test src/lib.rs - doc_test::guide_trait_bounds_md (line 809) ... ok test src/lib.rs - doc_test::guide_rust_cpython_md (line 502) ... ok test src/lib.rs - doc_test::guide_trait_bounds_md (line 861) ... ok test src/lib.rs - doc_test::guide_trait_bounds_md (line 596) ... ok test src/lib.rs - doc_test::guide_types_md (line 547) ... ok test src/lib.rs - doc_test::guide_types_md (line 609) ... ok test src/lib.rs - doc_test::guide_types_md (line 649) ... ok test src/lib.rs - doc_test::guide_trait_bounds_md (line 641) ... ok test src/marker.rs - marker (line 39) - compile fail ... ok test src/marker.rs - marker (line 69) ... ignored test src/lib.rs - doc_test::guide_types_md (line 567) ... ok test src/lib.rs - doc_test::guide_types_md (line 670) ... ok test src/lib.rs - doc_test::guide_types_md (line 716) ... ok test src/lib.rs - doc_test::guide_trait_bounds_md (line 939) ... ok test src/marker.rs - marker (line 21) ... ok test src/lib.rs - doc_test::readme_md (line 553) ... ok test src/lib.rs - doc_test::readme_md (line 623) ... ok test src/lib.rs - doc_test::guide_types_md (line 736) ... ok test src/marker.rs - marker::Python<'_>::with_pool (line 970) - compile fail ... ok test src/marker.rs - marker (line 97) ... ok test src/marker.rs - marker::Python<'_>::with_pool (line 985) - compile fail ... ok test src/marker.rs - marker::Python<'py>::allow_threads (line 513) - compile fail ... ok test src/macros.rs - macros::py_run (line 11) ... ok test src/marker.rs - marker::Python<'_>::with_gil (line 404) ... ok test src/marker.rs - marker::Python (line 347) ... ok test src/marker.rs - marker::Ungil (line 161) ... ignored test src/marker.rs - marker::Python<'_>::with_pool (line 954) ... ok test src/macros.rs - macros::py_run (line 60) ... ok test src/marker.rs - marker::Ungil (line 145) - compile fail ... ok test src/macros.rs - macros::py_run (line 22) ... ok test src/marker.rs - marker::Python<'py>::version_info (line 707) ... ok test src/marker.rs - marker::Python<'py>::check_signals (line 850) ... ok test src/marker.rs - marker::Python<'py>::new_pool (line 897) ... ok test src/marker.rs - marker::Python<'py>::version (line 687) ... ok test src/marker.rs - marker::Python<'py>::eval (line 549) ... ok test src/marker.rs - marker::Python<'py>::run (line 572) ... ok test src/prelude.rs - prelude (line 6) ... ok test src/marker.rs - marker::Python<'py>::allow_threads (line 484) ... ok test src/marshal.rs - marshal::dumps (line 22) ... ok test src/pycell.rs - pycell (line 25) ... ok test src/pycell.rs - pycell (line 119) ... ok test src/pycell.rs - pycell (line 44) ... ok test src/pycell.rs - pycell (line 150) ... ok test src/pycell.rs - pycell::PyCell::get (line 430) ... ok test src/pycell.rs - pycell (line 79) ... ok test src/pycell.rs - pycell::PyCell::try_borrow (line 328) ... ok test src/pycell.rs - pycell::PyCell (line 236) ... ok test src/pycell.rs - pycell::PyCell::try_borrow_mut (line 360) ... ok test src/pycell.rs - pycell::PyCell::try_borrow_unguarded (line 395) ... ok test src/types/any.rs - types::any::PyAny::call0 (line 530) - compile ... ok test src/pycell.rs - pycell::PyRef (line 587) ... ok test src/pyclass.rs - pyclass::CompareOp::matches (line 62) ... ok test src/sync.rs - sync::GILOnceCell (line 66) ... ok test src/sync.rs - sync::GILProtected (line 15) ... ok test src/pycell.rs - pycell::PyRef<'p,T>::into_super (line 657) ... ok test src/sync.rs - sync::intern (line 193) ... ok test src/types/any.rs - types::any::PyAny::call1 (line 566) ... ok test src/types/any.rs - types::any::PyAny::call (line 482) ... ok test src/pyclass.rs - pyclass::IterNextOutput (line 95) ... ok test src/types/any.rs - types::any::PyAny::call_method (line 600) ... ok test src/pyclass_init.rs - pyclass_init::PyClassInitializer::add_subclass (line 161) ... ok test src/pyclass_init.rs - pyclass_init::PyClassInitializer (line 97) ... ok test src/types/any.rs - types::any::PyAny::call_method0 (line 654) ... ok test src/types/any.rs - types::any::PyAny::compare (line 275) ... ok test src/types/any.rs - types::any::PyAny::call_method1 (line 705) ... ok test src/types/any.rs - types::any::PyAny::compare (line 292) ... ok test src/types/bytearray.rs - types::bytearray::PyByteArray::as_bytes (line 168) - compile ... ok test src/types/any.rs - types::any::PyAny::downcast (line 856) ... ok test src/types/any.rs - types::any::PyAny::downcast_exact (line 919) ... ok test src/types/any.rs - types::any::PyAny::is_callable (line 451) ... ok test src/types/any.rs - types::any::PyAny::getattr (line 124) ... ok test src/types/any.rs - types::any::PyAny::downcast (line 875) ... ok test src/types/any.rs - types::any::PyAny::rich_compare (line 354) ... ok test src/types/any.rs - types::any::PyAny::hasattr (line 85) ... ok test src/types/capsule.rs - types::capsule::PyCapsule::new (line 70) - compile fail ... ok test src/types/any.rs - types::any::PyAny::setattr (line 212) ... ok test src/types/bytearray.rs - types::bytearray::PyByteArray::new_with (line 31) ... ok test src/types/bytearray.rs - types::bytearray::PyByteArray::as_bytes (line 115) ... ok test src/types/bytearray.rs - types::bytearray::PyByteArray::to_vec (line 210) ... ok test src/types/bytes.rs - types::bytes::PyBytes::new_with (line 38) ... ok test src/types/capsule.rs - types::capsule::PyCapsule::new (line 56) ... ok test src/types/capsule.rs - types::capsule::PyCapsule (line 17) ... ok test src/types/iterator.rs - types::iterator::PyIterator (line 8) ... ok test src/types/list.rs - types::list::PyList::get_item (line 119) ... ok test src/types/list.rs - types::list::PyList::new (line 60) ... ok test src/types/function.rs - types::function::PyCFunction::new_closure (line 54) ... ok test src/types/module.rs - types::module::PyModule::import (line 50) - compile ... ok test src/types/mod.rs - types::iter (line 52) ... ok test src/types/capsule.rs - types::capsule::PyCapsule::set_context (line 155) ... ok test src/types/module.rs - types::module::PyModule::add (line 218) ... ok test src/types/module.rs - types::module::PyModule::add_function (line 364) ... ok test src/types/module.rs - types::module::PyModule::from_code (line 109) ... ok test src/types/module.rs - types::module::PyModule::add_submodule (line 325) ... ok test src/types/module.rs - types::module::PyModule::add_class (line 259) ... ok test src/types/module.rs - types::module::PyModule::from_code (line 92) ... ok test src/types/module.rs - types::module::PyModule::new (line 28) ... ok test src/types/sequence.rs - types::sequence::Py::as_ref (line 366) ... ok test src/types/traceback.rs - types::traceback::PyTraceback::format (line 26) ... ok test src/types/tuple.rs - types::tuple::PyTuple::get_item (line 142) ... ok test src/version.rs - version::PythonVersionInfo (line 7) ... ok test src/types/tuple.rs - types::tuple::PyTuple::new (line 67) ... ok test src/types/pysuper.rs - types::pysuper::PySuper::new (line 18) ... ok test result: ok. 396 passed; 0 failed; 13 ignored; 0 measured; 47 filtered out; finished in 19.60s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-pyo3_0.19-devel-0.19.2-6.fc41.noarch warning: File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/Architecture.md warning: File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/Code-of-Conduct.md warning: File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/Contributing.md warning: File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/LICENSE warning: File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/README.md warning: File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/Releasing.md Provides: crate(pyo3) = 0.19.2 rust-pyo3_0.19-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(cfg-if/default) >= 1.0.0 with crate(cfg-if/default) < 2.0.0~) (crate(libc/default) >= 0.2.62 with crate(libc/default) < 0.3.0~) (crate(memoffset/default) >= 0.9.0 with crate(memoffset/default) < 0.10.0~) (crate(parking_lot/default) >= 0.11.0 with crate(parking_lot/default) < 0.13.0~) (crate(pyo3-build-config/default) >= 0.19.2 with crate(pyo3-build-config/default) < 0.20.0~) (crate(pyo3-build-config/resolve-config) >= 0.19.2 with crate(pyo3-build-config/resolve-config) < 0.20.0~) cargo crate(pyo3-ffi/default) = 0.19.2 Processing files: rust-pyo3_0.19+default-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/default) = 0.19.2 rust-pyo3_0.19+default-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3/macros) = 0.19.2 Processing files: rust-pyo3_0.19+abi3-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/abi3) = 0.19.2 rust-pyo3_0.19+abi3-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3-ffi/abi3) = 0.19.2 crate(pyo3-macros/abi3) = 0.19.2 crate(pyo3-macros/default) = 0.19.2 Processing files: rust-pyo3_0.19+abi3-py310-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/abi3-py310) = 0.19.2 rust-pyo3_0.19+abi3-py310-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3-ffi/abi3-py310) = 0.19.2 crate(pyo3/abi3-py311) = 0.19.2 Processing files: rust-pyo3_0.19+abi3-py311-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/abi3-py311) = 0.19.2 rust-pyo3_0.19+abi3-py311-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3-ffi/abi3-py311) = 0.19.2 crate(pyo3/abi3) = 0.19.2 Processing files: rust-pyo3_0.19+abi3-py37-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/abi3-py37) = 0.19.2 rust-pyo3_0.19+abi3-py37-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3-ffi/abi3-py37) = 0.19.2 crate(pyo3/abi3-py38) = 0.19.2 Processing files: rust-pyo3_0.19+abi3-py38-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/abi3-py38) = 0.19.2 rust-pyo3_0.19+abi3-py38-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3-ffi/abi3-py38) = 0.19.2 crate(pyo3/abi3-py39) = 0.19.2 Processing files: rust-pyo3_0.19+abi3-py39-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/abi3-py39) = 0.19.2 rust-pyo3_0.19+abi3-py39-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3-ffi/abi3-py39) = 0.19.2 crate(pyo3/abi3-py310) = 0.19.2 Processing files: rust-pyo3_0.19+anyhow-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/anyhow) = 0.19.2 rust-pyo3_0.19+anyhow-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(anyhow/default) >= 1.0.0 with crate(anyhow/default) < 2.0.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+auto-initialize-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/auto-initialize) = 0.19.2 rust-pyo3_0.19+auto-initialize-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+chrono-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/chrono) = 0.19.2 rust-pyo3_0.19+chrono-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(chrono) >= 0.4.0 with crate(chrono) < 0.5.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+experimental-inspect-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/experimental-inspect) = 0.19.2 rust-pyo3_0.19+experimental-inspect-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+extension-module-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/extension-module) = 0.19.2 rust-pyo3_0.19+extension-module-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3-ffi/extension-module) = 0.19.2 Processing files: rust-pyo3_0.19+eyre-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/eyre) = 0.19.2 rust-pyo3_0.19+eyre-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(eyre/default) >= 0.4.0 with crate(eyre/default) < 0.7.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+full-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/full) = 0.19.2 rust-pyo3_0.19+full-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3/anyhow) = 0.19.2 crate(pyo3/chrono) = 0.19.2 crate(pyo3/experimental-inspect) = 0.19.2 crate(pyo3/eyre) = 0.19.2 crate(pyo3/hashbrown) = 0.19.2 crate(pyo3/indexmap) = 0.19.2 crate(pyo3/macros) = 0.19.2 crate(pyo3/num-bigint) = 0.19.2 crate(pyo3/num-complex) = 0.19.2 crate(pyo3/rust_decimal) = 0.19.2 crate(pyo3/serde) = 0.19.2 Processing files: rust-pyo3_0.19+hashbrown-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/hashbrown) = 0.19.2 rust-pyo3_0.19+hashbrown-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(hashbrown/default) >= 0.9.0 with crate(hashbrown/default) < 0.15.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+indexmap-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/indexmap) = 0.19.2 rust-pyo3_0.19+indexmap-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(indexmap/default) >= 1.6.0 with crate(indexmap/default) < 3.0.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+indoc-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/indoc) = 0.19.2 rust-pyo3_0.19+indoc-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(indoc/default) >= 1.0.3 with crate(indoc/default) < 2.0.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+inventory-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/inventory) = 0.19.2 rust-pyo3_0.19+inventory-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(inventory/default) >= 0.3.0 with crate(inventory/default) < 0.4.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+macros-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/macros) = 0.19.2 rust-pyo3_0.19+macros-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3/indoc) = 0.19.2 crate(pyo3/pyo3-macros) = 0.19.2 crate(pyo3/unindent) = 0.19.2 Processing files: rust-pyo3_0.19+multiple-pymethods-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/multiple-pymethods) = 0.19.2 rust-pyo3_0.19+multiple-pymethods-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3-macros/default) = 0.19.2 crate(pyo3-macros/multiple-pymethods) = 0.19.2 crate(pyo3/inventory) = 0.19.2 Processing files: rust-pyo3_0.19+nightly-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/nightly) = 0.19.2 rust-pyo3_0.19+nightly-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+num-bigint-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/num-bigint) = 0.19.2 rust-pyo3_0.19+num-bigint-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(num-bigint/default) >= 0.4.0 with crate(num-bigint/default) < 0.5.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+num-complex-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/num-complex) = 0.19.2 rust-pyo3_0.19+num-complex-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(num-complex/default) >= 0.2.0 with crate(num-complex/default) < 0.5.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+pyo3-macros-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/pyo3-macros) = 0.19.2 rust-pyo3_0.19+pyo3-macros-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pyo3) = 0.19.2 crate(pyo3-macros/default) = 0.19.2 Processing files: rust-pyo3_0.19+rust_decimal-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/rust_decimal) = 0.19.2 rust-pyo3_0.19+rust_decimal-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(rust_decimal) >= 1.0.0 with crate(rust_decimal) < 2.0.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+serde-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/serde) = 0.19.2 rust-pyo3_0.19+serde-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0~) cargo crate(pyo3) = 0.19.2 Processing files: rust-pyo3_0.19+unindent-devel-0.19.2-6.fc41.noarch Provides: crate(pyo3/unindent) = 0.19.2 rust-pyo3_0.19+unindent-devel = 0.19.2-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(unindent/default) >= 0.1.4 with crate(unindent/default) < 0.2.0~) cargo crate(pyo3) = 0.19.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-pyo3_0.19-0.19.2-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-pyo3_0.19-0.19.2-6.fc41.src.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+abi3-py37-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+abi3-py38-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+abi3-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+default-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+experimental-inspect-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+abi3-py310-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+abi3-py311-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+anyhow-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+auto-initialize-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+abi3-py39-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+chrono-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+macros-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+eyre-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+inventory-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+hashbrown-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+num-bigint-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+extension-module-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+indexmap-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+full-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+multiple-pymethods-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+nightly-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+indoc-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+unindent-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+pyo3-macros-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+serde-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+rust_decimal-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19+num-complex-devel-0.19.2-6.fc41.noarch.rpm Wrote: /builddir/build/RPMS/rust-pyo3_0.19-devel-0.19.2-6.fc41.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/Architecture.md File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/CHANGELOG.md File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/Code-of-Conduct.md File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/Contributing.md File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/LICENSE File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/README.md File listed twice: /usr/share/cargo/registry/pyo3-0.19.2/Releasing.md Child return code was: 0