[INFO] fetching crate sqruff-lib 0.29.3... [INFO] building sqruff-lib-0.29.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate sqruff-lib 0.29.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate sqruff-lib 0.29.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sqruff-lib 0.29.3 [INFO] tweaked toml for crates.io crate sqruff-lib 0.29.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sqruff-lib 0.29.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sqruff-lib 0.29.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pprof v0.15.0 [INFO] [stderr] Downloaded expect-test v1.5.1 [INFO] [stderr] Downloaded str_stack v0.1.0 [INFO] [stderr] Downloaded symbolic-common v12.16.2 [INFO] [stderr] Downloaded slyce v0.3.1 [INFO] [stderr] Downloaded dissimilar v1.0.10 [INFO] [stderr] Downloaded findshlibs v0.10.2 [INFO] [stderr] Downloaded cpp_demangle v0.4.4 [INFO] [stderr] Downloaded inferno v0.11.21 [INFO] [stderr] Downloaded symbolic-demangle v12.16.2 [INFO] [stderr] Downloaded sqruff-lib-core v0.29.3 [INFO] [stderr] Downloaded sqruff-lib-dialects v0.29.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67ce35fd6a96c5333c7c2bfef31fd882d2ee9c16595f74504adf86502464bb81 [INFO] running `Command { std: "docker" "start" "-a" "67ce35fd6a96c5333c7c2bfef31fd882d2ee9c16595f74504adf86502464bb81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67ce35fd6a96c5333c7c2bfef31fd882d2ee9c16595f74504adf86502464bb81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67ce35fd6a96c5333c7c2bfef31fd882d2ee9c16595f74504adf86502464bb81", kill_on_drop: false }` [INFO] [stdout] 67ce35fd6a96c5333c7c2bfef31fd882d2ee9c16595f74504adf86502464bb81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2c1a420d7a4eade26d5e10441a6281957f78cac10ad5d92d9b54b0a89f30292 [INFO] running `Command { std: "docker" "start" "-a" "a2c1a420d7a4eade26d5e10441a6281957f78cac10ad5d92d9b54b0a89f30292", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling slyce v0.3.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling configparser v3.1.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fancy-regex v0.16.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling lazy-regex v3.4.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling sqruff-lib-core v0.29.3 [INFO] [stderr] Compiling sqruff-lib-dialects v0.29.3 [INFO] [stderr] Compiling sqruff-lib v0.29.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "a2c1a420d7a4eade26d5e10441a6281957f78cac10ad5d92d9b54b0a89f30292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c1a420d7a4eade26d5e10441a6281957f78cac10ad5d92d9b54b0a89f30292", kill_on_drop: false }` [INFO] [stdout] a2c1a420d7a4eade26d5e10441a6281957f78cac10ad5d92d9b54b0a89f30292 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30266b9393afe4c47e3c8b40374af3d3b04479d39b0dad992414f8690dbcf76e [INFO] running `Command { std: "docker" "start" "-a" "30266b9393afe4c47e3c8b40374af3d3b04479d39b0dad992414f8690dbcf76e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling pyo3-build-config v0.25.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling memmap2 v0.9.7 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling symbolic-demangle v12.16.2 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling pyo3-ffi v0.25.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.1 [INFO] [stderr] Compiling pyo3 v0.25.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling symbolic-common v12.16.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fancy-regex v0.16.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling pprof v0.15.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling lazy-regex v3.4.1 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling dissimilar v1.0.10 [INFO] [stderr] Compiling expect-test v1.5.1 [INFO] [stderr] Compiling pyo3-macros v0.25.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling sqruff-lib-core v0.29.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling sqruff-lib-dialects v0.29.3 [INFO] [stderr] Compiling sqruff-lib v0.29.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqruff_lib::core::config::FluffConfig; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqruff_lib`, use `cargo add sqruff_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqruff_lib::core::linter::core::Linter; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqruff_lib`, use `cargo add sqruff_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] --> src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqruff_lib::core::test_functions::fresh_ansi_dialect; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqruff_lib`, use `cargo add sqruff_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] --> src/utils/reflow/rebreak.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | use sqruff_lib::core::test_functions::parse_ansi_string; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqruff_lib`, use `cargo add sqruff_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] --> src/utils/reflow/reindent.rs:1535:9 [INFO] [stdout] | [INFO] [stdout] 1535 | use sqruff_lib::core::test_functions::parse_ansi_string; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqruff_lib`, use `cargo add sqruff_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] --> src/utils/reflow/respace.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | use sqruff_lib::core::test_functions::parse_ansi_string; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sqruff_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqruff_lib`, use `cargo add sqruff_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(errors.len(), 0, "Lexing failed for input: {}", raw); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | let raw_list: Vec<_> = tokens.iter().map(|token| token.raw()).collect(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | let raw_list: Vec<_> = tokens.iter().map(|token| token.raw()).collect(); [INFO] [stdout] | ^^^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | let raw_list: Vec<_> = tokens.iter().map(|token: /* Type */| token.raw()).collect(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | let concatenated: String = tokens.iter().map(|token| token.raw().as_str()).collect(); [INFO] [stdout] | ^^^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | let concatenated: String = tokens.iter().map(|token: /* Type */| token.raw().as_str()).collect(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | if raw_seg.is_type(SyntaxKind::Whitespace) || raw_seg.is_type(SyntaxKind::Newline) { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/tests.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | .filter_map(|(idx, raw_seg)| raw_seg.is_meta().then_some(idx)) [INFO] [stdout] | ^^^^^^^^^^^^^^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 263 | .filter_map(|(idx, raw_seg): (_, _)| raw_seg.is_meta().then_some(idx)) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqruff-lib` (lib test) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "30266b9393afe4c47e3c8b40374af3d3b04479d39b0dad992414f8690dbcf76e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30266b9393afe4c47e3c8b40374af3d3b04479d39b0dad992414f8690dbcf76e", kill_on_drop: false }` [INFO] [stdout] 30266b9393afe4c47e3c8b40374af3d3b04479d39b0dad992414f8690dbcf76e