Skip to content

Add AdHocCalls and pass self to build_controller as Box<Self> #50844

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 6, 2018

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented May 17, 2018

This makes it easier to write custom drivers.

@rust-highfive
Copy link
Contributor

r? @petrochenkov

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 17, 2018
@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.

[00:04:44] travis_fold:start:tidy
travis_time:start:tidy
tidy check
[00:04:44] tidy error: /checkout/src/librustc_driver/lib.rs:703: line longer than 100 chars
[00:04:44] tidy error: /checkout/src/librustc_driver/lib.rs:715: line longer than 100 chars
[00:04:46] some tidy checks failed
[00:04:46] 
[00:04:46] 
[00:04:46] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "--no-vendor" "--quiet"
[00:04:46] 
[00:04:46] 
[00:04:46] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
[00:04:46] Build completed unsuccessfully in 0:01:50
[00:04:46] Build completed unsuccessfully in 0:01:50
[00:04:46] Makefile:79: recipe for target 'tidy' failed
[00:04:46] make: *** [tidy] Error 1

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0090c429
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
---
travis_fold:start:after_failure.4
travis_time:start:1629c168
$ dmesg | grep -i kill
[   10.936563] init: failsafe main process (1092) killed by TERM signal
[   42.441870] init: plymouth-upstart-bridge main process (510) killed by TERM signal
travis_fold:end:after_failure.4

Done. Your build exited with 1.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@petrochenkov
Copy link
Contributor

r? @nrc

@rust-highfive rust-highfive assigned nrc and unassigned petrochenkov May 17, 2018
#[derive(Copy, Clone)]
pub struct RustcDefaultCalls;

pub enum AdHocCalls<'a> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you document AdHocCalls please? It's not exactly clear to me what it does - is it purely a convenience to avoid implementing build_controller?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.

[00:04:45] travis_fold:start:tidy
travis_time:start:tidy
tidy check
[00:04:46] tidy error: /checkout/src/librustc_driver/lib.rs:703: line longer than 100 chars
[00:04:46] tidy error: /checkout/src/librustc_driver/lib.rs:716: line longer than 100 chars
[00:04:47] some tidy checks failed
[00:04:47] 
[00:04:47] 
[00:04:47] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "--no-vendor" "--quiet"
[00:04:47] 
[00:04:47] 
[00:04:47] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
[00:04:47] Build completed unsuccessfully in 0:01:59
[00:04:47] Build completed unsuccessfully in 0:01:59
[00:04:47] Makefile:79: recipe for target 'tidy' failed
[00:04:47] make: *** [tidy] Error 1

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0a3b57ea
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:50:37] .................................................................................................test [run-pass] run-pass/mir_heavy_promoted.rs has been running for over 60 seconds
[00:50:38] ...
[00:50:51] ....................................................................................................
[00:51:29] ii..............................................................i...................................
[00:51:55] .................i.ii..........................................................................test [run-pass] run-pass/saturating-float-casts.rs has been running for over 60 seconds
[00:52:21] .........................iiiiiii....................................................................
[00:52:40] ....................................................................................................
[00:52:52] ....................................................................................................
[00:53:08] ................................................................................................
---
travis_time:start:test_run-pass-fulldeps
Check compiletest suite=run-pass-fulldeps mode=run-pass (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[00:56:45] 
[00:56:45] running 90 tests
[00:58:26] ..F........................................................................test [run-pass] run-pass-fulldeps/myriad-closures.rs has been running for over 60 seconds
[01:01:00] failures:
[01:01:00] 
[01:01:00] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:498:22
[01:01:00] ---- [run-pass] run-pass-fulldeps/compiler-calls.rs stdout ----
[01:01:00] ---- [run-pass] run-pass-fulldeps/compiler-calls.rs stdout ----
[01:01:00] 
[01:01:00] error: compilation failed!
[01:01:00] status: exit code: 101
[01:01:00] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/compiler-calls.rs" "--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/compiler-calls/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/compiler-calls/auxiliary"
[01:01:00] ------------------------------------------
[01:01:00] 
[01:01:00] ------------------------------------------
[01:01:00] stderr:
[01:01:00] stderr:
[01:01:00] ------------------------------------------
[01:01:00] error[E0053]: method `build_controller` has an incompatible type for trait
[01:01:00]    |
[01:01:00]    |
[01:01:00] 80 | /     fn build_controller(&mut self,
[01:01:00] 81 | |                         _: &Session,
[01:01:00] 82 | |                         _: &getopts::Matches)
[01:01:00] 83 | |                         -> driver::CompileController<'a> {
[01:01:00] 84 | |         panic!("This shouldn't be called");
[01:01:00] 85 | |     }
[01:01:00]    | |_____^ expected struct `std::boxed::Box`, found mutable reference
[01:01:00]    |
[01:01:00]    = note: expected type `fn(std::boxed::Box<TestCalls>, &rustc::session::Session, &getopts::Matches) -> rustc_driver::driver::CompileController<'a>`
[01:01:00]               found type `fn(&mut TestCalls, &rustc::session::Session, &getopts::Matches) -> rustc_driver::driver::CompileController<'a>`
[01:01:00] error: aborting due to previous error
[01:01:00] 
[01:01:00] For more information about this error, try `rustc --explain E0053`.
[01:01:00] 
---
[01:01:00] test result: FAILED. 89 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
[01:01:00] 
[01:01:00] 
[01:01:00] 
[01:01:00] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/run-pass-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "run-pass" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-3.9/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "3.9.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:01:00] 
[01:01:00] 
[01:01:00] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:01:00] Build completed unsuccessfully in 0:19:05
[01:01:00] Build completed unsuccessfully in 0:19:05
[01:01:00] make: *** [check] Error 1
[01:01:00] Makefile:58: recipe for target 'check' failed

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0a44bb32
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:51:00] .................................................................................................test [run-pass] run-pass/mir_heavy_promoted.rs has been running for over 60 seconds
[00:51:01] ...
[00:51:14] ....................................................................................................
[00:51:53] ii..............................................................i...................................
[00:52:18] .................i.ii.........................................................................test [run-pass] run-pass/saturating-float-casts.rs has been running for over 60 seconds
[00:52:45] .........................iiiiiii....................................................................
[00:53:04] ....................................................................................................
[00:53:17] ....................................................................................................
[00:53:33] ................................................................................................
---
travis_time:start:test_run-pass-fulldeps
Check compiletest suite=run-pass-fulldeps mode=run-pass (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[00:57:15] 
[00:57:15] running 90 tests
[00:58:56] ..F.......................................................................test [run-pass] run-pass-fulldeps/myriad-closures.rs has been running for over 60 seconds
[01:01:27] failures:
[01:01:27] 
[01:01:27] ---- [run-pass] run-pass-fulldeps/compiler-calls.rs stdout ----
[01:01:27] 
[01:01:27] 
[01:01:27] error: compilation failed!
[01:01:27] status: exit code: 101
[01:01:27] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/compiler-calls.rs" "--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/compiler-calls/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/compiler-calls/auxiliary"
[01:01:27] ------------------------------------------
[01:01:27] 
[01:01:27] ------------------------------------------
[01:01:27] stderr:
[01:01:27] stderr:
[01:01:27] ------------------------------------------
[01:01:27] error[E0382]: use of moved value: `tc.count`
[01:01:27]    |
[01:01:27]    |
[01:01:27] 93 |     rustc_driver::run_compiler(&args, Box::new(tc), None, None);
[01:01:27]    |                                                -- value moved here
[01:01:27] 94 |     assert_eq!(tc.count, 30);
[01:01:27]    |                ^^^^^^^^ value used here after move
[01:01:27]    |
[01:01:27]    = note: move occurs because `tc` has type `TestCalls`, which does not implement the `Copy` trait
[01:01:27] error: aborting due to previous error
[01:01:27] 
[01:01:27] For more information about this error, try `rustc --explain E0382`.
[01:01:27] 
---
[01:01:27] 
[01:01:27] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:498:22
[01:01:27] 
[01:01:27] 
[01:01:27] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/run-pass-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "run-pass" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-3.9/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "3.9.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:01:27] 
[01:01:27] 
[01:01:27] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:01:27] Build completed unsuccessfully in 0:19:11
[01:01:27] Build completed unsuccessfully in 0:19:11
[01:01:27] Makefile:58: recipe for target 'check' failed
[01:01:27] make: *** [check] Error 1

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:21ac5270
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[01:10:14] ................................test [run-pass] run-pass/mir_heavy_promoted.rs has been running for over 60 seconds
[01:10:40] ....................................................................
[01:10:58] ....................................................................................................
[01:11:59] ....ii..............................................................i...............................
[01:12:05] .....................i.ii..test [run-pass] run-pass/saturating-float-casts.rs has been running for over 60 seconds
[01:13:10] .............................iiiiiii................................................................
[01:13:38] ....................................................................................................
[01:14:01] ....................................................................................................
[01:14:53] ....................................................................................................
---
travis_time:start:test_run-pass-fulldeps
Check compiletest suite=run-pass-fulldeps mode=run-pass (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:19:40] 
[01:19:40] running 90 tests
[01:21:36] ..F.......................................................test [run-pass] run-pass-fulldeps/myriad-closures.rs has been running for over 60 seconds
[01:26:24] failures:
[01:26:24] 
[01:26:24] ---- [run-pass] run-pass-fulldeps/compiler-calls.rs stdout ----
[01:26:24] 
[01:26:24] 
[01:26:24] error: compilation failed!
[01:26:24] status: exit code: 101
[01:26:24] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/compiler-calls.rs" "--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/compiler-calls/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/compiler-calls/auxiliary"
[01:26:24] ------------------------------------------
[01:26:24] 
[01:26:24] ------------------------------------------
[01:26:24] stderr:
[01:26:24] stderr:
[01:26:24] ------------------------------------------
[01:26:24] error[E0368]: binary assignment operation `*=` cannot be applied to type `&mut u32`
[01:26:24]    |
[01:26:24]    |
[01:26:24] 46 |         self.count *= 2;
[01:26:24]    |         ----------^^^^^
[01:26:24]    |         |
[01:26:24]    |         cannot use `*=` on type `&mut u32`
[01:26:24]    |
[01:26:24]    = help: `*=` can be used on 'u32', you can dereference `self.count`: `*self.count`
[01:26:24] 
[01:26:24] error[E0368]: binary assignment operation `*=` cannot be applied to type `&mut u32`
[01:26:24]    |
[01:26:24]    |
[01:26:24] 59 |         self.count *= 3;
[01:26:24]    |         ----------^^^^^
[01:26:24]    |         |
[01:26:24]    |         cannot use `*=` on type `&mut u32`
[01:26:24]    |
[01:26:24]    = help: `*=` can be used on 'u32', you can dereference `self.count`: `*self.count`
[01:26:24] 
[01:26:24] error[E0368]: binary assignment operation `*=` cannot be applied to type `&mut u32`
[01:26:24]    |
[01:26:24]    |
[01:26:24] 65 |         self.count *= 5;
[01:26:24]    |         ----------^^^^^
[01:26:24]    |         |
[01:26:24]    |         cannot use `*=` on type `&mut u32`
[01:26:24]    |
[01:26:24]    = help: `*=` can be used on 'u32', you can dereference `self.count`: `*self.count`
[01:26:24] error: aborting due to 3 previous errors
[01:26:24] 
[01:26:24] For more information about this error, try `rustc --explain E0368`.
[01:26:24] 
---
[01:26:24] 
[01:26:24] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:498:22
[01:26:24] 
[01:26:24] 
[01:26:24] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/run-pass-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "run-pass" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-3.9/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "3.9.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:26:24] 
[01:26:24] 
[01:26:24] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:26:24] Build completed unsuccessfully in 0:27:49
[01:26:24] Build completed unsuccessfully in 0:27:49
[01:26:24] make: *** [check] Error 1
[01:26:24] Makefile:58: recipe for target 'check' failed

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0132f136
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bjorn3 bjorn3 force-pushed the adhoc_compiller_calls branch from 4c10382 to bfca4aa Compare May 19, 2018 09:56
@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:start:test_run-pass-fulldeps
Check compiletest suite=run-pass-fulldeps mode=run-pass (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:20:40] 
[01:20:40] running 90 tests
[01:22:37] ..F.......................................................test [run-pass] run-pass-fulldeps/myriad-closures.rs has been running for over 60 seconds
[01:27:46] failures:
[01:27:46] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:498:22
[01:27:46] 
[01:27:46] ---- [run-pass] run-pass-fulldeps/compiler-calls.rs stdout ----
[01:27:46] ---- [run-pass] run-pass-fulldeps/compiler-calls.rs stdout ----
[01:27:46] 
[01:27:46] error: compilation failed!
[01:27:46] status: exit code: 101
[01:27:46] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/compiler-calls.rs" "--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/compiler-calls/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/compiler-calls/auxiliary"
[01:27:46] ------------------------------------------
[01:27:46] 
[01:27:46] ------------------------------------------
[01:27:46] stderr:
[01:27:46] stderr:
[01:27:46] ------------------------------------------
[01:27:46] error[E0597]: `count` does not live long enough
[01:27:46]    |
[01:27:46]    |
[01:27:46] 92 |         let tc = TestCalls { count: &mut count };
[01:27:46]  rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/run-pass-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "run-pass" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-3.9/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "3.9.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:27:46] 
[01:27:46] 
[01:27:46] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:27:46] Build completed unsuccessfully in 0:28:13
[01:27:46] Build completed unsuccessfully in 0:28:13
[01:27:46] make: *** [check] Error 1
[01:27:46] Makefile:58: recipe for target 'check' failed

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bjorn3 bjorn3 force-pushed the adhoc_compiller_calls branch from bfca4aa to f9b082d Compare May 19, 2018 12:34
@bjorn3
Copy link
Member Author

bjorn3 commented May 21, 2018

Travis is green

@bjorn3
Copy link
Member Author

bjorn3 commented May 25, 2018

Ping @nrc

#[derive(Copy, Clone)]
pub struct RustcDefaultCalls;

/// CompilerCalls instance for quick access to the result of one compile phase.
pub enum AdHocCalls<'a> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this an enum rather than a struct?

@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.

[00:04:50] travis_fold:start:tidy
travis_time:start:tidy
tidy check
[00:04:50] tidy error: /checkout/src/librustc_driver/driver.rs:462: line longer than 100 chars
[00:04:51] some tidy checks failed
[00:04:51] 
[00:04:51] 
[00:04:51] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "--no-vendor" "--quiet"
[00:04:51] 
[00:04:51] 
[00:04:51] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
[00:04:51] Build completed unsuccessfully in 0:01:58
[00:04:51] Build completed unsuccessfully in 0:01:58
[00:04:51] Makefile:79: recipe for target 'tidy' failed
[00:04:51] make: *** [tidy] Error 1

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:2b0e473c
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:18:32]    Compiling rustc_lint v0.0.0 (file:///checkout/src/librustc_lint)
[00:18:32]    Compiling rustc_passes v0.0.0 (file:///checkout/src/librustc_passes)
[00:18:32]    Compiling rustc_borrowck v0.0.0 (file:///checkout/src/librustc_borrowck)
[00:18:32]    Compiling rustc_codegen_utils v0.0.0 (file:///checkout/src/librustc_codegen_utils)
inux-gnu/release/deps/librustc_codegen_utils-36abcb4dfc95fdf6.so --extern rustc_rayon=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_rayon-1c77598eb0f8659a.rlib --extern rustc_data_structures=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_data_structures-a8f5cae0510be7d3.so --extern ar=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libar-8eb16aef4b5afe63.rlib --extern rustc_target=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_target-a7e6c70c1d8dd47c.so --extern rustc_passes=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_passes-228f509f308939d1.so --extern rustc_lint=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_lint-147c862d4c2e8e51.so --extern rustc_errors=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_errors-5c21a695e1301573.so --extern rustc_save_analysis=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_save_analysis-d6a381b64d245d7d.so --extern rustc_mir=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_mir-11b2cdf3fab32aac.so --extern rustc_traits=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_traits-5f3c31e65f231f8d.so --extern scoped_tls=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libscoped_tls-95a42531969aa185.rlib --extern rustc_resolve=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_resolve-169bdfee44fd1bd6.so --extern env_logger=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libenv_logger-7598e70b4e56f241.rlib --extern syntax_pos=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax_pos-2bee8f0c1e719b79.so -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/backtrace-sys-f085762345e9053e/out/.libs -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/miniz-sys-c0082fee642cc0bf/out` (exit code: 101)
[00:19:06] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" " jemalloc" "--manifest-path" "/checkout/src/rustc/Cargo.toml" "--message-format" "json"
[00:19:06] expected success, got: exit code: 101
[00:19:06] thread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1091:9
[00:19:06] travis_fold:end:stage0-rustc

[00:19:06] travis_time:end:stage0-rustc:start=1527446067165295955,finish=1527446918431550767,duration=851266254812

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bjorn3
Copy link
Member Author

bjorn3 commented May 27, 2018

What happened there?

@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:18:45] For more information about this error, try `rustc --explain E0412`.
[00:18:45] error: Could not compile `rustc_driver`.
[00:18:45] 
[00:18:45] Caused by:
[00:18:45]   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name rustc_driver librustc_driver/lib.rs --color always --error-format json --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C metadata=990a662407167937 -C extra-filename=-990a662407167937 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps --extern log=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/liblog-bde077c9625bcd15.rlib --extern ar=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libar-8eb16aef4b5afe63.rlib --extern rustc_resolve=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_resolve-169bdfee44fd1bd6.so --extern rustc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc-5b4f8bf37669326d.so --extern rustc_errors=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_errors-5c21a695e1301573.so --extern rustc_plugin=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_plugin-5671ad46f3841859.so --extern rustc_metadata=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_metadata-2d76d2294f0403d4.so --extern rustc_data_structures=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_data_structures-a8f5cae0510be7d3.so --extern rustc_traits=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_traits-5f3c31e65f231f8d.so --extern rustc_rayon=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_rayon-1c77598eb0f8659a.rlib --extern rustc_privacy=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_privacy-32944a3a8c170932.so --extern serialize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libserialize-a476bbed33563995.so --extern serialize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libserialize-a476bbed33563995.rlib --extern rustc_allocator=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_allocator-1c9d04b597c05b99.so --extern graphviz=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libgraphviz-550225fbe3657ec3.so --extern rustc_typeck=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_typeck-6ffecab30d161d45.so --extern rustc_passes=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_passes-228f509f308939d1.so --extern rustc_incremental=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_incremental-a4089dbf6cb1177c.so --extern rustc_borrowck=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_borrowck-0c38d2b5c00fa907.so --extern env_logger=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libenv_logger-7598e70b4e56f241.rlib --extern rustc_target=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_target-a7e6c70c1d8dd47c.so --extern syntax=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax-cfccf57e1967c508.so --extern rustc_save_analysis=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_save_analysis-d6a381b64d245d7d.so --extern syntax_pos=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax_pos-2bee8f0c1e719b79.so --extern rustc_lint=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_lint-147c862d4c2e8e51.so --extern rustc_mir=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_mir-11b2cdf3fab32aac.so --extern rustc_codegen_utils=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_codegen_utils-36abcb4dfc95fdf6.so --extern syntax_ext=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax_ext-b355d370566d2731.so --extern arena=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libarena-6f643d03661f77af.so --extern scoped_tls=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libscoped_tls-95a42531969aa185.rlib -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/backtrace-sys-f085762345e9053e/out/.libs -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/miniz-sys-c0082fee642cc0bf/out` (exit code: 101)
[00:18:45] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" " jemalloc" "--manifest-path" "/checkout/src/rustc/Cargo.toml" "--message-format" "json"
[00:18:45] expected success, got: exit code: 101
[00:18:45] thread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1091:9
[00:18:45] travis_fold:end:stage0-rustc

[00:18:45] travis_time:end:stage0-rustc:start=1527537187160013833,finish=1527538018177343125,duration=831017329292

---
150692 ./.git/modules/src
149112 ./src/llvm-emscripten/test
137708 ./obj/build/bootstrap/debug/incremental
123156 ./obj/build/bootstrap/debug/incremental/bootstrap-1r3bppl29tbrj
123152 ./obj/build/bootstrap/debug/incremental/bootstrap-1r3bppl29tbrj/s-f1gsti58xs-12cyj-1r74c9muuiiqu
103328 ./obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu
103324 ./obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release
89796 ./src/llvm/test/CodeGen
76316 ./obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bjorn3 bjorn3 force-pushed the adhoc_compiller_calls branch from 287bfc8 to 3086800 Compare May 29, 2018 17:27
@shepmaster
Copy link
Member

Ping from triage, @nrc !

Copy link
Member

@nrc nrc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs a comment, r=me with that

@@ -414,6 +414,63 @@ impl<'a> CompileController<'a> {
}
}

impl<'a> ::CompilerCalls<'a> for CompileController<'a> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you document this please? Why is this impl significant how should clients who are making a new controller do things?

@rust-highfive
Copy link
Contributor

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.

[00:04:29] travis_fold:start:tidy
travis_time:start:tidy
tidy check
[00:04:30] tidy error: /checkout/src/librustc_driver/driver.rs:422: unexplained "```ignore" doctest; try one:
[00:04:30] 
[00:04:30] * make the test actually pass, by adding necessary imports and declarations, or
[00:04:30] * use "```text", if the code is not Rust code, or
[00:04:30] * use "```compile_fail,Ennnn", if the code is expected to fail at compile time, or
[00:04:30] * use "```should_panic", if the code is expected to fail at run time, or
[00:04:30] * use "```no_run", if the code should type-check but not necessary linkable/runnable, or
[00:04:30] * explain it like "```ignore (cannot-test-this-because-xxxx)", if the annotation cannot be avoided.
[00:04:30] 
[00:04:31] some tidy checks failed
[00:04:31] 
[00:04:31] 
[00:04:31] 
[00:04:31] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "--no-vendor" "--quiet"
[00:04:31] 
[00:04:31] 
[00:04:31] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
[00:04:31] Build completed unsuccessfully in 0:01:43
[00:04:31] Build completed unsuccessfully in 0:01:43
[00:04:31] make: *** [tidy] Error 1
[00:04:31] Makefile:79: recipe for target 'tidy' failed

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0a791114
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@nrc
Copy link
Member

nrc commented Jun 4, 2018

@bors: r+

@bors
Copy link
Collaborator

bors commented Jun 4, 2018

📌 Commit e9b4c53 has been approved by nrc

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 4, 2018
@oli-obk
Copy link
Contributor

oli-obk commented Jun 5, 2018

@bors r=nrc

@bors
Copy link
Collaborator

bors commented Jun 5, 2018

📌 Commit cc5c1a0 has been approved by nrc

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 5, 2018
@bors
Copy link
Collaborator

bors commented Jun 5, 2018

⌛ Testing commit cc5c1a0 with merge c0ea596...

bors added a commit that referenced this pull request Jun 5, 2018
Add AdHocCalls and pass self to build_controller as Box<Self>

This makes it easier to write custom drivers.
@bors
Copy link
Collaborator

bors commented Jun 5, 2018

💔 Test failed - status-travis

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 5, 2018
@rust-highfive
Copy link
Contributor

The job x86_64-gnu-distcheck of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[02:57:09] test [run-make] run-make-fulldeps/no-integrated-as ... ok
[02:57:09] test [run-make] run-make-fulldeps/no-builtins-lto ... ok
[02:57:10] test [run-make] run-make-fulldeps/no-intermediate-extras ... ok
[02:57:10] test [run-make] run-make-fulldeps/output-filename-conflicts-with-directory ... ok
The job exceeded the maximum time limit for jobs, and has been terminated.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

1 similar comment
@rust-highfive
Copy link
Contributor

The job x86_64-gnu-distcheck of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[02:57:09] test [run-make] run-make-fulldeps/no-integrated-as ... ok
[02:57:09] test [run-make] run-make-fulldeps/no-builtins-lto ... ok
[02:57:10] test [run-make] run-make-fulldeps/no-intermediate-extras ... ok
[02:57:10] test [run-make] run-make-fulldeps/output-filename-conflicts-with-directory ... ok
The job exceeded the maximum time limit for jobs, and has been terminated.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@Mark-Simulacrum
Copy link
Member

@bors retry - timeout

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 5, 2018
@bors
Copy link
Collaborator

bors commented Jun 5, 2018

⌛ Testing commit cc5c1a0 with merge 95b2c19...

bors added a commit that referenced this pull request Jun 5, 2018
Add AdHocCalls and pass self to build_controller as Box<Self>

This makes it easier to write custom drivers.
@bors
Copy link
Collaborator

bors commented Jun 6, 2018

💥 Test timed out

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 6, 2018
@kennytm
Copy link
Member

kennytm commented Jun 6, 2018

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 6, 2018
@bors
Copy link
Collaborator

bors commented Jun 6, 2018

⌛ Testing commit cc5c1a0 with merge 685faa2...

bors added a commit that referenced this pull request Jun 6, 2018
Add AdHocCalls and pass self to build_controller as Box<Self>

This makes it easier to write custom drivers.
@bors
Copy link
Collaborator

bors commented Jun 6, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: nrc
Pushing 685faa2 to master...

@bors bors merged commit cc5c1a0 into rust-lang:master Jun 6, 2018
@bjorn3 bjorn3 deleted the adhoc_compiller_calls branch June 6, 2018 11:27
@rust-highfive
Copy link
Contributor

📣 Toolstate changed by #50844!

Tested on commit 685faa2.
Direct link to PR: #50844

💔 miri on windows: test-pass → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
💔 miri on linux: test-pass → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
💔 rls on windows: test-pass → build-fail (cc @nrc, @rust-lang/infra).
💔 rls on linux: test-pass → build-fail (cc @nrc, @rust-lang/infra).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Jun 6, 2018
Tested on commit rust-lang/rust@685faa2.
Direct link to PR: <rust-lang/rust#50844>

💔 miri on windows: test-pass → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
💔 miri on linux: test-pass → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
💔 rls on windows: test-pass → build-fail (cc @nrc, @rust-lang/infra).
💔 rls on linux: test-pass → build-fail (cc @nrc, @rust-lang/infra).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants