Package: src:tree-sitter Version: 0.22.6-8 Severity: important Tags: forky sid ftbfs User: [email protected] Usertags: ftbfs-nocheck-profile
Dear maintainer: During a rebuild of all packages in unstable using the nocheck build profile, your package failed to build. Below you will find how the build ends (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202509/ A wiki page discussing how to reproduce bugs in this category and possible solutions is available here: https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck (It's a wiki, so you are welcome to contribute) [ Note: This is RC, but I will wait at least two weeks before raising the severities, there are a lot of gcc-15 and CMake 4 bugs open now ]. About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:tree-sitter, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean dh_auto_clean --buildsystem=rust [... snipped ...] 21 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:128:7 | 128 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:354:7 | 354 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:38:11 | 38 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:45:11 | 45 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:167:11 | 167 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:246:11 | 246 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unused import: `lookup_package_json_for_path` --> cli/src/main.rs:14:22 | 14 | generate::{self, lookup_package_json_for_path}, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:538:15 | 538 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:923:15 | 923 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:480:23 | 480 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:477:26 | 477 | if !cfg!(feature = "wasm") { | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:588:19 | 588 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasm` --> cli/src/main.rs:690:19 | 690 | #[cfg(feature = "wasm")] | ^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `wasm` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: `tree-sitter-cli` (bin "tree-sitter") generated 14 warnings (run `cargo fix --bin "tree-sitter"` to apply 1 suggestion) Finished `release` profile [optimized] target(s) in 1m 26s make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh: command-omitted: The call to "debian/rules override_dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_install -- PREFIX=/usr LIBDIR=/usr/lib/x86_64-linux-gnu make -j2 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no INSTALL="install --strip-program=true" PREFIX=/usr LIBDIR=/usr/lib/x86_64-linux-gnu make[2]: Entering directory '/<<PKGBUILDDIR>>' install -d '/<<PKGBUILDDIR>>/debian/tmp/usr/include'/tree_sitter '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig' '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu' install -m644 lib/include/tree_sitter/api.h '/<<PKGBUILDDIR>>/debian/tmp/usr/include'/tree_sitter/api.h install -m644 tree-sitter.pc '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig'/tree-sitter.pc install -m644 libtree-sitter.a '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu'/libtree-sitter.a install -m755 libtree-sitter.so '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu'/libtree-sitter.so.0.22 ln -sf libtree-sitter.so.0.22 '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu'/libtree-sitter.so.0 ln -sf libtree-sitter.so.0 '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu'/libtree-sitter.so make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_install --buildsystem=rust considering tree-sitter... tree-sitter goes into build list. considering tree-sitter-cli... considering tree-sitter-config... tree-sitter-config goes into build list. considering tree-sitter-highlight... tree-sitter-highlight goes into build list. considering tree-sitter-loader... considering tree-sitter-tags... tree-sitter-tags goes into build list. considering tree-sitter-cli... considering tree-sitter-loader... tree-sitter-loader goes into build list. considering tree-sitter-cli... tree-sitter-cli goes into build list. cd lib && cargo package --offline --allow-dirty --no-verify --target-dir /<<PKGBUILDDIR>>/target --package tree-sitter\@0.22.6 Packaging tree-sitter v0.22.6 (/<<PKGBUILDDIR>>/lib) Packaged 56 files, 874.5KiB (170.2KiB compressed) cd debian/librust-tree-sitter-dev/usr/share/cargo/registry/tree-sitter-0.22.6/.. && tar --exclude debian/\* --exclude debian --exclude Cargo.toml.orig --exclude Cargo.lock --exclude COPYING\* --exclude LICENSE\* -xvf ../../../../../../target/package/tree-sitter-0.22.6.crate tree-sitter-0.22.6 tree-sitter-0.22.6/Cargo.toml tree-sitter-0.22.6/binding_rust/README.md tree-sitter-0.22.6/binding_rust/bindings.rs tree-sitter-0.22.6/binding_rust/build.rs tree-sitter-0.22.6/binding_rust/ffi.rs tree-sitter-0.22.6/binding_rust/lib.rs tree-sitter-0.22.6/binding_rust/util.rs tree-sitter-0.22.6/binding_rust/wasm_language.rs tree-sitter-0.22.6/include/tree_sitter/api.h tree-sitter-0.22.6/src/alloc.c tree-sitter-0.22.6/src/alloc.h tree-sitter-0.22.6/src/array.h tree-sitter-0.22.6/src/atomic.h tree-sitter-0.22.6/src/clock.h tree-sitter-0.22.6/src/error_costs.h tree-sitter-0.22.6/src/get_changed_ranges.c tree-sitter-0.22.6/src/get_changed_ranges.h tree-sitter-0.22.6/src/host.h tree-sitter-0.22.6/src/language.c tree-sitter-0.22.6/src/language.h tree-sitter-0.22.6/src/length.h tree-sitter-0.22.6/src/lexer.c tree-sitter-0.22.6/src/lexer.h tree-sitter-0.22.6/src/lib.c tree-sitter-0.22.6/src/node.c tree-sitter-0.22.6/src/parser.c tree-sitter-0.22.6/src/parser.h tree-sitter-0.22.6/src/point.h tree-sitter-0.22.6/src/query.c tree-sitter-0.22.6/src/reduce_action.h tree-sitter-0.22.6/src/reusable_node.h tree-sitter-0.22.6/src/stack.c tree-sitter-0.22.6/src/stack.h tree-sitter-0.22.6/src/subtree.c tree-sitter-0.22.6/src/subtree.h tree-sitter-0.22.6/src/tree.c tree-sitter-0.22.6/src/tree.h tree-sitter-0.22.6/src/tree_cursor.c tree-sitter-0.22.6/src/tree_cursor.h tree-sitter-0.22.6/src/unicode/ICU_SHA tree-sitter-0.22.6/src/unicode/README.md tree-sitter-0.22.6/src/unicode/ptypes.h tree-sitter-0.22.6/src/unicode/umachine.h tree-sitter-0.22.6/src/unicode/urename.h tree-sitter-0.22.6/src/unicode/utf.h tree-sitter-0.22.6/src/unicode/utf16.h tree-sitter-0.22.6/src/unicode/utf8.h tree-sitter-0.22.6/src/unicode.h tree-sitter-0.22.6/src/wasm/stdlib-symbols.txt tree-sitter-0.22.6/src/wasm/stdlib.c tree-sitter-0.22.6/src/wasm/wasm-stdlib.h tree-sitter-0.22.6/src/wasm_store.c tree-sitter-0.22.6/src/wasm_store.h cd cli/config && cargo package --offline --allow-dirty --no-verify --target-dir /<<PKGBUILDDIR>>/target --package tree-sitter-config\@0.22.6 Packaging tree-sitter-config v0.22.6 (/<<PKGBUILDDIR>>/cli/config) Packaged 5 files, 10.7KiB (3.5KiB compressed) cd debian/librust-tree-sitter-config-dev/usr/share/cargo/registry/tree-sitter-config-0.22.6/.. && tar --exclude debian/\* --exclude debian --exclude Cargo.toml.orig --exclude Cargo.lock --exclude COPYING\* --exclude LICENSE\* -xvf ../../../../../../target/package/tree-sitter-config-0.22.6.crate tree-sitter-config-0.22.6 tree-sitter-config-0.22.6/Cargo.toml tree-sitter-config-0.22.6/README.md tree-sitter-config-0.22.6/src/lib.rs cd highlight && cargo package --offline --allow-dirty --no-verify --target-dir /<<PKGBUILDDIR>>/target --package tree-sitter-highlight\@0.22.6 Packaging tree-sitter-highlight v0.22.6 (/<<PKGBUILDDIR>>/highlight) Packaged 7 files, 66.9KiB (15.6KiB compressed) cd debian/librust-tree-sitter-highlight-dev/usr/share/cargo/registry/tree-sitter-highlight-0.22.6/.. && tar --exclude debian/\* --exclude debian --exclude Cargo.toml.orig --exclude Cargo.lock --exclude COPYING\* --exclude LICENSE\* -xvf ../../../../../../target/package/tree-sitter-highlight-0.22.6.crate tree-sitter-highlight-0.22.6 tree-sitter-highlight-0.22.6/Cargo.toml tree-sitter-highlight-0.22.6/README.md tree-sitter-highlight-0.22.6/include/tree_sitter/highlight.h tree-sitter-highlight-0.22.6/src/c_lib.rs tree-sitter-highlight-0.22.6/src/lib.rs cd tags && cargo package --offline --allow-dirty --no-verify --target-dir /<<PKGBUILDDIR>>/target --package tree-sitter-tags\@0.22.6 Packaging tree-sitter-tags v0.22.6 (/<<PKGBUILDDIR>>/tags) Packaged 7 files, 44.5KiB (10.7KiB compressed) cd debian/librust-tree-sitter-tags-dev/usr/share/cargo/registry/tree-sitter-tags-0.22.6/.. && tar --exclude debian/\* --exclude debian --exclude Cargo.toml.orig --exclude Cargo.lock --exclude COPYING\* --exclude LICENSE\* -xvf ../../../../../../target/package/tree-sitter-tags-0.22.6.crate tree-sitter-tags-0.22.6 tree-sitter-tags-0.22.6/Cargo.toml tree-sitter-tags-0.22.6/README.md tree-sitter-tags-0.22.6/include/tree_sitter/tags.h tree-sitter-tags-0.22.6/src/c_lib.rs tree-sitter-tags-0.22.6/src/lib.rs cd cli/loader && cargo package --offline --allow-dirty --no-verify --target-dir /<<PKGBUILDDIR>>/target --package tree-sitter-loader\@0.22.6 Packaging tree-sitter-loader v0.22.6 (/<<PKGBUILDDIR>>/cli/loader) Packaged 7 files, 64.4KiB (14.1KiB compressed) cd debian/librust-tree-sitter-loader-dev/usr/share/cargo/registry/tree-sitter-loader-0.22.6/.. && tar --exclude debian/\* --exclude debian --exclude Cargo.toml.orig --exclude Cargo.lock --exclude COPYING\* --exclude LICENSE\* -xvf ../../../../../../target/package/tree-sitter-loader-0.22.6.crate tree-sitter-loader-0.22.6 tree-sitter-loader-0.22.6/Cargo.toml tree-sitter-loader-0.22.6/README.md tree-sitter-loader-0.22.6/build.rs tree-sitter-loader-0.22.6/emscripten-version tree-sitter-loader-0.22.6/src/lib.rs cd cli && cargo package --offline --allow-dirty --no-verify --target-dir /<<PKGBUILDDIR>>/target --package tree-sitter-cli\@0.22.6 Packaging tree-sitter-cli v0.22.6 (/<<PKGBUILDDIR>>/cli) error: failed to prepare local package for uploading Caused by: no matching package found searched package name: `ctor` perhaps you meant: itoa, cc, cexpr, ... location searched: directory source `/<<PKGBUILDDIR>>/debian/cargo_registry` (which is replacing registry `crates-io`) required by package `tree-sitter-cli v0.22.6 (/<<PKGBUILDDIR>>/cli)` As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without `--offline`. dh_auto_install: error: cd cli && cargo package --offline --allow-dirty --no-verify --target-dir /<<PKGBUILDDIR>>/target --package tree-sitter-cli\@0.22.6 returned exit code 101 make[1]: *** [debian/rules:23: override_dh_auto_install] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:10: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

