[INFO] cloning repository https://github.com/nealsid/rust-c-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nealsid/rust-c-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnealsid%2Frust-c-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnealsid%2Frust-c-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf04824bd07454baacdb00c03219f1f9fa561f6c [INFO] checking nealsid/rust-c-compiler against master#8365fcb2b840c95eeb0bc377af8bd498fad22245 for pr-145605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnealsid%2Frust-c-compiler" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nealsid/rust-c-compiler [INFO] finished tweaking git repo https://github.com/nealsid/rust-c-compiler [INFO] tweaked toml for git repo https://github.com/nealsid/rust-c-compiler written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nealsid/rust-c-compiler on toolchain 8365fcb2b840c95eeb0bc377af8bd498fad22245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nealsid/rust-c-compiler 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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77968b05926dfcef834621b6c2aa5528fcdf00024288ab9aea853ad6b6b4b13d [INFO] running `Command { std: "docker" "start" "-a" "77968b05926dfcef834621b6c2aa5528fcdf00024288ab9aea853ad6b6b4b13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77968b05926dfcef834621b6c2aa5528fcdf00024288ab9aea853ad6b6b4b13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77968b05926dfcef834621b6c2aa5528fcdf00024288ab9aea853ad6b6b4b13d", kill_on_drop: false }` [INFO] [stdout] 77968b05926dfcef834621b6c2aa5528fcdf00024288ab9aea853ad6b6b4b13d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7b8d44b8e971fb8ccddabb8742dec53b6490f99ba9861cc0e3504e5bdfc3a9e [INFO] running `Command { std: "docker" "start" "-a" "a7b8d44b8e971fb8ccddabb8742dec53b6490f99ba9861cc0e3504e5bdfc3a9e", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `return_type` and `function_name` are never read [INFO] [stdout] --> src/parser.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | FunctionNode { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 7 | return_type: Result, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | function_name: Result, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `node_type` are never read [INFO] [stdout] --> src/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ASTNode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | children: Vec>, [INFO] [stdout] 15 | token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_type` and `pointer_modifiers` are never read [INFO] [stdout] --> src/parser.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct DataTypeNode { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 21 | data_type: DataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pointer_modifiers: usize, // Number of stars in the datatype decl [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataTypeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_single_character_token` and `parse_left_brace` are never used [INFO] [stdout] --> src/parser.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn parse_single_character_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn parse_left_brace(&self, tokens: &Vec, token_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `return_type` and `function_name` are never read [INFO] [stdout] --> src/parser.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | FunctionNode { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 7 | return_type: Result, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | function_name: Result, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `node_type` are never read [INFO] [stdout] --> src/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ASTNode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | children: Vec>, [INFO] [stdout] 15 | token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ASTNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_type` and `pointer_modifiers` are never read [INFO] [stdout] --> src/parser.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct DataTypeNode { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 21 | data_type: DataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pointer_modifiers: usize, // Number of stars in the datatype decl [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataTypeNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_single_character_token` and `parse_left_brace` are never used [INFO] [stdout] --> src/parser.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn parse_single_character_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn parse_left_brace(&self, tokens: &Vec, token_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.46s [INFO] running `Command { std: "docker" "inspect" "a7b8d44b8e971fb8ccddabb8742dec53b6490f99ba9861cc0e3504e5bdfc3a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b8d44b8e971fb8ccddabb8742dec53b6490f99ba9861cc0e3504e5bdfc3a9e", kill_on_drop: false }` [INFO] [stdout] a7b8d44b8e971fb8ccddabb8742dec53b6490f99ba9861cc0e3504e5bdfc3a9e