Skip to content

Instantly share code, notes, and snippets.

View scottcarr's full-sized avatar

Scott Carr scottcarr

  • Detroit, MI
View GitHub Profile
# scarr @ scarr in ~/mozilla/rust-workspace/rust on git:dominator-cache x [15:21:07] C:101
$ RUSTC_BOOTSTRAP_KEY=a4922355 ./x86_64-apple-darwin/stage1/bin/rustc src/librustc_data_structures/lib.rs --test
src/librustc_data_structures/graph_algorithms/reachable/test.rs:30:38: 30:47 error: type annotations required: cannot resolve `<_ as graph_algorithms::Graph>::Node == i32` [E0284]
src/librustc_data_structures/graph_algorithms/reachable/test.rs:30 assert!((0..6).all(|i| reachable.can_reach(0, i)));
^~~~~~~~~
src/librustc_data_structures/graph_algorithms/reachable/test.rs:30:5: 30:56 note: in this expansion of assert! (defined in <std macros>)
error: aborting due to previous error
digraph "Post dominator tree for 'square' function" {
label="Post dominator tree for 'square' function";
Node0x7fed7bc104d0 [shape=record,label="{Post dominance root node}"];
}
35
28
26
25
21
19
17
13
12
12
run mir-opt [x86_64-apple-darwin]: x86_64-apple-darwin/stage1/bin/compiletest
thread 'main' panicked at 'invalid mode', src/libcore/option.rs:699
note: Run with `RUST_BACKTRACE=1` for a backtrace.
make: *** [tmp/check-stage1-T-x86_64-apple-darwin-H-x86_64-apple-darwin-mir-opt.ok] Error 101
src/librustc_mir/transform/move_up_propagation.rs:358:13: 358:37 note: in this expansion of debug! (defined in <log macros>)
<log macros>:3:1: 5:2 warning: static item is never used: `LOC`, #[warn(dead_code)] on by default
<log macros>:3 static LOC : :: log :: LogLocation = :: log :: LogLocation {
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
src/liblibc/src/unix/bsd/apple/mod.rs:959:58: 962:2 error: constant contains unimplemented expression type [E0019]
src/liblibc/src/unix/bsd/apple/mod.rs:959
^
src/liblibc/src/unix/bsd/apple/mod.rs:959:58: 962:2 error: blocks in constants are limited to items and tail expressions [E0016]
src/liblibc/src/unix/bsd/apple/mod.rs:959
^
src/liblibc/src/unix/bsd/apple/mod.rs:959:58: 962:2 error: constant contains unimplemented expression type [E0019]
src/liblibc/src/unix/bsd/apple/mod.rs:959
^
src/liblibc/src/unix/bsd/apple/mod.rs:959:58: 962:2 error: blocks in constants are limited to items and tail expressions [E0016]
cfg: version 1.12.0-dev (8eb7e6a0f 2016-07-28)
cfg: build triple x86_64-apple-darwin
cfg: host triples x86_64-apple-darwin
cfg: target triples x86_64-apple-darwin
cfg: enabling debug assertions (CFG_ENABLE_DEBUG_ASSERTIONS)
cfg: enabling debuginfo (CFG_ENABLE_DEBUGINFO)
cfg: host for x86_64-apple-darwin is x86_64
cfg: os for x86_64-apple-darwin is apple-darwin
cfg: have good valgrind for x86_64-apple-darwin
cfg: using CC=ccache clang (CFG_CC)
cfg: version 1.12.0-dev (8eb7e6a0f 2016-07-28)
cfg: build triple x86_64-apple-darwin
cfg: host triples x86_64-apple-darwin
cfg: target triples x86_64-apple-darwin
cfg: enabling debug assertions (CFG_ENABLE_DEBUG_ASSERTIONS)
cfg: enabling debuginfo (CFG_ENABLE_DEBUGINFO)
cfg: host for x86_64-apple-darwin is x86_64
cfg: os for x86_64-apple-darwin is apple-darwin
cfg: have good valgrind for x86_64-apple-darwin
cfg: using CC=ccache clang (CFG_CC)
// MIR for `test`
// node_id = 4
// pass_name = MoveUpPropagation
// disambiguator = after
fn test(arg0: &[u64; 8]) -> [u64; 8] {
scope 1 {
let var0: &[u64; 8]; // "a" in scope 1 at main.rs:3:13: 3:14
scope 2 {
scope 3 {