| Summary: | www-client/firefox-57.0.4 : error: unused import: std::ascii::AsciiExt | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | bob.mt.wya, dustin, gentoo, leonchik1976, noein93, sarnex, tka, xaviermiller |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 www-client:firefox-57.0.4:20180124-234503.log.bz2 Fix "unused import" error |
||
Created attachment 516580 [details]
emerge-info.txt
Created attachment 516582 [details]
emerge-history.txt
Created attachment 516584 [details]
environment
Created attachment 516586 [details]
etc.portage.tbz2
Created attachment 516588 [details]
logs.tbz2
Created attachment 516590 [details]
temp.tbz2
Created attachment 516592 [details]
www-client:firefox-57.0.4:20180124-234503.log.bz2
Created attachment 516866 [details, diff]
Fix "unused import" error
Looks like the patch from #comment #8 is not sufficient: error: unused import: `std::ascii::AsciiExt` --> /home/gentoo/tmp/portage/www-client/firefox-57.0.4/work/firefox-57.0.4/ff/toolkit/library/x86_64-unknown-linux-gnu/release/build/style-79e9f49a83b5565b/out/gecko/pseudo_element_definition.rs:1270:13 | 1270 | use std::ascii::AsciiExt; | ^^^^^^^^^^^^^^^^^^^^ | note: lint level defined here --> /home/gentoo/tmp/portage/www-client/firefox-57.0.4/work/firefox-57.0.4/servo/components/style/lib.rs:26:9 | 26 | #![deny(warnings)] | ^^^^^^^^ = note: #[deny(unused_imports)] implied by #[deny(warnings)] error: unused import: `std::ascii::AsciiExt` --> /home/gentoo/tmp/portage/www-client/firefox-57.0.4/work/firefox-57.0.4/ff/toolkit/library/x86_64-unknown-linux-gnu/release/build/style-79e9f49a83b5565b/out/gecko/pseudo_element_definition.rs:1640:13 | 1640 | use std::ascii::AsciiExt; | ^^^^^^^^^^^^^^^^^^^^ error: unused import: `std::ascii::AsciiExt` --> /home/gentoo/tmp/portage/www-client/firefox-57.0.4/work/firefox-57.0.4/ff/toolkit/library/x86_64-unknown-linux-gnu/release/build/style-79e9f49a83b5565b/out/properties.rs:25511:17 | 25511 | use std::ascii::AsciiExt; | ^^^^^^^^^^^^^^^^^^^^ error: unused import: `std::ascii::AsciiExt` --> /home/gentoo/tmp/portage/www-client/firefox-57.0.4/work/firefox-57.0.4/ff/toolkit/library/x86_64-unknown-linux-gnu/release/build/style-79e9f49a83b5565b/out/properties.rs:36640:17 | 36640 | use std::ascii::AsciiExt; | ^^^^^^^^^^^^^^^^^^^^ error: aborting due to 4 previous errors I ran into the same issue this weekend during an emerge -e @world, and came across this rather angry Reddit post that points out Firefox 57 requires Rust 1.19 to build: https://www.reddit.com/r/rust/comments/7rjvfu/this_is_why_you_should_not_treat_warnings_as/ Initially I tried forcing Rust to downgrade, but Firefox 57 keeps trying to pull in the latest Rust. I wound up switching to the Mozilla overlay with layman and installed Firefox 58 w/ Rust 1.23.0-r1 to resolve my issue, but it seems 57 definitely needs the lower Rust version in the main Gentoo repo. Mozilla's requirements chart does seem to imply FF 57 stops at Rust 1.19: https://wiki.mozilla.org/Rust_Update_Policy_for_Firefox. *** Bug 645992 has been marked as a duplicate of this bug. *** I can confirm that firefox-58 is working with rust-1.23 here. 57 hsa been removed in favour of 58 *** Bug 645944 has been marked as a duplicate of this bug. *** |
Compiling bindgen v0.29.1 Compiling style v0.0.1 (file:///var/tmp/portage/www-client/firefox-57.0.4/work/firefox-57.0.4/servo/components/style) error: unused import: `std::ascii::AsciiExt` --> /var/tmp/portage/www-client/firefox-57.0.4/work/firefox-57.0.4/servo/components/style/gecko_string_cache/mod.rs:16:5 | 16 | use std::ascii::AsciiExt; ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome_libressl-test_20180117-214426 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv www-client/firefox [ebuild N ] www-client/firefox-52.6.0 USE="dbus gmp-autoupdate jemalloc startup-notification system-icu {test} -bindist -custom-cflags -custom-optimization -debug -eme-free -gtk2 -hardened -hwaccel -jack (-neon) -pgo -pulseaudio (-rust) (-selinux) (-system-cairo) -system-harfbuzz -system-jpeg -system-libevent -system-libvpx -system-sqlite -wifi" L10N="-ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"