# Rust macros growth limit recursion Report for the crater run in https://github.com/rust-lang/rust/pull/103029#issuecomment-1578135208 ---- The test regression caused by the `expansion_growth_limit` are the following one - https://crater-reports.s3.amazonaws.com/pr-103029-1/try%233260e8859c0ff2d67d3a723d758f74881c2fe40a/gh/123dou.learnRust/log.txt ``` [INFO] [stdout] error: expansion grow limit reached while expanding `vec!` [INFO] [stdout] --> finished/src/word_search_2.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | / vec![ [INFO] [stdout] 124 | | "pluma", "holm", "lippen", "trag", "milla", "bietle", "upbind", "waxy", "knead", [INFO] [stdout] 125 | | "nickle", "reem", "skice", "unde", "hain", "savant", "tryt", "ribose", "niton", [INFO] [stdout] 126 | | "lysis", "bedad", "sindry", "themis", "blushy", "cocket", "tube", "craps", [INFO] [stdout] ... | [INFO] [stdout] 3422 | | "genian", "restem", "impede", [INFO] [stdout] 3423 | | ], [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the expansion grow limit by adding a `#![expansion_growth_limit = "12000"]` attribute to your crate (`finished`) ``` - https://crater-reports.s3.amazonaws.com/pr-103029-1/try%233260e8859c0ff2d67d3a723d758f74881c2fe40a/gh/123dou.learnRust/log.txt ``` [INFO] [stdout] error: expansion grow limit reached while expanding `vec!` [INFO] [stdout] --> src/leetcode/editor/cn/medium/other/majority_element.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let nums = vec![ [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, [INFO] [stdout] 38 | | 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, [INFO] [stdout] 39 | | 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, [INFO] [stdout] ... | [INFO] [stdout] 1761 | | 3, 3, 3, 3, [INFO] [stdout] 1762 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the expansion grow limit by adding a `#![expansion_growth_limit = "12000"]` attribute to your crate (`learn_rust`) ``` - https://crater-reports.s3.amazonaws.com/pr-103029-1/try%233260e8859c0ff2d67d3a723d758f74881c2fe40a/gh/Calder-Ty.CLRS/log.txt ``` [INFO] [stdout] error: expansion grow limit reached while expanding `vec!` [INFO] [stdout] --> benches/sorting.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / vec![ [INFO] [stdout] 8 | | 6583, 6582, 6585, 6589, 6586, 6587, 6588, 6591, 6592, 6593, 6590, 6594, 6581, 6584, 6580, [INFO] [stdout] 9 | | 1489, 1488, 1491, 1499, 1492, 1493, 1494, 1501, 1502, 1503, 1500, 1504, 1487, 1490, 1486, [INFO] [stdout] 10 | | 1508, 1507, 1514, 1518, 1515, 1516, 1517, 1520, 1521, 1522, 1519, 1523, 1506, 1509, 1505, [INFO] [stdout] ... | [INFO] [stdout] 607 | | 3928, 3927, 3941, 3956, 3942, 3943, 3955, 3958, 3970, 3971, 3957, 3972, 3926, 3940, 3925, [INFO] [stdout] 608 | | ] [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the expansion grow limit by adding a `#![expansion_growth_limit = "12000"]` attribute to your crate (`sorting`) ``` - https://crater-reports.s3.amazonaws.com/pr-103029-1/try%233260e8859c0ff2d67d3a723d758f74881c2fe40a/gh/andrewaylett.wordle/log.txt ``` INFO] [stderr] error: could not compile `wordle` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expansion grow limit reached while expanding `words!` [INFO] [stdout] --> src/words.rs:255:43 [INFO] [stdout] | [INFO] [stdout] 255 | pub const EXTENDED_WORDS: [Word; 10657] = words![ [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 256 | | "aahed", "aalii", "aargh", "aarti", "abaca", "abaci", "abacs", "abaft", "abaka", "abamp", [INFO] [stdout] 257 | | "aband", "abash", "abask", "abaya", "abbas", "abbed", "abbes", "abcee", "abeam", "abear", [INFO] [stdout] 258 | | "abele", "abers", "abets", "abies", "abler", "ables", "ablet", "ablow", "abmho", "abohm", [INFO] [stdout] ... | [INFO] [stdout] 1321 | | "zuppa", "zurfs", "zuzim", "zygal", "zygon", "zymes", "zymic" [INFO] [stdout] 1322 | | ]; ```