[Pkg-rust-maintainers] Bug#959694: rust-ucd-generate FTBFS on 32bit

Adrian Bunk bunk at debian.org
Mon May 4 08:33:58 BST 2020


Source: rust-ucd-generate
Version: 0.2.3-1
Severity: important
Tags: ftbfs fixed-upstream
Forwarded: https://github.com/BurntSushi/ucd-generate/issues/13

https://buildd.debian.org/status/package.php?p=rust-ucd-generate

...
error[E0599]: no method named `to_u64` found for type `regex_automata::DenseDFA<std::vec::Vec<usize>, usize>` in the current scope
  --> src/regex.rs:29:31
   |
29 |                 let dfa = dfa.to_u64()?.to_sparse()?;
   |                               ^^^^^^ help: there is a method with a similar name: `to_u16`

error[E0599]: no method named `to_u64` found for type `regex_automata::DenseDFA<std::vec::Vec<usize>, usize>` in the current scope
  --> src/regex.rs:49:31
   |
49 |                 let dfa = dfa.to_u64()?;
   |                               ^^^^^^ help: there is a method with a similar name: `to_u16`

error[E0277]: the trait bound `u64: regex_automata::StateID` is not satisfied
  --> src/regex.rs:81:34
   |
81 |                 let re = builder.build_with_size_sparse::<u64>(&pattern)?;
   |                                  ^^^^^^^^^^^^^^^^^^^^^^ the trait `regex_automata::StateID` is not implemented for `u64`

error[E0277]: the trait bound `u64: regex_automata::StateID` is not satisfied
  --> src/regex.rs:81:26
   |
81 |                 let re = builder.build_with_size_sparse::<u64>(&pattern)?;
   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `regex_automata::StateID` is not implemented for `u64`
   |
   = note: required by `regex_automata::SparseDFA`

error[E0277]: the trait bound `u64: regex_automata::StateID` is not satisfied
  --> src/regex.rs:82:21
   |
82 |                 wtr.sparse_regex(args.name(), &re)?;
   |                     ^^^^^^^^^^^^ the trait `regex_automata::StateID` is not implemented for `u64`

error[E0277]: the trait bound `u64: regex_automata::StateID` is not satisfied
   --> src/regex.rs:101:34
    |
101 |                 let re = builder.build_with_size::<u64>(&pattern)?;
    |                                  ^^^^^^^^^^^^^^^ the trait `regex_automata::StateID` is not implemented for `u64`

error[E0277]: the trait bound `u64: regex_automata::StateID` is not satisfied
   --> src/regex.rs:101:26
    |
101 |                 let re = builder.build_with_size::<u64>(&pattern)?;
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `regex_automata::StateID` is not implemented for `u64`
    |
    = note: required by `regex_automata::DenseDFA`

error[E0277]: the trait bound `u64: regex_automata::StateID` is not satisfied
   --> src/regex.rs:102:21
    |
102 |                 wtr.dense_regex(args.name(), &re)?;
    |                     ^^^^^^^^^^^ the trait `regex_automata::StateID` is not implemented for `u64`

error: aborting due to 8 previous errors

Some errors have detailed explanations: E0277, E0599.
For more information about an error, try `rustc --explain E0277`.
error: Could not compile `ucd-generate`.

Caused by:
  process didn't exit successfully: `CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/ucd-generate' CARGO_PRIMARY_PACKAGE=1 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_PRE= CARGO_PKG_DESCRIPTION='A program for generating packed representations of the Unicode character
database that can be efficiently searched.
' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_NAME=ucd-generate CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/ucd-generate' CARGO_PKG_AUTHORS='Andrew Gallant <jamslam at gmail.com>' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION=0.2.3 rustc --crate-name ucd_generate src/main.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=dac2bbd54db0f635 -C extra-filename=-dac2bbd54db0f635 --out-dir /<<PKGBUILDDIR>>/target/i686-unknown-linux-gnu/debug/deps --target i686-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/i686-unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/i686-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern byteorder=/<<PKGBUILDDIR>>/target/i686-unknown-linux-gnu/debug/deps/libbyteorder-2ebc87caf4f43a21.rlib --extern clap=/<<PKGBUILDDIR>>/target/i686-unknown-linux-gnu/debug/deps/libclap-4f7f870e116d3e63.rlib --extern fst=/<<PKGBUILDDIR>>/target/i686-unknown-linux-gnu/debug/deps/libfst-583a886a6ed600a6.rlib --extern regex_automata=/<<PKGBUILDDIR>>/target/i686-unknown-linux-gnu/debug/deps/libregex_automata-07e4fa37d5e61de8.rlib --extern ucd_parse=/<<PKGBUILDDIR>>/target/i686-unknown-linux-gnu/debug/deps/libucd_parse-8f20d7417d536338.rlib --extern ucd_trie=/<<PKGBUILDDIR>>/target/i686-unknown-linux-gnu/debug/deps/libucd_trie-5277cc5d2de97232.rlib --extern ucd_util=/<<PKGBUILDDIR>>/target/i686-unknown-linux-gnu/debug/deps/libucd_util-1a4bc2cf57d27b8b.rlib -C debuginfo=2 --cap-lints warn -C linker=i686-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/ucd-generate-0.2.3` (exit code: 1)
dh_auto_test: /usr/share/cargo/bin/cargo build returned exit code 101
make: *** [debian/rules:3: build-arch] Error 255



More information about the Pkg-rust-maintainers mailing list