[Solved] 30 secs to compile 1200 lines of code?

  1. This is the result of

cargo build; make small edit to src/lib.rs; time cargo build:


real    0m28.638s
user    0m53.068s
sys     0m1.040s
[x@devstation 34_vm_cas_parser]$ ls
Cargo.toml  errs  src
[x@devstation 34_vm_cas_parser]$ cloc src/
      11 text files.
      11 unique files.                              
       1 file ignored.

github.com/AlDanial/cloc v 1.72  T=0.05 s (208.8 files/s, 32611.6 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Rust                            10            251            156           1155
-------------------------------------------------------------------------------
SUM:                            10            251            156           1155
-------------------------------------------------------------------------------

  1. So it’s taking about 30 secs to compile 1200 lines of rust/combine code.

  2. The machine has 96GB of ram and 24 cores of model name : Intel® Xeon® CPU X5675 @ 3.07GHz

  3. Most of my other Rust crates compile in 2-3 seconds.

  4. The code is proprietary, so I can’t post it. Any idea what might be making this so slow (and what I can do to speed up compile time? this is killing my iteration cycles).

Try -Z time-passes flag:

1 Like

Part 1:

|time: 0.006; rss: 55MB|parsing|
|---|---|
|  time: 0.000; rss: 56MB|attributes injection|
|  time: 0.000; rss: 56MB|garbage collect incremental cache directory|
|  time: 0.000; rss: 56MB|recursion limit|
|  time: 0.000; rss: 56MB|crate injection|
|  time: 0.000; rss: 56MB|plugin loading|
|  time: 0.000; rss: 56MB|plugin registration|
|  time: 0.001; rss: 56MB|pre ast expansion lint checks|
|  time: 0.028; rss: 94MB|background load prev dep-graph|
|    time: 0.037; rss: 102MB|expand crate|
|    time: 0.000; rss: 102MB|check unused macros|
|  time: 0.038; rss: 103MB|expansion|
|  time: 0.000; rss: 103MB|maybe building test harness|
|  time: 0.000; rss: 103MB|AST validation|
|  time: 0.000; rss: 103MB|maybe creating a macro crate|
|  time: 0.012; rss: 108MB|name resolution|
|  time: 0.000; rss: 108MB|complete gated feature checking|
|  time: 0.000; rss: 108MB|blocked while dep-graph loading finishes|
|  time: 0.004; rss: 112MB|lowering ast -> hir|
|  time: 0.001; rss: 112MB|early lint checks|
|    time: 0.001; rss: 115MB|validate hir map|
|  time: 0.006; rss: 115MB|indexing hir|
|  time: 0.002; rss: 118MB|load query result cache|
|  time: 0.000; rss: 124MB|dep graph tcx init|
|  time: 0.000; rss: 124MB|looking for entry point|
|  time: 0.000; rss: 124MB|looking for plugin registrar|
|  time: 0.000; rss: 124MB|looking for derive registrar|
|  time: 0.000; rss: 124MB|loop checking|
|  time: 0.001; rss: 126MB|attribute checking|
|  time: 0.002; rss: 128MB|stability checking|
|  time: 0.023; rss: 153MB|type collecting|
|  time: 0.000; rss: 153MB|impl wf inference|
|    time: 0.000; rss: 153MB|builtin::check_trait checking|
|    time: 0.000; rss: 155MB|builtin::check_trait checking|
|    time: 0.000; rss: 155MB|builtin::check_trait checking|
|    time: 0.000; rss: 155MB|builtin::check_trait checking|
|    time: 0.000; rss: 159MB|builtin::check_trait checking|
|    time: 0.000; rss: 160MB|builtin::check_trait checking|
|    time: 0.000; rss: 161MB|builtin::check_trait checking|
|    time: 0.000; rss: 161MB|builtin::check_trait checking|
|    time: 0.000; rss: 161MB|unsafety checking|
|    time: 0.000; rss: 161MB|orphan checking|
|  time: 0.029; rss: 161MB|coherence checking|
|  time: 0.015; rss: 164MB|wf checking|
|    time: 0.000; rss: 164MB|builtin::check_trait checking|
|  time: 0.002; rss: 164MB|item-types checking|
|  time: 0.576; rss: 177MB|item-bodies checking|
|    time: 0.041; rss: 177MB|rvalue promotion|
|    time: 0.002; rss: 177MB|intrinsic checking|
|    time: 0.002; rss: 177MB|match checking|
|    time: 0.003; rss: 177MB|liveness checking|
|  time: 0.048; rss: 177MB|misc checking|
|  time: 0.000; rss: 177MB|borrow checking|
|    time: 0.000; rss: 177MB|solve_nll_region_constraints(DefId(0/0:181 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[2]::fmt[0]))|
|    time: 0.000; rss: 177MB|solve_nll_region_constraints(DefId(0/0:186 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[4]::fmt[0]))|
|    time: 0.000; rss: 177MB|solve_nll_region_constraints(DefId(0/0:184 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[3]::clone[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:191 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[6]::fmt[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:189 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[5]::clone[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:40 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[0]::r[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:42 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::is_null[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:43 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::is_bool[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:44 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::true_q[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:45 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::from_bool[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:46 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::atom_null[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:47 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::atom_line[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:48 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::atom_limit[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:49 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::atom_in[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:50 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::atom_out[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:51 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::atom_true[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:52 ~ vm_cas_parser[3a1a]::data[0]::{{impl}}[1]::atom_false[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:175 ~ vm_cas_parser[3a1a]::data[0]::number[0]::b_float[0]::{{impl}}[4]::fmt[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/1:35 ~ vm_cas_parser[3a1a]::parser[0]::pattern[0]::{{closure}}[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:107 ~ vm_cas_parser[3a1a]::parser[0]::pattern[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:108 ~ vm_cas_parser[3a1a]::parser[0]::blank_e[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:109 ~ vm_cas_parser[3a1a]::parser[0]::uniapply[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:110 ~ vm_cas_parser[3a1a]::parser[0]::uniapply_f[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:111 ~ vm_cas_parser[3a1a]::parser[0]::sub[0]))|
|    time: 0.000; rss: 181MB|solve_nll_region_constraints(DefId(0/0:112 ~ vm_cas_parser[3a1a]::parser[0]::divide[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:45 ~ vm_cas_parser[3a1a]::parser[0]::binaryr[0]::{{closure}}[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:44 ~ vm_cas_parser[3a1a]::parser[0]::binaryr[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/0:117 ~ vm_cas_parser[3a1a]::parser[0]::binaryr[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:292 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:293 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[1]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:294 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[2]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:295 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[3]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:296 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[4]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:297 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[5]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:298 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[6]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:299 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[7]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:300 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[8]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:301 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[9]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:302 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[10]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:303 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[11]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:304 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[12]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:305 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[13]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:306 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[14]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:307 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[15]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:308 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[16]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:309 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[17]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:310 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[18]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:311 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[19]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:312 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[20]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:313 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[21]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:314 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[22]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:315 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]::{{closure}}[23]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/0:118 ~ vm_cas_parser[3a1a]::parser[0]::op_expr[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:48 ~ vm_cas_parser[3a1a]::parser[0]::make_parser[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/0:119 ~ vm_cas_parser[3a1a]::parser[0]::make_parser[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:59 ~ vm_cas_parser[3a1a]::parser[0]::expr[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:61 ~ vm_cas_parser[3a1a]::parser[0]::list[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/0:124 ~ vm_cas_parser[3a1a]::parser[0]::list[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/0:125 ~ vm_cas_parser[3a1a]::parser[0]::white_space[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:65 ~ vm_cas_parser[3a1a]::parser[0]::space_mul_left[0]::{{closure}}[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:64 ~ vm_cas_parser[3a1a]::parser[0]::space_mul_left[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/0:126 ~ vm_cas_parser[3a1a]::parser[0]::space_mul_left[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:68 ~ vm_cas_parser[3a1a]::parser[0]::appl_part_left[0]::{{closure}}[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:67 ~ vm_cas_parser[3a1a]::parser[0]::appl_part_left[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/0:127 ~ vm_cas_parser[3a1a]::parser[0]::appl_part_left[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:71 ~ vm_cas_parser[3a1a]::parser[0]::appl_left[0]::{{closure}}[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/1:70 ~ vm_cas_parser[3a1a]::parser[0]::appl_left[0]::{{closure}}[0]))|
|    time: 0.000; rss: 182MB|solve_nll_region_constraints(DefId(0/0:128 ~ vm_cas_parser[3a1a]::parser[0]::appl_left[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:129 ~ vm_cas_parser[3a1a]::parser[0]::term[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:75 ~ vm_cas_parser[3a1a]::parser[0]::prefixr[0]::{{closure}}[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:74 ~ vm_cas_parser[3a1a]::parser[0]::prefixr[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:130 ~ vm_cas_parser[3a1a]::parser[0]::prefixr[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:78 ~ vm_cas_parser[3a1a]::parser[0]::postfixr[0]::{{closure}}[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:77 ~ vm_cas_parser[3a1a]::parser[0]::postfixr[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:131 ~ vm_cas_parser[3a1a]::parser[0]::postfixr[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:132 ~ vm_cas_parser[3a1a]::parser[0]::parens[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:133 ~ vm_cas_parser[3a1a]::parser[0]::brackets[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:134 ~ vm_cas_parser[3a1a]::parser[0]::braces[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:86 ~ vm_cas_parser[3a1a]::parser[0]::argument[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:135 ~ vm_cas_parser[3a1a]::parser[0]::argument[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:88 ~ vm_cas_parser[3a1a]::parser[0]::part_args[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:136 ~ vm_cas_parser[3a1a]::parser[0]::part_args[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:90 ~ vm_cas_parser[3a1a]::parser[0]::char_literal[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:91 ~ vm_cas_parser[3a1a]::parser[0]::char_literal[0]::{{closure}}[1]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:137 ~ vm_cas_parser[3a1a]::parser[0]::char_literal[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:93 ~ vm_cas_parser[3a1a]::parser[0]::string_literal[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:138 ~ vm_cas_parser[3a1a]::parser[0]::string_literal[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:95 ~ vm_cas_parser[3a1a]::parser[0]::char_e[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:139 ~ vm_cas_parser[3a1a]::parser[0]::char_e[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:97 ~ vm_cas_parser[3a1a]::parser[0]::string_e[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:140 ~ vm_cas_parser[3a1a]::parser[0]::string_e[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:141 ~ vm_cas_parser[3a1a]::parser[0]::identifier[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:100 ~ vm_cas_parser[3a1a]::parser[0]::var_e[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:142 ~ vm_cas_parser[3a1a]::parser[0]::var_e[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:194 ~ vm_cas_parser[3a1a]::parser[0]::{{impl}}[3]::fmt[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:144 ~ vm_cas_parser[3a1a]::parser[0]::{{impl}}[0]::fmt[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:148 ~ vm_cas_parser[3a1a]::parser[0]::{{impl}}[2]::into[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:105 ~ vm_cas_parser[3a1a]::parser[0]::derivative_postfix[0]::{{closure}}[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:104 ~ vm_cas_parser[3a1a]::parser[0]::derivative_postfix[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:149 ~ vm_cas_parser[3a1a]::parser[0]::derivative_postfix[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:107 ~ vm_cas_parser[3a1a]::parser[0]::blk[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:150 ~ vm_cas_parser[3a1a]::parser[0]::blk[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:109 ~ vm_cas_parser[3a1a]::parser[0]::blk_seq[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:151 ~ vm_cas_parser[3a1a]::parser[0]::blk_seq[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/1:111 ~ vm_cas_parser[3a1a]::parser[0]::blk_null_seq[0]::{{closure}}[0]))|
|    time: 0.000; rss: 183MB|solve_nll_region_constraints(DefId(0/0:152 ~ vm_cas_parser[3a1a]::parser[0]::blk_null_seq[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:113 ~ vm_cas_parser[3a1a]::parser[0]::special_forms[0]::{{closure}}[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:114 ~ vm_cas_parser[3a1a]::parser[0]::special_forms[0]::{{closure}}[1]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:115 ~ vm_cas_parser[3a1a]::parser[0]::special_forms[0]::{{closure}}[2]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:116 ~ vm_cas_parser[3a1a]::parser[0]::special_forms[0]::{{closure}}[3]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:117 ~ vm_cas_parser[3a1a]::parser[0]::special_forms[0]::{{closure}}[4]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:118 ~ vm_cas_parser[3a1a]::parser[0]::special_forms[0]::{{closure}}[5]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:153 ~ vm_cas_parser[3a1a]::parser[0]::special_forms[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:120 ~ vm_cas_parser[3a1a]::parser[0]::slot[0]::{{closure}}[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:154 ~ vm_cas_parser[3a1a]::parser[0]::slot[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:122 ~ vm_cas_parser[3a1a]::parser[0]::slot_n[0]::{{closure}}[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:155 ~ vm_cas_parser[3a1a]::parser[0]::slot_n[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:124 ~ vm_cas_parser[3a1a]::parser[0]::slot_seq[0]::{{closure}}[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:156 ~ vm_cas_parser[3a1a]::parser[0]::slot_seq[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:126 ~ vm_cas_parser[3a1a]::parser[0]::slot_seq_n[0]::{{closure}}[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:157 ~ vm_cas_parser[3a1a]::parser[0]::slot_seq_n[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:128 ~ vm_cas_parser[3a1a]::parser[0]::out[0]::{{closure}}[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:158 ~ vm_cas_parser[3a1a]::parser[0]::out[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:130 ~ vm_cas_parser[3a1a]::parser[0]::out_n[0]::{{closure}}[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:159 ~ vm_cas_parser[3a1a]::parser[0]::out_n[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:160 ~ vm_cas_parser[3a1a]::parser[0]::out_term[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:161 ~ vm_cas_parser[3a1a]::parser[0]::slots[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:135 ~ vm_cas_parser[3a1a]::parser[0]::read_u32[0]::{{closure}}[0]::{{closure}}[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:134 ~ vm_cas_parser[3a1a]::parser[0]::read_u32[0]::{{closure}}[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:162 ~ vm_cas_parser[3a1a]::parser[0]::read_u32[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:163 ~ vm_cas_parser[3a1a]::parser[0]::str_to_bignum[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:164 ~ vm_cas_parser[3a1a]::parser[0]::str_to_var[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/1:137 ~ vm_cas_parser[3a1a]::parser[0]::atom_name[0]::{{closure}}[0]))|
|    time: 0.000; rss: 184MB|solve_nll_region_constraints(DefId(0/0:165 ~ vm_cas_parser[3a1a]::parser[0]::atom_name[0]))|
|    time: 0.000; rss: 185MB|solve_nll_region_constraints(DefId(0/1:140 ~ vm_cas_parser[3a1a]::parser[0]::empty_prefix[0]::{{closure}}[0]::{{closure}}[0]))|
|    time: 0.000; rss: 185MB|solve_nll_region_constraints(DefId(0/1:139 ~ vm_cas_parser[3a1a]::parser[0]::empty_prefix[0]::{{closure}}[0]))|
|    time: 0.000; rss: 185MB|solve_nll_region_constraints(DefId(0/0:166 ~ vm_cas_parser[3a1a]::parser[0]::empty_prefix[0]))|
|    time: 0.000; rss: 185MB|solve_nll_region_constraints(DefId(0/1:143 ~ vm_cas_parser[3a1a]::parser[0]::empty_postfix[0]::{{closure}}[0]::{{closure}}[0]))|
|    time: 0.000; rss: 185MB|solve_nll_region_constraints(DefId(0/1:142 ~ vm_cas_parser[3a1a]::parser[0]::empty_postfix[0]::{{closure}}[0]))|
|    time: 0.000; rss: 185MB|solve_nll_region_constraints(DefId(0/0:167 ~ vm_cas_parser[3a1a]::parser[0]::empty_postfix[0]))|
|    time: 0.000; rss: 185MB|solve_nll_region_constraints(DefId(0/1:145 ~ vm_cas_parser[3a1a]::parser[0]::bignum[0]::{{closure}}[0]))|
|    time: 0.000; rss: 185MB|solve_nll_region_constraints(DefId(0/0:168 ~ vm_cas_parser[3a1a]::parser[0]::bignum[0]))|
|    time: 0.000; rss: 185MB|solve_nll_region_constraints(DefId(0/0:169 ~ vm_cas_parser[3a1a]::parser[0]::test_s[0]))|
|    time: 0.000; rss: 185MB|solve_nll_region_constraints(DefId(0/0:170 ~ vm_cas_parser[3a1a]::parser[0]::main[0]))|
|  time: 0.867; rss: 185MB|MIR borrow checking|
|  time: 0.000; rss: 185MB|dumping chalk-like clauses|
|  time: 0.000; rss: 185MB|MIR effect checking|
|  time: 0.000; rss: 185MB|layout testing|
|    time: 0.015; rss: 185MB|privacy checking|
|    time: 0.001; rss: 185MB|death checking|
|    time: 0.000; rss: 185MB|unused lib feature checking|
|    time: 0.105; rss: 185MB|lint checking|
|  time: 0.121; rss: 185MB|misc checking|
|  time: 0.000; rss: 185MB|resolving dependency formats|

Part 2:

     time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:149 ~ vm_cas_parser[3a1a]::data[0]::LispVal[0]::String[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:151 ~ vm_cas_parser[3a1a]::data[0]::LispVal[0]::Atom[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:153 ~ vm_cas_parser[3a1a]::data[0]::LispVal[0]::List[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:155 ~ vm_cas_parser[3a1a]::data[0]::LispVal[0]::Char[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:159 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::BInt[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:161 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::BFloat[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:163 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Lis[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:165 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Args[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:167 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Var[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:169 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Add[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:172 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Mul[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:175 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Pow[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:178 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Inverse[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:180 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::And[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:183 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Or[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:186 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Not[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:188 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Equal[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:191 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Less[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:194 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::LessEq[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:197 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Great[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:200 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::GreatEq[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:203 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::UnEq[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:206 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Compound[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:209 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Apply[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:212 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Fact[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:214 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Negate[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:216 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Part[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:219 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::PartArgs[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:221 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Map[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:224 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::MapAll[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:227 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Apply1[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:230 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Apply11[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:233 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Derivative[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:236 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Rule[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:239 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::RuleDelayed[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:242 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Replace[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:245 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::ReplaceRepeated[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:248 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Set[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:251 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::SetDelayed[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:254 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Unset[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:256 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Dot[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:260 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::BlkE[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:263 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::BlkSeqE[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:266 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::NullSeqE[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:268 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Pattern[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:271 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::PatternTest[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:274 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Function[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:276 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Slot[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:278 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::SlotSeq[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:280 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Str[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:282 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Chr[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:284 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Out[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:286 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Cond[0]))
      time: 0.000; rss: 187MB	solve_nll_region_constraints(DefId(0/1:289 ~ vm_cas_parser[3a1a]::data[0]::Expr[0]::Alter[0]))
    time: 0.035; rss: 187MB	write metadata
      time: 0.000; rss: 187MB	collecting roots
      time: 0.611; rss: 205MB	collecting mono items
    time: 0.611; rss: 205MB	monomorphization collection
    time: 0.016; rss: 209MB	codegen unit partitioning
    time: 0.382; rss: 276MB	llvm function passes [549c0pbuz2oh908j]
    time: 0.239; rss: 312MB	llvm function passes [3fxjm8prk8q7ccku]
    time: 0.082; rss: 330MB	llvm function passes [3u5mdeqx59go0p34]
    time: 0.047; rss: 337MB	llvm function passes [68qqy6b03p5ilmt]
    time: 0.033; rss: 344MB	llvm function passes [3kbolbt1jbgm1jbe]
    time: 0.047; rss: 348MB	llvm module passes [3kbolbt1jbgm1jbe]
    time: 0.033; rss: 348MB	llvm function passes [31edm3hs8119art5]
    time: 0.024; rss: 351MB	llvm function passes [3uiwf7utcaybtgw1]
    time: 0.042; rss: 357MB	llvm function passes [1b2ygnijdldox9sf]
    time: 0.027; rss: 359MB	llvm function passes [23m6k23zfmt1jcf6]
    time: 0.021; rss: 363MB	llvm function passes [2brq5m84j9oa2u6z]
    time: 0.007; rss: 365MB	llvm function passes [4m52i5fidkg3e8kd]
    time: 0.045; rss: 367MB	llvm module passes [4m52i5fidkg3e8kd]
    time: 0.351; rss: 367MB	llvm module passes [31edm3hs8119art5]
    time: 0.167; rss: 368MB	llvm module passes [23m6k23zfmt1jcf6]
    time: 0.021; rss: 368MB	llvm function passes [14qq49gmm623xdmz]
    time: 0.010; rss: 371MB	llvm function passes [p76hkuugwj4mjk5]
    time: 0.596; rss: 372MB	llvm module passes [68qqy6b03p5ilmt]
    time: 0.010; rss: 372MB	llvm function passes [462lftl42gmtqbr1]
    time: 0.182; rss: 372MB	llvm module passes [2brq5m84j9oa2u6z]
    time: 0.008; rss: 373MB	llvm function passes [3x8slxzhgljfbq5f]
    time: 0.127; rss: 374MB	llvm module passes [p76hkuugwj4mjk5]
    time: 0.017; rss: 374MB	llvm function passes [4gbnwti8mwzuw43j]
    time: 0.463; rss: 374MB	llvm module passes [3uiwf7utcaybtgw1]
    time: 0.062; rss: 374MB	llvm module passes [3x8slxzhgljfbq5f]
    time: 0.013; rss: 374MB	llvm function passes [40h3npmguda61kd5]
    time: 0.183; rss: 375MB	llvm module passes [14qq49gmm623xdmz]
    time: 0.008; rss: 376MB	llvm function passes [4sr76et0e3syetqv]
    time: 0.136; rss: 376MB	llvm module passes [462lftl42gmtqbr1]
    time: 0.006; rss: 376MB	llvm function passes [3yu2sbafw89rmss]
    time: 0.007; rss: 376MB	llvm function passes [1wfn16pko4thye2d]
    time: 0.033; rss: 377MB	llvm module passes [1wfn16pko4thye2d]
    time: 0.009; rss: 377MB	llvm function passes [16ic3gy9a29sed9a]
    time: 0.075; rss: 377MB	llvm module passes [4sr76et0e3syetqv]
    time: 0.113; rss: 377MB	llvm module passes [4gbnwti8mwzuw43j]
    time: 0.068; rss: 377MB	llvm module passes [3yu2sbafw89rmss]
    time: 0.006; rss: 378MB	llvm function passes [4or85ee6ggxajyf1]
    time: 0.003; rss: 378MB	llvm function passes [2xq9k8jlga4fct20]
    time: 0.117; rss: 378MB	llvm module passes [40h3npmguda61kd5]
    time: 0.016; rss: 378MB	llvm module passes [2xq9k8jlga4fct20]
    time: 0.005; rss: 378MB	llvm function passes [33w944mism0q7e1b]
    time: 0.002; rss: 378MB	llvm function passes [3ypw4pymrfwo8hvw]
    time: 0.038; rss: 378MB	llvm module passes [4or85ee6ggxajyf1]
    time: 0.002; rss: 378MB	llvm function passes [14haykdjwgxgks2m]
    time: 0.001; rss: 378MB	llvm function passes [2n4i1t3i6mfjy292]
    time: 0.004; rss: 378MB	llvm module passes [2n4i1t3i6mfjy292]
    time: 0.017; rss: 378MB	llvm module passes [3ypw4pymrfwo8hvw]
    time: 0.011; rss: 379MB	llvm module passes [14haykdjwgxgks2m]
    time: 0.002; rss: 379MB	llvm function passes [3cp4c2govu8rtzun]
    time: 0.002; rss: 380MB	llvm function passes [57cg3bcisxayp5bb]
    time: 0.036; rss: 380MB	llvm module passes [33w944mism0q7e1b]
    time: 0.001; rss: 380MB	llvm function passes [2i7imdr7tyq2lzg9]
    time: 0.016; rss: 380MB	llvm module passes [3cp4c2govu8rtzun]
    time: 0.007; rss: 380MB	llvm module passes [2i7imdr7tyq2lzg9]
    time: 0.002; rss: 380MB	llvm function passes [52zu6t6uimj210rg]
    time: 0.001; rss: 380MB	llvm function passes [46j6z8wpeh2fuemg]
    time: 0.015; rss: 380MB	llvm module passes [57cg3bcisxayp5bb]
    time: 0.001; rss: 380MB	llvm function passes [4zksvdlukjfeghjc]
    time: 0.000; rss: 380MB	llvm function passes [1p8m9m1khio3hjsw]
    time: 0.003; rss: 380MB	llvm module passes [46j6z8wpeh2fuemg]
    time: 0.002; rss: 380MB	llvm module passes [1p8m9m1khio3hjsw]
    time: 0.106; rss: 380MB	llvm module passes [16ic3gy9a29sed9a]
    time: 0.001; rss: 380MB	llvm function passes [i7se0jqcrj72emp]
    time: 0.001; rss: 381MB	llvm function passes [3jsi18zlnd6ri8s1]
    time: 0.000; rss: 381MB	llvm function passes [5gupeoroaqp6iwkm]
    time: 0.000; rss: 381MB	llvm module passes [5gupeoroaqp6iwkm]
    time: 0.002; rss: 381MB	llvm module passes [i7se0jqcrj72emp]
    time: 0.000; rss: 381MB	llvm function passes [15uahy6uln3exiey]
    time: 0.001; rss: 381MB	llvm function passes [51rh3prb1ckgxvzb]
    time: 0.000; rss: 381MB	llvm function passes [1msnq9boczhjciyn]
    time: 0.001; rss: 382MB	llvm module passes [51rh3prb1ckgxvzb]
    time: 0.001; rss: 382MB	llvm module passes [15uahy6uln3exiey]
    time: 0.005; rss: 382MB	llvm module passes [4zksvdlukjfeghjc]
    time: 0.000; rss: 382MB	llvm module passes [1msnq9boczhjciyn]
    time: 0.002; rss: 382MB	llvm module passes [3jsi18zlnd6ri8s1]
    time: 0.001; rss: 382MB	llvm function passes [1v6mifhvmt93wskl]
    time: 0.000; rss: 382MB	llvm function passes [221etkzhr5rfx4m3]
    time: 0.001; rss: 382MB	llvm function passes [5agags0lmpcco6pz]
    time: 0.001; rss: 383MB	llvm module passes [1v6mifhvmt93wskl]
    time: 0.000; rss: 383MB	llvm module passes [5agags0lmpcco6pz]
    time: 0.001; rss: 383MB	llvm module passes [221etkzhr5rfx4m3]
    time: 0.010; rss: 383MB	llvm module passes [52zu6t6uimj210rg]
    time: 3.269; rss: 383MB	codegen to LLVM IR
    time: 0.000; rss: 383MB	assert dep graph
    time: 0.000; rss: 383MB	llvm function passes [3nhk1xk7ge3upckl]
    time: 0.003; rss: 383MB	llvm module passes [3nhk1xk7ge3upckl]
            time: 0.000; rss: 384MB	encode_query_results for rustc::ty::queries::type_of
            time: 0.000; rss: 384MB	encode_query_results for rustc::ty::queries::generics_of
            time: 0.000; rss: 384MB	encode_query_results for rustc::ty::queries::predicates_of
            time: 0.000; rss: 384MB	encode_query_results for rustc::ty::queries::used_trait_imports
            time: 0.005; rss: 384MB	encode_query_results for rustc::ty::queries::typeck_tables_of
            time: 0.001; rss: 384MB	encode_query_results for rustc::ty::queries::codegen_fulfill_obligation
            time: 0.005; rss: 385MB	encode_query_results for rustc::ty::queries::optimized_mir
            time: 0.000; rss: 385MB	encode_query_results for rustc::ty::queries::unsafety_check_result
            time: 0.000; rss: 385MB	encode_query_results for rustc::ty::queries::borrowck
            time: 0.000; rss: 385MB	encode_query_results for rustc::ty::queries::mir_borrowck
            time: 0.000; rss: 385MB	encode_query_results for rustc::ty::queries::mir_const_qualif
            time: 0.000; rss: 385MB	encode_query_results for rustc::ty::queries::def_symbol_name
            time: 0.000; rss: 385MB	encode_query_results for rustc::ty::queries::const_is_rvalue_promotable_to_static
            time: 0.001; rss: 385MB	encode_query_results for rustc::ty::queries::symbol_name
            time: 0.000; rss: 385MB	encode_query_results for rustc::ty::queries::check_match
            time: 0.000; rss: 385MB	encode_query_results for rustc::ty::queries::codegen_fn_attrs
            time: 0.001; rss: 385MB	encode_query_results for rustc::ty::queries::specialization_graph_of
          time: 0.013; rss: 386MB	encode query results
        time: 0.021; rss: 386MB	serialize query result cache
      time: 0.022; rss: 386MB	persist query result cache
          time: 0.009; rss: 392MB	getting serialized graph
          time: 0.017; rss: 402MB	encoding serialized graph
        time: 0.026; rss: 402MB	encode dep-graph
      time: 0.030; rss: 402MB	persist dep-graph
    time: 0.052; rss: 402MB	serialize dep graph
  time: 4.013; rss: 402MB	codegen
    time: 0.694; rss: 403MB	llvm module passes [1b2ygnijdldox9sf]
    time: 1.559; rss: 407MB	llvm module passes [3u5mdeqx59go0p34]
    time: 7.725; rss: 428MB	llvm module passes [3fxjm8prk8q7ccku]
    time: 11.685; rss: 435MB	llvm module passes [549c0pbuz2oh908j]
    time: 0.030; rss: 484MB	LTO passes
    time: 0.027; rss: 484MB	LTO passes
    time: 0.034; rss: 490MB	LTO passes
    time: 0.016; rss: 492MB	codegen passes [3cp4c2govu8rtzun]
    time: 0.047; rss: 493MB	LTO passes
    time: 0.055; rss: 496MB	LTO passes
    time: 0.008; rss: 496MB	LTO passes
    time: 0.003; rss: 497MB	codegen passes [3nhk1xk7ge3upckl]
    time: 0.033; rss: 497MB	LTO passes
    time: 0.033; rss: 498MB	codegen passes [57cg3bcisxayp5bb]
    time: 0.027; rss: 500MB	codegen passes [3x8slxzhgljfbq5f]
    time: 0.051; rss: 501MB	LTO passes
    time: 0.068; rss: 501MB	LTO passes
    time: 0.011; rss: 502MB	LTO passes
    time: 0.064; rss: 503MB	LTO passes
    time: 0.024; rss: 504MB	codegen passes [3kbolbt1jbgm1jbe]
    time: 0.010; rss: 504MB	LTO passes
    time: 0.088; rss: 505MB	LTO passes
    time: 0.019; rss: 505MB	LTO passes
    time: 0.018; rss: 507MB	codegen passes [52zu6t6uimj210rg]
    time: 0.053; rss: 509MB	codegen passes [23m6k23zfmt1jcf6]
    time: 0.011; rss: 509MB	codegen passes [14haykdjwgxgks2m]
    time: 0.033; rss: 511MB	codegen passes [4sr76et0e3syetqv]
    time: 0.087; rss: 511MB	LTO passes
    time: 0.003; rss: 511MB	LTO passes
    time: 0.003; rss: 511MB	LTO passes
    time: 0.053; rss: 512MB	codegen passes [33w944mism0q7e1b]
    time: 0.008; rss: 512MB	LTO passes
    time: 0.016; rss: 513MB	LTO passes
    time: 0.006; rss: 513MB	codegen passes [i7se0jqcrj72emp]
    time: 0.006; rss: 513MB	codegen passes [4zksvdlukjfeghjc]
    time: 0.001; rss: 514MB	LTO passes
    time: 0.006; rss: 514MB	LTO passes
    time: 0.027; rss: 514MB	codegen passes [1wfn16pko4thye2d]
    time: 0.030; rss: 514MB	codegen passes [4or85ee6ggxajyf1]
    time: 0.003; rss: 515MB	codegen passes [221etkzhr5rfx4m3]
    time: 0.009; rss: 515MB	codegen passes [2xq9k8jlga4fct20]
    time: 0.120; rss: 516MB	LTO passes
    time: 0.001; rss: 516MB	LTO passes
    time: 0.001; rss: 516MB	LTO passes
    time: 0.002; rss: 516MB	LTO passes
    time: 0.004; rss: 516MB	LTO passes
    time: 0.002; rss: 516MB	LTO passes
    time: 0.003; rss: 516MB	codegen passes [51rh3prb1ckgxvzb]
    time: 0.003; rss: 516MB	codegen passes [2n4i1t3i6mfjy292]
    time: 0.003; rss: 516MB	codegen passes [15uahy6uln3exiey]
    time: 0.010; rss: 517MB	codegen passes [3ypw4pymrfwo8hvw]
    time: 0.004; rss: 517MB	codegen passes [3jsi18zlnd6ri8s1]
    time: 0.001; rss: 517MB	LTO passes
    time: 0.001; rss: 517MB	LTO passes
    time: 0.005; rss: 517MB	codegen passes [1p8m9m1khio3hjsw]
    time: 0.016; rss: 517MB	codegen passes [2i7imdr7tyq2lzg9]
    time: 0.001; rss: 517MB	LTO passes
    time: 0.001; rss: 517MB	LTO passes
    time: 0.002; rss: 517MB	codegen passes [5gupeoroaqp6iwkm]
    time: 0.002; rss: 517MB	codegen passes [5agags0lmpcco6pz]
    time: 0.002; rss: 517MB	codegen passes [1msnq9boczhjciyn]
    time: 0.002; rss: 517MB	codegen passes [1v6mifhvmt93wskl]
    time: 0.015; rss: 518MB	LTO passes
    time: 0.135; rss: 519MB	LTO passes
    time: 0.009; rss: 522MB	codegen passes [46j6z8wpeh2fuemg]
    time: 0.062; rss: 522MB	codegen passes [3yu2sbafw89rmss]
    time: 0.132; rss: 524MB	LTO passes
    time: 0.094; rss: 526MB	codegen passes [4m52i5fidkg3e8kd]
    time: 0.070; rss: 527MB	codegen passes [4gbnwti8mwzuw43j]
    time: 0.158; rss: 527MB	LTO passes
    time: 0.188; rss: 527MB	LTO passes
    time: 0.193; rss: 528MB	LTO passes
    time: 0.064; rss: 532MB	codegen passes [40h3npmguda61kd5]
    time: 0.200; rss: 533MB	LTO passes
    time: 0.067; rss: 534MB	codegen passes [2brq5m84j9oa2u6z]
    time: 0.114; rss: 535MB	codegen passes [p76hkuugwj4mjk5]
    time: 0.056; rss: 536MB	codegen passes [14qq49gmm623xdmz]
    time: 0.100; rss: 542MB	codegen passes [462lftl42gmtqbr1]
    time: 0.114; rss: 542MB	codegen passes [16ic3gy9a29sed9a]
    time: 0.293; rss: 543MB	LTO passes
    time: 0.115; rss: 545MB	codegen passes [3uiwf7utcaybtgw1]
    time: 0.350; rss: 547MB	LTO passes
    time: 0.181; rss: 551MB	codegen passes [31edm3hs8119art5]
    time: 0.630; rss: 557MB	LTO passes
    time: 0.258; rss: 557MB	codegen passes [68qqy6b03p5ilmt]
    time: 0.756; rss: 559MB	LTO passes
    time: 0.391; rss: 572MB	codegen passes [1b2ygnijdldox9sf]
    time: 0.525; rss: 580MB	codegen passes [3u5mdeqx59go0p34]
    time: 6.366; rss: 582MB	LTO passes
    time: 6.740; rss: 598MB	LTO passes
    time: 4.031; rss: 709MB	codegen passes [3fxjm8prk8q7ccku]
    time: 4.100; rss: 759MB	codegen passes [549c0pbuz2oh908j]
  time: 24.419; rss: 759MB	LLVM passes
  time: 0.000; rss: 741MB	serialize work products
  time: 0.035; rss: 741MB	linking
    Finished dev [optimized + debuginfo] target(s) in 29.25s

Oh, I think the problem is I had

[profile.dev]
opt-level = 3

:slight_smile:

Thanks for the -Z time-passes insight.

1 Like

Hmm, that’s the second time I see that appearing and causing random problems. Is

[profile.dev]
opt-level = 3

inserted spontaneously somewhere in the project creation process?
The other issue:

@OptimisticPeach : I can’t speak for the other person, but my situation is 100% my fault. I have a workspace with multiple crates.

crate cargo.toml had nothing. workspace cargo.toml had opt-level=3. Seeing all the time llvm was spending on passes caused me to check opt levels

2 Likes

In my case, I also set it myself.

1 Like