Source: python-cotengrust Version: 0.1.3-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240809 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > mv Cargo.lock Cargo.lock.saved > maturin build --release -v > Locking 30 packages to latest compatible versions > 🔗 Found pyo3 bindings > 🐍 Found CPython 3.12 at /usr/bin/python3 > 📡 Using build options features from pyproject.toml > Compiling target-lexicon v0.12.14 > Compiling once_cell v1.19.0 > Compiling autocfg v1.1.0 > Compiling libc v0.2.155 > Compiling proc-macro2 v1.0.86 > Compiling unicode-ident v1.0.12 > Compiling cfg-if v1.0.0 > Compiling heck v0.4.1 > Running `rustc --crate-name autocfg --edition=2015 > /usr/share/cargo/registry/autocfg-1.1.0/src/lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C > metadata=44a765c6dc1ea74f -C extra-filename=-44a765c6dc1ea74f --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` > Running `rustc --crate-name once_cell --edition=2021 > /usr/share/cargo/registry/once_cell-1.19.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 > --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' > --cfg 'feature="std"' -C metadata=3c2ad81fa3987825 -C > extra-filename=-3c2ad81fa3987825 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` > Running `rustc --crate-name build_script_build --edition=2015 > /usr/share/cargo/registry/libc-0.2.155/build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg > 'feature="default"' --cfg 'feature="std"' -C metadata=bde74ea5b7a59df3 -C > extra-filename=-bde74ea5b7a59df3 --out-dir > /<<PKGBUILDDIR>>/target/release/build/libc-bde74ea5b7a59df3 -C > strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps > --cap-lints allow` > Running `rustc --crate-name build_script_build --edition=2018 > /usr/share/cargo/registry/target-lexicon-0.12.14/build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg > 'feature="default"' -C metadata=19a5f6c6c5725804 -C > extra-filename=-19a5f6c6c5725804 --out-dir > /<<PKGBUILDDIR>>/target/release/build/target-lexicon-19a5f6c6c5725804 -C > strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps > --cap-lints allow` > Running `rustc --crate-name build_script_build --edition=2021 > /usr/share/cargo/registry/proc-macro2-1.0.86/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"' -C metadata=234794a7f33fad1a -C > extra-filename=-234794a7f33fad1a --out-dir > /<<PKGBUILDDIR>>/target/release/build/proc-macro2-234794a7f33fad1a -C > strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps > --cap-lints allow` > Running `rustc --crate-name unicode_ident --edition=2018 > /usr/share/cargo/registry/unicode-ident-1.0.12/src/lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C > metadata=7fab5c2b30610b4e -C extra-filename=-7fab5c2b30610b4e --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` > Running `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 linker-plugin-lto -C > codegen-units=1 -C metadata=91f5b7e19a918b82 -C > extra-filename=-91f5b7e19a918b82 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` > Running `rustc --crate-name heck --edition=2018 > /usr/share/cargo/registry/heck-0.4.1/src/lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off > --cfg 'feature="default"' -C metadata=5838c92a79c57e31 -C > extra-filename=-5838c92a79c57e31 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` > Compiling ppv-lite86 v0.2.16 > Running `rustc --crate-name ppv_lite86 --edition=2018 > /usr/share/cargo/registry/ppv-lite86-0.2.16/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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="simd"' --cfg 'feature="std"' -C > metadata=6ef7c6b2cf904b5c -C extra-filename=-6ef7c6b2cf904b5c --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` > Compiling bit-vec v0.6.3 > Running `rustc --crate-name bit_vec --edition=2015 > /usr/share/cargo/registry/bit-vec-0.6.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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="std"' -C metadata=0763b452437301b6 -C > extra-filename=-0763b452437301b6 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` > Running `rustc --crate-name once_cell --edition=2021 > /usr/share/cargo/registry/once_cell-1.19.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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg > 'feature="race"' --cfg 'feature="std"' -C metadata=653f91b083147a7f -C > extra-filename=-653f91b083147a7f --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` > Compiling unindent v0.2.1 > Running `rustc --crate-name unindent --edition=2021 > /usr/share/cargo/registry/unindent-0.2.1/src/lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C > codegen-units=1 -C metadata=25246dd819079b05 -C > extra-filename=-25246dd819079b05 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` > Running > `/<<PKGBUILDDIR>>/target/release/build/proc-macro2-234794a7f33fad1a/build-script-build` > Running `rustc --crate-name proc_macro2 --edition=2021 > /usr/share/cargo/registry/proc-macro2-1.0.86/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"' -C metadata=2e61866e96753b92 -C > extra-filename=-2e61866e96753b92 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > unicode_ident=/<<PKGBUILDDIR>>/target/release/deps/libunicode_ident-7fab5c2b30610b4e.rmeta > --cap-lints allow --cfg wrap_proc_macro` > Compiling indoc v2.0.3 > Running `rustc --crate-name indoc --edition=2021 > /usr/share/cargo/registry/indoc-2.0.3/src/lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type > proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C > debug-assertions=off -C metadata=c562895005bcbbd9 -C > extra-filename=-c562895005bcbbd9 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern proc_macro > --cap-lints allow` > Compiling memoffset v0.8.0 > Running `rustc --crate-name build_script_build --edition=2015 > /usr/share/cargo/registry/memoffset-0.8.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"' -C metadata=6a900c1222558212 -C > extra-filename=-6a900c1222558212 --out-dir > /<<PKGBUILDDIR>>/target/release/build/memoffset-6a900c1222558212 -C > strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > autocfg=/<<PKGBUILDDIR>>/target/release/deps/libautocfg-44a765c6dc1ea74f.rlib > --cap-lints allow` > Running > `/<<PKGBUILDDIR>>/target/release/build/libc-bde74ea5b7a59df3/build-script-build` > Running `rustc --crate-name libc --edition=2015 > /usr/share/cargo/registry/libc-0.2.155/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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="default"' --cfg 'feature="std"' -C > metadata=5a90faf0b22702d2 -C extra-filename=-5a90faf0b22702d2 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow --cfg > freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of > --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN > --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array > --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg > libc_const_extern_fn` > Compiling num-traits v0.2.15 > Running `rustc --crate-name build_script_build --edition=2015 > /usr/share/cargo/registry/num-traits-0.2.15/build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg > 'feature="std"' -C metadata=a6bdb918f8305e55 -C > extra-filename=-a6bdb918f8305e55 --out-dir > /<<PKGBUILDDIR>>/target/release/build/num-traits-a6bdb918f8305e55 -C > strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > autocfg=/<<PKGBUILDDIR>>/target/release/deps/libautocfg-44a765c6dc1ea74f.rlib > --cap-lints allow` > Compiling bit-set v0.5.2 > Running `rustc --crate-name bit_set --edition=2015 > /usr/share/cargo/registry/bit-set-0.5.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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="default"' --cfg 'feature="std"' -C > metadata=b7385e1076e6dda8 -C extra-filename=-b7385e1076e6dda8 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > bit_vec=/<<PKGBUILDDIR>>/target/release/deps/libbit_vec-0763b452437301b6.rmeta > --cap-lints allow` > Running > `/<<PKGBUILDDIR>>/target/release/build/memoffset-6a900c1222558212/build-script-build` > Running `rustc --crate-name memoffset --edition=2015 > /usr/share/cargo/registry/memoffset-0.8.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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="default"' -C metadata=4c2caaf3fc6ac77b -C > extra-filename=-4c2caaf3fc6ac77b --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow --cfg > tuple_ty --cfg allow_clippy --cfg maybe_uninit --cfg doctests --cfg > raw_ref_macros --cfg stable_const` > Compiling rustc-hash v1.1.0 > Running > `/<<PKGBUILDDIR>>/target/release/build/num-traits-a6bdb918f8305e55/build-script-build` > Running `rustc --crate-name rustc_hash --edition=2015 > /usr/share/cargo/registry/rustc-hash-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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="default"' --cfg 'feature="std"' -C > metadata=ee2f6a4bee2a25ee -C extra-filename=-ee2f6a4bee2a25ee --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow` > Running > `/<<PKGBUILDDIR>>/target/release/build/target-lexicon-19a5f6c6c5725804/build-script-build` > Running `rustc --crate-name target_lexicon --edition=2018 > /usr/share/cargo/registry/target-lexicon-0.12.14/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"' -C metadata=061bdc747ecc4efb > -C extra-filename=-061bdc747ecc4efb --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow --cfg > 'feature="rust_1_40"'` > Compiling quote v1.0.36 > Running `rustc --crate-name quote --edition=2018 > /usr/share/cargo/registry/quote-1.0.36/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"' -C > metadata=49996df16883a4f0 -C extra-filename=-49996df16883a4f0 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > proc_macro2=/<<PKGBUILDDIR>>/target/release/deps/libproc_macro2-2e61866e96753b92.rmeta > --cap-lints allow` > Running `rustc --crate-name num_traits --edition=2015 > /usr/share/cargo/registry/num-traits-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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="std"' -C metadata=79b20a4710503c3d -C > extra-filename=-79b20a4710503c3d --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints allow --cfg > has_i128 --cfg has_to_int_unchecked --cfg has_reverse_bits --cfg > has_leading_trailing_ones --cfg has_int_assignop_ref --cfg has_div_euclid > --cfg has_copysign` > Compiling syn v2.0.68 > Running `rustc --crate-name syn --edition=2021 > /usr/share/cargo/registry/syn-2.0.68/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"' -C metadata=8643539c60b313d3 -C > extra-filename=-8643539c60b313d3 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > proc_macro2=/<<PKGBUILDDIR>>/target/release/deps/libproc_macro2-2e61866e96753b92.rmeta > --extern > quote=/<<PKGBUILDDIR>>/target/release/deps/libquote-49996df16883a4f0.rmeta > --extern > unicode_ident=/<<PKGBUILDDIR>>/target/release/deps/libunicode_ident-7fab5c2b30610b4e.rmeta > --cap-lints allow` > Compiling pyo3-build-config v0.22.2 > Running `rustc --crate-name build_script_build --edition=2021 > /usr/share/cargo/registry/pyo3-build-config-0.22.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="extension-module"' --cfg 'feature="resolve-config"' -C > metadata=c628e1bcc805c0bb -C extra-filename=-c628e1bcc805c0bb --out-dir > /<<PKGBUILDDIR>>/target/release/build/pyo3-build-config-c628e1bcc805c0bb -C > strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > target_lexicon=/<<PKGBUILDDIR>>/target/release/deps/libtarget_lexicon-061bdc747ecc4efb.rlib > --cap-lints allow` > Compiling getrandom v0.2.12 > Running `rustc --crate-name getrandom --edition=2018 > /usr/share/cargo/registry/getrandom-0.2.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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="std"' -C metadata=88f68574265802db -C > extra-filename=-88f68574265802db --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > cfg_if=/<<PKGBUILDDIR>>/target/release/deps/libcfg_if-91f5b7e19a918b82.rmeta > --extern > libc=/<<PKGBUILDDIR>>/target/release/deps/liblibc-5a90faf0b22702d2.rmeta > --cap-lints allow` > Compiling rand_core v0.6.4 > Running `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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="alloc"' --cfg 'feature="getrandom"' --cfg > 'feature="std"' -C metadata=82eb58151752584d -C > extra-filename=-82eb58151752584d --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > getrandom=/<<PKGBUILDDIR>>/target/release/deps/libgetrandom-88f68574265802db.rmeta > --cap-lints allow` > Compiling rand_chacha v0.3.1 > Running `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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="std"' -C metadata=3e616eb699e21de7 -C > extra-filename=-3e616eb699e21de7 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > ppv_lite86=/<<PKGBUILDDIR>>/target/release/deps/libppv_lite86-6ef7c6b2cf904b5c.rmeta > --extern > rand_core=/<<PKGBUILDDIR>>/target/release/deps/librand_core-82eb58151752584d.rmeta > --cap-lints allow` > Running > `/<<PKGBUILDDIR>>/target/release/build/pyo3-build-config-c628e1bcc805c0bb/build-script-build` > Compiling rand v0.8.5 > Running `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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg > 'feature="getrandom"' --cfg 'feature="libc"' --cfg 'feature="rand_chacha"' > --cfg 'feature="std"' --cfg 'feature="std_rng"' -C metadata=6361e3e7ec29148e > -C extra-filename=-6361e3e7ec29148e --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > libc=/<<PKGBUILDDIR>>/target/release/deps/liblibc-5a90faf0b22702d2.rmeta > --extern > rand_chacha=/<<PKGBUILDDIR>>/target/release/deps/librand_chacha-3e616eb699e21de7.rmeta > --extern > rand_core=/<<PKGBUILDDIR>>/target/release/deps/librand_core-82eb58151752584d.rmeta > --cap-lints allow` > Running `rustc --crate-name pyo3_build_config --edition=2021 > /usr/share/cargo/registry/pyo3-build-config-0.22.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="extension-module"' --cfg 'feature="resolve-config"' -C > metadata=4a62a6150fdd708b -C extra-filename=-4a62a6150fdd708b --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > once_cell=/<<PKGBUILDDIR>>/target/release/deps/libonce_cell-3c2ad81fa3987825.rmeta > --extern > target_lexicon=/<<PKGBUILDDIR>>/target/release/deps/libtarget_lexicon-061bdc747ecc4efb.rmeta > --cap-lints allow` > Compiling ordered-float v2.10.0 > Running `rustc --crate-name ordered_float --edition=2018 > /usr/share/cargo/registry/ordered-float-2.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 linker-plugin-lto -C > codegen-units=1 --cfg 'feature="default"' --cfg 'feature="std"' -C > metadata=0673fb7fad71430d -C extra-filename=-0673fb7fad71430d --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > num_traits=/<<PKGBUILDDIR>>/target/release/deps/libnum_traits-79b20a4710503c3d.rmeta > --cap-lints allow` > Compiling pyo3-macros-backend v0.22.2 > Compiling pyo3-ffi v0.22.2 > Compiling pyo3 v0.22.2 > Running `rustc --crate-name build_script_build --edition=2021 > /usr/share/cargo/registry/pyo3-ffi-0.22.2/build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no --warn=rust_2018_idioms > '--warn=clippy::useless_transmute' '--warn=clippy::used_underscore_binding' > --warn=unused_lifetimes '--warn=clippy::unnecessary_wraps' > '--warn=clippy::todo' --warn=rust_2021_prelude_collisions > '--warn=clippy::manual_ok_or' '--warn=clippy::manual_assert' > '--warn=clippy::let_unit_value' --warn=invalid_doc_attributes > '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' > '--warn=clippy::explicit_iter_loop' '--warn=clippy::explicit_into_iter_loop' > --warn=elided_lifetimes_in_paths '--warn=clippy::dbg_macro' > '--warn=clippy::checked_conversions' '--warn=rustdoc::broken_intra_doc_links' > '--warn=rustdoc::bare_urls' -C debug-assertions=off --cfg 'feature="default"' > --cfg 'feature="extension-module"' -C metadata=4662629c0c99fd22 -C > extra-filename=-4662629c0c99fd22 --out-dir > /<<PKGBUILDDIR>>/target/release/build/pyo3-ffi-4662629c0c99fd22 -C > strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > pyo3_build_config=/<<PKGBUILDDIR>>/target/release/deps/libpyo3_build_config-4a62a6150fdd708b.rlib > --cap-lints allow` > Running `rustc --crate-name build_script_build --edition=2021 > /usr/share/cargo/registry/pyo3-0.22.2/build.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin > --emit=dep-info,link -C embed-bitcode=no --warn=rust_2018_idioms > '--warn=clippy::useless_transmute' '--warn=clippy::used_underscore_binding' > --warn=unused_lifetimes '--warn=clippy::unnecessary_wraps' > '--warn=clippy::todo' --warn=rust_2021_prelude_collisions > '--warn=clippy::manual_ok_or' '--warn=clippy::manual_assert' > '--warn=clippy::let_unit_value' --warn=invalid_doc_attributes > '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' > '--warn=clippy::explicit_iter_loop' '--warn=clippy::explicit_into_iter_loop' > --warn=elided_lifetimes_in_paths '--warn=clippy::dbg_macro' > '--warn=clippy::checked_conversions' '--warn=rustdoc::broken_intra_doc_links' > '--warn=rustdoc::bare_urls' -C debug-assertions=off --cfg 'feature="default"' > --cfg 'feature="extension-module"' --cfg 'feature="indoc"' --cfg > 'feature="macros"' --cfg 'feature="pyo3-macros"' --cfg 'feature="unindent"' > -C metadata=f971c64670313795 -C extra-filename=-f971c64670313795 --out-dir > /<<PKGBUILDDIR>>/target/release/build/pyo3-f971c64670313795 -C > strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > pyo3_build_config=/<<PKGBUILDDIR>>/target/release/deps/libpyo3_build_config-4a62a6150fdd708b.rlib > --cap-lints allow` > Running `rustc --crate-name build_script_build --edition=2021 > /usr/share/cargo/registry/pyo3-macros-backend-0.22.2/build.rs > --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat > --crate-type bin --emit=dep-info,link -C embed-bitcode=no > --warn=rust_2018_idioms '--warn=clippy::useless_transmute' > '--warn=clippy::used_underscore_binding' --warn=unused_lifetimes > '--warn=clippy::unnecessary_wraps' '--warn=clippy::todo' > --warn=rust_2021_prelude_collisions '--warn=clippy::manual_ok_or' > '--warn=clippy::manual_assert' '--warn=clippy::let_unit_value' > --warn=invalid_doc_attributes '--warn=clippy::flat_map_option' > '--warn=clippy::filter_map_next' '--warn=clippy::explicit_iter_loop' > '--warn=clippy::explicit_into_iter_loop' --warn=elided_lifetimes_in_paths > '--warn=clippy::dbg_macro' '--warn=clippy::checked_conversions' > '--warn=rustdoc::broken_intra_doc_links' '--warn=rustdoc::bare_urls' -C > debug-assertions=off -C metadata=9fe0eec01f1aa20b -C > extra-filename=-9fe0eec01f1aa20b --out-dir > /<<PKGBUILDDIR>>/target/release/build/pyo3-macros-backend-9fe0eec01f1aa20b -C > strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > pyo3_build_config=/<<PKGBUILDDIR>>/target/release/deps/libpyo3_build_config-4a62a6150fdd708b.rlib > --cap-lints allow` > Running > `/<<PKGBUILDDIR>>/target/release/build/pyo3-macros-backend-9fe0eec01f1aa20b/build-script-build` > Running > `/<<PKGBUILDDIR>>/target/release/build/pyo3-ffi-4662629c0c99fd22/build-script-build` > Running > `/<<PKGBUILDDIR>>/target/release/build/pyo3-f971c64670313795/build-script-build` > Running `rustc --crate-name pyo3_ffi --edition=2021 > /usr/share/cargo/registry/pyo3-ffi-0.22.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 linker-plugin-lto -C > codegen-units=1 --warn=rust_2018_idioms '--warn=clippy::useless_transmute' > '--warn=clippy::used_underscore_binding' --warn=unused_lifetimes > '--warn=clippy::unnecessary_wraps' '--warn=clippy::todo' > --warn=rust_2021_prelude_collisions '--warn=clippy::manual_ok_or' > '--warn=clippy::manual_assert' '--warn=clippy::let_unit_value' > --warn=invalid_doc_attributes '--warn=clippy::flat_map_option' > '--warn=clippy::filter_map_next' '--warn=clippy::explicit_iter_loop' > '--warn=clippy::explicit_into_iter_loop' --warn=elided_lifetimes_in_paths > '--warn=clippy::dbg_macro' '--warn=clippy::checked_conversions' > '--warn=rustdoc::broken_intra_doc_links' '--warn=rustdoc::bare_urls' --cfg > 'feature="default"' --cfg 'feature="extension-module"' -C > metadata=03a86a688950c7ff -C extra-filename=-03a86a688950c7ff --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > libc=/<<PKGBUILDDIR>>/target/release/deps/liblibc-5a90faf0b22702d2.rmeta > --cap-lints allow --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 invalid_from_utf8_lint --cfg > c_str_lit --cfg diagnostic_namespace` > Running `rustc --crate-name pyo3_macros_backend --edition=2021 > /usr/share/cargo/registry/pyo3-macros-backend-0.22.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 > --warn=rust_2018_idioms '--warn=clippy::useless_transmute' > '--warn=clippy::used_underscore_binding' --warn=unused_lifetimes > '--warn=clippy::unnecessary_wraps' '--warn=clippy::todo' > --warn=rust_2021_prelude_collisions '--warn=clippy::manual_ok_or' > '--warn=clippy::manual_assert' '--warn=clippy::let_unit_value' > --warn=invalid_doc_attributes '--warn=clippy::flat_map_option' > '--warn=clippy::filter_map_next' '--warn=clippy::explicit_iter_loop' > '--warn=clippy::explicit_into_iter_loop' --warn=elided_lifetimes_in_paths > '--warn=clippy::dbg_macro' '--warn=clippy::checked_conversions' > '--warn=rustdoc::broken_intra_doc_links' '--warn=rustdoc::bare_urls' -C > debug-assertions=off -C metadata=2b9ef14871c52a90 -C > extra-filename=-2b9ef14871c52a90 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > heck=/<<PKGBUILDDIR>>/target/release/deps/libheck-5838c92a79c57e31.rmeta > --extern > proc_macro2=/<<PKGBUILDDIR>>/target/release/deps/libproc_macro2-2e61866e96753b92.rmeta > --extern > pyo3_build_config=/<<PKGBUILDDIR>>/target/release/deps/libpyo3_build_config-4a62a6150fdd708b.rmeta > --extern > quote=/<<PKGBUILDDIR>>/target/release/deps/libquote-49996df16883a4f0.rmeta > --extern > syn=/<<PKGBUILDDIR>>/target/release/deps/libsyn-8643539c60b313d3.rmeta > --cap-lints allow --cfg invalid_from_utf8_lint --cfg c_str_lit --cfg > diagnostic_namespace` > Compiling pyo3-macros v0.22.2 > Running `rustc --crate-name pyo3_macros --edition=2021 > /usr/share/cargo/registry/pyo3-macros-0.22.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 > --warn=rust_2018_idioms '--warn=clippy::useless_transmute' > '--warn=clippy::used_underscore_binding' --warn=unused_lifetimes > '--warn=clippy::unnecessary_wraps' '--warn=clippy::todo' > --warn=rust_2021_prelude_collisions '--warn=clippy::manual_ok_or' > '--warn=clippy::manual_assert' '--warn=clippy::let_unit_value' > --warn=invalid_doc_attributes '--warn=clippy::flat_map_option' > '--warn=clippy::filter_map_next' '--warn=clippy::explicit_iter_loop' > '--warn=clippy::explicit_into_iter_loop' --warn=elided_lifetimes_in_paths > '--warn=clippy::dbg_macro' '--warn=clippy::checked_conversions' > '--warn=rustdoc::broken_intra_doc_links' '--warn=rustdoc::bare_urls' -C > debug-assertions=off -C metadata=b18fa82577e542c4 -C > extra-filename=-b18fa82577e542c4 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > proc_macro2=/<<PKGBUILDDIR>>/target/release/deps/libproc_macro2-2e61866e96753b92.rlib > --extern > pyo3_macros_backend=/<<PKGBUILDDIR>>/target/release/deps/libpyo3_macros_backend-2b9ef14871c52a90.rlib > --extern > quote=/<<PKGBUILDDIR>>/target/release/deps/libquote-49996df16883a4f0.rlib > --extern > syn=/<<PKGBUILDDIR>>/target/release/deps/libsyn-8643539c60b313d3.rlib > --extern proc_macro --cap-lints allow` > Running `rustc --crate-name pyo3 --edition=2021 > /usr/share/cargo/registry/pyo3-0.22.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 linker-plugin-lto -C > codegen-units=1 --warn=rust_2018_idioms '--warn=clippy::useless_transmute' > '--warn=clippy::used_underscore_binding' --warn=unused_lifetimes > '--warn=clippy::unnecessary_wraps' '--warn=clippy::todo' > --warn=rust_2021_prelude_collisions '--warn=clippy::manual_ok_or' > '--warn=clippy::manual_assert' '--warn=clippy::let_unit_value' > --warn=invalid_doc_attributes '--warn=clippy::flat_map_option' > '--warn=clippy::filter_map_next' '--warn=clippy::explicit_iter_loop' > '--warn=clippy::explicit_into_iter_loop' --warn=elided_lifetimes_in_paths > '--warn=clippy::dbg_macro' '--warn=clippy::checked_conversions' > '--warn=rustdoc::broken_intra_doc_links' '--warn=rustdoc::bare_urls' --cfg > 'feature="default"' --cfg 'feature="extension-module"' --cfg > 'feature="indoc"' --cfg 'feature="macros"' --cfg 'feature="pyo3-macros"' > --cfg 'feature="unindent"' -C metadata=d635e6356ef425c0 -C > extra-filename=-d635e6356ef425c0 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > cfg_if=/<<PKGBUILDDIR>>/target/release/deps/libcfg_if-91f5b7e19a918b82.rmeta > --extern > indoc=/<<PKGBUILDDIR>>/target/release/deps/libindoc-c562895005bcbbd9.so > --extern > libc=/<<PKGBUILDDIR>>/target/release/deps/liblibc-5a90faf0b22702d2.rmeta > --extern > memoffset=/<<PKGBUILDDIR>>/target/release/deps/libmemoffset-4c2caaf3fc6ac77b.rmeta > --extern > once_cell=/<<PKGBUILDDIR>>/target/release/deps/libonce_cell-653f91b083147a7f.rmeta > --extern > pyo3_ffi=/<<PKGBUILDDIR>>/target/release/deps/libpyo3_ffi-03a86a688950c7ff.rmeta > --extern > pyo3_macros=/<<PKGBUILDDIR>>/target/release/deps/libpyo3_macros-b18fa82577e542c4.so > --extern > unindent=/<<PKGBUILDDIR>>/target/release/deps/libunindent-25246dd819079b05.rmeta > --cap-lints allow --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 invalid_from_utf8_lint --cfg > c_str_lit --cfg diagnostic_namespace` > Compiling cotengrust v0.1.3 (/<<PKGBUILDDIR>>) > Running `rustc --crate-name cotengrust --edition=2021 src/lib.rs > --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat > --crate-type cdylib --emit=dep-info,link -C opt-level=3 -C lto -C > codegen-units=1 -C metadata=6bf7fb142052c3c2 --out-dir > /<<PKGBUILDDIR>>/target/release/deps -C strip=debuginfo -L > dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > bit_set=/<<PKGBUILDDIR>>/target/release/deps/libbit_set-b7385e1076e6dda8.rlib > --extern > ordered_float=/<<PKGBUILDDIR>>/target/release/deps/libordered_float-0673fb7fad71430d.rlib > --extern > pyo3=/<<PKGBUILDDIR>>/target/release/deps/libpyo3-d635e6356ef425c0.rlib > --extern > rand=/<<PKGBUILDDIR>>/target/release/deps/librand-6361e3e7ec29148e.rlib > --extern > rustc_hash=/<<PKGBUILDDIR>>/target/release/deps/librustc_hash-ee2f6a4bee2a25ee.rlib` > warning: use of deprecated constant `__pyfunction_ssa_to_linear::SIGNATURE`: > this function has implicit defaults for the trailing `Option<T>` arguments > = note: these implicit defaults are being phased out > = help: add `#[pyo3(signature = (ssa_path, n=None))]` to this > function to silence this warning and keep the current behavior > --> src/lib.rs:868:4 > | > 868 | fn ssa_to_linear(ssa_path: SSAPath, n: Option<usize>) -> SSAPath { > | ^^^^^^^^^^^^^ > | > = note: `#[warn(deprecated)]` on by default > > warning: use of deprecated constant > `__pyfunction_optimize_simplify::SIGNATURE`: this function has implicit > defaults for the trailing `Option<T>` arguments > = note: these implicit defaults are being phased out > = help: add `#[pyo3(signature = (inputs, output, size_dict, > use_ssa=None))]` to this function to silence this warning and keep the > current behavior > --> src/lib.rs:905:4 > | > 905 | fn optimize_simplify( > | ^^^^^^^^^^^^^^^^^ > > warning: use of deprecated constant > `__pyfunction_optimize_greedy::SIGNATURE`: this function has implicit > defaults for the trailing `Option<T>` arguments > = note: these implicit defaults are being phased out > = help: add `#[pyo3(signature = (inputs, output, size_dict, > costmod=None, temperature=None, seed=None, simplify=None, use_ssa=None))]` to > this function to silence this warning and keep the current behavior > --> src/lib.rs:922:4 > | > 922 | fn optimize_greedy( > | ^^^^^^^^^^^^^^^ > > warning: use of deprecated constant > `__pyfunction_optimize_random_greedy_track_flops::SIGNATURE`: this function > has implicit defaults for the trailing `Option<T>` arguments > = note: these implicit defaults are being phased out > = help: add `#[pyo3(signature = (inputs, output, size_dict, ntrials, > costmod=None, temperature=None, seed=None, simplify=None, use_ssa=None))]` to > this function to silence this warning and keep the current behavior > --> src/lib.rs:953:4 > | > 953 | fn optimize_random_greedy_track_flops( > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > warning: use of deprecated constant > `__pyfunction_optimize_optimal::SIGNATURE`: this function has implicit > defaults for the trailing `Option<T>` arguments > = note: these implicit defaults are being phased out > = help: add `#[pyo3(signature = (inputs, output, size_dict, > minimize=None, cost_cap=None, search_outer=None, simplify=None, > use_ssa=None))]` to this function to silence this warning and keep the > current behavior > --> src/lib.rs:1038:4 > | > 1038 | fn optimize_optimal( > | ^^^^^^^^^^^^^^^^ > > error[E0599]: no method named `add_function` found for reference > `&pyo3::types::PyModule` in the current scope > --> src/lib.rs:1071:7 > | > 1071 | m.add_function(wrap_pyfunction!(ssa_to_linear, m)?)?; > | ^^^^^^^^^^^^ method not found in `&PyModule` > > error[E0277]: the trait bound `&pyo3::types::PyModule: WrapPyFunctionArg<'_, > _>` is not satisfied > --> src/lib.rs:1071:20 > | > 1071 | m.add_function(wrap_pyfunction!(ssa_to_linear, m)?)?; > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | the trait `WrapPyFunctionArg<'_, _>` is not > implemented for `&pyo3::types::PyModule` > | required by a bound introduced by this call > | > = help: the following other types implement trait > `WrapPyFunctionArg<'py, T>`: > &pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > &pyo3::Bound<'py, pyo3::types::PyModule> > OnlyBound<T> > pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > pyo3::Bound<'py, pyo3::types::PyModule> > pyo3::Python<'py> > = note: this error originates in the macro `wrap_pyfunction` (in Nightly > builds, run with -Z macro-backtrace for more info) > > error[E0599]: no method named `add_function` found for reference > `&pyo3::types::PyModule` in the current scope > --> src/lib.rs:1072:7 > | > 1072 | m.add_function(wrap_pyfunction!(find_subgraphs, m)?)?; > | ^^^^^^^^^^^^ method not found in `&PyModule` > > error[E0277]: the trait bound `&pyo3::types::PyModule: WrapPyFunctionArg<'_, > _>` is not satisfied > --> src/lib.rs:1072:20 > | > 1072 | m.add_function(wrap_pyfunction!(find_subgraphs, m)?)?; > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | the trait `WrapPyFunctionArg<'_, _>` is not > implemented for `&pyo3::types::PyModule` > | required by a bound introduced by this call > | > = help: the following other types implement trait > `WrapPyFunctionArg<'py, T>`: > &pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > &pyo3::Bound<'py, pyo3::types::PyModule> > OnlyBound<T> > pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > pyo3::Bound<'py, pyo3::types::PyModule> > pyo3::Python<'py> > = note: this error originates in the macro `wrap_pyfunction` (in Nightly > builds, run with -Z macro-backtrace for more info) > > error[E0599]: no method named `add_function` found for reference > `&pyo3::types::PyModule` in the current scope > --> src/lib.rs:1073:7 > | > 1073 | m.add_function(wrap_pyfunction!(optimize_simplify, m)?)?; > | ^^^^^^^^^^^^ method not found in `&PyModule` > > error[E0277]: the trait bound `&pyo3::types::PyModule: WrapPyFunctionArg<'_, > _>` is not satisfied > --> src/lib.rs:1073:20 > | > 1073 | m.add_function(wrap_pyfunction!(optimize_simplify, m)?)?; > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | the trait `WrapPyFunctionArg<'_, _>` is not > implemented for `&pyo3::types::PyModule` > | required by a bound introduced by this call > | > = help: the following other types implement trait > `WrapPyFunctionArg<'py, T>`: > &pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > &pyo3::Bound<'py, pyo3::types::PyModule> > OnlyBound<T> > pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > pyo3::Bound<'py, pyo3::types::PyModule> > pyo3::Python<'py> > = note: this error originates in the macro `wrap_pyfunction` (in Nightly > builds, run with -Z macro-backtrace for more info) > > error[E0599]: no method named `add_function` found for reference > `&pyo3::types::PyModule` in the current scope > --> src/lib.rs:1074:7 > | > 1074 | m.add_function(wrap_pyfunction!(optimize_greedy, m)?)?; > | ^^^^^^^^^^^^ method not found in `&PyModule` > > error[E0277]: the trait bound `&pyo3::types::PyModule: WrapPyFunctionArg<'_, > _>` is not satisfied > --> src/lib.rs:1074:20 > | > 1074 | m.add_function(wrap_pyfunction!(optimize_greedy, m)?)?; > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | the trait `WrapPyFunctionArg<'_, _>` is not > implemented for `&pyo3::types::PyModule` > | required by a bound introduced by this call > | > = help: the following other types implement trait > `WrapPyFunctionArg<'py, T>`: > &pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > &pyo3::Bound<'py, pyo3::types::PyModule> > OnlyBound<T> > pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > pyo3::Bound<'py, pyo3::types::PyModule> > pyo3::Python<'py> > = note: this error originates in the macro `wrap_pyfunction` (in Nightly > builds, run with -Z macro-backtrace for more info) > > error[E0599]: no method named `add_function` found for reference > `&pyo3::types::PyModule` in the current scope > --> src/lib.rs:1075:7 > | > 1075 | > m.add_function(wrap_pyfunction!(optimize_random_greedy_track_flops, m)?)?; > | ^^^^^^^^^^^^ method not found in `&PyModule` > > error[E0277]: the trait bound `&pyo3::types::PyModule: WrapPyFunctionArg<'_, > _>` is not satisfied > --> src/lib.rs:1075:20 > | > 1075 | > m.add_function(wrap_pyfunction!(optimize_random_greedy_track_flops, m)?)?; > | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | the trait `WrapPyFunctionArg<'_, _>` is not > implemented for `&pyo3::types::PyModule` > | required by a bound introduced by this call > | > = help: the following other types implement trait > `WrapPyFunctionArg<'py, T>`: > &pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > &pyo3::Bound<'py, pyo3::types::PyModule> > OnlyBound<T> > pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > pyo3::Bound<'py, pyo3::types::PyModule> > pyo3::Python<'py> > = note: this error originates in the macro `wrap_pyfunction` (in Nightly > builds, run with -Z macro-backtrace for more info) > > error[E0599]: no method named `add_function` found for reference > `&pyo3::types::PyModule` in the current scope > --> src/lib.rs:1076:7 > | > 1076 | m.add_function(wrap_pyfunction!(optimize_optimal, m)?)?; > | ^^^^^^^^^^^^ method not found in `&PyModule` > > error[E0277]: the trait bound `&pyo3::types::PyModule: WrapPyFunctionArg<'_, > _>` is not satisfied > --> src/lib.rs:1076:20 > | > 1076 | m.add_function(wrap_pyfunction!(optimize_optimal, m)?)?; > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | | > | the trait `WrapPyFunctionArg<'_, _>` is not > implemented for `&pyo3::types::PyModule` > | required by a bound introduced by this call > | > = help: the following other types implement trait > `WrapPyFunctionArg<'py, T>`: > &pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > &pyo3::Bound<'py, pyo3::types::PyModule> > OnlyBound<T> > pyo3::Borrowed<'_, 'py, pyo3::types::PyModule> > pyo3::Bound<'py, pyo3::types::PyModule> > pyo3::Python<'py> > = note: this error originates in the macro `wrap_pyfunction` (in Nightly > builds, run with -Z macro-backtrace for more info) > > error[E0277]: the trait bound `&pyo3::types::PyModule: From<BoundRef<'_, '_, > pyo3::types::PyModule>>` is not satisfied > --> src/lib.rs:1069:1 > | > 1069 | #[pymodule] > | ^^^^^^^^^^^ the trait `From<BoundRef<'_, '_, pyo3::types::PyModule>>` > is not implemented for `&pyo3::types::PyModule`, which is required by > `BoundRef<'_, '_, pyo3::types::PyModule>: Into<_>` > | > = note: required for `BoundRef<'_, '_, pyo3::types::PyModule>` to > implement `Into<&pyo3::types::PyModule>` > = note: this error originates in the attribute macro `pymodule` (in > Nightly builds, run with -Z macro-backtrace for more info) > > Some errors have detailed explanations: E0277, E0599. > For more information about an error, try `rustc --explain E0277`. > warning: `cotengrust` (lib) generated 5 warnings > error: could not compile `cotengrust` (lib) due to 13 previous errors; 5 > warnings emitted > > Caused by: > process didn't exit successfully: `rustc --crate-name cotengrust > --edition=2021 src/lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib > --emit=dep-info,link -C opt-level=3 -C lto -C codegen-units=1 -C > metadata=6bf7fb142052c3c2 --out-dir /<<PKGBUILDDIR>>/target/release/deps -C > strip=debuginfo -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern > bit_set=/<<PKGBUILDDIR>>/target/release/deps/libbit_set-b7385e1076e6dda8.rlib > --extern > ordered_float=/<<PKGBUILDDIR>>/target/release/deps/libordered_float-0673fb7fad71430d.rlib > --extern > pyo3=/<<PKGBUILDDIR>>/target/release/deps/libpyo3-d635e6356ef425c0.rlib > --extern > rand=/<<PKGBUILDDIR>>/target/release/deps/librand-6361e3e7ec29148e.rlib > --extern > rustc_hash=/<<PKGBUILDDIR>>/target/release/deps/librustc_hash-ee2f6a4bee2a25ee.rlib` > (exit status: 1) > 💥 maturin failed > Caused by: Failed to build a native library through cargo > Caused by: Cargo build finished with "exit status: 101": > `PYO3_ENVIRONMENT_SIGNATURE="cpython-3.12-64bit" > PYO3_PYTHON="/usr/bin/python3" PYTHON_SYS_EXECUTABLE="/usr/bin/python3" > "cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" > "json-render-diagnostics" "-v" "--manifest-path" > "/<<PKGBUILDDIR>>/Cargo.toml" "--release" "--lib"` > make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/08/09/python-cotengrust_0.1.3-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.