Closed kloczek closed 9 months ago
What is your Rust version?
I think this is fixed on main since the struct sizes can vary across Rust versions (and 1.76 shrunk them, causing these assertions to fail).
What is your Rust version?
It is 1.76.0.
Just tested 0.2.1 + all patches taken from commit on master ans indeed compilation seems is working but linking fails with very looong list of missing symbols.
BTW do you know how to increase level of the wyboisty printed warnings? 🤔
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/bin:/usr/sbin:/usr/local/sbin" VSLANG="1033" "cc" "-m64" [..]
Hmm .. why on linking is used 'cc' and not what is passed in $CC
env variable?
It trashes LTO.🤔
Huh, I'm not sure, I don't think we control much of these aspects of the build.
Looks like something is wrong and ..
build fails
```console + ASMFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security' + CFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security' + CXXFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security' + FFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -I/usr/lib64/gfortran/modules' + FCFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -I/usr/lib64/gfortran/modules' + LDFLAGS='-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--gc-sections -Wl,--as-needed -Wl,--build-id=sha1 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,pack-relative-relocs -flto=auto -fuse-linker-plugin' + RUSTFLAGS='-C codegen-units=1 -C debuginfo=2 -C opt-level=2 -C link-arg=-Wl,--as-needed -C link-arg=-Wl,--build-id=sha1 -C link-arg=-Wl,-z,now -C link-arg=-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -C link-arg=-Wl,-z,pack-relative-relocs -C link-arg=-Wl,-z,relro -C link-arg=-flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --cap-lints=warn' + VALAFLAGS=-g + CC=/usr/bin/gcc + CXX=/usr/bin/g++ + FC=/usr/bin/gfortran + AR=/usr/bin/gcc-ar + NM=/usr/bin/gcc-nm + RANLIB=/usr/bin/gcc-ranlib + export ASMFLAGS CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS VALAFLAGS CC CXX FC AR NM RANLIB RUSTFLAGS VALAFLAGS + PBR_VERSION=0.2.1 + PDM_BUILD_SCM_VERSION=0.2.1 + SETUPTOOLS_SCM_PRETEND_VERSION=0.2.1 + /usr/bin/python3 -sBm build -w --no-isolation * Getting build dependencies for wheel... * Building wheel... Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` Updating crates.io index Downloaded android-tzdata v0.1.1 Downloaded imara-diff v0.1.5 Downloaded ciborium-io v0.2.1 Downloaded nextest-workspace-hack v0.1.0 Downloaded bumpalo v3.13.0 Downloaded rustix v0.38.28 Downloaded colored v2.1.0 Downloaded quick-xml v0.31.0 Downloaded test-case v3.3.1 Downloaded serde_test v1.0.176 Downloaded serde-wasm-bindgen v0.6.3 Downloaded serde_with_macros v3.6.0 Downloaded vte v0.11.1 Downloaded unic-char-property v0.9.0 Downloaded unic-ucd-version v0.9.0 Downloaded path-dedot v3.1.1 Downloaded time-core v0.1.0 Downloaded clearscreen v2.0.1 Downloaded quick-junit v0.3.5 Downloaded vt100 v0.15.2 Downloaded redox_users v0.4.3 Downloaded wasm-bindgen-test v0.3.40 Downloaded scoped-tls v1.0.1 Downloaded libcst v1.1.0 Downloaded rustc-hash v1.1.0 Downloaded pep440_rs v0.4.0 Downloaded predicates v3.0.3 Downloaded getopts v0.2.21 Downloaded clap_complete v4.4.0 Downloaded android_system_properties v0.1.5 Downloaded hexf-parse v0.2.1 Downloaded time v0.3.20 Downloaded yansi-term v0.1.2 Downloaded termcolor v1.2.0 Downloaded shlex v1.3.0 Downloaded iana-time-zone v0.1.57 Downloaded terminal_size v0.3.0 Downloaded bincode v1.3.3 Downloaded wasm-bindgen-test-macro v0.3.40 Downloaded flate2 v1.0.27 Downloaded core-foundation-sys v0.8.4 Downloaded sharded-slab v0.1.4 Downloaded wild v2.2.1 Downloaded filetime v0.2.23 Downloaded serde_derive_internals v0.26.0 Downloaded semver v1.0.21 Downloaded winnow v0.5.15 Downloaded pep508_rs v0.2.1 Downloaded nix v0.26.4 Downloaded kqueue-sys v1.0.4 Downloaded is-wsl v0.4.0 Downloaded ciborium-ll v0.2.1 Downloaded wasm-bindgen-futures v0.4.40 Downloaded seahash v4.1.0 Downloaded dirs v4.0.0 Downloaded cachedir v0.3.1 Downloaded is-docker v0.2.0 Downloaded vte_generate_state_changes v0.1.1 Downloaded uuid-macro-internal v1.6.1 Downloaded dyn-clone v1.0.13 Downloaded darling v0.20.3 Downloaded unic-char-range v0.9.0 Downloaded tracing-indicatif v0.3.6 Downloaded env_logger v0.10.1 Downloaded argfile v0.1.6 Downloaded thiserror-impl v1.0.51 Downloaded mio v0.8.8 Downloaded libcst_derive v1.1.0 Downloaded test-case-macros v3.2.1 Downloaded darling_core v0.20.3 Downloaded kqueue v1.0.8 Downloaded countme v3.0.1 Downloaded schemars v0.8.16 Downloaded result-like-derive v0.5.0 Downloaded os_str_bytes v6.5.1 Downloaded phf_codegen v0.11.2 Downloaded hashbrown v0.14.2 Downloaded which v4.4.0 Downloaded notify v6.1.1 Downloaded iana-time-zone-haiku v0.1.2 Downloaded fastrand v2.0.0 Downloaded darling_macro v0.20.3 Downloaded drop_bomb v0.1.5 Downloaded portable-atomic v1.4.3 Downloaded pyproject-toml v0.8.2 Downloaded annotate-snippets v0.9.2 Downloaded terminfo v0.8.0 Downloaded strip-ansi-escapes v0.2.0 Downloaded is-macro v0.3.5 Downloaded ciborium v0.2.1 Downloaded typed-arena v2.0.2 Downloaded yaml-rust v0.4.5 Downloaded unicode_names2 v1.2.1 Downloaded lalrpop-util v0.20.0 Downloaded thiserror v1.0.51 Downloaded result-like v0.5.0 Downloaded serde_with v3.6.0 Downloaded unic-common v0.9.0 Downloaded shellexpand v3.1.0 Downloaded dirs-sys v0.3.7 Downloaded path-absolutize v3.1.1 Downloaded base64 v0.21.3 Downloaded ignore v0.4.22 Downloaded console_log v1.0.0 Downloaded ident_case v1.0.1 Downloaded toml v0.8.9 Downloaded tikv-jemallocator v0.5.4 Downloaded pathdiff v0.2.1 Downloaded zerocopy v0.7.30 Downloaded similar v2.4.0 Downloaded pmutil v0.6.1 Downloaded console_error_panic_hook v0.1.7 Downloaded bstr v1.6.2 Downloaded schemars_derive v0.8.16 Downloaded rustls v0.21.10 Downloaded insta v1.34.0 Downloaded insta-cmd v0.4.0 Downloaded test-case-core v3.2.1 Downloaded fern v0.6.2 Downloaded unicode_names2_generator v1.2.1 Downloaded natord v1.0.9 Downloaded unic-ucd-category v0.9.0 Downloaded imperative v1.0.5 Downloaded clap_complete_fig v4.4.0 Downloaded web-sys v0.3.64 Downloaded tikv-jemalloc-sys v0.5.4+5.3.0-patched Downloaded regex-automata v0.3.9 Downloaded zerocopy-derive v0.7.30 Downloaded linux-raw-sys v0.4.12 Downloaded rust-stemmers v1.2.0 Downloaded ring v0.17.7 Downloaded windows v0.48.0 Downloaded 132 crates (29.1 MB) in 4.14s (largest was `windows` at 11.9 MB) 🍹 Building a mixed python/rust project 🔗 Found bin bindings 📡 Using build options bindings from pyproject.toml Compiling unicode-ident v1.0.12 Compiling proc-macro2 v1.0.78 Compiling serde v1.0.196 Compiling memchr v2.7.1 Compiling libc v0.2.152 Compiling cfg-if v1.0.0 Compiling once_cell v1.19.0 Compiling autocfg v1.1.0 Compiling bitflags v2.4.1 Compiling ppv-lite86 v0.2.17 Compiling log v0.4.20 Compiling either v1.9.0 Compiling siphasher v0.3.11 Compiling rustix v0.38.28 Compiling anyhow v1.0.79 Compiling utf8parse v0.2.1 Compiling regex-syntax v0.8.2 Compiling linux-raw-sys v0.4.12 Compiling static_assertions v1.1.0 Compiling Inflector v0.11.4 Compiling thiserror v1.0.51 Compiling wasm-bindgen-shared v0.2.90 Compiling crunchy v0.2.2 Compiling unicode-width v0.1.11 Compiling time-core v0.1.0 Compiling heck v0.4.1 Compiling colorchoice v1.0.0 Compiling tiny-keccak v2.0.2 Compiling crossbeam-utils v0.8.16 Compiling anstyle-query v1.0.0 Compiling anstyle v1.0.2 Compiling rustc-hash v1.1.0 Compiling clap_lex v0.6.0 Compiling ruff_text_size v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_text_size) Compiling bumpalo v3.13.0 Compiling strsim v0.10.0 Compiling fnv v1.0.7 Compiling smallvec v1.13.1 Compiling tinyvec_macros v0.1.1 Compiling ident_case v1.0.1 Compiling time v0.3.20 Compiling anstyle-parse v0.2.1 warning[E0602]: unknown lint: `p,_U_FORTIFY_SOURCE,_D_FORTIFY_SOURCE=3` | = note: requested on the command line with `-W p,_U_FORTIFY_SOURCE,_D_FORTIFY_SOURCE=3` = note: `#[warn(unknown_lints)]` on by default warning[E0602]: unknown lint: `p,_D_GLIBCXX_ASSERTIONS` | = note: requested on the command line with `-W p,_D_GLIBCXX_ASSERTIONS` Compiling hashbrown v0.14.2 Compiling getopts v0.2.21 Compiling tinyvec v1.6.0 Compiling equivalent v1.0.1 Compiling wasm-bindgen v0.2.90 Compiling pin-project-lite v0.2.13 Compiling itertools v0.12.1 Compiling lexical-util v0.8.5 Compiling unic-char-range v0.9.0 Compiling unic-common v0.9.0 Compiling phf_shared v0.11.2 Compiling tracing-core v0.1.32 For more information about this error, try `rustc --explain E0602`. warning: `ruff_text_size` (lib) generated 2 warnings Compiling unicode-bidi v0.3.13 Compiling scopeguard v1.2.0 Compiling syn v1.0.109 Compiling anstream v0.6.11 Compiling rustversion v1.0.14 Compiling lazy_static v1.4.0 Compiling percent-encoding v2.3.1 Compiling lalrpop-util v0.20.0 Compiling unic-char-property v0.9.0 Compiling unic-ucd-version v0.9.0 Compiling glob v0.3.1 Compiling nextest-workspace-hack v0.1.0 Compiling serde_json v1.0.113 Compiling peg-runtime v0.8.1 Compiling phf v0.11.2 Compiling seahash v4.1.0 Compiling paste v1.0.14 Compiling form_urlencoded v1.2.1 Compiling winnow v0.5.15 Compiling matches v0.1.10 Compiling unic-ucd-category v0.9.0 Compiling semver v1.0.21 Compiling iana-time-zone v0.1.57 Compiling annotate-snippets v0.6.1 Compiling ryu v1.0.15 Compiling bitflags v1.3.2 Compiling itoa v1.0.9 Compiling option-ext v0.2.0 Compiling same-file v1.0.6 Compiling hexf-parse v0.2.1 Compiling is-docker v0.2.0 Compiling walkdir v2.4.0 Compiling path-dedot v3.1.1 Compiling ruff_python_stdlib v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_python_stdlib) Compiling ruff_source_file v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_source_file) Compiling chic v1.2.2 Compiling minimal-lexical v0.2.1 Compiling aho-corasick v1.1.2 Compiling bstr v1.6.2 Compiling quick-xml v0.31.0 Compiling rayon-core v1.12.1 Compiling yansi-term v0.1.2 Compiling drop_bomb v0.1.5 Compiling path-absolutize v3.1.1 Compiling nom v7.1.3 Compiling is-wsl v0.4.0 Compiling annotate-snippets v0.9.2 Compiling colored v2.1.0 Compiling fern v0.6.2 Compiling natord v1.0.9 Compiling fastrand v2.0.0 Compiling pathdiff v0.2.1 Compiling similar v2.4.0 Compiling countme v3.0.1 Compiling typed-arena v2.0.2 Compiling crossbeam-channel v0.5.8 Compiling unicode-normalization v0.1.22 Compiling quote v1.0.35 Compiling lexical-parse-integer v0.8.6 Compiling os_str_bytes v6.5.1 Compiling ruff v0.2.1 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff) Compiling wild v2.2.1 warning: `ruff_source_file` (lib) generated 2 warnings (2 duplicates) warning: `ruff_python_stdlib` (lib) generated 2 warnings (2 duplicates) Compiling lexical-parse-float v0.8.5 Compiling syn v2.0.48 Compiling getrandom v0.2.10 Compiling cc v1.0.83 Compiling ruff_python_parser v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_python_parser) Compiling idna v0.5.0 Compiling rand_core v0.6.4 Compiling memoffset v0.9.0 Compiling crossbeam-epoch v0.9.15 Compiling num-traits v0.2.16 Compiling fs-err v2.11.0 warning: `ruff` (build script) generated 2 warnings (2 duplicates) Compiling rand_chacha v0.3.1 Compiling ruff_python_trivia v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_python_trivia) Compiling rand v0.8.5 Compiling regex-automata v0.4.3 Compiling argfile v0.1.6 warning: `ruff_python_parser` (build script) generated 2 warnings (2 duplicates) Compiling filetime v0.2.23 Compiling dirs-sys v0.3.7 Compiling dirs-sys v0.4.1 Compiling inotify-sys v0.1.5 Compiling which v4.4.0 Compiling nix v0.26.4 Compiling mio v0.8.8 Compiling inotify v0.9.6 Compiling dirs v5.0.1 Compiling dirs v4.0.0 Compiling shellexpand v3.1.0 Compiling notify v6.1.1 Compiling crossbeam-deque v0.8.3 Compiling phf_generator v0.11.2 Compiling phf_codegen v0.11.2 Compiling unicode_names2_generator v1.2.1 Compiling terminfo v0.8.0 Compiling chrono v0.4.33 Compiling rayon v1.8.1 Compiling terminal_size v0.3.0 Compiling tempfile v3.9.0 Compiling clap_builder v4.4.18 Compiling cachedir v0.3.1 warning: `ruff_python_trivia` (lib) generated 2 warnings (2 duplicates) Compiling regex v1.10.2 Compiling globset v0.4.14 Compiling ignore v0.4.22 Compiling ruff_cache v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_cache) warning: `ruff_cache` (lib) generated 2 warnings (2 duplicates) Compiling vte_generate_state_changes v0.1.1 Compiling peg-macros v0.8.1 Compiling wasm-bindgen-backend v0.2.90 Compiling darling_core v0.20.3 Compiling pmutil v0.6.1 Compiling wasm-bindgen-macro-support v0.2.90 Compiling vte v0.11.1 Compiling strip-ansi-escapes v0.2.0 Compiling unicode_names2 v1.2.1 Compiling tikv-jemalloc-sys v0.5.4+5.3.0-patched Compiling peg v0.8.1 Compiling libcst_derive v1.1.0 Compiling tikv-jemallocator v0.5.4 Compiling serde_derive v1.0.196 Compiling is-macro v0.3.5 Compiling thiserror-impl v1.0.51 Compiling clap_derive v4.4.7 Compiling tracing-attributes v0.1.27 Compiling ruff_macros v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_macros) Compiling darling_macro v0.20.3 Compiling wasm-bindgen-macro v0.2.90 Compiling uuid-macro-internal v1.6.1 Compiling result-like-derive v0.5.0 Compiling strum_macros v0.25.3 Compiling uuid v1.6.1 Compiling darling v0.20.3 Compiling serde_with_macros v3.6.0 Compiling ruff_python_literal v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_python_literal) warning: `ruff_python_literal` (lib) generated 2 warnings (2 duplicates) Compiling clearscreen v2.0.1 Compiling libcst v1.1.0 Compiling clap v4.4.18 Compiling clap_complete v4.4.0 Compiling clap_complete_fig v4.4.0 Compiling clap_complete_nushell v0.1.11 Compiling clap_complete_command v0.5.1 Compiling tracing v0.1.40 Compiling strum v0.25.0 warning: `ruff_macros` (lib) generated 2 warnings (2 duplicates) Compiling ruff_index v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_index) warning: `ruff_index` (lib) generated 2 warnings (2 duplicates) Compiling result-like v0.5.0 Compiling indexmap v2.1.0 Compiling toml_datetime v0.6.5 Compiling serde_spanned v0.6.5 Compiling url v2.5.0 Compiling rust-stemmers v1.2.0 Compiling serde_with v3.6.0 Compiling bincode v1.3.3 Compiling ruff_diagnostics v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_diagnostics) Compiling ruff_formatter v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_formatter) warning: `ruff_text_size` (lib) generated 2 warnings (2 duplicates) Compiling pep440_rs v0.3.12 Compiling pep440_rs v0.4.0 warning: `ruff_diagnostics` (lib) generated 2 warnings (2 duplicates) Compiling ruff_python_ast v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_python_ast) Compiling toml_edit v0.21.1 Compiling quick-junit v0.3.5 warning: `ruff_source_file` (lib) generated 2 warnings (2 duplicates) Compiling ruff_notebook v0.0.0 (/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff_notebook) Compiling imperative v1.0.5 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types --> crates/ruff_python_ast/src/nodes.rs:3894:5 | 3894 | assert_eq_size!(Expr, [u8; 80]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: source type: `nodes::Expr` (576 bits) = note: target type: `[u8; 80]` (640 bits) = note: this error originates in the macro `assert_eq_size` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0512]: cannot transmute between types of different sizes, or dependently-sized types --> crates/ruff_python_ast/src/nodes.rs:3895:5 | 3895 | 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) warning: `ruff_python_trivia` (lib) generated 2 warnings (2 duplicates) Some errors have detailed explanations: E0512, E0602. For more information about an error, try `rustc --explain E0512`. warning: `ruff_python_ast` (lib) generated 2 warnings (2 duplicates) error: could not compile `ruff_python_ast` (lib) due to 2 previous errors; 2 warnings emitted warning: build failed, waiting for other jobs to finish... warning: `ruff_formatter` (lib) generated 2 warnings (2 duplicates) warning: `ruff_notebook` (lib) generated 2 warnings (2 duplicates) 💥 maturin failed Caused by: Failed to build a native library through cargo Caused by: Cargo build finished with "exit status: 101": `env -u CARGO CARGO_ENCODED_RUSTFLAGS="-C\u{1f}codegen-units=1\u{1f}-C\u{1f}debuginfo=2\u{1f}-C\u{1f}opt-level=2\u{1f}-C\u{1f}link-arg=-Wl,--as-needed\u{1f}-C\u{1f}link-arg=-Wl,--build-id=sha1\u{1f}-C\u{1f}link-arg=-Wl,-z,now\u{1f}-C\u{1f}link-arg=-specs=/usr/lib/rpm/redhat/redhat-hardened-ld\u{1f}-C\u{1f}link-arg=-Wl,-z,pack-relative-relocs\u{1f}-C\u{1f}link-arg=-Wl,-z,relro\u{1f}-C\u{1f}link-arg=-flto=auto\u{1f}-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3\u{1f}-Wp,-D_GLIBCXX_ASSERTIONS\u{1f}--cap-lints=warn" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/home/tkloczko/rpmbuild/BUILD/ruff-0.2.1/crates/ruff/Cargo.toml" "--release" "--bin" "ruff" "--" "-C" "link-arg=-s"` Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1 ERROR Backend subprocess exited when trying to invoke build_wheel ```