Opened 4 weeks ago

Last modified 3 weeks ago

#71094 assigned defect

tectonic @0.14.1: error[E0282]: type annotations needed for `Box<_>` — at Version 1

Reported by: tbrup Owned by: l2dy (Zero King)
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: sequoia Cc:
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

Change History (2)

Changed 4 weeks ago by tbrup

Attachment: main.log added

comment:1 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sequoia added
Owner: set to l2dy
Status: newassigned
Summary: Compilation of tectonic fails on Sequoia 15.0.1tectonic @0.14.1: error[E0282]: type annotations needed for `Box<_>`

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
Note: See TracTickets for help on using tickets.