Source: ruff Version: 0.0.291+dfsg1-4 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240702 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.bak || true > dh_auto_build > I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" > module > I: pybuild base:311: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11 > * Building wheel... > Running `maturin pep517 build-wheel -i /usr/bin/python3.11 --compatibility > off` > Locking 291 packages to latest compatible versions > Adding bitflags v1.3.2 (latest: v2.4.2) > Adding cfg-if v0.1.10 (latest: v1.0.0) > Adding syn v1.0.109 (latest: v2.0.66) > Adding toml v0.5.11 (latest: v0.8.8) > 🍹 Building a mixed python/rust project > 🐍 Found CPython 3.11 at /usr/bin/python3.11 > 📡 Using build options bindings from pyproject.toml > warning: /<<PKGBUILDDIR>>/Cargo.toml: unused manifest key: > workspace.dependencies.insta.feature > Compiling proc-macro2 v1.0.85 > Compiling unicode-ident v1.0.12 > Compiling autocfg v1.1.0 > Compiling libc v0.2.155 > Compiling serde v1.0.203 > Compiling memchr v2.7.1 > Compiling cfg-if v1.0.0 > Compiling once_cell v1.19.0 > Compiling smallvec v1.13.1 > Compiling either v1.9.0 > Compiling log v0.4.21 > Compiling anyhow v1.0.85 > Compiling target-lexicon v0.12.12 > Compiling bitflags v2.4.2 > Compiling num-traits v0.2.15 > Compiling itertools v0.10.5 > Compiling regex-syntax v0.8.2 > Compiling static_assertions v1.1.0 > Compiling num-integer v0.1.44 > Compiling aho-corasick v1.1.2 > Compiling quote v1.0.36 > Compiling pyo3-build-config v0.20.2 > Compiling syn v2.0.66 > Compiling thiserror v1.0.59 > Compiling heck v0.4.1 > Compiling crunchy v0.2.2 > Compiling num-bigint v0.4.3 > Compiling unicode-width v0.1.11 > Compiling Inflector v0.11.4 > Compiling tiny-keccak v2.0.2 > Compiling crossbeam-utils v0.8.19 > Compiling syn v1.0.109 > Compiling ruff_text_size v0.0.0 (/<<PKGBUILDDIR>>/crates/ruff_text_size) > Compiling rustc-hash v1.1.0 > Compiling regex-automata v0.4.7 > Compiling ruff_source_file v0.0.0 > (/<<PKGBUILDDIR>>/crates/ruff_source_file) > Compiling getrandom v0.2.12 > Compiling strsim v0.10.0 > Compiling fnv v1.0.7 > Compiling ident_case v1.0.1 > Compiling ruff_python_parser v0.0.0 > (/<<PKGBUILDDIR>>/crates/ruff_python_parser) > Compiling rand_core v0.6.4 > Compiling ruff_python_trivia v0.0.0 > (/<<PKGBUILDDIR>>/crates/ruff_python_trivia) > Compiling pyo3-ffi v0.20.2 > Compiling bstr v1.7.0 > Compiling lock_api v0.4.11 > Compiling tracing-core v0.1.32 > Compiling pin-project-lite v0.2.13 > Compiling ppv-lite86 v0.2.16 > Compiling pmutil v0.6.1 > Compiling regex v1.10.2 > Compiling darling_core v0.20.3 > Compiling hashbrown v0.14.5 > Compiling equivalent v1.0.1 > Compiling utf8parse v0.2.1 > Compiling siphasher v0.3.10 > Compiling parking_lot_core v0.9.9 > Compiling phf_shared v0.11.2 > Compiling rand v0.8.5 > Compiling anstyle-parse v0.2.1 > Compiling rand_chacha v0.3.1 > Compiling globset v0.4.14 > Compiling filetime v0.2.23 > Compiling lexical-util v0.8.5 > Compiling serde_derive v1.0.203 > Compiling thiserror-impl v1.0.59 > Compiling is-macro v0.3.0 > Compiling tracing-attributes v0.1.27 > Compiling darling_macro v0.20.3 > Compiling ruff_macros v0.0.0 (/<<PKGBUILDDIR>>/crates/ruff_macros) > Compiling memoffset v0.6.5 > Compiling unicode-normalization v0.1.22 > Compiling unic-char-range v0.9.0 > Compiling anstyle v1.0.4 > Compiling scopeguard v1.1.0 > Compiling rustversion v1.0.14 > Compiling lazy_static v1.4.0 > Compiling unicode-bidi v0.3.13 > Compiling unicode_names2 v0.6.0 > Compiling unic-common v0.9.0 > Compiling colorchoice v1.0.0 > Compiling lalrpop-util v0.20.0 > Compiling tracing v0.1.40 > Compiling percent-encoding v2.3.1 > Compiling option-ext v0.2.0 > Compiling anstyle-query v1.0.0 > Compiling anstream v0.6.7 > Compiling dirs-sys v0.4.1 > Compiling form_urlencoded v1.2.1 > Compiling idna v0.4.0 > Compiling unic-ucd-version v0.9.0 > Compiling unic-char-property v0.9.0 > Compiling darling v0.20.3 > Compiling lexical-parse-integer v0.8.6 > Compiling phf_generator v0.11.2 > Compiling pyo3-macros-backend v0.20.2 > Compiling crossbeam-epoch v0.9.18 > Compiling pyo3 v0.20.2 > Compiling matches v0.1.8 > Compiling clap_lex v0.6.0 > Compiling yansi-term v0.1.2 > Compiling glob v0.3.1 > Compiling peg-runtime v0.8.3 > Compiling seahash v4.1.0 > Compiling serde_json v1.0.116 > Compiling ruff_cache v0.0.0 (/<<PKGBUILDDIR>>/crates/ruff_cache) > Compiling peg-macros v0.8.3 > Compiling clap_builder v4.4.18 > Compiling annotate-snippets v0.9.1 > Compiling unic-ucd-category v0.9.0 > Compiling cc v1.0.83 > Compiling uuid v1.6.1 > Compiling crossbeam-deque v0.8.5 > Compiling parking_lot v0.12.1 > Compiling lexical-parse-float v0.8.5 > Compiling phf_codegen v0.11.2 > Compiling serde_with_macros v3.8.1 > Compiling dirs v5.0.1 > Compiling clap_derive v4.4.7 > Compiling syn-ext v0.4.0 > Compiling pyo3-macros v0.20.2 > Compiling unindent v0.2.1 > Compiling ryu v1.0.15 > Compiling winnow v0.6.8 > Compiling semver v1.0.21 > Compiling indexmap v2.2.6 > Compiling serde_spanned v0.6.4 > Compiling url v2.5.0 > Compiling toml_datetime v0.6.5 > Compiling same-file v1.0.6 > Compiling rustix v0.38.32 > Compiling ruff_python_ast v0.0.0 (/<<PKGBUILDDIR>>/crates/ruff_python_ast) > Compiling hexf-parse v0.2.1 > Compiling itoa v1.0.9 > Compiling iana-time-zone v0.1.53 > Compiling indoc v2.0.3 > Compiling chrono v0.4.38 > Compiling clap v4.4.18 > error[E0512]: cannot transmute between types of different sizes, or > dependently-sized types > --> crates/ruff_python_ast/src/nodes.rs:3382:5 > | > 3382 | assert_eq_size!(Pattern, [u8; 96]); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: source type: `nodes::Pattern` (704 bits) > = note: target type: `[u8; 96]` (768 bits) > = note: this error originates in the macro `assert_eq_size` (in Nightly > builds, run with -Z macro-backtrace for more info) > > Compiling toml_edit v0.21.0 > Compiling peg v0.8.3 > Compiling ruff_python_literal v0.0.0 > (/<<PKGBUILDDIR>>/crates/ruff_python_literal) > For more information about this error, try `rustc --explain E0512`. > error: could not compile `ruff_python_ast` (lib) due to 1 previous error > warning: build failed, waiting for other jobs to finish... > 💥 maturin failed > Caused by: Failed to build a native library through cargo > Caused by: Cargo build finished with "exit status: 101": > `CARGO_ENCODED_RUSTFLAGS="-Dunsafe_code\u{1f}-Wclippy::pedantic\u{1f}-Wclippy::char_lit_as_u8\u{1f}-Aclippy::collapsible_else_if\u{1f}-Aclippy::collapsible_if\u{1f}-Aclippy::implicit_hasher\u{1f}-Aclippy::match_same_arms\u{1f}-Aclippy::missing_errors_doc\u{1f}-Aclippy::missing_panics_doc\u{1f}-Aclippy::module_name_repetitions\u{1f}-Aclippy::must_use_candidate\u{1f}-Aclippy::similar_names\u{1f}-Aclippy::too_many_lines\u{1f}-Wclippy::print_stdout\u{1f}-Wclippy::print_stderr\u{1f}-Wclippy::dbg_macro\u{1f}-Wclippy::empty_drop\u{1f}-Wclippy::empty_structs_with_brackets\u{1f}-Wclippy::exit\u{1f}-Wclippy::get_unwrap\u{1f}-Wclippy::rc_buffer\u{1f}-Wclippy::rc_mutex\u{1f}-Wclippy::rest_pat_in_fully_bound_structs\u{1f}-Wunreachable_pub" > PYO3_ENVIRONMENT_SIGNATURE="cpython-3.11-64bit" > PYO3_PYTHON="/usr/bin/python3.11" PYTHON_SYS_EXECUTABLE="/usr/bin/python3.11" > "cargo" "rustc" "--message-format" "json-render-diagnostics" > "--manifest-path" "/<<PKGBUILDDIR>>/crates/ruff_cli/Cargo.toml" "--release" > "--bin" "ruff" "--" "-C" "link-arg=-s"` > Error: command ['maturin', 'pep517', 'build-wheel', '-i', > '/usr/bin/python3.11', '--compatibility', 'off'] returned non-zero exit > status 1 > > ERROR Backend subprocess exited when trying to invoke build_wheel > E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: > python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11 > I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" > module > I: pybuild base:311: python3.12 -m build --skip-dependency-check > --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12 > * Building wheel... > Running `maturin pep517 build-wheel -i /usr/bin/python3.12 --compatibility > off` > 🍹 Building a mixed python/rust project > 🐍 Found CPython 3.12 at /usr/bin/python3.12 > 📡 Using build options bindings from pyproject.toml > warning: /<<PKGBUILDDIR>>/Cargo.toml: unused manifest key: > workspace.dependencies.insta.feature > Compiling pyo3-build-config v0.20.2 > Compiling ruff_python_ast v0.0.0 (/<<PKGBUILDDIR>>/crates/ruff_python_ast) > Compiling pep440_rs v0.3.12 > Compiling rustix v0.38.32 > Compiling semver v1.0.21 > Compiling walkdir v2.4.0 > Compiling phf_shared v0.11.2 > Compiling strum_macros v0.26.4 > Compiling result-like-derive v0.4.6 > Compiling terminfo v0.8.0 > Compiling tikv-jemalloc-sys v0.5.4+5.3.0-patched > Compiling serde_with v3.8.1 > Compiling chic v1.2.2 > Compiling ruff_index v0.0.0 (/<<PKGBUILDDIR>>/crates/ruff_index) > Compiling libcst_derive v0.1.0 > Compiling ruff_diagnostics v0.0.0 > (/<<PKGBUILDDIR>>/crates/ruff_diagnostics) > error[E0512]: cannot transmute between types of different sizes, or > dependently-sized types > --> crates/ruff_python_ast/src/nodes.rs:3382:5 > | > 3382 | assert_eq_size!(Pattern, [u8; 96]); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: source type: `nodes::Pattern` (704 bits) > = note: target type: `[u8; 96]` (768 bits) > = note: this error originates in the macro `assert_eq_size` (in Nightly > builds, run with -Z macro-backtrace for more info) > > Compiling toml v0.5.11 > Compiling pyo3-ffi v0.20.2 > Compiling pyo3 v0.20.2 > Compiling ruff_python_stdlib v0.0.0 > (/<<PKGBUILDDIR>>/crates/ruff_python_stdlib) > Compiling path-dedot v3.1.1 > Compiling fs-err v2.11.0 > Compiling pep508_rs v0.2.3 > Compiling quick-xml v0.31.0 > Compiling paste v1.0.7 > Compiling linux-raw-sys v0.4.12 > Compiling minimal-lexical v0.2.1 > For more information about this error, try `rustc --explain E0512`. > error: could not compile `ruff_python_ast` (lib) due to 1 previous error > warning: build failed, waiting for other jobs to finish... > 💥 maturin failed > Caused by: Failed to build a native library through cargo > Caused by: Cargo build finished with "exit status: 101": > `CARGO_ENCODED_RUSTFLAGS="-Dunsafe_code\u{1f}-Wclippy::pedantic\u{1f}-Wclippy::char_lit_as_u8\u{1f}-Aclippy::collapsible_else_if\u{1f}-Aclippy::collapsible_if\u{1f}-Aclippy::implicit_hasher\u{1f}-Aclippy::match_same_arms\u{1f}-Aclippy::missing_errors_doc\u{1f}-Aclippy::missing_panics_doc\u{1f}-Aclippy::module_name_repetitions\u{1f}-Aclippy::must_use_candidate\u{1f}-Aclippy::similar_names\u{1f}-Aclippy::too_many_lines\u{1f}-Wclippy::print_stdout\u{1f}-Wclippy::print_stderr\u{1f}-Wclippy::dbg_macro\u{1f}-Wclippy::empty_drop\u{1f}-Wclippy::empty_structs_with_brackets\u{1f}-Wclippy::exit\u{1f}-Wclippy::get_unwrap\u{1f}-Wclippy::rc_buffer\u{1f}-Wclippy::rc_mutex\u{1f}-Wclippy::rest_pat_in_fully_bound_structs\u{1f}-Wunreachable_pub" > PYO3_ENVIRONMENT_SIGNATURE="cpython-3.12-64bit" > PYO3_PYTHON="/usr/bin/python3.12" PYTHON_SYS_EXECUTABLE="/usr/bin/python3.12" > "cargo" "rustc" "--message-format" "json-render-diagnostics" > "--manifest-path" "/<<PKGBUILDDIR>>/crates/ruff_cli/Cargo.toml" "--release" > "--bin" "ruff" "--" "-C" "link-arg=-s"` > Error: command ['maturin', 'pep517', 'build-wheel', '-i', > '/usr/bin/python3.12', '--compatibility', 'off'] returned non-zero exit > status 1 > > ERROR Backend subprocess exited when trying to invoke build_wheel > E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: > python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12 > dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" > returned exit code 13 > make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25 The full build log is available from: http://qa-logs.debian.net/2024/07/02/ruff_0.0.291+dfsg1-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&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.