[INFO] cloning repository https://github.com/adrianncovaci/rakiu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrianncovaci/rakiu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianncovaci%2Frakiu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianncovaci%2Frakiu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3aa78ec91ea124374a837cfd6de62cf15741d614 [INFO] checking adrianncovaci/rakiu against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianncovaci%2Frakiu" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrianncovaci/rakiu on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adrianncovaci/rakiu [INFO] finished tweaking git repo https://github.com/adrianncovaci/rakiu [INFO] tweaked toml for git repo https://github.com/adrianncovaci/rakiu written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/adrianncovaci/rakiu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe203e81fe13376bcf03dd6812577fd87ec317642e22dd3fae96219763b2b011 [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" "fe203e81fe13376bcf03dd6812577fd87ec317642e22dd3fae96219763b2b011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe203e81fe13376bcf03dd6812577fd87ec317642e22dd3fae96219763b2b011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe203e81fe13376bcf03dd6812577fd87ec317642e22dd3fae96219763b2b011", kill_on_drop: false }` [INFO] [stdout] fe203e81fe13376bcf03dd6812577fd87ec317642e22dd3fae96219763b2b011 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bd3e9df6d06c4770fc2e36c2acb08693f05bb7c087e0b5f796ddbd7cb42a7b13 [INFO] running `Command { std: "docker" "start" "-a" "bd3e9df6d06c4770fc2e36c2acb08693f05bb7c087e0b5f796ddbd7cb42a7b13", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling llvm-sys v100.0.1 [INFO] [stderr] Checking rakiu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Prefix` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser_mod::ParseItem::{Expression, Infix, Prefix, Statement}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::lexer::Lexer` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer_mod::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser_mod::Parser::Parser` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parser_mod::Parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:287:32 [INFO] [stdout] | [INFO] [stdout] 287 | ... if (*num > max) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:303:32 [INFO] [stdout] | [INFO] [stdout] 303 | ... if (*num < min) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:390:24 [INFO] [stdout] | [INFO] [stdout] 390 | for col in (0..els[0].len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | if (arr[index].len() != arr[index + 1].len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::token::Token` [INFO] [stdout] --> src/parser_mod/ParseItem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer_mod::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::lexer` [INFO] [stdout] --> src/parser_mod/Parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer_mod::lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::evaluation_mod::codegen::generate_code` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::evaluation_mod::codegen::generate_code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Prefix` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser_mod::ParseItem::{Expression, Infix, Prefix, Statement}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::lexer::Lexer` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer_mod::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser_mod::Parser::Parser` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parser_mod::Parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:287:32 [INFO] [stdout] | [INFO] [stdout] 287 | ... if (*num > max) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:303:32 [INFO] [stdout] | [INFO] [stdout] 303 | ... if (*num < min) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:390:24 [INFO] [stdout] | [INFO] [stdout] 390 | for col in (0..els[0].len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | if (arr[index].len() != arr[index + 1].len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::token::Token` [INFO] [stdout] --> src/parser_mod/ParseItem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer_mod::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer_mod::lexer` [INFO] [stdout] --> src/parser_mod/Parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer_mod::lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::evaluation_mod::codegen::generate_code` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::evaluation_mod::codegen::generate_code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:191:41 [INFO] [stdout] | [INFO] [stdout] 191 | Object::Integer(num) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | for i in 0..first_arr.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | for j in 0..second_arr[0].len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evaluation_mod/codegen.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut names = HashMap::new(); [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/evaluation_mod/codegen.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut built_ins: HashMap<&'static str, *mut llvm::LLVMValue>, [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/evaluation_mod/codegen.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | mut built_ins: &HashMap<&'static str, *mut llvm::LLVMValue>, [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/evaluation_mod/evaluate.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | let mut lexer = Lexer::new(input); [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/evaluation_mod/evaluate.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let mut output = parser.parse(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:191:41 [INFO] [stdout] | [INFO] [stdout] 191 | Object::Integer(num) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | for i in 0..first_arr.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/evaluation_mod/evaluate.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | for j in 0..second_arr[0].len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evaluation_mod/codegen.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut names = HashMap::new(); [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/evaluation_mod/codegen.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut built_ins: HashMap<&'static str, *mut llvm::LLVMValue>, [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/evaluation_mod/codegen.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | mut built_ins: &HashMap<&'static str, *mut llvm::LLVMValue>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Object` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_code` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn generate_code(input: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `codegen` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe fn codegen( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_allocations` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn insert_allocations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_function` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn call_function( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pointer_type` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn pointer_type() -> *mut llvm::LLVMType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_printf` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe fn create_printf(module: *mut llvm::LLVMModule) -> *mut llvm::LLVMValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `codegen_expr` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe fn codegen_expr( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_by_ref` [INFO] [stdout] --> src/evaluation_mod/env.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_by_ref(&mut self, key: &str) -> Option<&Object> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Extern` [INFO] [stdout] --> src/lexer_mod/token.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Extern, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Program` [INFO] [stdout] --> src/parser_mod/ParseItem.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser_mod/ParseItem.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_integer_literal` [INFO] [stdout] --> src/parser_mod/Parser.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | fn parse_integer_literal(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ParseItem` should have a snake case name [INFO] [stdout] --> src/parser_mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ParseItem; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parse_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Parser` should have a snake case name [INFO] [stdout] --> src/parser_mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Parser; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Object` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_code` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn generate_code(input: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `codegen` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe fn codegen( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_allocations` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn insert_allocations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_function` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn call_function( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pointer_type` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn pointer_type() -> *mut llvm::LLVMType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_printf` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe fn create_printf(module: *mut llvm::LLVMModule) -> *mut llvm::LLVMValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `codegen_expr` [INFO] [stdout] --> src/evaluation_mod/codegen.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe fn codegen_expr( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_by_ref` [INFO] [stdout] --> src/evaluation_mod/env.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_by_ref(&mut self, key: &str) -> Option<&Object> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Extern` [INFO] [stdout] --> src/lexer_mod/token.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | Extern, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Program` [INFO] [stdout] --> src/parser_mod/ParseItem.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser_mod/ParseItem.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_integer_literal` [INFO] [stdout] --> src/parser_mod/Parser.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | fn parse_integer_literal(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ParseItem` should have a snake case name [INFO] [stdout] --> src/parser_mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ParseItem; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parse_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Parser` should have a snake case name [INFO] [stdout] --> src/parser_mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Parser; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.63s [INFO] running `Command { std: "docker" "inspect" "bd3e9df6d06c4770fc2e36c2acb08693f05bb7c087e0b5f796ddbd7cb42a7b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd3e9df6d06c4770fc2e36c2acb08693f05bb7c087e0b5f796ddbd7cb42a7b13", kill_on_drop: false }` [INFO] [stdout] bd3e9df6d06c4770fc2e36c2acb08693f05bb7c087e0b5f796ddbd7cb42a7b13