Description
Firefoxpwa 2.17.1 is not compiling against rust 1.89 due to the fact that it uses "mime" crate that fails because rust 1.89 has some new stricter analyzing. Need to also check other crates for compat with 1.89 rust
Did not know first where to post this bug (to GURU repo maintainers or you), but i read the ebuild file, 2.17.1 seems pretty fresh and i did not see issues like this yet in this repo.
Steps to Reproduce
- Compile firefox pwa 2.17.1 with rust version 1.89
- Downloading crates succeeds
- Compiling crates begins, mime crate failed to compile
Additional Information
Compiling mime v0.4.0-a.0 (/var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a)
Running `/opt/rust-bin-1.89.0/bin/rustc --crate-name mime --edition=2018 /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a/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 -C codegen-units=1 --cfg 'feature="serde1"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("macro", "mime-macro", "proc-macro-hack", "serde1"))' -C metadata=96b3ed22d54b8745 -C extra-filename=-ca6eb7f9a98d10a8 --out-dir /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/PWAsForFirefox-2.17.1/native/target/release/deps -C strip=debuginfo -L dependency=/var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/PWAsForFirefox-2.17.1/native/target/release/deps --extern mime_parse=/var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/PWAsForFirefox-2.17.1/native/target/release/deps/libmime_parse-1dc80c203e501536.rmeta --extern quoted_string=/var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/PWAsForFirefox-2.17.1/native/target/release/deps/libquoted_string-7f1663b77291b838.rmeta --extern serde1=/var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/PWAsForFirefox-2.17.1/native/target/release/deps/libserde-a7b2d73677b9231d.rmeta -C strip=none -C linker=x86_64-pc-linux-gnu-gcc -C target-feature=-crt-static -C link-arg=-Wl,-O1 -C link-arg=-Wl,--as-needed -C link-arg=-Wl,-z,pack-relative-relocs`
error: hiding a lifetime that's elided elsewhere is confusing
--> /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a/src/range.rs:202:19
|
202 | pub fn params(&self) -> impl Iterator<Item = (&str, Value)> {
| ^^^^^ ---- ----- the same lifetime is hidden here
| | |
| | the same lifetime is elided here
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
note: the lint level is defined here
--> /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a/src/lib.rs:2:9
|
2 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]`
help: use `'_` for type paths
|
202 | pub fn params(&self) -> impl Iterator<Item = (&str, Value<'_>)> {
| ++++
error: hiding a lifetime that's elided elsewhere is confusing
--> /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a/src/type_.rs:167:19
|
167 | pub fn params(&self) -> impl Iterator<Item = (&str, Value)> {
| ^^^^^ ---- ----- the same lifetime is hidden here
| | |
| | the same lifetime is elided here
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
167 | pub fn params(&self) -> impl Iterator<Item = (&str, Value<'_>)> {
| ++++
error: hiding a lifetime that's elided elsewhere is confusing
--> /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a/src/value.rs:29:28
|
29 | pub(crate) fn params(mime: &Mime) -> impl Iterator<Item = (&str, Value)> {
| ^^^^^ ---- ----- the same lifetime is hidden here
| | |
| | the same lifetime is elided here
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
29 | pub(crate) fn params(mime: &Mime) -> impl Iterator<Item = (&str, Value<'_>)> {
| ++++
error: could not compile `mime` (lib) due to 3 previous errors
Environment
Mime crate version: mime v0.4.0-a.0
RustC: 1.89.0
OS: Gentoo Linux amd64
Kernel: 6.12.47 LTS
Init system: SystemD
DE: KDE Plasma 6.4.5
Install method (portage)
Firefox version: 143.1
Description
Firefoxpwa 2.17.1 is not compiling against rust 1.89 due to the fact that it uses "mime" crate that fails because rust 1.89 has some new stricter analyzing. Need to also check other crates for compat with 1.89 rust
Did not know first where to post this bug (to GURU repo maintainers or you), but i read the ebuild file, 2.17.1 seems pretty fresh and i did not see issues like this yet in this repo.
Steps to Reproduce
Additional Information
Compiling mime v0.4.0-a.0 (/var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a) Running `/opt/rust-bin-1.89.0/bin/rustc --crate-name mime --edition=2018 /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a/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 -C codegen-units=1 --cfg 'feature="serde1"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("macro", "mime-macro", "proc-macro-hack", "serde1"))' -C metadata=96b3ed22d54b8745 -C extra-filename=-ca6eb7f9a98d10a8 --out-dir /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/PWAsForFirefox-2.17.1/native/target/release/deps -C strip=debuginfo -L dependency=/var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/PWAsForFirefox-2.17.1/native/target/release/deps --extern mime_parse=/var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/PWAsForFirefox-2.17.1/native/target/release/deps/libmime_parse-1dc80c203e501536.rmeta --extern quoted_string=/var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/PWAsForFirefox-2.17.1/native/target/release/deps/libquoted_string-7f1663b77291b838.rmeta --extern serde1=/var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/PWAsForFirefox-2.17.1/native/target/release/deps/libserde-a7b2d73677b9231d.rmeta -C strip=none -C linker=x86_64-pc-linux-gnu-gcc -C target-feature=-crt-static -C link-arg=-Wl,-O1 -C link-arg=-Wl,--as-needed -C link-arg=-Wl,-z,pack-relative-relocs` error: hiding a lifetime that's elided elsewhere is confusing --> /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a/src/range.rs:202:19 | 202 | pub fn params(&self) -> impl Iterator<Item = (&str, Value)> { | ^^^^^ ---- ----- the same lifetime is hidden here | | | | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing note: the lint level is defined here --> /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a/src/lib.rs:2:9 | 2 | #![deny(warnings)] | ^^^^^^^^ = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` help: use `'_` for type paths | 202 | pub fn params(&self) -> impl Iterator<Item = (&str, Value<'_>)> { | ++++ error: hiding a lifetime that's elided elsewhere is confusing --> /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a/src/type_.rs:167:19 | 167 | pub fn params(&self) -> impl Iterator<Item = (&str, Value)> { | ^^^^^ ---- ----- the same lifetime is hidden here | | | | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 167 | pub fn params(&self) -> impl Iterator<Item = (&str, Value<'_>)> { | ++++ error: hiding a lifetime that's elided elsewhere is confusing --> /var/tmp/portage/www-plugins/firefoxpwa-2.17.1/work/mime-57416f447a10c3343df7fe80deb0ae8a7c77cf0a/src/value.rs:29:28 | 29 | pub(crate) fn params(mime: &Mime) -> impl Iterator<Item = (&str, Value)> { | ^^^^^ ---- ----- the same lifetime is hidden here | | | | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 29 | pub(crate) fn params(mime: &Mime) -> impl Iterator<Item = (&str, Value<'_>)> { | ++++ error: could not compile `mime` (lib) due to 3 previous errorsEnvironment
Mime crate version: mime v0.4.0-a.0
RustC: 1.89.0
OS: Gentoo Linux amd64
Kernel: 6.12.47 LTS
Init system: SystemD
DE: KDE Plasma 6.4.5
Install method (portage)
Firefox version: 143.1