Closed Bug 1547969 Opened 1 year ago Closed 1 year ago

Permanent error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)

Categories

(Testing :: Code Coverage, defect, P5)

Version 3
defect

Tracking

(firefox-esr60 unaffected, firefox67 unaffected, firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox-esr60 --- unaffected
firefox67 --- unaffected
firefox68 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Filed by: rgurzau [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=243600699&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/FAqKNfmIQEuOlQ0H0a-3yA/runs/0/artifacts/public/logs/live_backing.log


[task 2019-04-30T12:23:24.590Z] 12:23:24 INFO - warning: unused import: std::ascii::AsciiExt
[task 2019-04-30T12:23:24.593Z] 12:23:24 INFO - --> /builds/worker/workspace/build/src/third_party/rust/percent-encoding/lib.rs:35:5
[task 2019-04-30T12:23:24.593Z] 12:23:24 INFO - |
[task 2019-04-30T12:23:24.593Z] 12:23:24 INFO - 35 | use std::ascii::AsciiExt;
[task 2019-04-30T12:23:24.593Z] 12:23:24 INFO - | ^^^^^^^^^^^^^^^^^^^^
[task 2019-04-30T12:23:24.593Z] 12:23:24 INFO - |
[task 2019-04-30T12:23:24.593Z] 12:23:24 INFO - = note: #[warn(unused_imports)] on by default
[task 2019-04-30T12:23:24.593Z] 12:23:24 INFO - Running /builds/worker/workspace/build/src/rustc/bin/rustc --edition=2018 --crate-name svg_fmt /builds/worker/workspace/build/src/third_party/rust/svg_fmt/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=1 -C panic=abort -C debuginfo=2 -C debug-assertions=on -C metadata=938c2844ad4b9dec -C extra-filename=-938c2844ad4b9dec --out-dir /builds/worker/workspace/build/src/obj-firefox/x86_64-apple-darwin/debug/deps --target x86_64-apple-darwin -C linker=/builds/worker/workspace/build/src/build/cargo-linker -L dependency=/builds/worker/workspace/build/src/obj-firefox/x86_64-apple-darwin/debug/deps -L dependency=/builds/worker/workspace/build/src/obj-firefox/debug/deps --cap-lints warn -C opt-level=2 -C debuginfo=2 -Ccodegen-units=1 -Zprofile -Zno-landing-pads -Clink-dead-code -Coverflow-checks=off
[task 2019-04-30T12:23:24.593Z] 12:23:24 INFO - Compiling mp4parse_fallible v0.0.1
[task 2019-04-30T12:23:24.594Z] 12:23:24 INFO - Compiling error-chain v0.11.0
[task 2019-04-30T12:23:24.594Z] 12:23:24 INFO - Running /builds/worker/workspace/build/src/rustc/bin/rustc --crate-name mp4parse_fallible /builds/worker/workspace/build/src/third_party/rust/mp4parse_fallible/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=1 -C panic=abort -C debuginfo=2 -C debug-assertions=on -C metadata=26efd97bb8248e87 -C extra-filename=-26efd97bb8248e87 --out-dir /builds/worker/workspace/build/src/obj-firefox/x86_64-apple-darwin/debug/deps --target x86_64-apple-darwin -C linker=/builds/worker/workspace/build/src/build/cargo-linker -L dependency=/builds/worker/workspace/build/src/obj-firefox/x86_64-apple-darwin/debug/deps -L dependency=/builds/worker/workspace/build/src/obj-firefox/debug/deps --cap-lints warn -C opt-level=2 -C debuginfo=2 -Ccodegen-units=1 -Zprofile -Zno-landing-pads -Clink-dead-code -Coverflow-checks=off
[task 2019-04-30T12:23:24.594Z] 12:23:24 INFO - Compiling slab v0.3.0
[task 2019-04-30T12:23:24.595Z] 12:23:24 INFO - Running /builds/worker/workspace/build/src/rustc/bin/rustc --crate-name error_chain /builds/worker/workspace/build/src/third_party/rust/error-chain/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=1 -C panic=abort -C debuginfo=2 -C debug-assertions=on -C metadata=342aaa927c7ce8c4 -C extra-filename=-342aaa927c7ce8c4 --out-dir /builds/worker/workspace/build/src/obj-firefox/x86_64-apple-darwin/debug/deps --target x86_64-apple-darwin -C linker=/builds/worker/workspace/build/src/build/cargo-linker -L dependency=/builds/worker/workspace/build/src/obj-firefox/x86_64-apple-darwin/debug/deps -L dependency=/builds/worker/workspace/build/src/obj-firefox/debug/deps --cap-lints warn -C opt-level=2 -C debuginfo=2 -Ccodegen-units=1 -Zprofile -Zno-landing-pads -Clink-dead-code -Coverflow-checks=off
[task 2019-04-30T12:23:24.595Z] 12:23:24 INFO - Running /builds/worker/workspace/build/src/rustc/bin/rustc --crate-name slab /builds/worker/workspace/build/src/third_party/rust/slab-0.3.0/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=1 -C panic=abort -C debuginfo=2 -C debug-assertions=on -C metadata=c10c7d502625ca83 -C extra-filename=-c10c7d502625ca83 --out-dir /builds/worker/workspace/build/src/obj-firefox/x86_64-apple-darwin/debug/deps --target x86_64-apple-darwin -C linker=/builds/worker/workspace/build/src/build/cargo-linker -L dependency=/builds/worker/workspace/build/src/obj-firefox/x86_64-apple-darwin/debug/deps -L dependency=/builds/worker/workspace/build/src/obj-firefox/debug/deps --cap-lints warn -C opt-level=2 -C debuginfo=2 -Ccodegen-units=1 -Zprofile -Zno-landing-pads -Clink-dead-code -Coverflow-checks=off
[task 2019-04-30T12:23:24.595Z] 12:23:24 INFO - Compiling lazycell v0.4.0
[task 2019-04-30T12:23:24.595Z] 12:23:24 INFO - Running /builds/worker/workspace/build/src/rustc/bin/rustc --crate-name lazycell /builds/worker/workspace/build/src/third_party/rust/lazycell-0.4.0/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=1 -C panic=abort -C debuginfo=2 -C debug-assertions=on -C metadata=ab1aa457f0416a81 -C extra-filename=-ab1aa457f0416a81 --out-dir /builds/worker/workspace/build/src/obj-firefox/x86_64-apple-darwin/debug/deps --target x86_64-apple-darwin -C linker=/builds/worker/workspace/build/src/build/cargo-linker -L dependency=/builds/worker/workspace/build/src/obj-firefox/x86_64-apple-darwin/debug/deps -L dependency=/builds/worker/workspace/build/src/obj-firefox/debug/deps --cap-lints warn -C opt-level=2 -C debuginfo=2 -Ccodegen-units=1 -Zprofile -Zno-landing-pads -Clink-dead-code -Coverflow-checks=off
[task 2019-04-30T12:23:24.595Z] 12:23:24 ERROR - error[E0658]: imports can only refer to extern crate names passed with --extern on stable channel (see issue #53130)
[task 2019-04-30T12:23:24.595Z] 12:23:24 INFO - --> /builds/worker/workspace/build/src/third_party/rust/svg_fmt/src/lib.rs:4:9
[task 2019-04-30T12:23:24.596Z] 12:23:24 INFO - |
[task 2019-04-30T12:23:24.596Z] 12:23:24 INFO - 1 | mod svg;
[task 2019-04-30T12:23:24.596Z] 12:23:24 INFO - | -------- not an extern crate passed with --extern
[task 2019-04-30T12:23:24.596Z] 12:23:24 INFO - ...
[task 2019-04-30T12:23:24.596Z] 12:23:24 INFO - 4 | pub use svg::*;
[task 2019-04-30T12:23:24.596Z] 12:23:24 INFO - | ^^^
[task 2019-04-30T12:23:24.597Z] 12:23:24 INFO - |
[task 2019-04-30T12:23:24.597Z] 12:23:24 INFO - = help: add #![feature(uniform_paths)] to the crate attributes to enable
[task 2019-04-30T12:23:24.597Z] 12:23:24 INFO - note: this import refers to the module defined here
[task 2019-04-30T12:23:24.597Z] 12:23:24 INFO - --> /builds/worker/workspace/build/src/third_party/rust/svg_fmt/src/lib.rs:1:1
[task 2019-04-30T12:23:24.598Z] 12:23:24 INFO - |
[task 2019-04-30T12:23:24.599Z] 12:23:24 INFO - 1 | mod svg;
[task 2019-04-30T12:23:24.599Z] 12:23:24 INFO - | ^^^^^^^^
[task 2019-04-30T12:23:24.603Z] 12:23:24 ERROR - error[E0658]: imports can only refer to extern crate names passed with --extern on stable channel (see issue #53130)
[task 2019-04-30T12:23:24.604Z] 12:23:24 INFO - --> /builds/worker/workspace/build/src/third_party/rust/svg_fmt/src/lib.rs:5:9
[task 2019-04-30T12:23:24.605Z] 12:23:24 INFO - |
[task 2019-04-30T12:23:24.605Z] 12:23:24 INFO - 2 | mod layout;

Regressed by: 1547290
No longer regressed by: CVE-2016-9898

Will this be fixed by the Rust update from bug 1541313?

Flags: needinfo?(mh+mozilla)
Summary: Intermittent error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130) → Permanent error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)

Maybe? It's weird that base toolchain jobs, which use stable rust 1.32 aren't affected.

Flags: needinfo?(mh+mozilla)

Maybe we will have to start using a stable Rust (with RUSTC_BOOTSTRAP) to build ccov (bug 1473069).

Good, so it sounds like bug 1541313 fixed this.

Status: NEW → RESOLVED
Closed: 1 year ago
Depends on: 1541313
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.