[INFO] fetching crate cmakefmt 0.1.11... [INFO] checking cmakefmt-0.1.11 against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] extracting crate cmakefmt 0.1.11 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate cmakefmt 0.1.11 [INFO] finished tweaking crates.io crate cmakefmt 0.1.11 [INFO] tweaked toml for crates.io crate cmakefmt 0.1.11 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cmakefmt 0.1.11 on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cmakefmt 0.1.11 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 575e4e48dcc48f5e85ab66d7658e88f249f99f108909649ec2287b35164783fe [INFO] running `Command { std: "docker" "start" "-a" "575e4e48dcc48f5e85ab66d7658e88f249f99f108909649ec2287b35164783fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "575e4e48dcc48f5e85ab66d7658e88f249f99f108909649ec2287b35164783fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575e4e48dcc48f5e85ab66d7658e88f249f99f108909649ec2287b35164783fe", kill_on_drop: false }` [INFO] [stdout] 575e4e48dcc48f5e85ab66d7658e88f249f99f108909649ec2287b35164783fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c92678f65f85bc960b92ecb2b461aa8af0ea5cac1e33e9cf63c1afb1cacab65b [INFO] running `Command { std: "docker" "start" "-a" "c92678f65f85bc960b92ecb2b461aa8af0ea5cac1e33e9cf63c1afb1cacab65b", kill_on_drop: false }` [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking cmakefmt v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/parse_condition.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | let mut options = vec![ [INFO] [stdout] | _______________________^ [INFO] [stdout] 175 | | cmake_condition_binary_logical_operator, [INFO] [stdout] 176 | | cmake_condition_binary_test, [INFO] [stdout] 177 | | cmake_condition_unary_logical_operator, [INFO] [stdout] ... | [INFO] [stdout] 181 | | cmake_condition_value, [INFO] [stdout] 182 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[...; _]`, found `[fn(&str) -> Result<(..., ...), ...>; 7]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(&str) -> ... {cmake_condition_binary_logical_operator}; _]` [INFO] [stdout] found array `[fn(&str) -> Result<(&str, CMakeCondition), Err<...>>; 7]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `cmake_condition_binary_logical_operator as for<'a> fn(&'a str) -> Result<(&'a str, types::CMakeCondition), nom::Err>>>` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a str) -> Result<(&'a str, types::CMakeCondition), nom::Err>>>; 7]` due to the type of the argument passed [INFO] [stdout] --> src/parser/parse_condition.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | let mut options = vec![ [INFO] [stdout] | _______________________^ [INFO] [stdout] 175 | | cmake_condition_binary_logical_operator, [INFO] [stdout] 176 | | cmake_condition_binary_test, [INFO] [stdout] 177 | | cmake_condition_unary_logical_operator, [INFO] [stdout] ... | [INFO] [stdout] 181 | | cmake_condition_value, [INFO] [stdout] 182 | | ]; [INFO] [stdout] | |_____^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cmakefmt-bc79384802ced224.long-type-18392964462661694429.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/parse_condition.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | let mut options = vec![ [INFO] [stdout] | _______________________^ [INFO] [stdout] 175 | | cmake_condition_binary_logical_operator, [INFO] [stdout] 176 | | cmake_condition_binary_test, [INFO] [stdout] 177 | | cmake_condition_unary_logical_operator, [INFO] [stdout] ... | [INFO] [stdout] 181 | | cmake_condition_value, [INFO] [stdout] 182 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[...; _]`, found `[fn(&str) -> Result<(..., ...), ...>; 7]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(&str) -> ... {cmake_condition_binary_logical_operator}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a str) -> Result<(&'a str, CMakeCondition), nom::Err>>>; 7]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `cmake_condition_binary_logical_operator as for<'a> fn(&'a str) -> Result<(&'a str, CMakeCondition), nom::Err>>>` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a str) -> Result<(&'a str, CMakeCondition), nom::Err>>>; 7]` due to the type of the argument passed [INFO] [stdout] --> src/parser/parse_condition.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | let mut options = vec![ [INFO] [stdout] | _______________________^ [INFO] [stdout] 175 | | cmake_condition_binary_logical_operator, [INFO] [stdout] 176 | | cmake_condition_binary_test, [INFO] [stdout] 177 | | cmake_condition_unary_logical_operator, [INFO] [stdout] ... | [INFO] [stdout] 181 | | cmake_condition_value, [INFO] [stdout] 182 | | ]; [INFO] [stdout] | |_____^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cmakefmt-5e4146b7134bc0d7.long-type-12844821262482304872.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cmakefmt` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cmakefmt` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c92678f65f85bc960b92ecb2b461aa8af0ea5cac1e33e9cf63c1afb1cacab65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c92678f65f85bc960b92ecb2b461aa8af0ea5cac1e33e9cf63c1afb1cacab65b", kill_on_drop: false }` [INFO] [stdout] c92678f65f85bc960b92ecb2b461aa8af0ea5cac1e33e9cf63c1afb1cacab65b