[INFO] cloning repository https://github.com/Alvarsson/rust_lalrpop_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alvarsson/rust_lalrpop_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlvarsson%2Frust_lalrpop_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlvarsson%2Frust_lalrpop_compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45c1412c15ac820c74871a1c64c689a1cde1c11c [INFO] checking Alvarsson/rust_lalrpop_compiler against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlvarsson%2Frust_lalrpop_compiler" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alvarsson/rust_lalrpop_compiler on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Alvarsson/rust_lalrpop_compiler [INFO] finished tweaking git repo https://github.com/Alvarsson/rust_lalrpop_compiler [INFO] tweaked toml for git repo https://github.com/Alvarsson/rust_lalrpop_compiler written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Alvarsson/rust_lalrpop_compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acd8a4c5ef7f4b2697b408c4eec5deccc934d079595aa46c48e3db188eaf5449 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "acd8a4c5ef7f4b2697b408c4eec5deccc934d079595aa46c48e3db188eaf5449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acd8a4c5ef7f4b2697b408c4eec5deccc934d079595aa46c48e3db188eaf5449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd8a4c5ef7f4b2697b408c4eec5deccc934d079595aa46c48e3db188eaf5449", kill_on_drop: false }` [INFO] [stdout] acd8a4c5ef7f4b2697b408c4eec5deccc934d079595aa46c48e3db188eaf5449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e7acc2dce0355392ba17aa1a65967d14163d09e4d27e6121469cc5f93549412 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3e7acc2dce0355392ba17aa1a65967d14163d09e4d27e6121469cc5f93549412", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling indexmap v1.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling lalrpop-util v0.19.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.19.0 [INFO] [stderr] Compiling d7050e_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/minimal/main.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `d7050e_2020` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read src/minimal/main.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::*` [INFO] [stdout] --> src/ast/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use parser::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part1` [INFO] [stdout] --> src/ast/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let part1 = " [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_part1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part2` [INFO] [stdout] --> src/ast/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let part2 = " [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_part2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `borrow_test` [INFO] [stdout] --> src/ast/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let borrow_test = " [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrow_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/ast/type_check.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | Exprs::Str(st) => Ok(Type::Str), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ast/type_check.rs:392:33 [INFO] [stdout] | [INFO] [stdout] 392 | Statement::Function(id, vec, Some(opTyp), block) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ast/type_check.rs:405:33 [INFO] [stdout] | [INFO] [stdout] 405 | Statement::Function(id, vec,None, block) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/ast/interpreter.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | Exprs::Boolean(b) => Ok(*expr), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ast/interpreter.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | Exprs::Number(i) => Ok(*expr), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_element` [INFO] [stdout] --> src/ast/interpreter.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | let last_element = counter == vec_len; // set bool for when last element is reacherd [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ast/interpreter.rs:471:33 [INFO] [stdout] | [INFO] [stdout] 471 | Statement::Function(id, vec, Some(t), block) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/ast/interpreter.rs:471:37 [INFO] [stdout] | [INFO] [stdout] 471 | Statement::Function(id, vec, Some(t), block) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/ast/interpreter.rs:471:47 [INFO] [stdout] | [INFO] [stdout] 471 | Statement::Function(id, vec, Some(t), block) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/ast/interpreter.rs:471:51 [INFO] [stdout] | [INFO] [stdout] 471 | Statement::Function(id, vec, Some(t), block) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ast/interpreter.rs:476:33 [INFO] [stdout] | [INFO] [stdout] 476 | Statement::Function(id, vec,None, block) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/ast/interpreter.rs:476:37 [INFO] [stdout] | [INFO] [stdout] 476 | Statement::Function(id, vec,None, block) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/ast/interpreter.rs:476:47 [INFO] [stdout] | [INFO] [stdout] 476 | Statement::Function(id, vec,None, block) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part1` [INFO] [stdout] --> src/ast/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let part1 = " [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_part1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part2` [INFO] [stdout] --> src/ast/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let part2 = " [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_part2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `borrow_test` [INFO] [stdout] --> src/ast/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let borrow_test = " [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrow_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part1` [INFO] [stdout] --> src/ast/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let part1 = " [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_part1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_borrow` [INFO] [stdout] --> src/ast/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let test_borrow = " [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_borrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part1` [INFO] [stdout] --> src/ast/main.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | let part1 = " [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_part1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part2` [INFO] [stdout] --> src/ast/main.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | let part2 = " [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_part2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/ast/type_check.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | Exprs::Str(st) => Ok(Type::Str), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ast/type_check.rs:392:33 [INFO] [stdout] | [INFO] [stdout] 392 | Statement::Function(id, vec, Some(opTyp), block) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ast/type_check.rs:405:33 [INFO] [stdout] | [INFO] [stdout] 405 | Statement::Function(id, vec,None, block) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/ast/interpreter.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | Exprs::Boolean(b) => Ok(*expr), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ast/interpreter.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | Exprs::Number(i) => Ok(*expr), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_element` [INFO] [stdout] --> src/ast/interpreter.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | let last_element = counter == vec_len; // set bool for when last element is reacherd [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ast/interpreter.rs:471:33 [INFO] [stdout] | [INFO] [stdout] 471 | Statement::Function(id, vec, Some(t), block) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/ast/interpreter.rs:471:37 [INFO] [stdout] | [INFO] [stdout] 471 | Statement::Function(id, vec, Some(t), block) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/ast/interpreter.rs:471:47 [INFO] [stdout] | [INFO] [stdout] 471 | Statement::Function(id, vec, Some(t), block) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/ast/interpreter.rs:471:51 [INFO] [stdout] | [INFO] [stdout] 471 | Statement::Function(id, vec, Some(t), block) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ast/interpreter.rs:476:33 [INFO] [stdout] | [INFO] [stdout] 476 | Statement::Function(id, vec,None, block) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/ast/interpreter.rs:476:37 [INFO] [stdout] | [INFO] [stdout] 476 | Statement::Function(id, vec,None, block) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/ast/interpreter.rs:476:47 [INFO] [stdout] | [INFO] [stdout] 476 | Statement::Function(id, vec,None, block) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/type_check.rs:589:17 [INFO] [stdout] | [INFO] [stdout] 589 | let mut scope_layer = self.symbolTable.get_mut(¤t_scope).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/interpreter.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let mut scope = self.symbolTable.get_mut(¤t_scope).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/type_check.rs:589:17 [INFO] [stdout] | [INFO] [stdout] 589 | let mut scope_layer = self.symbolTable.get_mut(¤t_scope).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/interpreter.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let mut scope = self.symbolTable.get_mut(¤t_scope).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `src` [INFO] [stdout] --> src/ast/type_check.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | src: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `src` [INFO] [stdout] --> src/ast/interpreter.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | src: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opTyp` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:392:47 [INFO] [stdout] | [INFO] [stdout] 392 | Statement::Function(id, vec, Some(opTyp), block) => { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `op_typ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opEx` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:416:47 [INFO] [stdout] | [INFO] [stdout] 416 | Statement::Cond(AllCond::If, Some(opEx),block,Some(opNext),) => { // [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `op_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opNext` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:416:64 [INFO] [stdout] | [INFO] [stdout] 416 | Statement::Cond(AllCond::If, Some(opEx),block,Some(opNext),) => { // [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `op_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retBlock` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | let retBlock = block_check(block, scope); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retNext` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:429:29 [INFO] [stdout] | [INFO] [stdout] 429 | let retNext = condition_check(opNext,scope); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `ret_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opEx` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:446:47 [INFO] [stdout] | [INFO] [stdout] 446 | Statement::Cond(AllCond::If, Some(opEx), block,None) => { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `op_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ast/type_check.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | expr_check(expr, scope); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `symbolTable` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | symbolTable: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newScope` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:511:12 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn newScope(src: String) -> Scope { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addLayer` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 517 | fn addLayer(&mut self, func_scope: bool) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `add_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backLayer` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:527:8 [INFO] [stdout] | [INFO] [stdout] 527 | fn backLayer(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `back_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentSymbol` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:552:17 [INFO] [stdout] | [INFO] [stdout] 552 | let mut currentSymbol = self.scope_layer; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `symbolTable` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | symbolTable: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newScope` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn newScope(src: String) -> Scope { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addLayer` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn addLayer(&mut self, func_scope: bool) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `add_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backLayer` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn backLayer(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `back_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentSymbol` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut currentSymbol = self.scope_layer; // current scope layer [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ast/interpreter.rs:447:33 [INFO] [stdout] | [INFO] [stdout] 447 | ... block_eval(block.clone(), scope); // evaluate inside block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opEx` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:479:47 [INFO] [stdout] | [INFO] [stdout] 479 | Statement::Cond(AllCond::If, Some(opEx),block,Some(opNext)) => { // [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `op_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opNext` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:479:64 [INFO] [stdout] | [INFO] [stdout] 479 | Statement::Cond(AllCond::If, Some(opEx),block,Some(opNext)) => { // [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `op_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opEx` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:499:47 [INFO] [stdout] | [INFO] [stdout] 499 | Statement::Cond(AllCond::If, Some(opEx), block,None) => { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `op_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `src` [INFO] [stdout] --> src/ast/type_check.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | src: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `src` [INFO] [stdout] --> src/ast/interpreter.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | src: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opTyp` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:392:47 [INFO] [stdout] | [INFO] [stdout] 392 | Statement::Function(id, vec, Some(opTyp), block) => { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `op_typ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opEx` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:416:47 [INFO] [stdout] | [INFO] [stdout] 416 | Statement::Cond(AllCond::If, Some(opEx),block,Some(opNext),) => { // [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `op_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opNext` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:416:64 [INFO] [stdout] | [INFO] [stdout] 416 | Statement::Cond(AllCond::If, Some(opEx),block,Some(opNext),) => { // [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `op_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retBlock` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | let retBlock = block_check(block, scope); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ret_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `retNext` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:429:29 [INFO] [stdout] | [INFO] [stdout] 429 | let retNext = condition_check(opNext,scope); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `ret_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opEx` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:446:47 [INFO] [stdout] | [INFO] [stdout] 446 | Statement::Cond(AllCond::If, Some(opEx), block,None) => { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `op_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ast/type_check.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | expr_check(expr, scope); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `symbolTable` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | symbolTable: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newScope` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:511:12 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn newScope(src: String) -> Scope { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addLayer` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 517 | fn addLayer(&mut self, func_scope: bool) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `add_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backLayer` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:527:8 [INFO] [stdout] | [INFO] [stdout] 527 | fn backLayer(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `back_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentSymbol` should have a snake case name [INFO] [stdout] --> src/ast/type_check.rs:552:17 [INFO] [stdout] | [INFO] [stdout] 552 | let mut currentSymbol = self.scope_layer; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `symbolTable` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | symbolTable: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newScope` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn newScope(src: String) -> Scope { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addLayer` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn addLayer(&mut self, func_scope: bool) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `add_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backLayer` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn backLayer(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `back_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentSymbol` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut currentSymbol = self.scope_layer; // current scope layer [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ast/interpreter.rs:447:33 [INFO] [stdout] | [INFO] [stdout] 447 | ... block_eval(block.clone(), scope); // evaluate inside block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opEx` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:479:47 [INFO] [stdout] | [INFO] [stdout] 479 | Statement::Cond(AllCond::If, Some(opEx),block,Some(opNext)) => { // [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `op_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opNext` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:479:64 [INFO] [stdout] | [INFO] [stdout] 479 | Statement::Cond(AllCond::If, Some(opEx),block,Some(opNext)) => { // [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `op_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opEx` should have a snake case name [INFO] [stdout] --> src/ast/interpreter.rs:499:47 [INFO] [stdout] | [INFO] [stdout] 499 | Statement::Cond(AllCond::If, Some(opEx), block,None) => { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `op_ex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3e7acc2dce0355392ba17aa1a65967d14163d09e4d27e6121469cc5f93549412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7acc2dce0355392ba17aa1a65967d14163d09e4d27e6121469cc5f93549412", kill_on_drop: false }` [INFO] [stdout] 3e7acc2dce0355392ba17aa1a65967d14163d09e4d27e6121469cc5f93549412