Skip to content

Instantly share code, notes, and snippets.

@LnL7
Last active April 5, 2017 22:25
Show Gist options
  • Save LnL7/a03d121e7ceabbca7b7d2216aace4be4 to your computer and use it in GitHub Desktop.
Save LnL7/a03d121e7ceabbca7b7d2216aace4be4 to your computer and use it in GitHub Desktop.
test [pretty] pretty/lto-syntax-extension.rs ... ok
test [pretty] pretty/macro-crate-outlive-expansion-phase.rs ... ok
test [pretty] pretty/macro-crate-does-hygiene-work.rs ... ok
test [pretty] pretty/macro-quote-1.rs ... FAILED
test [pretty] pretty/macro-crate-multi-decorator-literals.rs ... ok
test [pretty] pretty/macro-quote-cond.rs ... FAILED
test [pretty] pretty/macro-quote-empty-delims.rs ... FAILED
test [pretty] pretty/macro-crate-multi-decorator.rs ... ok
test [pretty] pretty/macro-crate.rs ... ok
test [pretty] pretty/mir-pass.rs ... ok
test [pretty] pretty/plugin-args-1.rs ... ok
test [pretty] pretty/plugin-args-2.rs ... ok
test [pretty] pretty/plugin-args-3.rs ... ok
test [pretty] pretty/mbe_matching_test_macro.rs ... ok
test [pretty] pretty/proc-macro/add-impl.rs ... ok
test [pretty] pretty/proc-macro/append-impl.rs ... ok
test [pretty] pretty/proc-macro/attr-args.rs ... ok
test [pretty] pretty/plugin-lib-ok-in-plugin.rs ... ok
test [pretty] pretty/proc-macro/crate-var.rs ... ok
test [pretty] pretty/plugin-plus-extern-crate.rs ... ok
test [pretty] pretty/proc-macro/derive-test.rs ... ok
test [pretty] pretty/proc-macro/derive-b.rs ... ok
test [pretty] pretty/proc-macro/derive-same-struct.rs ... ok
test [pretty] pretty/proc-macro/expand-with-a-macro.rs ... ok
test [pretty] pretty/proc-macro/smoke.rs ... ok
test [pretty] pretty/proc-macro/struct-field-macro.rs ... ok
test [pretty] pretty/proc_macro.rs ... FAILED
test [pretty] pretty/proc-macro/load-two.rs ... ok
test [pretty] pretty/qquote.rs ... ok
test [pretty] pretty/quote-tokens.rs ... ok
test [pretty] pretty/quote-unused-sp-no-warning.rs ... ok
test [pretty] pretty/regions-mock-tcx.rs ... ok
test [pretty] pretty/rename-directory.rs ... ok
test [pretty] pretty/rust-log-filter.rs ... ok
test [pretty] pretty/proc-macro/use-reexport.rs ... ok
test [pretty] pretty/rustc_encodable_hygiene.rs ... ok
test [pretty] pretty/roman-numerals-macro.rs ... ok
test [pretty] pretty/syntax-extension-with-dll-deps.rs ... ok
test [pretty] pretty/myriad-closures.rs ... ok
failures:
---- [pretty] pretty/macro-quote-1.rs stdout ----
testing for converging pretty-printing
pretty-printing round 0 revision None
executing x86_64-apple-darwin/stage2/bin/rustc - -Zunstable-options --unpretty normal --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-1.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
// Copyright 2012-2014 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.
// ignore-stage1
#![feature(plugin)]
#![feature(rustc_private)]
#![plugin(proc_macro_plugin)]
extern crate syntax;
extern crate syntax_pos;
use syntax::ast::Ident;
use syntax::parse::token;
use syntax::tokenstream::TokenTree;
fn main() {
let true_tok =
TokenTree::Token(syntax_pos::DUMMY_SP,
token::Ident(Ident::from_str("true")));
assert!(qquote ! ( true ) . eq_unspanned ( & true_tok . into ( ) ));
}
------stderr------------------------------
------------------------------------------
pretty-printing round 1 revision None
executing x86_64-apple-darwin/stage2/bin/rustc - -Zunstable-options --unpretty normal --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-1.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
// Copyright 2012-2014 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.
// ignore-stage1
#![feature(plugin)]
#![feature(rustc_private)]
#![plugin(proc_macro_plugin)]
extern crate syntax;
extern crate syntax_pos;
use syntax::ast::Ident;
use syntax::parse::token;
use syntax::tokenstream::TokenTree;
fn main() {
let true_tok =
TokenTree::Token(syntax_pos::DUMMY_SP,
token::Ident(Ident::from_str("true")));
assert!(qquote ! ( true ) . eq_unspanned ( & true_tok . into ( ) ));
}
------stderr------------------------------
------------------------------------------
executing x86_64-apple-darwin/stage2/bin/rustc - -Zno-trans --out-dir x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-1.pretty-out --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/ -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-1.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
------stderr------------------------------
error: dlsym(0x116d6f500, __rustc_plugin_registrar__6d475ca03441af6d_91): symbol not found
--> <anon>:15:11
|
15 | #![plugin(proc_macro_plugin)]
| ^^^^^^^^^^^^^^^^^
------------------------------------------
error: pretty-printed source does not typecheck
status: exit code: 101
command: x86_64-apple-darwin/stage2/bin/rustc - -Zno-trans --out-dir x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-1.pretty-out --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/ -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-1.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
error: dlsym(0x116d6f500, __rustc_plugin_registrar__6d475ca03441af6d_91): symbol not found
--> <anon>:15:11
|
15 | #![plugin(proc_macro_plugin)]
| ^^^^^^^^^^^^^^^^^
------------------------------------------
thread '[pretty] pretty/macro-quote-1.rs' panicked at 'explicit panic', /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/tools/compiletest/src/runtest.rs:2474
stack backtrace:
1: 0x10a0d5fdd - std::sys::imp::backtrace::tracing::imp::write::h59f11508bbbb14ed
2: 0x10a0d9924 - std::panicking::default_hook::{{closure}}::h6803a4f823630483
3: 0x10a0d95ae - std::panicking::default_hook::h34bd173121b68cc3
4: 0x10a0d9e04 - std::panicking::rust_panic_with_hook::h9dbf610601b6a7e6
5: 0x109e4aa04 - std::panicking::begin_panic::h0346286c78879c2f
6: 0x109e8347b - compiletest::runtest::ProcRes::fatal::h413832abd6d29b98
7: 0x109e7ce34 - compiletest::runtest::TestCx::fatal_proc_rec::h5c22efc7dea71566
8: 0x109e69596 - compiletest::runtest::TestCx::run_revision::h5564b29be7b1fedf
9: 0x109e4b664 - <F as test::FnBox<T>>::call_box::h97a14762eeb927a3
10: 0x109ee781f - std::panicking::try::do_call::h2fba398fd73e8c32
11: 0x10a106647 - __rust_maybe_catch_panic
12: 0x109ee77c2 - std::panicking::try::h75a3e9aeec11017c
13: 0x109ef4ae4 - <std::panic::AssertUnwindSafe<F> as core::ops::FnOnce<()>>::call_once::h87ee2e10bb7b5bb2
14: 0x109ee7857 - std::panicking::try::do_call::h8c8a2363c55fd4e9
15: 0x10a106647 - __rust_maybe_catch_panic
16: 0x109ee7747 - std::panicking::try::h5fc71d6b40657425
17: 0x109ef0f65 - std::panic::catch_unwind::hf53d6a8bbe347c9d
18: 0x109eeeacd - <F as alloc::boxed::FnBox<A>>::call_box::he7483abd363b3a6f
19: 0x10a0e9612 - std::sys_common::thread::start_thread::h30fcab519fba63d9
20: 0x10a0f37c8 - std::sys::imp::thread::Thread::new::thread_start::hb5d1d3fd59bea9f8
21: 0x7fff9268299c - _pthread_body
22: 0x7fff92682919 - _pthread_start
---- [pretty] pretty/macro-quote-cond.rs stdout ----
testing for converging pretty-printing
pretty-printing round 0 revision None
executing x86_64-apple-darwin/stage2/bin/rustc - -Zunstable-options --unpretty normal --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-cond.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
// Copyright 2012-2014 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.
// aux-build:cond_plugin.rs
// ignore-stage1
#![feature(plugin)]
#![feature(rustc_private)]
#![plugin(cond_plugin)]
fn fact(n: i64) -> i64 { if n == 0 { 1 } else { n * fact(n - 1) } }
fn fact_cond(n: i64) -> i64 {
cond!(( ( n == 0 ) 1 ) ( else ( n * fact_cond ( n - 1 ) ) ))
}
fn fib(n: i64) -> i64 {
if n == 0 || n == 1 { 1 } else { fib(n - 1) + fib(n - 2) }
}
fn fib_cond(n: i64) -> i64 {
cond!(( ( n == 0 ) 1 ) ( ( n == 1 ) 1 ) (
else ( fib_cond ( n - 1 ) + fib_cond ( n - 2 ) ) ))
}
fn main() {
assert_eq!(fact ( 3 ) , fact_cond ( 3 ));
assert_eq!(fact ( 5 ) , fact_cond ( 5 ));
assert_eq!(fib ( 5 ) , fib_cond ( 5 ));
assert_eq!(fib ( 8 ) , fib_cond ( 8 ));
}
------stderr------------------------------
------------------------------------------
pretty-printing round 1 revision None
executing x86_64-apple-darwin/stage2/bin/rustc - -Zunstable-options --unpretty normal --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-cond.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
// Copyright 2012-2014 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.
// aux-build:cond_plugin.rs
// ignore-stage1
#![feature(plugin)]
#![feature(rustc_private)]
#![plugin(cond_plugin)]
fn fact(n: i64) -> i64 { if n == 0 { 1 } else { n * fact(n - 1) } }
fn fact_cond(n: i64) -> i64 {
cond!(( ( n == 0 ) 1 ) ( else ( n * fact_cond ( n - 1 ) ) ))
}
fn fib(n: i64) -> i64 {
if n == 0 || n == 1 { 1 } else { fib(n - 1) + fib(n - 2) }
}
fn fib_cond(n: i64) -> i64 {
cond!(( ( n == 0 ) 1 ) ( ( n == 1 ) 1 ) (
else ( fib_cond ( n - 1 ) + fib_cond ( n - 2 ) ) ))
}
fn main() {
assert_eq!(fact ( 3 ) , fact_cond ( 3 ));
assert_eq!(fact ( 5 ) , fact_cond ( 5 ));
assert_eq!(fib ( 5 ) , fib_cond ( 5 ));
assert_eq!(fib ( 8 ) , fib_cond ( 8 ));
}
------stderr------------------------------
------------------------------------------
executing x86_64-apple-darwin/stage2/bin/rustc /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/cond_plugin.rs -L x86_64-apple-darwin/test/run-pass-fulldeps/ --target=x86_64-apple-darwin --crate-type=dylib -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-cond.stage2-x86_64-apple-darwin.pretty.libaux -C prefer-dynamic --out-dir x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-cond.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
------stderr------------------------------
error: dlsym(0x114572380, __rustc_plugin_registrar__6d475ca03441af6d_91): symbol not found
--> /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/cond_plugin.rs:15:11
|
15 | #![plugin(proc_macro_plugin)]
| ^^^^^^^^^^^^^^^^^
------------------------------------------
error: auxiliary build of "/private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/cond_plugin.rs" failed to compile:
status: exit code: 101
command: x86_64-apple-darwin/stage2/bin/rustc /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/cond_plugin.rs -L x86_64-apple-darwin/test/run-pass-fulldeps/ --target=x86_64-apple-darwin --crate-type=dylib -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-cond.stage2-x86_64-apple-darwin.pretty.libaux -C prefer-dynamic --out-dir x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-cond.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
error: dlsym(0x114572380, __rustc_plugin_registrar__6d475ca03441af6d_91): symbol not found
--> /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/cond_plugin.rs:15:11
|
15 | #![plugin(proc_macro_plugin)]
| ^^^^^^^^^^^^^^^^^
------------------------------------------
thread '[pretty] pretty/macro-quote-cond.rs' panicked at 'explicit panic', /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/tools/compiletest/src/runtest.rs:2474
stack backtrace:
1: 0x10a0d5fdd - std::sys::imp::backtrace::tracing::imp::write::h59f11508bbbb14ed
2: 0x10a0d9924 - std::panicking::default_hook::{{closure}}::h6803a4f823630483
3: 0x10a0d95ae - std::panicking::default_hook::h34bd173121b68cc3
4: 0x10a0d9e04 - std::panicking::rust_panic_with_hook::h9dbf610601b6a7e6
5: 0x109e4aa04 - std::panicking::begin_panic::h0346286c78879c2f
6: 0x109e8347b - compiletest::runtest::ProcRes::fatal::h413832abd6d29b98
7: 0x109e7ce34 - compiletest::runtest::TestCx::fatal_proc_rec::h5c22efc7dea71566
8: 0x109e791a0 - compiletest::runtest::TestCx::compose_and_run_compiler::h6eb5f3f247495dc5
9: 0x109e6d6fd - compiletest::runtest::TestCx::typecheck_source::h390c7a0dc0f1881e
10: 0x109e66f67 - compiletest::runtest::TestCx::run_revision::h5564b29be7b1fedf
11: 0x109e4b664 - <F as test::FnBox<T>>::call_box::h97a14762eeb927a3
12: 0x109ee781f - std::panicking::try::do_call::h2fba398fd73e8c32
13: 0x10a106647 - __rust_maybe_catch_panic
14: 0x109ee77c2 - std::panicking::try::h75a3e9aeec11017c
15: 0x109ef4ae4 - <std::panic::AssertUnwindSafe<F> as core::ops::FnOnce<()>>::call_once::h87ee2e10bb7b5bb2
16: 0x109ee7857 - std::panicking::try::do_call::h8c8a2363c55fd4e9
17: 0x10a106647 - __rust_maybe_catch_panic
18: 0x109ee7747 - std::panicking::try::h5fc71d6b40657425
19: 0x109ef0f65 - std::panic::catch_unwind::hf53d6a8bbe347c9d
20: 0x109eeeacd - <F as alloc::boxed::FnBox<A>>::call_box::he7483abd363b3a6f
21: 0x10a0e9612 - std::sys_common::thread::start_thread::h30fcab519fba63d9
22: 0x10a0f37c8 - std::sys::imp::thread::Thread::new::thread_start::hb5d1d3fd59bea9f8
23: 0x7fff9268299c - _pthread_body
24: 0x7fff92682919 - _pthread_start
---- [pretty] pretty/macro-quote-empty-delims.rs stdout ----
testing for converging pretty-printing
pretty-printing round 0 revision None
executing x86_64-apple-darwin/stage2/bin/rustc - -Zunstable-options --unpretty normal --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-empty-delims.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
// Copyright 2012-2014 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.
// Test that a macro can emit delimiters with nothing inside - `()`, `{}`
// aux-build:hello_macro.rs
// ignore-stage1
#![feature(plugin)]
#![feature(rustc_private)]
#![plugin(hello_macro)]
fn main() { hello!(); }
------stderr------------------------------
------------------------------------------
pretty-printing round 1 revision None
executing x86_64-apple-darwin/stage2/bin/rustc - -Zunstable-options --unpretty normal --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-empty-delims.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
// Copyright 2012-2014 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.
// Test that a macro can emit delimiters with nothing inside - `()`, `{}`
// aux-build:hello_macro.rs
// ignore-stage1
#![feature(plugin)]
#![feature(rustc_private)]
#![plugin(hello_macro)]
fn main() { hello!(); }
------stderr------------------------------
------------------------------------------
executing x86_64-apple-darwin/stage2/bin/rustc /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/hello_macro.rs -L x86_64-apple-darwin/test/run-pass-fulldeps/ --target=x86_64-apple-darwin --crate-type=dylib -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-empty-delims.stage2-x86_64-apple-darwin.pretty.libaux -C prefer-dynamic --out-dir x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-empty-delims.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
------stderr------------------------------
error: dlsym(0x10936f380, __rustc_plugin_registrar__6d475ca03441af6d_91): symbol not found
--> /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/hello_macro.rs:14:11
|
14 | #![plugin(proc_macro_plugin)]
| ^^^^^^^^^^^^^^^^^
------------------------------------------
error: auxiliary build of "/private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/hello_macro.rs" failed to compile:
status: exit code: 101
command: x86_64-apple-darwin/stage2/bin/rustc /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/hello_macro.rs -L x86_64-apple-darwin/test/run-pass-fulldeps/ --target=x86_64-apple-darwin --crate-type=dylib -L x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-empty-delims.stage2-x86_64-apple-darwin.pretty.libaux -C prefer-dynamic --out-dir x86_64-apple-darwin/test/run-pass-fulldeps/macro-quote-empty-delims.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
error: dlsym(0x10936f380, __rustc_plugin_registrar__6d475ca03441af6d_91): symbol not found
--> /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/hello_macro.rs:14:11
|
14 | #![plugin(proc_macro_plugin)]
| ^^^^^^^^^^^^^^^^^
------------------------------------------
thread '[pretty] pretty/macro-quote-empty-delims.rs' panicked at 'explicit panic', /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/tools/compiletest/src/runtest.rs:2474
stack backtrace:
1: 0x10a0d5fdd - std::sys::imp::backtrace::tracing::imp::write::h59f11508bbbb14ed
2: 0x10a0d9924 - std::panicking::default_hook::{{closure}}::h6803a4f823630483
3: 0x10a0d95ae - std::panicking::default_hook::h34bd173121b68cc3
4: 0x10a0d9e04 - std::panicking::rust_panic_with_hook::h9dbf610601b6a7e6
5: 0x109e4aa04 - std::panicking::begin_panic::h0346286c78879c2f
6: 0x109e8347b - compiletest::runtest::ProcRes::fatal::h413832abd6d29b98
7: 0x109e7ce34 - compiletest::runtest::TestCx::fatal_proc_rec::h5c22efc7dea71566
8: 0x109e791a0 - compiletest::runtest::TestCx::compose_and_run_compiler::h6eb5f3f247495dc5
9: 0x109e6d6fd - compiletest::runtest::TestCx::typecheck_source::h390c7a0dc0f1881e
10: 0x109e66f67 - compiletest::runtest::TestCx::run_revision::h5564b29be7b1fedf
11: 0x109e4b664 - <F as test::FnBox<T>>::call_box::h97a14762eeb927a3
12: 0x109ee781f - std::panicking::try::do_call::h2fba398fd73e8c32
13: 0x10a106647 - __rust_maybe_catch_panic
14: 0x109ee77c2 - std::panicking::try::h75a3e9aeec11017c
15: 0x109ef4ae4 - <std::panic::AssertUnwindSafe<F> as core::ops::FnOnce<()>>::call_once::h87ee2e10bb7b5bb2
16: 0x109ee7857 - std::panicking::try::do_call::h8c8a2363c55fd4e9
17: 0x10a106647 - __rust_maybe_catch_panic
18: 0x109ee7747 - std::panicking::try::h5fc71d6b40657425
19: 0x109ef0f65 - std::panic::catch_unwind::hf53d6a8bbe347c9d
20: 0x109eeeacd - <F as alloc::boxed::FnBox<A>>::call_box::he7483abd363b3a6f
21: 0x10a0e9612 - std::sys_common::thread::start_thread::h30fcab519fba63d9
22: 0x10a0f37c8 - std::sys::imp::thread::Thread::new::thread_start::hb5d1d3fd59bea9f8
23: 0x7fff9268299c - _pthread_body
24: 0x7fff92682919 - _pthread_start
---- [pretty] pretty/proc_macro.rs stdout ----
testing for converging pretty-printing
pretty-printing round 0 revision None
executing x86_64-apple-darwin/stage2/bin/rustc - -Zunstable-options --unpretty normal --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/proc_macro.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
// 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.
// aux-build:proc_macro_def.rs
// ignore-stage1
// ignore-cross-compile
#![feature(plugin, custom_attribute)]
#![feature(type_macros)]
#![plugin(proc_macro_def)]
#[attr_tru]
fn f1() -> bool { return false; }
#[attr_identity]
fn f2() -> bool { return identity!(true); }
fn f3() -> identity!(bool) { ret_tru!(); }
fn f4(x: bool) -> bool {
match x { identity!(true) => false, identity!(false) => true, }
}
fn main() {
assert!(f1 ( ));
assert!(f2 ( ));
assert!(tru ! ( ));
assert!(f3 ( ));
assert!(identity ! ( 5 == 5 ));
assert!(f4 ( false ));
}
------stderr------------------------------
------------------------------------------
pretty-printing round 1 revision None
executing x86_64-apple-darwin/stage2/bin/rustc - -Zunstable-options --unpretty normal --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/proc_macro.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
// 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.
// aux-build:proc_macro_def.rs
// ignore-stage1
// ignore-cross-compile
#![feature(plugin, custom_attribute)]
#![feature(type_macros)]
#![plugin(proc_macro_def)]
#[attr_tru]
fn f1() -> bool { return false; }
#[attr_identity]
fn f2() -> bool { return identity!(true); }
fn f3() -> identity!(bool) { ret_tru!(); }
fn f4(x: bool) -> bool {
match x { identity!(true) => false, identity!(false) => true, }
}
fn main() {
assert!(f1 ( ));
assert!(f2 ( ));
assert!(tru ! ( ));
assert!(f3 ( ));
assert!(identity ! ( 5 == 5 ));
assert!(f4 ( false ));
}
------stderr------------------------------
------------------------------------------
executing x86_64-apple-darwin/stage2/bin/rustc /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/proc_macro_def.rs -L x86_64-apple-darwin/test/run-pass-fulldeps/ --target=x86_64-apple-darwin --crate-type=dylib -L x86_64-apple-darwin/test/run-pass-fulldeps/proc_macro.stage2-x86_64-apple-darwin.pretty.libaux -C prefer-dynamic --out-dir x86_64-apple-darwin/test/run-pass-fulldeps/proc_macro.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
------stdout------------------------------
------stderr------------------------------
error: dlsym(0x10fd72380, __rustc_plugin_registrar__6d475ca03441af6d_91): symbol not found
--> /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/proc_macro_def.rs:12:11
|
12 | #![plugin(proc_macro_plugin)]
| ^^^^^^^^^^^^^^^^^
------------------------------------------
error: auxiliary build of "/private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/proc_macro_def.rs" failed to compile:
status: exit code: 101
command: x86_64-apple-darwin/stage2/bin/rustc /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/proc_macro_def.rs -Lx86_64-apple-darwin/test/run-pass-fulldeps/ --target=x86_64-apple-darwin --crate-type=dylib -L x86_64-apple-darwin/test/run-pass-fulldeps/proc_macro.stage2-x86_64-apple-darwin.pretty.libaux -C prefer-dynamic --out-dir x86_64-apple-darwin/test/run-pass-fulldeps/proc_macro.stage2-x86_64-apple-darwin.pretty.libaux --cfg rtopt -C rpath -O -L x86_64-apple-darwin/rt
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
error: dlsym(0x10fd72380, __rustc_plugin_registrar__6d475ca03441af6d_91): symbol not found
--> /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/test/run-pass-fulldeps/auxiliary/proc_macro_def.rs:12:11
|
12 | #![plugin(proc_macro_plugin)]
| ^^^^^^^^^^^^^^^^^
------------------------------------------
thread '[pretty] pretty/proc_macro.rs' panicked at 'explicit panic', /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/tools/compiletest/src/runtest.rs:2474
stack backtrace:
1: 0x10a0d5fdd - std::sys::imp::backtrace::tracing::imp::write::h59f11508bbbb14ed
2: 0x10a0d9924 - std::panicking::default_hook::{{closure}}::h6803a4f823630483
3: 0x10a0d95ae - std::panicking::default_hook::h34bd173121b68cc3
4: 0x10a0d9e04 - std::panicking::rust_panic_with_hook::h9dbf610601b6a7e6
5: 0x109e4aa04 - std::panicking::begin_panic::h0346286c78879c2f
6: 0x109e8347b - compiletest::runtest::ProcRes::fatal::h413832abd6d29b98
7: 0x109e7ce34 - compiletest::runtest::TestCx::fatal_proc_rec::h5c22efc7dea71566
8: 0x109e791a0 - compiletest::runtest::TestCx::compose_and_run_compiler::h6eb5f3f247495dc5
9: 0x109e6d6fd - compiletest::runtest::TestCx::typecheck_source::h390c7a0dc0f1881e
10: 0x109e66f67 - compiletest::runtest::TestCx::run_revision::h5564b29be7b1fedf
11: 0x109e4b664 - <F as test::FnBox<T>>::call_box::h97a14762eeb927a3
12: 0x109ee781f - std::panicking::try::do_call::h2fba398fd73e8c32
13: 0x10a106647 - __rust_maybe_catch_panic
14: 0x109ee77c2 - std::panicking::try::h75a3e9aeec11017c
15: 0x109ef4ae4 - <std::panic::AssertUnwindSafe<F> as core::ops::FnOnce<()>>::call_once::h87ee2e10bb7b5bb2
16: 0x109ee7857 - std::panicking::try::do_call::h8c8a2363c55fd4e9
17: 0x10a106647 - __rust_maybe_catch_panic
18: 0x109ee7747 - std::panicking::try::h5fc71d6b40657425
19: 0x109ef0f65 - std::panic::catch_unwind::hf53d6a8bbe347c9d
20: 0x109eeeacd - <F as alloc::boxed::FnBox<A>>::call_box::he7483abd363b3a6f
21: 0x10a0e9612 - std::sys_common::thread::start_thread::h30fcab519fba63d9
22: 0x10a0f37c8 - std::sys::imp::thread::Thread::new::thread_start::hb5d1d3fd59bea9f8
23: 0x7fff9268299c - _pthread_body
24: 0x7fff92682919 - _pthread_start
failures:
[pretty] pretty/macro-quote-1.rs
[pretty] pretty/macro-quote-cond.rs
[pretty] pretty/macro-quote-empty-delims.rs
[pretty] pretty/proc_macro.rs
test result: FAILED. 75 passed; 4 failed; 0 ignored; 0 measured
thread 'main' panicked at 'Some tests failed', /private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/src/tools/compiletest/src/main.rs:329
stack backtrace:
1: 0x10a0d5fdd - std::sys::imp::backtrace::tracing::imp::write::h59f11508bbbb14ed
2: 0x10a0d9924 - std::panicking::default_hook::{{closure}}::h6803a4f823630483
3: 0x10a0d961a - std::panicking::default_hook::h34bd173121b68cc3
4: 0x10a0d9e04 - std::panicking::rust_panic_with_hook::h9dbf610601b6a7e6
5: 0x109e4aa04 - std::panicking::begin_panic::h0346286c78879c2f
6: 0x109e85c7e - compiletest::main::h706140c823af5e40
7: 0x10a106647 - __rust_maybe_catch_panic
8: 0x10a0d9a67 - std::panicking::try::hd4bdac3f2478cc39
9: 0x10a0ee6ed - std::panic::catch_unwind::hd894fc6c024ba97e
10: 0x10a0eba61 - std::rt::lang_start::h57d3f8e2f32e3c87
make: *** [/private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0/rust-30cf806/mk/tests.mk:829: tmp/check-stage2-T-x86_64-apple-darwin-H-x86_64-apple-darwin-pretty-rpass-full.ok] Error 101
note: keeping build directory ‘/private/var/folders/qv/5k4lhv3n1hg2jk29cj3smtp00000gn/T/nix-build-rustc-1.16.0.drv-0’
builder for ‘/nix/store/szpbw9ngz95v7j061vdh6drqm1sqlaaz-rustc-1.16.0.drv’ failed with exit code 2
error: build of ‘/nix/store/szpbw9ngz95v7j061vdh6drqm1sqlaaz-rustc-1.16.0.drv’ failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment