🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7116

Bug#1156113: rust-numbat: FTBFS: error[E0432]: unresolved import `jiff::Zoned`

#7116
From: Sebastian Ramacher
Date: Wed, 02 Dec 2026 07:50
342 lines
17326 bytes
Source: rust-numbat
Version: 1.24.0-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org

Dear maintainer,

rust-numbat FTBFS:

error[E0432]: unresolved import `jiff::Zoned`
 --> src/datetime.rs:2:23
  |
2 | use jiff::{Timestamp, Zoned, civil::DateTime, fmt::rfc2822, tz::TimeZone};
  |                       ^^^^^ no `Zoned` in the root
  |
help: a similar name exists in the module (notice the capitalization)
  |
2 - use jiff::{Timestamp, Zoned, civil::DateTime, fmt::rfc2822, tz::TimeZone};
2 + use jiff::{Timestamp, zoned, civil::DateTime, fmt::rfc2822, tz::TimeZone};
  |

error[E0432]: unresolved import `jiff::Zoned`
 --> src/ffi/datetime.rs:4:5
  |
4 | use jiff::Zoned;
  |     ^^^^^^-----
  |           |
  |           no `Zoned` in the root
  |
help: a similar name exists in the module (notice the capitalization)
  |
4 - use jiff::Zoned;
4 + use jiff::zoned;
  |

error[E0432]: unresolved import `jiff::Zoned`
 --> src/value.rs:5:5
  |
5 | use jiff::Zoned;
  |     ^^^^^^-----
  |           |
  |           no `Zoned` in the root
  |
help: a similar name exists in the module (notice the capitalization)
  |
5 - use jiff::Zoned;
5 + use jiff::zoned;
  |

error[E0425]: cannot find type `Zoned` in crate `jiff`
  --> src/value.rs:76:46
   |
76 |     pub fn unsafe_as_datetime(self) -> jiff::Zoned {
   |                                              ^^^^^ not found in `jiff`

error[E0425]: cannot find type `Zoned` in crate `jiff`
   --> src/vm.rs:656:41
    |
656 |     fn pop_datetime(&mut self) -> jiff::Zoned {
    |                                         ^^^^^ not found in `jiff`

warning: unexpected `cfg` condition value: `plotting`
  --> src/lib.rs:28:7
   |
28 | #[cfg(feature = "plotting")]
   |       ^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `default`, `fetch-exchangerates`, `html-escape`, `html-formatter`, and `termcolor`
   = help: consider adding `plotting` 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: `plotting`
 --> src/ffi/plot.rs:1:7
  |
1 | #[cfg(feature = "plotting")]
  |       ^^^^^^^^^^^^^^^^^^^^
  |
  = note: expected values for `feature` are: `default`, `fetch-exchangerates`, `html-escape`, `html-formatter`, and `termcolor`
  = help: consider adding `plotting` 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: `plotting`
 --> src/ffi/plot.rs:9:7
  |
9 | #[cfg(feature = "plotting")]
  |       ^^^^^^^^^^^^^^^^^^^^
  |
  = note: expected values for `feature` are: `default`, `fetch-exchangerates`, `html-escape`, `html-formatter`, and `termcolor`
  = help: consider adding `plotting` 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: `plotting`
  --> src/ffi/plot.rs:12:7
   |
12 | #[cfg(feature = "plotting")]
   |       ^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `default`, `fetch-exchangerates`, `html-escape`, `html-formatter`, and `termcolor`
   = help: consider adding `plotting` 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: `plotting`
  --> src/ffi/plot.rs:20:7
   |
20 | #[cfg(feature = "plotting")]
   |       ^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `default`, `fetch-exchangerates`, `html-escape`, `html-formatter`, and `termcolor`
   = help: consider adding `plotting` 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: `plotting`
  --> src/ffi/plot.rs:71:7
   |
71 | #[cfg(feature = "plotting")]
   |       ^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `default`, `fetch-exchangerates`, `html-escape`, `html-formatter`, and `termcolor`
   = help: consider adding `plotting` 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: `plotting`
   --> src/ffi/plot.rs:110:7
    |
110 | #[cfg(feature = "plotting")]
    |       ^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `fetch-exchangerates`, `html-escape`, `html-formatter`, and `termcolor`
    = help: consider adding `plotting` 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: `plotting`
   --> src/ffi/plot.rs:117:7
    |
117 | #[cfg(feature = "plotting")]
    |       ^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `fetch-exchangerates`, `html-escape`, `html-formatter`, and `termcolor`
    = help: consider adding `plotting` 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: `plotting`
   --> src/ffi/plot.rs:147:11
    |
147 | #[cfg(not(feature = "plotting"))]
    |           ^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `fetch-exchangerates`, `html-escape`, `html-formatter`, and `termcolor`
    = help: consider adding `plotting` 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: use of deprecated function `codespan_reporting::term::emit`: Use `emit_to_write_style` instead or depending on the writer use `emit_to_io_write` or `emit_to_string`
   --> src/lib.rs:856:19
    |
856 |             term::emit(&mut writer, &config, &self.resolver.files, &diagnostic).unwrap();
    |                   ^^^^
    |
    = note: `#[warn(deprecated)]` on by default

error[E0599]: no method named `to_zoned` found for struct `jiff::civil::DateTime` in the current scope
  --> src/datetime.rs:21:42
   |
21 |         && let zoned @ Ok(_) = timestamp.to_zoned(TimeZone::UTC)
   |                                          ^^^^^^^^
   |
help: there is a method `to_owned` with a similar name, but with different arguments
  --> /usr/src/rustc-1.99.1/library/alloc/src/borrow.rs:48:4

error[E0599]: no method named `to_zoned` found for struct `jiff::civil::DateTime` in the current scope
  --> src/datetime.rs:64:29
   |
64 |             return datetime.to_zoned(tz);
   |                             ^^^^^^^^
   |
help: there is a method `to_owned` with a similar name, but with different arguments
  --> /usr/src/rustc-1.99.1/library/alloc/src/borrow.rs:48:4

error[E0599]: no method named `to_zoned` found for struct `jiff::civil::DateTime` in the current scope
  --> src/datetime.rs:69:23
   |
69 |             return dt.to_zoned(get_local_timezone_or_utc());
   |                       ^^^^^^^^
   |
help: there is a method `to_owned` with a similar name, but with different arguments
  --> /usr/src/rustc-1.99.1/library/alloc/src/borrow.rs:48:4

error[E0599]: no method named `to_zoned` found for struct `jiff::Timestamp` in the current scope
  --> src/datetime.rs:73:44
   |
73 |     Timestamp::from_str(input).map(|ts| ts.to_zoned(get_local_timezone_or_utc()))
   |                                            ^^^^^^^^
   |
help: there is a method `to_owned` with a similar name, but with different arguments
  --> /usr/src/rustc-1.99.1/library/alloc/src/borrow.rs:48:4

error[E0599]: no method named `to_zoned` found for struct `jiff::Timestamp` in the current scope
   --> src/ffi/datetime.rs:104:10
    |
102 |       let dt = Timestamp::from_microsecond(us)
    |  ______________-
103 | |         .map_err(|_| RuntimeErrorKind::DateTimeOutOfRange)?
104 | |         .to_zoned(datetime::get_local_timezone_or_utc());
    | |_________-^^^^^^^^
    |
help: there is a method `to_owned` with a similar name, but with different arguments
   --> /usr/src/rustc-1.99.1/library/alloc/src/borrow.rs:48:4

Some errors have detailed explanations: E0425, E0432, E0599.
For more information about an error, try `rustc --explain E0425`.
warning: `numbat` (lib) generated 10 warnings
error: could not compile `numbat` (lib) due to 10 previous errors; 10 warnings emitted

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=numbat CARGO_MANIFEST_DIR=/build/reproducible-path/rust-numbat-1.24.0 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-numbat-1.24.0/Cargo.toml CARGO_PKG_AUTHORS='David Peter <mail@david-peter.de>' CARGO_PKG_DESCRIPTION='A statically typed programming language for scientific computations with first class support for physical dimensions and units.' CARGO_PKG_HOMEPAGE='https://numbat.dev/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=numbat CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/sharkdp/numbat' CARGO_PKG_RUST_VERSION=1.88 CARGO_PKG_VERSION=1.24.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=24 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/build/reproducible-path/rust-numbat-1.24.0/target/debug/deps OUT_DIR=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/build/numbat-71e841d069b2b722/out rustc --crate-name numbat --edition=2024 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 debuginfo=2 --cfg 'feature="default"' --cfg 'feature="fetch-exchangerates"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "fetch-exchangerates", "html-escape", "html-formatter", "termcolor"))' -C metadata=4085a726a96f13b5 -C extra-filename=-68b54c6c54a17d79 --out-dir /build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/build/reproducible-path/rust-numbat-1.24.0/target/debug/deps --extern codespan_reporting=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libcodespan_reporting-3ad5d2f6d4807f10.rmeta --extern compact_str=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libcompact_str-846d9f434bb80329.rmeta --extern heck=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libheck-a20cec1ce2cf904a.rmeta --extern indexmap=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libindexmap-7aea63703705a444.rmeta --extern itertools=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libitertools-fbdc4e4d7fedb15a.rmeta --extern jiff=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libjiff-863a8f9d31dfc600.rmeta --extern libc=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-794e85e168d922a6.rmeta --extern mendeleev=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libmendeleev-2f287d1607790f7d.rmeta --extern num_format=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libnum_format-752561b9e54202e6.rmeta --extern num_integer=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libnum_integer-f32992bb5c6f0d71.rmeta --extern num_rational=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libnum_rational-0dd2b52a3ad1b80e.rmeta --extern num_traits=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libnum_traits-9d8933353e634e1b.rmeta --extern numbat_exchange_rates=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libnumbat_exchange_rates-6037e89390af0158.rmeta --extern pretty_dtoa=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libpretty_dtoa-227503c1221a9b49.rmeta --extern rand=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/librand-46906ad54f0e4d7c.rmeta --extern rust_embed=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/librust_embed-aee6f36cd9c8e8fa.rmeta --extern strfmt=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libstrfmt-2224627ed51ce5ad.rmeta --extern strsim=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libstrsim-5239be2368c99847.rmeta --extern thiserror=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libthiserror-12fcaa4aedc21fa7.rmeta --extern unicode_ident=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libunicode_ident-a142016664892c3f.rmeta --extern unicode_width=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libunicode_width-118dfc5f091149c0.rmeta --extern walkdir=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/deps/libwalkdir-f42349cc7c7e0b9b.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /build/reproducible-path/rust-numbat-1.24.0=/usr/share/cargo/registry/numbat-1.24.0 --remap-path-prefix /build/reproducible-path/rust-numbat-1.24.0/debian/cargo_registry=/usr/share/cargo/registry -L native=/build/reproducible-path/rust-numbat-1.24.0/target/x86_64-unknown-linux-gnu/debug/build/ring-eac3c283aebbd791/out` (exit status: 1)
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101

See
https://buildd.debian.org/status/fetch.php?pkg=rust-numbat&arch=amd64&ver=1.24.0-2&stamp=1796063481&raw=0
for a full build log.

Cheers
-- 
Sebastian Ramacher
Technical Details
Message-ID: <O5Ngd-fvbo-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!feed-us-ny.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!feed-us-ny.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sebastian Ramacher <sramacher@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156113: rust-numbat: FTBFS: error[E0432]: unresolved import `jiff::Zoned`
Date: Wed, 02 Dec 2026 08:50:01 +0100
Message-ID: <O5Ngd-fvbo-3@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Dec  2 07:47:14 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1156113@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sramacher@debian.org, pkg-rust-maintainers@alioth-lists.debian.net
X-Debian-Pr-Message: report 1156113
X-Debian-Pr-Package: src:rust-numbat
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: rust-numbat
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-User: sramacher
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006448
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 342
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 2 Dec 2026 08:44:37 +0100
X-Original-Message-ID: <aw_MZYRxEX5cAtdX@ramacher.at>