Skip to content
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

Rollup of 10 pull requests #54796

Closed
wants to merge 28 commits into from
Closed

Conversation

pietroalbini
Copy link
Member

Successful merges:

Failed merges:

r? @ghost

phungleson and others added 28 commits September 5, 2018 00:03
This makes evaluation more consistent with fulfillment.
I noticed a small typo while reading over this document.
In  rust-lang#51833, I improved the performance of `copy_undef_mask()`. As such, the old FIXME wasn't appropriate anymore. The main remaining thing left to do is to implement a fast path for non-overlapping copies (per @oli-obk).
Joshua Netterfield reported an ICE when the unused-parentheses lint
triggered around an async block (rust-lang#54752). In order to compose an
autofixable suggestion, the lint invokes the pretty-printer on the
unnecessarily-parenthesized expression. (One wonders why the lint
doesn't just use `SourceMap::span_to_snippet` instead, to preserve the
formatting of the original source?—but for that, you'd have to ask the
author of 5c9f806.)

But then the pretty-printer panics when trying to call `<pprust::State
as PrintState>::end` when `State.boxes` is empty. Empirically, the
problem would seem to be solved if we start some "boxes" beforehand in
the `ast::ExprKind::Async` arm of the big match in
`print_expr_outer_attr_style`, exactly like we do in the
immediately-preceding match arm for `ast::ExprKind::Block`—it would
seem pretty ("pretty") reasonable for the pretty-printing of async
blocks to work a lot like the pretty-printing of ordinary non-async
blocks, right??

Of course, it would be shamefully cargo-culty to commit code on the
basis of this kind of mere reasoning-by-analogy (in contrast to
understanding the design of the pretty-printer in such detail that the
correctness of the patch is comprehended with all the lucid certainty
of mathematical proof, rather than being merely surmised by
intuition). But maybe we care more about fixing the bug with high
probability today, than with certainty in some indefinite hypothetical
future?  Maybe the effort is worth a fifth of a shirt??

Humbly resolves rust-lang#54752.
…ror, r=GuillaumeGomez

Add doc for impl From for Std Error

As part of issue rust-lang#51430 (cc @skade).

I am not sure if it is going to a correct direction so put up here so that people can comment.
…tsakis

handle outlives predicates in trait evaluation

This handles higher-ranked outlives predicates in trait evaluation the same way they are handled in projection.

Fixes rust-lang#54302. I think this is a more correct fix than rust-lang#54401 because it fixes the root case in evaluation instead of making evaluation used in less cases. However, we might want to go to a direction closer to @nikomatsakis's solution with Chalk.

r? @nikomatsakis
…tion, r=varkor

Fix range literals borrowing suggestions

Fixes rust-lang#54505. The compiler issued incorrect range borrowing suggestions (missing `()` around borrows of range literals). This was not correct syntax (see the issue for an example).

With changes in this PR, this is fixed for all types of `Range` literals.

Thanks again to @varkor and @estebank for their invaluable help and guidance.

r? @varkor
Make spec_extend use for_each()

`for_each` will use an iterator's own implementation of `try_fold`, which I understand to be generally preferable (because nested iterator adapter's will use each other's `try_fold` and be designed for the specific adaptation in a way that promotes performance and inlining.
Fix typo in CONTRIBUTING.md

I noticed a small typo while reading over this document.
…i-obk

Update a FIXME in memory.rs

In  rust-lang#51833, I improved the performance of `copy_undef_mask()`. As such, the old FIXME wasn't appropriate anymore. The main remaining thing left to do is to implement a fast path for non-overlapping copies (per @oli-obk).

r? @oli-obk
…ertj

abolish ICE when pretty-printing async block

@jnetterf reported an ICE when the unused-parentheses lint triggered around an async block (rust-lang#54752). In order to compose an autofixable suggestion, the lint invokes the pretty-printer on the unnecessarily-parenthesized expression. (One wonders why the lint doesn't just use `SourceMap::span_to_snippet` instead, to preserve the formatting of the original source?—but to answer that, you'd have to ask the author of 5c9f806.)

But then the pretty-printer panics when trying to call `<pprust::State as PrintState>::end` when `State.boxes` is empty. Empirically, the problem would seem to be solved if we start some "boxes" beforehand in the `ast::ExprKind::Async` arm of the big match in `print_expr_outer_attr_style`, exactly like we do in the immediately-preceding match arm for `ast::ExprKind::Block`—it would seem pretty ("pretty") reasonable for the pretty-printing of async blocks to work a lot like the pretty-printing of ordinary non-async blocks, right??

Of course, it would be shamefully cargo-culty to commit code on the basis of this kind of mere reasoning-by-analogy (in contrast to understanding the design of the pretty-printer in such detail that the correctness of the patch is comprehended with all the lucid certainty of mathematical proof, rather than being merely surmised by intuition). But maybe we care more about fixing the bug with high probability today, than with certainty in some indefinite hypothetical future?  Maybe the effort is worth [a fifth of a shirt](https://hacktoberfest.digitalocean.com/stats/zackmdavis)??

Humbly resolves rust-lang#54752.

r? @cramertj
Remove duplicate predicates in `explicit_predicates_of`

I took a more brutal approach than described in rust-lang#52187. I could have used the `linked_hash_map` crate but this seems overkill, especially as we need a vec storage in the end.

r? @nikomatsakis
A handful of cleanups for rustc/mir

- use the "regular" `into()` instead of `graphviz::IntoCow` in `mod.rs`
- `format!("{}", x)` > `x.to_string()`
- remove one unnecessary `String` allocation
- shorten the logic of one loop
- `assert!(x == y)` > `assert_eq!(x, y)`
- whitespace & formatting fixes

r? @oli-obk
Introduce `TyKind::UnnormalizedProjection`

Introduce a new variant used for lazy normalization in chalk integration. Mostly `bug!` everywhere.

r? @nikomatsakis
@pietroalbini
Copy link
Member Author

@bors r+ p=10

@bors
Copy link
Contributor

bors commented Oct 3, 2018

📌 Commit 2848e15 has been approved by pietroalbini

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 3, 2018
@bors
Copy link
Contributor

bors commented Oct 3, 2018

⌛ Testing commit 2848e15 with merge 3e71708cd719ae006457d8830c0cf8033fea00a4...

@bors
Copy link
Contributor

bors commented Oct 3, 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 Oct 3, 2018
@rust-highfive
Copy link
Collaborator

The job wasm32-unknown 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:26] 
[00:51:26] ---- [ui] ui/range/issue-54505-no-std.rs stdout ----
[00:51:26] diff of stderr:
[00:51:26] 
[00:51:26] 1 error: `#[panic_handler]` function required, but not found
[00:51:26] 2 
[00:51:26] - error: language item required, but not found: `eh_personality`
[00:51:26] 5 error[E0308]: mismatched types
[00:51:26] 6   --> $DIR/issue-54505-no-std.rs:21:16
[00:51:26] 7    |
[00:51:26] 
[00:51:26] 
[00:51:26] 74    = note: expected type `&_`
[00:51:26] 75               found type `core::ops::RangeToInclusive<{integer}>`
[00:51:26] - error: aborting due to 8 previous errors
[00:51:26] + error: aborting due to 7 previous errors
[00:51:26] 78 
[00:51:26] 79 For more information about this error, try `rustc --explain E0308`.
[00:51:26] 79 For more information about this error, try `rustc --explain E0308`.
[00:51:26] 80 
[00:51:26] 
[00:51:26] 
[00:51:26] The actual stderr differed from the expected stderr.
[00:51:26] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/issue-54505-no-std/issue-54505-no-std.stderr
[00:51:26] To update references, rerun the tests and pass the `--bless` flag
[00:51:26] To only update this specific test, also pass `--test-args range/issue-54505-no-std.rs`
[00:51:26] error: 1 errors occurred comparing output.
[00:51:26] status: exit code: 1
[00:51:26] status: exit code: 1
[00:51:26] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/range/issue-54505-no-std.rs" "--target=wasm32-unknown-unknown" "--error-format" "json" "-Zui-testing" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/issue-54505-no-std/a.wasm" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/wasm32-unknown-unknown/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/range/issue-54505-no-std/auxiliary" "-A" "unused"
[00:51:26] ------------------------------------------
[00:51:26] 
[00:51:26] ------------------------------------------
[00:51:26] stderr:
[00:51:26] stderr:
[00:51:26] ------------------------------------------
[00:51:26] {"message":"`#[panic_handler]` function required, but not found","code":null,"level":"error","spans":[],"children":[],"rendered":"error: `#[panic_handler]` function required, but not found\n\n"}
[00:51:26] {"message":"mismatched types","code":{"code":"E0308","explanation":"\nThis error occurs when the compiler was unable to infer the concrete type of a\nvariable. It can occur for several cases, the most common of which is a\nmismatch in the expected type that the compiler inferred for a variable's\ninitializing expression, and the actual type explicitly assigned to the\nvariable.\n\nFor example:\n\n```compile_fail,E0308\nlet x: i32 = \"I am not a number!\";\n//     ~~~   ~~~~~~~~~~~~~~~~~~~~\n//      |             |\n//      |    initializing expression;\n//      |    compiler infers type `&str`\n//      |\n//    type `i32` assigned to variable `x`\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":490,"byte_end":494,"line_start":21,"line_end":21,"column_start":16,"column_end":20,"is_primary":true,"text":[{"text":"    take_range(0..1);","highlight_start":16,"highlight_end":20}],"label":"expected reference, found struct `core::ops::Range`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"expected type `&_`\n   found type `core::ops::Range<{integer}>`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider borrowing here","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":490,"byte_end":494,"line_start":21,"line_end":21,"column_start":16,"column_end":20,"is_primary":true,"text":[{"text":"    take_range(0..1);","highlight_start":16,"highlight_end":20}],"label":null,"suggested_replacement":"&(0..1)","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0308]: mismatched types\n  --> /checkout/src/test/ui/range/issue-54505-no-std.rs:21:16\n   |\nLL |     take_range(0..1);\n   |                ^^^^\n   |                |\n   |                expected reference, found struct `core::ops::Range`\n   |                help: consider borrowing here: `&(0..1)`\n   |\n   = note: expected type `&_`\n              found type `core::ops::Range<{integer}>`\n\n"}
[00:51:26] {"message":"mismatched types","code":{"code":"E0308","explanation":"\nThis error occurs when the compiler was unable to infer the concrete type of a\nvariable. It can occur for several cases, the most common of which is a\nmismatch in the expected type that the compiler inferred for a variable's\ninitializing expression, and the actual type explicitly assigned to the\nvariable.\n\nFor example:\n\n```compile_fail,E0308\nlet x: i32 = \"I am not a number!\";\n//     ~~~   ~~~~~~~~~~~~~~~~~~~~\n//      |             |\n//      |    initializing expression;\n//      |    compiler infers type `&str`\n//      |\n//    type `i32` assigned to variable `x`\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":619,"byte_end":622,"line_start":26,"line_end":26,"column_start":16,"column_end":19,"is_primary":true,"text":[{"text":"    take_range(1..);","highlight_start":16,"highlight_end":19}],"label":"expected reference, found struct `core::ops::RangeFrom`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"expected type `&_`\n   found type `core::ops::RangeFrom<{integer}>`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider borrowing here","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":619,"byte_end":622,"line_start":26,"line_end":26,"column_start":16,"column_end":19,"is_primary":true,"text":[{"text":"    take_range(1..);","highlight_start":16,"highlight_end":19}],"label":null,"suggested_replacement":"&(1..)","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0308]: mismatched types\n  --> /checkout/src/test/ui/range/issue-54505-no-std.rs:26:16\n   |\nLL |     take_range(1..);\n   |                ^^^\n   |                |\n   |                expected reference, found struct `core::ops::RangeFrom`\n   |                help: consider borrowing here: `&(1..)`\n   |\n   = note: expected type `&_`\n              found type `core::ops::RangeFrom<{integer}>`\n\n"}
[00:51:26] {"message":"mismatched types","code":{"code":"E0308","explanation":"\nThis error occurs when the compiler was unable to infer the concrete type of a\nvariable. It can occur for several cases, the most common of which is a\nmismatch in the expected type that the compiler inferred for a variable's\ninitializing expression, and the actual type explicitly assigned to the\nvariable.\n\nFor example:\n\n```compile_fail,E0308\nlet x: i32 = \"I am not a number!\";\n//     ~~~   ~~~~~~~~~~~~~~~~~~~~\n//      |             |\n//      |    initializing expression;\n//      |    compiler infers type `&str`\n//      |\n//    type `i32` assigned to variable `x`\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":746,"byte_end":748,"line_start":31,"line_end":31,"column_start":16,"column_end":18,"is_primary":true,"text":[{"text":"    take_range(..);","highlight_start":16,"highlight_end":18}],"label":"expected reference, found struct `core::ops::RangeFull`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"expected type `&_`\n   found type `core::ops::RangeFull`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider borrowing here","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":746,"byte_end":748,"line_start":31,"line_end":31,"column_start":16,"column_end":18,"is_primary":true,"text":[{"text":"    take_range(..);","highlight_start":16,"highlight_end":18}],"label":null,"suggested_replacement":"&(..)","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0308]: mismatched types\n  --> /checkout/src/test/ui/range/issue-54505-no-std.rs:31:16\n   |\nLL |     take_range(..);\n   |                ^^\n   |                |\n   |                expected reference, found struct `core::ops::RangeFull`\n   |                help: consider borrowing here: `&(..)`\n   |\n   = note: expected type `&_`\n              found type `core::ops::RangeFull`\n\n"}
[00:51:26] {"message":"mismatched types","code":{"code":"E0308","explanation":"\nThis error occurs when the compiler was unable to infer the concrete type of a\nvariable. It can occur for several cases, the most common of which is a\nmismatch in the expected type that the compiler inferred for a variable's\ninitializing expression, and the actual type explicitly assigned to the\nvariable.\n\nFor example:\n\n```compile_fail,E0308\nlet x: i32 = \"I am not a number!\";\n//     ~~~   ~~~~~~~~~~~~~~~~~~~~\n//      |             |\n//      |    initializing expression;\n//      |    compiler infers type `&str`\n//      |\n//    type `i32` assigned to variable `x`\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":871,"byte_end":876,"line_start":36,"line_end":36,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    take_range(0..=1);","highlight_start":16,"highlight_end":21}],"label":"expected reference, found struct `core::ops::RangeInclusive`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"expected type `&_`\n   found type `core::ops::RangeInclusive<{integer}>`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider borrowing here","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":871,"byte_end":876,"line_start":36,"line_end":36,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    take_range(0..=1);","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":"&(0..=1)","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0308]: mismatched types\n  --> /checkout/src/test/ui/range/issue-54505-no-std.rs:36:16\n   |\nLL |     take_range(0..=1);\n   |                ^^^^^\n   |                |\n   |                expected reference, found struct `core::ops::RangeInclusive`\n   |                help: consider borrowing here: `&(0..=1)`\n   |\n   = note: expected type `&_`\n              found type `core::ops::RangeInclusive<{integer}>`\n\n"}
[00:51:26] {"message":"mismatched types","code":{"code":"E0308","explanation":"\nThis error occurs when the compiler was unable to infer the concrete type of a\nvariable. It can occur for several cases, the most common of which is a\nmismatch in the expected type that the compiler inferred for a variable's\ninitializing expression, and the actual type explicitly assigned to the\nvariable.\n\nFor example:\n\n```compile_fail,E0308\nlet x: i32 = \"I am not a number!\";\n//     ~~~   ~~~~~~~~~~~~~~~~~~~~\n//      |             |\n//      |    initializing expression;\n//      |    compiler infers type `&str`\n//      |\n//    type `i32` assigned to variable `x`\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":1002,"byte_end":1005,"line_start":41,"line_end":41,"column_start":16,"column_end":19,"is_primary":true,"text":[{"text":"    take_range(..5);","highlight_start":16,"highlight_end":19}],"label":"expected reference, found struct `core::ops::RangeTo`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"expected type `&_`\n   found type `core::ops::RangeTo<{integer}>`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider borrowing here","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":1002,"byte_end":1005,"line_start":41,"line_end":41,"column_start":16,"column_end":19,"is_primary":true,"text":[{"text":"    take_range(..5);","highlight_start":16,"highlight_end":19}],"label":null,"suggested_replacement":"&(..5)","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0308]: mismatched types\n  --> /checkout/src/test/ui/range/issue-54505-no-std.rs:41:16\n   |\nLL |     take_range(..5);\n   |                ^^^\n   |                |\n   |                expected reference, found struct `core::ops::RangeTo`\n   |                help: consider borrowing here: `&(..5)`\n   |\n   = note: expected type `&_`\n              found type `core::ops::RangeTo<{integer}>`\n\n"}
[00:51:26] {"message":"mismatched types","code":{"code":"E0308","explanation":"\nThis error occurs when the compiler was unable to infer the concrete type of a\nvariable. It can occur for several cases, the most common of which is a\nmismatch in the expected type that the compiler inferred for a variable's\ninitializing expression, and the actual type explicitly assigned to the\nvariable.\n\nFor example:\n\n```compile_fail,E0308\nlet x: i32 = \"I am not a number!\";\n//     ~~~   ~~~~~~~~~~~~~~~~~~~~\n//      |             |\n//      |    initializing expression;\n//      |    compiler infers type `&str`\n//      |\n//    type `i32` assigned to variable `x`\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":1129,"byte_end":1134,"line_start":46,"line_end":46,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    take_range(..=42);","highlight_start":16,"highlight_end":21}],"label":"expected reference, found struct `core::ops::RangeToInclusive`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"expected type `&_`\n   found type `core::ops::RangeToInclusive<{integer}>`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider borrowing here","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/ui/range/issue-54505-no-std.rs","byte_start":1129,"byte_end":1134,"line_start":46,"line_end":46,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"    take_range(..=42);","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":"&(..=42)","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0308]: mismatched types\n  --> /checkout/src/test/ui/range/issue-54505-no-std.rs:46:16\n   |\nLL |     take_range(..=42);\n   |                ^^^^^\n   |                |\n   |                expected reference, found struct `core::ops::RangeToInclusive`\n   |                help: consider borrowing here: `&(..=42)`\n   |\n   = note: expected type `&_`\n              found type `core::ops::RangeToInclusive<{integer}>`\n\n"}
[00:51:26] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:499:22
[00:51:26] {"message":"aborting due to 7 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors\n\n"}
[00:51:26] {"message":"For more information about this error, try `rustc --explain E0308`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0308`.\n"}
[00:51:26] ------------------------------------------
[00:51:26] 
[00:51:26] thread '[ui] ui/range/issue-54505-no-std.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3267:9
[00:51:26] note: Run with `RUST_BACKTRACE=1` for a backtrace.
---
[00:51:26] test result: FAILED. 4504 passed; 1 failed; 46 ignored; 0 measured; 0 filtered out
[00:51:26] 
[00:51:26] 
[00:51:26] 
[00:51:26] 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/wasm32-unknown-unknown/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-wasm32-unknown-unknown" "--mode" "ui" "--target" "wasm32-unknown-unknown" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" "--nodejs" "/node-v9.2.0-linux-x64/bin/node" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/wasm32-unknown-unknown/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--llvm-version" "8.0.0svn\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[00:51:26] 
[00:51:26] 
[00:51:26] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target wasm32-unknown-unknown src/test/run-make src/test/ui src/test/run-pass src/test/compile-fail src/test/parse-fail src/test/mir-opt src/test/codegen-units src/libcore
[00:51:26] Build completed unsuccessfully in 0:48:02
---
travis_time:end:1d354a10:start=1538603132554819199,finish=1538603132563213925,duration=8394726
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0b3882db
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:109d76e8
travis_time:start:109d76e8
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:0a1e678b
$ dmesg | grep -i kill

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)

@pietroalbini pietroalbini deleted the rollup branch October 3, 2018 22:03
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.