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

Shrink ast::{Generics,Impl,Block} #101472

Closed

Conversation

nnethercote
Copy link
Contributor

r? @ghost

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Sep 6, 2022
@nnethercote
Copy link
Contributor Author

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 6, 2022
@bors
Copy link
Contributor

bors commented Sep 6, 2022

⌛ Trying commit 57eb7e7 with merge 0fe233aee325ca40218db024909c8b834c97dba0...

@rust-log-analyzer
Copy link
Collaborator

The job mingw-check failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
    Checking clippy_lints v0.1.65 (/checkout/src/tools/clippy/clippy_lints)
error[E0308]: mismatched types
   --> src/tools/clippy/clippy_lints/src/excessive_bools.rs:165:43
    |
138 |         match &item.kind {
    |               ---------- this expression has type `&rustc_ast::ItemKind`
...
163 |                 of_trait: None, items, ..
    |                                 ----- first introduced with type `&std::boxed::Box<[P<rustc_ast::Item<rustc_ast::AssocItemKind>>]>` here
164 |             })
165 |             | ItemKind::Trait(box Trait { items, .. }) => {
    |                                           ^^^^^ expected struct `std::boxed::Box`, found struct `std::vec::Vec`
    |
    = note: expected reference `&std::boxed::Box<[P<rustc_ast::Item<rustc_ast::AssocItemKind>>]>`
               found reference `&std::vec::Vec<P<rustc_ast::Item<rustc_ast::AssocItemKind>>>`
    = note: in the same arm, a binding must have the same type in all alternatives

error[E0277]: `&std::boxed::Box<[P<rustc_ast::Item<rustc_ast::AssocItemKind>>]>` is not an iterator
    |
166 |                 for item in items {
166 |                 for item in items {
    |                             ^^^^^ `&std::boxed::Box<[P<rustc_ast::Item<rustc_ast::AssocItemKind>>]>` is not an iterator
    |
    = help: the trait `Iterator` is not implemented for `&std::boxed::Box<[P<rustc_ast::Item<rustc_ast::AssocItemKind>>]>`
    = help: the trait `Iterator` is implemented for `std::boxed::Box<I, A>`
    = note: required because of the requirements on the impl of `IntoIterator` for `&std::boxed::Box<[P<rustc_ast::Item<rustc_ast::AssocItemKind>>]>`
error[E0308]: mismatched types
   --> src/tools/clippy/clippy_lints/src/excessive_bools.rs:168:47
    |
    |
168 |                         self.check_fn_sig(cx, sig, item.span);
    |                              |                |
    |                              |                |
    |                              |                expected `&rustc_ast::FnSig`, found struct `rustc_ast::FnSig`
    |                              |                help: consider borrowing here: `&sig`
    |
note: associated function defined here
   --> src/tools/clippy/clippy_lints/src/excessive_bools.rs:95:8
    |
    |
95  |     fn check_fn_sig(&self, cx: &EarlyContext<'_>, fn_sig: &FnSig, span: Span) {


error[E0277]: `&std::boxed::Box<[rustc_ast::GenericParam]>` is not an iterator
   --> src/tools/clippy/clippy_lints/src/misc_early/mod.rs:335:22
    |
335 |         for param in &gen.params {
    |                      ^^^^^^^^^^^ `&std::boxed::Box<[rustc_ast::GenericParam]>` is not an iterator
    |
    = help: the trait `Iterator` is not implemented for `&std::boxed::Box<[rustc_ast::GenericParam]>`
    = help: the trait `Iterator` is implemented for `std::boxed::Box<I, A>`
    = note: required because of the requirements on the impl of `IntoIterator` for `&std::boxed::Box<[rustc_ast::GenericParam]>`

error[E0599]: no method named `as_slice` found for struct `std::boxed::Box<[rustc_ast::Stmt]>` in the current scope
   |
   |
99 |         self.is_break = match block.stmts.as_slice() {
   |                                           ^^^^^^^^ method not found in `std::boxed::Box<[rustc_ast::Stmt]>`
   = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
   |
1  | use core::slice::SlicePattern;
1  | use core::slice::SlicePattern;
   |

error[E0277]: `&std::boxed::Box<[rustc_ast::Stmt]>` is not an iterator
   --> src/tools/clippy/clippy_lints/src/suspicious_operation_groupings.rs:386:25
    |
386 |             for stmt in &block.stmts {
    |                         ^^^^^^^^^^^^ `&std::boxed::Box<[rustc_ast::Stmt]>` is not an iterator
    |
    = help: the trait `Iterator` is not implemented for `&std::boxed::Box<[rustc_ast::Stmt]>`
    = help: the trait `Iterator` is implemented for `std::boxed::Box<I, A>`
    = note: required because of the requirements on the impl of `IntoIterator` for `&std::boxed::Box<[rustc_ast::Stmt]>`
Some errors have detailed explanations: E0277, E0308, E0599.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `clippy_lints` due to 6 previous errors
Build completed unsuccessfully in 0:03:15

@bors
Copy link
Contributor

bors commented Sep 6, 2022

💔 Test failed - checks-actions

@bors bors added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Sep 6, 2022
@rust-log-analyzer
Copy link
Collaborator

The job dist-x86_64-linux failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[2022-09-06T08:10:16Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:10:17Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2022-09-06T08:10:17Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpcYVxeH#[email protected]" "--profile" "check" "--lib" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:10:37Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2022-09-06T08:10:37Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpcYVxeH#[email protected]" "--profile" "check" "--lib" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpcYVxeH/incremental-state"
[2022-09-06T08:11:01Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:11:01Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpcYVxeH#[email protected]" "--profile" "check" "--lib" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpcYVxeH/incremental-state"
[2022-09-06T08:11:05Z DEBUG collector::execute] applying println to "/tmp/.tmpcYVxeH"
[2022-09-06T08:11:05Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2022-09-06T08:11:05Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2022-09-06T08:11:05Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpcYVxeH#[email protected]" "--profile" "check" "--lib" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpcYVxeH/incremental-state"
[2022-09-06T08:11:10Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:11:11Z INFO  collector::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2022-09-06T08:11:11Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmptJUc7C#[email protected]" "--lib" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:12:02Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2022-09-06T08:12:02Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2022-09-06T08:12:02Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmptJUc7C#[email protected]" "--lib" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmptJUc7C/incremental-state"
[2022-09-06T08:13:03Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:13:03Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmptJUc7C#[email protected]" "--lib" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmptJUc7C/incremental-state"
[2022-09-06T08:13:13Z DEBUG collector::execute] applying println to "/tmp/.tmptJUc7C"
[2022-09-06T08:13:13Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2022-09-06T08:13:13Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2022-09-06T08:13:13Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmptJUc7C#[email protected]" "--lib" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmptJUc7C/incremental-state"
[2022-09-06T08:13:31Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:13:31Z INFO  collector::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2022-09-06T08:13:31Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpyFZ28q#[email protected]" "--release" "--lib" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:14:30Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
---
[2022-09-06T08:16:03Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:16:03Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2022-09-06T08:16:03Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpLiVOpQ#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:16:11Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2022-09-06T08:16:11Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpLiVOpQ#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpLiVOpQ/incremental-state"
[2022-09-06T08:16:21Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:16:21Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpLiVOpQ#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpLiVOpQ/incremental-state"
[2022-09-06T08:16:21Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:16:21Z INFO  collector::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2022-09-06T08:16:21Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpHD50Mf#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:16:30Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
---
[2022-09-06T08:16:40Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:16:40Z INFO  collector::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2022-09-06T08:16:40Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpWDE7LF#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:16:48Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2022-09-06T08:16:48Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpWDE7LF#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpWDE7LF/incremental-state"
[2022-09-06T08:16:58Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:16:58Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpWDE7LF#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpWDE7LF/incremental-state"
Executing benchmark diesel-1.4.8 (4/8)
Preparing diesel-1.4.8
[2022-09-06T08:16:59Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2022-09-06T08:16:59Z INFO  collector::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
---
[2022-09-06T08:17:18Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:17:18Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2022-09-06T08:17:18Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpno4shS#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:17:34Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2022-09-06T08:17:34Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpno4shS#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpno4shS/incremental-state"
[2022-09-06T08:17:53Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:17:53Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpno4shS#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpno4shS/incremental-state"
[2022-09-06T08:17:56Z DEBUG collector::execute] applying println to "/tmp/.tmpno4shS"
[2022-09-06T08:17:56Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2022-09-06T08:17:56Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2022-09-06T08:17:56Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpno4shS#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpno4shS/incremental-state"
[2022-09-06T08:18:00Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:18:00Z INFO  collector::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2022-09-06T08:18:00Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpOGXl0n#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:18:18Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2022-09-06T08:18:18Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2022-09-06T08:18:18Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpOGXl0n#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpOGXl0n/incremental-state"
[2022-09-06T08:18:40Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:18:40Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpOGXl0n#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpOGXl0n/incremental-state"
[2022-09-06T08:18:44Z DEBUG collector::execute] applying println to "/tmp/.tmpOGXl0n"
[2022-09-06T08:18:44Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2022-09-06T08:18:44Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2022-09-06T08:18:44Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpOGXl0n#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpOGXl0n/incremental-state"
[2022-09-06T08:18:48Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:18:48Z INFO  collector::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2022-09-06T08:18:48Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpAX4poe#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:19:07Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2022-09-06T08:19:07Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2022-09-06T08:19:07Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpAX4poe#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpAX4poe/incremental-state"
[2022-09-06T08:19:30Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:19:30Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpAX4poe#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpAX4poe/incremental-state"
[2022-09-06T08:19:33Z DEBUG collector::execute] applying println to "/tmp/.tmpAX4poe"
[2022-09-06T08:19:33Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2022-09-06T08:19:33Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2022-09-06T08:19:33Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpAX4poe#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpAX4poe/incremental-state"
Executing benchmark externs (5/8)
Preparing externs
[2022-09-06T08:19:37Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2022-09-06T08:19:37Z INFO  collector::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
---
[2022-09-06T08:19:38Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:19:38Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2022-09-06T08:19:38Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpxHodrF#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:19:38Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2022-09-06T08:19:38Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpxHodrF#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpxHodrF/incremental-state"
[2022-09-06T08:19:39Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:19:39Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpxHodrF#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpxHodrF/incremental-state"
[2022-09-06T08:19:40Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:19:40Z INFO  collector::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2022-09-06T08:19:40Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmp5yrJNz#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:19:40Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2022-09-06T08:19:40Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2022-09-06T08:19:40Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmp5yrJNz#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmp5yrJNz/incremental-state"
[2022-09-06T08:19:41Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:19:41Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmp5yrJNz#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmp5yrJNz/incremental-state"
[2022-09-06T08:19:42Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:19:42Z INFO  collector::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2022-09-06T08:19:42Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpJRJLyn#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:19:43Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2022-09-06T08:19:43Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2022-09-06T08:19:43Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpJRJLyn#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpJRJLyn/incremental-state"
[2022-09-06T08:19:44Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:19:44Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpJRJLyn#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpJRJLyn/incremental-state"
Executing benchmark match-stress (6/8)
Preparing match-stress
[2022-09-06T08:19:44Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2022-09-06T08:19:44Z INFO  collector::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None
---
[2022-09-06T08:19:45Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:19:45Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2022-09-06T08:19:45Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpdJr4sU#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:19:48Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2022-09-06T08:19:48Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpdJr4sU#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpdJr4sU/incremental-state"
[2022-09-06T08:19:51Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:19:51Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpdJr4sU#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpdJr4sU/incremental-state"
[2022-09-06T08:19:52Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:19:52Z INFO  collector::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2022-09-06T08:19:52Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpCHMStp#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:19:55Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
---
[2022-09-06T08:19:59Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:19:59Z INFO  collector::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2022-09-06T08:19:59Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpdZgf4c#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:20:02Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2022-09-06T08:20:02Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpdZgf4c#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpdZgf4c/incremental-state"
[2022-09-06T08:20:05Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:20:05Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpdZgf4c#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpdZgf4c/incremental-state"
Executing benchmark token-stream-stress (7/8)
Preparing token-stream-stress
[2022-09-06T08:20:07Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2022-09-06T08:20:07Z INFO  collector::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
---
[2022-09-06T08:20:08Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:20:08Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2022-09-06T08:20:08Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpZrT4vK#[email protected]" "--profile" "check" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:20:08Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2022-09-06T08:20:08Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpZrT4vK#[email protected]" "--profile" "check" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpZrT4vK/incremental-state"
[2022-09-06T08:20:08Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:20:08Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpZrT4vK#[email protected]" "--profile" "check" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpZrT4vK/incremental-state"
[2022-09-06T08:20:08Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:20:08Z INFO  collector::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2022-09-06T08:20:08Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpzqONb3#[email protected]" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:20:08Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
---
[2022-09-06T08:20:09Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:20:09Z INFO  collector::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2022-09-06T08:20:09Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmplFFp8j#[email protected]" "--release" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:20:09Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2022-09-06T08:20:09Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmplFFp8j#[email protected]" "--release" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmplFFp8j/incremental-state"
[2022-09-06T08:20:09Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:20:09Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmplFFp8j#[email protected]" "--release" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmplFFp8j/incremental-state"
Executing benchmark tuple-stress (8/8)
Preparing tuple-stress
[2022-09-06T08:20:10Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2022-09-06T08:20:10Z INFO  collector::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None
---
[2022-09-06T08:20:10Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:20:10Z INFO  collector::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2022-09-06T08:20:10Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpqhVLX9#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:20:15Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2022-09-06T08:20:15Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpqhVLX9#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpqhVLX9/incremental-state"
[2022-09-06T08:20:21Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:20:21Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpqhVLX9#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpqhVLX9/incremental-state"
[2022-09-06T08:20:23Z DEBUG collector::execute] applying new row to "/tmp/.tmpqhVLX9"
[2022-09-06T08:20:23Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" })
[2022-09-06T08:20:23Z INFO  collector::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" })
[2022-09-06T08:20:23Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpqhVLX9#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpqhVLX9/incremental-state"
[2022-09-06T08:20:29Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:20:29Z INFO  collector::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2022-09-06T08:20:29Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpgtGpTN#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:20:34Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2022-09-06T08:20:34Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2022-09-06T08:20:34Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpgtGpTN#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpgtGpTN/incremental-state"
[2022-09-06T08:20:40Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:20:40Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpgtGpTN#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpgtGpTN/incremental-state"
[2022-09-06T08:20:42Z DEBUG collector::execute] applying new row to "/tmp/.tmpgtGpTN"
[2022-09-06T08:20:42Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" })
[2022-09-06T08:20:42Z INFO  collector::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" })
[2022-09-06T08:20:42Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpgtGpTN#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpgtGpTN/incremental-state"
[2022-09-06T08:20:48Z DEBUG collector::execute] Benchmark iteration 1/1
[2022-09-06T08:20:48Z INFO  collector::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2022-09-06T08:20:48Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpDvXIan#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2022-09-06T08:20:53Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2022-09-06T08:20:53Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2022-09-06T08:20:53Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpDvXIan#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpDvXIan/incremental-state"
[2022-09-06T08:20:59Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None
[2022-09-06T08:20:59Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpDvXIan#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpDvXIan/incremental-state"
[2022-09-06T08:21:01Z DEBUG collector::execute] applying new row to "/tmp/.tmpDvXIan"
[2022-09-06T08:21:01Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" })
[2022-09-06T08:21:01Z INFO  collector::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" })
[2022-09-06T08:21:01Z DEBUG collector::execute] "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "file:///tmp/.tmpDvXIan#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpDvXIan/incremental-state"
+ cd /checkout/obj
+ RUSTC_PROFILE_MERGED_FILE=/tmp/tmp-pgo/rustc-pgo.profdata
+ /checkout/obj/build/x86_64-unknown-linux-gnu/llvm/bin/llvm-profdata merge -o /tmp/tmp-pgo/rustc-pgo.profdata /tmp/tmp-pgo/rustc-pgo
+ echo 'Rustc PGO statistics'
---
   Compiling datafrog v2.0.1
   Compiling memchr v2.5.0
[RUSTC-TIMING] unic_char_range test:false 0.164
   Compiling regex-syntax v0.6.26
warning: rustc_graphviz.759a0216-cgu.4: no profile data available for function _RNvMNtNtNtCsi2sE9x7BlhT_4core4iter8adapters3revINtB2_3RevINtNtNtB8_3ops5range5RangejEE3newCskpVFYkztUEY_14rustc_graphviz Hash = 742261418966908927 up to 0 count discarded
[RUSTC-TIMING] itoa test:false 0.130
   Compiling tinyvec v0.3.4
[RUSTC-TIMING] build_script_build test:false 0.293
[RUSTC-TIMING] build_script_build test:false 0.314
---
[RUSTC-TIMING] aho_corasick test:false 2.259
   Compiling gimli v0.26.1
[RUSTC-TIMING] rand test:false 1.319
   Compiling object v0.29.0
warning: rustc_serialize.ebc8d444-cgu.6: no profile data available for function _RINvNtCsi2sE9x7BlhT_4core3ptr13drop_in_placeRjECs6O2AbwAFpWq_15rustc_serialize Hash = 742261418966908927 up to 0 count discarded

warning: rustc_serialize.ebc8d444-cgu.6: no profile data available for function _RINvNtCsi2sE9x7BlhT_4core9panicking13assert_failedjjECs6O2AbwAFpWq_15rustc_serialize Hash = 742261418966908927 up to 0 count discarded

warning: rustc_serialize.ebc8d444-cgu.10: no profile data available for function _RNvXsV_NtCsi2sE9x7BlhT_4core3fmtRjNtB5_5Debug3fmtCs6O2AbwAFpWq_15rustc_serialize Hash = 1124680650125156080 up to 0 count discarded
   Compiling tempfile v3.2.0
[RUSTC-TIMING] regex_automata test:false 2.847
[RUSTC-TIMING] rustc_serialize test:false 0.596
warning: `rustc_serialize` (lib) generated 3 warnings
---
error[E0308]: mismatched types
    |
   ::: src/tools/rustfmt/src/closures.rs:152:16
    |
152 |           stmts: vec![ast::Stmt {
    |  ________________-
153 | |             id: ast::NodeId::root(),
154 | |             kind: ast::StmtKind::Expr(ptr::P(body.clone())),
156 | |         }],
    | |__________- in this macro invocation
    |
    |
    = note: expected struct `std::boxed::Box<[rustc_ast::Stmt]>`
               found struct `Vec<rustc_ast::Stmt>`

error[E0599]: no method named `as_slice` found for reference `&std::boxed::Box<[P<rustc_ast::Item<AssocItemKind>>]>` in the current scope
    |
    |
725 |     if is_impl_single_line(context, items.as_slice(), &result, &where_clause_str, item)? {
    |                                           ^^^^^^^^ method not found in `&std::boxed::Box<[P<rustc_ast::Item<AssocItemKind>>]>`
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
3   | use core::slice::SlicePattern;
3   | use core::slice::SlicePattern;
    |

error[E0308]: mismatched types
   --> src/tools/rustfmt/src/closures.rs:152:16
    |
152 |           stmts: vec![ast::Stmt {
    |  ________________^
153 | |             id: ast::NodeId::root(),
154 | |             kind: ast::StmtKind::Expr(ptr::P(body.clone())),
156 | |         }],
156 | |         }],
    | |__________^ expected struct `std::boxed::Box`, found struct `std::vec::Vec`
    |
    = note: expected struct `std::boxed::Box<[rustc_ast::Stmt]>`
               found struct `std::vec::Vec<rustc_ast::Stmt>`
    = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named `as_slice` found for reference `&std::boxed::Box<[rustc_ast::ptr::P<rustc_ast::Item<rustc_ast::AssocItemKind>>]>` in the current scope
    |
    |
725 |     if is_impl_single_line(context, items.as_slice(), &result, &where_clause_str, item)? {
    |                                           ^^^^^^^^ method not found in `&std::boxed::Box<[rustc_ast::ptr::P<rustc_ast::Item<rustc_ast::AssocItemKind>>]>`
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
3   | use core::slice::SlicePattern;

@@ -2440,7 +2440,7 @@ pub struct ForeignMod {

#[derive(Clone, Encodable, Decodable, Debug)]
pub struct EnumDef {
pub variants: Vec<Variant>,
pub variants: Box<[Variant]>,
Copy link
Contributor

@Kobzol Kobzol Sep 6, 2022

Choose a reason for hiding this comment

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

Maybe we could use std::boxed::ThinBox or something similar to further reduce the size from 16 to 8 bytes? By storing the slice size on the heap.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is also thin_vec::ThinVec, which I introduced to the compiler in #100869. Unfortunately, getting any of these kinds of changes to show a clear performance benefit has been hard.

@nnethercote
Copy link
Contributor Author

This one seems unlikely to produce any wins.

@nnethercote nnethercote closed this Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-perf Status: Waiting on a perf run to be completed. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants