Opened 19 months ago
Last modified 16 months ago
#71094 assigned defect
tectonic @0.14.1: error[E0282]: type annotations needed for `Box<_>`
| Reported by: | tbrup | Owned by: | l2dy (Zero King) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.2 |
| Keywords: | sequoia | Cc: | fracai, mariusdkm, brolcz |
| Port: | tectonic |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Re-installing tectonic on Sequoia fails. Log file shows this error message:
:info:build Compiling time v0.3.22 ... some text deleted ... : this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update` :
Attached is the full log
Attachments (1)
Change History (7)
Changed 19 months ago by tbrup
comment:1 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|---|
| Keywords: | sequoia added |
| Owner: | set to l2dy |
| Status: | new → assigned |
| Summary: | Compilation of tectonic fails on Sequoia 15.0.1 → tectonic @0.14.1: error[E0282]: type annotations needed for `Box<_>` |
comment:2 Changed 19 months ago by fracai
| Cc: | fracai added |
|---|
comment:3 Changed 18 months ago by mariusdkm
Are there any updates to this?
The issue should be fixed in a recent tectonic commit:
https://github.com/tectonic-typesetting/tectonic/issues/1207
However, the most recent release (0.15.0) doesn't yet include this fix.
Homebrew fixed it using a patch: https://github.com/Homebrew/homebrew-core/pull/183096
comment:4 Changed 18 months ago by mariusdkm
| Cc: | mariusdkm added |
|---|
comment:5 Changed 18 months ago by l2dy (Zero King)
I'm waiting for the next release. In the meantime, pull requests with any workaround are welcome.
comment:6 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | brolcz added |
|---|
Has duplicate #71628.
Note: See
TracTickets for help on using
tickets.

The more complete error from the log is:
error[E0282]: type annotations needed for `Box<_>` --> macports/time-0.3.22/src/format_description/parse/mod.rs:83:9 | 83 | let items = format_items | ^^^^^ ... 86 | Ok(items.into()) | ---- type must be known at this point | = note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update` Compiling regex v1.8.4 Running `/opt/local/bin/rustc --crate-name regex --edition=2021 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_tectonic/tectonic/work/.home/.cargo/macports/regex-1.8.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="aho-corasick"' --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="perf"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("aho-corasick", "default", "memchr", "pattern", "perf", "perf-cache", "perf-dfa", "perf-inline", "perf-literal", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unstable", "use_std"))' -C metadata=b79ce1756d7e7516 -C extra-filename=-b79ce1756d7e7516 --out-dir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_tectonic/tectonic/work/tectonic-0.14.1/target/x86_64-apple-darwin/release/deps --target x86_64-apple-darwin -C linker=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_tectonic/tectonic/work/compwrap/ld/usr/bin/clang -C strip=debuginfo -L dependency=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_tectonic/tectonic/work/tectonic-0.14.1/target/x86_64-apple-darwin/release/deps -L dependency=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_tectonic/tectonic/work/tectonic-0.14.1/target/release/deps --extern aho_corasick=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_tectonic/tectonic/work/tectonic-0.14.1/target/x86_64-apple-darwin/release/deps/libaho_corasick-00acb945f240f2b8.rmeta --extern memchr=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_tectonic/tectonic/work/tectonic-0.14.1/target/x86_64-apple-darwin/release/deps/libmemchr-ffe0f9a479a91159.rmeta --extern regex_syntax=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_tectonic/tectonic/work/tectonic-0.14.1/target/x86_64-apple-darwin/release/deps/libregex_syntax-878206f68dc56e24.rmeta --cap-lints allow --remap-path-prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_tectonic/tectonic/work/tectonic-0.14.1= --remap-path-prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_tectonic/tectonic/work/.home/.cargo=` For more information about this error, try `rustc --explain E0282`. error: could not compile `time` (lib) due to 1 previous error