[MacPorts] #71094: tectonic @0.14.1: error[E0282]: type annotations needed for `Box<_>` (was: Compilation of tectonic fails on Sequoia 15.0.1)
MacPorts
noreply at macports.org
Sun Oct 13 16:05:33 UTC 2024
#71094: tectonic @0.14.1: error[E0282]: type annotations needed for `Box<_>`
-----------------------+----------------------
Reporter: tbrup | Owner: l2dy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.2
Resolution: | Keywords: sequoia
Port: tectonic |
-----------------------+----------------------
Changes (by ryandesign):
* owner: (none) => l2dy
* status: new => assigned
* keywords: => sequoia
Old description:
> 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
New description:
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
--
Comment:
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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71094#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list