Skip to content

ICE in libsyntax/diagnostic.rs on Windows 7SP1 #22372

@dhodder

Description

@dhodder

C:\Users\dmh\Documents\GitHub\robinson>ver

Microsoft Windows [Version 6.1.7601]

C:\Users\dmh\Documents\GitHub\robinson>rustc -V
rustc 1.0.0-nightly (b63cee4 2015-02-14 17:01:11 +0000)

C:\Users\dmh\Documents\GitHub\robinson>cargo build
Compiling rustc-serialize v0.2.12
Compiling libc v0.1.2
Compiling log v0.2.3
Compiling getopts v0.2.4
Compiling rand v0.1.2
Compiling num v0.1.12 (https://github.com/rust-lang/num#e2f0b0d3)
Compiling image v0.2.0-alpha.10 (https://github.com/PistonDevelopers/image#ff
bd2d5e)
C:\Users\dmh.cargo\git\checkouts\image-f4d4ca6613133df7\master\src\imageops\col
orops.rs:62:46: 62:66 error: internal compiler error: coherence failed to report
ambiguity: cannot locate the impl of the trait traits::Num for the type <<I as image::GenericImage>::Pixel as buffer::Pixel>::Subpixel
C:\Users\dmh.cargo\git\checkouts\image-f4d4ca6613133df7\master\src\imageops\col
orops.rs:62 let max: <I::Pixel as Pixel>::Subpixel = Primitive::max_value();

                                                     ^~~~~~~~~~~~~~~~~~~~

note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugr
eport.html
note: run with RUST_BACKTRACE=1 for a backtrace
thread 'rustc' panicked at 'Box', C:\bot\slave\nightly-dist-rustc-win-64\bu
ild\src\libsyntax\diagnostic.rs:129

stack backtrace:
1: 0x69c0a0cb - sys::backtrace::write::hd7131585f5b2f2ccsUB
2: 0x69c25fa4 - rt::unwind::register::hd946ac1eb6b2a008DUK
3: 0x69b836ef - rt::unwind::begin_unwind_inner::h6c0bcf6fcbea0fa8VRK
4: 0x4dd349 - diagnostic::SpanHandler::span_bug::h13a85dc30b7a43729
6E
5: 0x4dd313 - diagnostic::SpanHandler::span_bug::h13a85dc30b7a43729
6E
6: 0xdd8180 - middle::traits::error_reporting::report_fulfillment_e
rrors::h3f309e66f3cdefccsuO
7: 0x6d4e3204 - check::FnCtxt<'a, 'tcx>.ty..ClosureTyper<'tcx>::closu
re_upvars::h6cbc05323f6064fcB6m
8: 0x6d58f763 - check::CheckItemTypesVisitor<'a, 'tcx>.Visitor<'tcx>:
:visit_ty::h6c76239f30291999gbn
9: 0x6d58704b - check::CheckItemTypesVisitor<'a, 'tcx>.Visitor<'tcx>:
:visit_item::h46223231ede4d5c6Tan
10: 0x6d58d353 - check::CheckItemTypesVisitor<'a, 'tcx>.Visitor<'tcx>:
:visit_item::h46223231ede4d5c6Tan
11: 0x6d58d35e - check::CheckItemTypesVisitor<'a, 'tcx>.Visitor<'tcx>:
:visit_item::h46223231ede4d5c6Tan
12: 0x6d659a4f - check_crate::h0296000c89786e84OxB
13: 0x6d654762 - check_crate::h0296000c89786e84OxB
14: 0x70b1eb58 - driver::phase_3_run_analysis_passes::hc155b6fd43eaf03
7SGa
15: 0x70b02618 - driver::compile_input::hd7fe16b2e6450dc9Eba
16: 0x70bd277c - run_compiler::h99cb0f2869b1e2ae5bc
17: 0x70bd038b - run::h0baac35528e181a8Ibc
18: 0x70bcf09a - run::h0baac35528e181a8Ibc
19: 0x69c53e6c - rust_try
20: 0x69c53e49 - rust_try
21: 0x70bcf70c - run::h0baac35528e181a8Ibc
22: 0x69c16052 - sys::tcp::TcpListener::bind::h3152f574289a461cQaG
23: 0x774359ed - BaseThreadInitThunk

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions