[INFO] cloning repository https://github.com/rlokesh07/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/rlokesh07/C_Compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlokesh07%2FC_Compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlokesh07%2FC_Compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25f220101080ed206fdc29fca303b830ed966d6f [INFO] checking rlokesh07/C_Compiler against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlokesh07%2FC_Compiler" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rlokesh07/C_Compiler [INFO] finished tweaking git repo https://github.com/rlokesh07/C_Compiler [INFO] tweaked toml for git repo https://github.com/rlokesh07/C_Compiler written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rlokesh07/C_Compiler on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rlokesh07/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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3b6dc1fc7feb48102e9f2368898179aed324820106bec9064c7ebb8385a9c85 [INFO] running `Command { std: "docker" "start" "-a" "b3b6dc1fc7feb48102e9f2368898179aed324820106bec9064c7ebb8385a9c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b6dc1fc7feb48102e9f2368898179aed324820106bec9064c7ebb8385a9c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b6dc1fc7feb48102e9f2368898179aed324820106bec9064c7ebb8385a9c85", kill_on_drop: false }` [INFO] [stdout] b3b6dc1fc7feb48102e9f2368898179aed324820106bec9064c7ebb8385a9c85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd1b349082fe709d5c75c435b30a068fa9b3197d776ddf6309ba504155a25407 [INFO] running `Command { std: "docker" "start" "-a" "dd1b349082fe709d5c75c435b30a068fa9b3197d776ddf6309ba504155a25407", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [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 compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::os::unix::process::ExitStatusExt` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::process::ExitStatusExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `function` should have an upper camel case name [INFO] [stdout] --> src/main.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct function{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `statement` should have an upper camel case name [INFO] [stdout] --> src/main.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum statement{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ifStatement` should have an upper camel case name [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | ifStatement{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IfStatement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `expression` should have an upper camel case name [INFO] [stdout] --> src/main.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum expression { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::ExitStatusExt` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::process::ExitStatusExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `function` should have an upper camel case name [INFO] [stdout] --> src/main.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct function{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `statement` should have an upper camel case name [INFO] [stdout] --> src/main.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum statement{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ifStatement` should have an upper camel case name [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | ifStatement{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IfStatement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `expression` should have an upper camel case name [INFO] [stdout] --> src/main.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum expression { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Token{ [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifBranch` should have a snake case name [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ifBranch: Box, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `if_branch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Token{ [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ifBranch` should have a snake case name [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ifBranch: Box, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `if_branch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `elseBranch` should have a snake case name [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | elseBranch: Option> [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `else_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenizeInput` should have a snake case name [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn tokenizeInput<'a>(text: &'a str, tokens: &mut Vec) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tokenize_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `elseBranch` should have a snake case name [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | elseBranch: Option> [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `else_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenizeInput` should have a snake case name [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn tokenizeInput<'a>(text: &'a str, tokens: &mut Vec) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tokenize_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.75s [INFO] running `Command { std: "docker" "inspect" "dd1b349082fe709d5c75c435b30a068fa9b3197d776ddf6309ba504155a25407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd1b349082fe709d5c75c435b30a068fa9b3197d776ddf6309ba504155a25407", kill_on_drop: false }` [INFO] [stdout] dd1b349082fe709d5c75c435b30a068fa9b3197d776ddf6309ba504155a25407