tor-browser 13.5a9: error[E0412]: cannot find type `_Pred` in this scope on FreeBSD 14.1-RELEASE
Summary
tor-browser 13.5a9
Build fail on FreeBSD 14.1
error[E0412]: cannot find type _Pred
in this scope on FreeBSD 14.1-RELEASE
Steps to reproduce:
How one can reproduce the issue - this is very important.
- Go to /usr/port/www/tor-browser
- make
What is the current bug behavior?
Build fail on FreeBSD 14.1 amd64
error[E0412]: cannot find type _Pred
in this scope on FreeBSD 14.1-RELEASE
What is the expected behavior?
Good build as 13.3 amd64
Environment
jail FreeBSD-14.1 amd64
Relevant logs and/or screenshots
Build error on 14.1 amd64:
Compiling mp4parse v0.17.0 (https://github.com/mozilla/mp4parse-rust?rev=cf8b0e04de9c60f38f7f057f9f29c74d19336d0c#cf8b0e04)
Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=mp4parse CARGO_MANIFEST_DIR=/tmp/work/usr/ports/www/tor-browser/work/firefox-tor-browser-115.12.0esr-13.5-1-build2/third_party/rust/mp4parse CARGO_PKG_AUTHORS='Ralph Giles <giles@mozilla.com>:Matthew Gregan <kinetik@flim.org>:Alfredo Yang <ayang@mozilla.com>:Jon Bauman <jbauman@mozilla.com>:Bryce Seager van Dyk <bvandyk@mozilla.com>' CARGO_PKG_DESCRIPTION='Parser for ISO base media file format (mp4)' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MPL-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=mp4parse CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/mozilla/mp4parse-rust' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.17.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=17 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/tmp/work/usr/ports/www/tor-browser/work/.build/release/deps /usr/local/bin/rustc --crate-name mp4parse --edition=2018 /tmp/work/usr/ports/www/tor-browser/work/firefox-tor-browser-115.12.0esr-13.5-1-build2/third_party/rust/mp4parse/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=80 --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no --cfg 'feature="missing-pixi-permitted"' --cfg 'feature="unstable-api"' -C metadata=6498f7f0600bf14e -C extra-filename=-6498f7f0600bf14e --out-dir /tmp/work/usr/ports/www/tor-browser/work/.build/x86_64-unknown-freebsd/release/deps --target x86_64-unknown-freebsd -C linker=/tmp/work/usr/ports/www/tor-browser/work/firefox-tor-browser-115.12.0esr-13.5-1-build2/build/cargo-linker -C strip=debuginfo -L dependency=/tmp/work/usr/ports/www/tor-browser/work/.build/x86_64-unknown-freebsd/release/deps -L dependency=/tmp/work/usr/ports/www/tor-browser/work/.build/release/deps --extern bitreader=/tmp/work/usr/ports/www/tor-browser/work/.build/x86_64-unknown-freebsd/release/deps/libbitreader-233368de845ae624.rmeta --extern byteorder=/tmp/work/usr/ports/www/tor-browser/work/.build/x86_64-unknown-freebsd/release/deps/libbyteorder-5272e18bbf2217d2.rmeta --extern fallible_collections=/tmp/work/usr/ports/www/tor-browser/work/.build/x86_64-unknown-freebsd/release/deps/libfallible_collections-17ce037d1a543fac.rmeta --extern log=/tmp/work/usr/ports/www/tor-browser/work/.build/x86_64-unknown-freebsd/release/deps/liblog-796b5781b6e4f308.rmeta --extern num_traits=/tmp/work/usr/ports/www/tor-browser/work/.build/x86_64-unknown-freebsd/release/deps/libnum_traits-ad8e8f9964ca12e2.rmeta --extern static_assertions=/tmp/work/usr/ports/www/tor-browser/work/.build/x86_64-unknown-freebsd/release/deps/libstatic_assertions-1384f56eec953a81.rmeta --cap-lints warn --cap-lints warn -C target-cpu=core2 -Cembed-bitcode=yes -C codegen-units=1`
error[E0412]: cannot find type `_Pred` in this scope
--> /tmp/work/usr/ports/www/tor-browser/work/.build/x86_64-unknown-freebsd/release/build/style-ea1857e57f097f7a/out/gecko/structs.rs:34456:49
|
34456 | pub _base: root::std::__1::_And<_Pred>,
| ^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
34455 | pub struct tuple__EnableUTypesCtor<_Pred> {
| +++++++
Edited by Martin Filla