[INFO] cloning repository https://github.com/MilkBlock/c_ast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MilkBlock/c_ast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilkBlock%2Fc_ast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilkBlock%2Fc_ast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ec7f5abc7422c27137ec2f7a98085375444ff66 [INFO] checking MilkBlock/c_ast/6ec7f5abc7422c27137ec2f7a98085375444ff66 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilkBlock%2Fc_ast" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MilkBlock/c_ast on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MilkBlock/c_ast [INFO] finished tweaking git repo https://github.com/MilkBlock/c_ast [INFO] tweaked toml for git repo https://github.com/MilkBlock/c_ast written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MilkBlock/c_ast 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded better_any v0.2.0 [INFO] [stderr] Downloaded antlr-rust v0.3.0-beta [INFO] [stderr] Downloaded murmur3 v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b32cf946faa89a7a1b9bfdad54af27e4b306e4f9ea91011eb5b6ac1f406b1ff [INFO] running `Command { std: "docker" "start" "-a" "0b32cf946faa89a7a1b9bfdad54af27e4b306e4f9ea91011eb5b6ac1f406b1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b32cf946faa89a7a1b9bfdad54af27e4b306e4f9ea91011eb5b6ac1f406b1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b32cf946faa89a7a1b9bfdad54af27e4b306e4f9ea91011eb5b6ac1f406b1ff", kill_on_drop: false }` [INFO] [stdout] 0b32cf946faa89a7a1b9bfdad54af27e4b306e4f9ea91011eb5b6ac1f406b1ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dbfa555e180f8177a294fdc4c22374a397fa6a3457704e631c464d9ea8c527b [INFO] running `Command { std: "docker" "start" "-a" "6dbfa555e180f8177a294fdc4c22374a397fa6a3457704e631c464d9ea8c527b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking hashbrown v0.14.1 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking murmur3 v0.4.1 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking better_any v0.2.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking clap_builder v4.4.6 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking antlr-rust v0.3.0-beta [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Checking clap v4.4.6 [INFO] [stderr] Checking beginner_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/clang/cparser.rs:2391:10 [INFO] [stdout] | [INFO] [stdout] 2391 | ...le ((((_la - 80)) & !0x3f) == 0 && ((1usize << (_la - 80)) & ((1usize << (Star - 80)) | (1usize << (Div - 80)) | (1usize << (Mod - 80)))) != 0... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2391 - while ((((_la - 80)) & !0x3f) == 0 && ((1usize << (_la - 80)) & ((1usize << (Star - 80)) | (1usize << (Div - 80)) | (1usize << (Mod - 80)))) != 0) { [INFO] [stdout] 2391 + while (((_la - 80)) & !0x3f) == 0 && ((1usize << (_la - 80)) & ((1usize << (Star - 80)) | (1usize << (Div - 80)) | (1usize << (Mod - 80)))) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/clang/cparser.rs:2844:10 [INFO] [stdout] | [INFO] [stdout] 2844 | ...le ((((_la - 70)) & !0x3f) == 0 && ((1usize << (_la - 70)) & ((1usize << (Less - 70)) | (1usize << (LessEqual - 70)) | (1usize << (Greater - 70)) | (1usize << (GreaterEqual - 70)))) != 0... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2844 - while ((((_la - 70)) & !0x3f) == 0 && ((1usize << (_la - 70)) & ((1usize << (Less - 70)) | (1usize << (LessEqual - 70)) | (1usize << (Greater - 70)) | (1usize << (GreaterEqual - 70)))) != 0) { [INFO] [stdout] 2844 + while (((_la - 70)) & !0x3f) == 0 && ((1usize << (_la - 70)) & ((1usize << (Less - 70)) | (1usize << (LessEqual - 70)) | (1usize << (Greater - 70)) | (1usize << (GreaterEqual - 70)))) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/clang/cparser.rs:9782:9 [INFO] [stdout] | [INFO] [stdout] 9782 | ...if ((((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9782 - if ((((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0) { [INFO] [stdout] 9782 + if (((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/clang/cparser.rs:10027:7 [INFO] [stdout] | [INFO] [stdout] 10027 | ...if ((((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10027 - if ((((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0) { [INFO] [stdout] 10027 + if (((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/clang/cparser.rs:2391:10 [INFO] [stdout] | [INFO] [stdout] 2391 | ...le ((((_la - 80)) & !0x3f) == 0 && ((1usize << (_la - 80)) & ((1usize << (Star - 80)) | (1usize << (Div - 80)) | (1usize << (Mod - 80)))) != 0... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2391 - while ((((_la - 80)) & !0x3f) == 0 && ((1usize << (_la - 80)) & ((1usize << (Star - 80)) | (1usize << (Div - 80)) | (1usize << (Mod - 80)))) != 0) { [INFO] [stdout] 2391 + while (((_la - 80)) & !0x3f) == 0 && ((1usize << (_la - 80)) & ((1usize << (Star - 80)) | (1usize << (Div - 80)) | (1usize << (Mod - 80)))) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/clang/cparser.rs:2844:10 [INFO] [stdout] | [INFO] [stdout] 2844 | ...le ((((_la - 70)) & !0x3f) == 0 && ((1usize << (_la - 70)) & ((1usize << (Less - 70)) | (1usize << (LessEqual - 70)) | (1usize << (Greater - 70)) | (1usize << (GreaterEqual - 70)))) != 0... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2844 - while ((((_la - 70)) & !0x3f) == 0 && ((1usize << (_la - 70)) & ((1usize << (Less - 70)) | (1usize << (LessEqual - 70)) | (1usize << (Greater - 70)) | (1usize << (GreaterEqual - 70)))) != 0) { [INFO] [stdout] 2844 + while (((_la - 70)) & !0x3f) == 0 && ((1usize << (_la - 70)) & ((1usize << (Less - 70)) | (1usize << (LessEqual - 70)) | (1usize << (Greater - 70)) | (1usize << (GreaterEqual - 70)))) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/clang/cparser.rs:9782:9 [INFO] [stdout] | [INFO] [stdout] 9782 | ...if ((((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9782 - if ((((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0) { [INFO] [stdout] 9782 + if (((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/clang/cparser.rs:10027:7 [INFO] [stdout] | [INFO] [stdout] 10027 | ...if ((((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10027 - if ((((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0) { [INFO] [stdout] 10027 + if (((_la - 64)) & !0x3f) == 0 && ((1usize << (_la - 64)) & ((1usize << (LeftParen - 64)) | (1usize << (LeftBracket - 64)) | (1usize << (Star - 64)) | (1usize << (Caret - 64)))) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_info` [INFO] [stdout] --> src/toolkit/gen_ast.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_as_ast_graph(code :String,debug_info:bool)-> ASTGraphRcCell{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_info` [INFO] [stdout] --> src/toolkit/gen_ast.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_as_ast_graph(code :String,debug_info:bool)-> ASTGraphRcCell{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.67s [INFO] running `Command { std: "docker" "inspect" "6dbfa555e180f8177a294fdc4c22374a397fa6a3457704e631c464d9ea8c527b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dbfa555e180f8177a294fdc4c22374a397fa6a3457704e631c464d9ea8c527b", kill_on_drop: false }` [INFO] [stdout] 6dbfa555e180f8177a294fdc4c22374a397fa6a3457704e631c464d9ea8c527b