[INFO] cloning repository https://github.com/Progressive-Learning-Platform/plp-grinder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Progressive-Learning-Platform/plp-grinder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgressive-Learning-Platform%2Fplp-grinder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgressive-Learning-Platform%2Fplp-grinder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8069368ef383b8eaf1661bf94b35df9f9827de6 [INFO] checking Progressive-Learning-Platform/plp-grinder against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgressive-Learning-Platform%2Fplp-grinder" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Progressive-Learning-Platform/plp-grinder on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Progressive-Learning-Platform/plp-grinder [INFO] finished tweaking git repo https://github.com/Progressive-Learning-Platform/plp-grinder [INFO] tweaked toml for git repo https://github.com/Progressive-Learning-Platform/plp-grinder written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Progressive-Learning-Platform/plp-grinder already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8df4ee6b100d1dad5a923f3ed5dd81a4ad0f10a80595f1450a7b1c8078d6dbdd [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" "8df4ee6b100d1dad5a923f3ed5dd81a4ad0f10a80595f1450a7b1c8078d6dbdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8df4ee6b100d1dad5a923f3ed5dd81a4ad0f10a80595f1450a7b1c8078d6dbdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8df4ee6b100d1dad5a923f3ed5dd81a4ad0f10a80595f1450a7b1c8078d6dbdd", kill_on_drop: false }` [INFO] [stdout] 8df4ee6b100d1dad5a923f3ed5dd81a4ad0f10a80595f1450a7b1c8078d6dbdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a1364ead8d161a73bb0660fd9b911a7f4066bb3335e3f25ec60c295072df916 [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" "3a1364ead8d161a73bb0660fd9b911a7f4066bb3335e3f25ec60c295072df916", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking grinder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/rust/tokens.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | for _ in (0..100) [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `support::*` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use support::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:189:68 [INFO] [stdout] | [INFO] [stdout] 189 | fn lookup_structure(&self, namespace: &str, name: &str) -> Option<(&Symbol)> [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/rust/symbols/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/rust/symbols/mod.rs:26:68 [INFO] [stdout] | [INFO] [stdout] 26 | fn lookup_structure(&self, namespace: &str, name: &str) -> Option<(&Symbol)>; [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/rust/plp.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | for _ in (0..self.indent_level) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokens::*` [INFO] [stdout] --> src/rust/compiler/symbol_analysis.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokens::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `support::*` [INFO] [stdout] --> src/rust/compiler/symbol_analysis.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use support::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plp::PLPWriter` [INFO] [stdout] --> src/rust/compiler/symbol_analysis.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use plp::PLPWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `symbols::symbol_table::*` [INFO] [stdout] --> src/rust/compiler/symbol_analysis.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use symbols::symbol_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rust/compiler/symbol_analysis.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_accessor_namespace(symbol: &Symbol, symbol_table: &StaticSymbolTable) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StaticSymbolTable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `symbols::symbol_table::*` [INFO] [stdout] --> src/rust/compiler/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use symbols::symbol_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rust/compiler/mod.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | ... symbol_table: &StaticSymbolTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StaticSymbolTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rust/compiler/mod.rs:252:36 [INFO] [stdout] | [INFO] [stdout] 252 | symbol_table: &StaticSymbolTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StaticSymbolTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rust/compiler/mod.rs:373:36 [INFO] [stdout] | [INFO] [stdout] 373 | symbol_table: &StaticSymbolTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StaticSymbolTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rust/compiler/mod.rs:490:44 [INFO] [stdout] | [INFO] [stdout] 490 | ... symbol_table: &StaticSymbolTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StaticSymbolTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rust/compiler/mod.rs:599:44 [INFO] [stdout] | [INFO] [stdout] 599 | ... symbol_table: &StaticSymbolTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StaticSymbolTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rust/compiler/mod.rs:787:43 [INFO] [stdout] | [INFO] [stdout] 787 | ... symbols: &StaticSymbolTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StaticSymbolTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rust/compiler/mod.rs:1027:39 [INFO] [stdout] | [INFO] [stdout] 1027 | ... symbols: &StaticSymbolTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StaticSymbolTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rust/compiler/mod.rs:1136:44 [INFO] [stdout] | [INFO] [stdout] 1136 | ... symbols: &StaticSymbolTable, // indirect [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StaticSymbolTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rust/compiler/mod.rs:1247:39 [INFO] [stdout] | [INFO] [stdout] 1247 | ... symbols: &StaticSymbolTable, // indirect------------- [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StaticSymbolTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/rust/parser/mod.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | for _ in (0..150) [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::*` [INFO] [stdout] --> src/rust/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use parser::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rust/files.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rust/files.rs:20:61 [INFO] [stdout] | [INFO] [stdout] 20 | Err(why) => panic!("couldn't read {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rust/files.rs:39:63 [INFO] [stdout] | [INFO] [stdout] 39 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rust/files.rs:45:66 [INFO] [stdout] | [INFO] [stdout] 45 | Err(why) => {panic!("couldn't write to {}: {}", display, Error::description(&why))}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | current_namespace = namespaces.connect(namespace_delimiter()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:137:44 [INFO] [stdout] | [INFO] [stdout] 137 | current_namespace = namespaces.connect(namespace_delimiter()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:197:44 [INFO] [stdout] | [INFO] [stdout] 197 | current_namespace = namespaces.connect(namespace_delimiter()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_directory` [INFO] [stdout] --> src/rust/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut input_directory = match matches.opt_str("i") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_directory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/rust/main.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let name = static_variable.2.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/rust/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let name = local_variable.2.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `static_init_label` [INFO] [stdout] --> src/rust/main.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | let (code, static_init_label) = compile(tokens, class, symbols_table, &plp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_init_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skip_amount` is never read [INFO] [stdout] --> src/rust/main.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | let mut skip_amount = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_type` [INFO] [stdout] --> src/rust/main.rs:336:28 [INFO] [stdout] | [INFO] [stdout] 336 | let (name, variable_type, is_static, symbol_class) = parse_variable(tokens, tokens_index); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_type` [INFO] [stdout] --> src/rust/main.rs:408:28 [INFO] [stdout] | [INFO] [stdout] 408 | let (name, variable_type, is_static, symbol_class) = parse_variable(tokens, tokens_index); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbols_table_dump` [INFO] [stdout] --> src/rust/main.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let mut symbols_table_dump: String = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbols_table_dump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_static_method_variables` is assigned to, but never used [INFO] [stdout] --> src/rust/main.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | let mut current_static_method_variables = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_static_method_variables` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_class` [INFO] [stdout] --> src/rust/main.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | let mut symbol_class: SymbolClass; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_amount` [INFO] [stdout] --> src/rust/main.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | let mut skip_amount = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_variable_static` [INFO] [stdout] --> src/rust/main.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | let ref is_variable_static = static_variables[index].2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_variable_static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returned_variable` [INFO] [stdout] --> src/rust/main.rs:689:18 [INFO] [stdout] | [INFO] [stdout] 689 | Some(ref returned_variable) => true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returned_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_index` [INFO] [stdout] --> src/rust/main.rs:559:91 [INFO] [stdout] | [INFO] [stdout] 559 | ..._table: &mut SymbolTable, end_index: usize, current_namespace: String) -> (String, Vec) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/rust/lexer.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | for (start, end) in new_line_matcher.find_iter(&*input) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_type` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | ... SymbolClass::Variable(ref variable_type) => return Some((symbol).clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:155:55 [INFO] [stdout] | [INFO] [stdout] 155 | ... SymbolClass::Function(ref return_type, ref arguments, ref static_label, static_length) => [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `static_label` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:155:87 [INFO] [stdout] | [INFO] [stdout] 155 | ... SymbolClass::Function(ref return_type, ref arguments, ref static_label, static_length) => [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `static_length` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:155:105 [INFO] [stdout] | [INFO] [stdout] 155 | ... SymbolClass::Function(ref return_type, ref arguments, ref static_label, static_length) => [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_type` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:213:56 [INFO] [stdout] | [INFO] [stdout] 213 | ... SymbolClass::Structure(ref sub_type, _) => return Some((symbol).clone()), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_type` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:239:36 [INFO] [stdout] | [INFO] [stdout] 239 | SymbolClass::Structure(ref sub_type, ref memory_size) => SymbolLocation::Structured, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_size` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:239:50 [INFO] [stdout] | [INFO] [stdout] 239 | SymbolClass::Structure(ref sub_type, ref memory_size) => SymbolLocation::Structured, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_type` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:240:35 [INFO] [stdout] | [INFO] [stdout] 240 | SymbolClass::Variable(ref variable_type) => match in_method [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:253:35 [INFO] [stdout] | [INFO] [stdout] 253 | ... SymbolClass::Function(ref return_type, ref arguments, ref static_label, static_length) => SymbolLocation::Memory(MemoryAddress {lab... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:253:52 [INFO] [stdout] | [INFO] [stdout] 253 | ... SymbolClass::Function(ref return_type, ref arguments, ref static_label, static_length) => SymbolLocation::Memory(MemoryAddress {lab... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `static_label` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:253:67 [INFO] [stdout] | [INFO] [stdout] 253 | ...type, ref arguments, ref static_label, static_length) => SymbolLocation::Memory(MemoryAddress {label_name: method_namespace, offset: 0}), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `static_length` [INFO] [stdout] --> src/rust/symbols/symbol_table.rs:253:85 [INFO] [stdout] | [INFO] [stdout] 253 | ...ts, ref static_label, static_length) => SymbolLocation::Memory(MemoryAddress {label_name: method_namespace, offset: 0}), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nested_switch_count` is assigned to, but never used [INFO] [stdout] --> src/rust/compiler/mod.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | let mut nested_switch_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_nested_switch_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nested_switch_count` is never read [INFO] [stdout] --> src/rust/compiler/mod.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | nested_switch_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/rust/compiler/mod.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | ... let (result_type, end_index) = compile_arithmetic_statement(tokens, index + 2, namespace, registers.0, (registers.1, registers.2), ... [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/rust/compiler/mod.rs:434:14 [INFO] [stdout] | [INFO] [stdout] 434 | let (result_type, end_index) = compile_arithmetic_statement(tokens, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/rust/compiler/mod.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | token = &tokens[index]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/rust/compiler/mod.rs:517:10 [INFO] [stdout] | [INFO] [stdout] 517 | let (result_type, end_index) = compile_arithmetic_statement(tokens, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/rust/compiler/mod.rs:672:18 [INFO] [stdout] | [INFO] [stdout] 672 | let (result_type, new_index) = compile_arithmetic_statement(tokens, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/rust/compiler/mod.rs:691:18 [INFO] [stdout] | [INFO] [stdout] 691 | let (result_type, new_index) = compile_arithmetic_statement(tokens, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/rust/compiler/mod.rs:715:18 [INFO] [stdout] | [INFO] [stdout] 715 | let (result_type, new_index) = compile_arithmetic_statement(tokens, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/rust/compiler/mod.rs:739:18 [INFO] [stdout] | [INFO] [stdout] 739 | let (result_type, new_index) = compile_arithmetic_statement(tokens, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_type` [INFO] [stdout] --> src/rust/compiler/mod.rs:1087:31 [INFO] [stdout] | [INFO] [stdout] 1087 | SymbolClass::Variable(ref variable_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/rust/compiler/mod.rs:1106:40 [INFO] [stdout] | [INFO] [stdout] 1106 | SymbolLocation::MethodArgument(offset) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_type` [INFO] [stdout] --> src/rust/compiler/mod.rs:1151:14 [INFO] [stdout] | [INFO] [stdout] 1151 | ... let (result_type, end_index) = compile_arithmetic_statement(tokens, index + 1, namespace, temp_register, load_registers, target_reg... [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/rust/compiler/mod.rs:1198:13 [INFO] [stdout] | [INFO] [stdout] 1198 | let mut nodes: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand_type` [INFO] [stdout] --> src/rust/compiler/mod.rs:1209:14 [INFO] [stdout] | [INFO] [stdout] 1209 | ... let (operand_type, new_index) = compile_arithmetic_statement(tokens, index + 1, namespace, temp_register, load_registers, target_re... [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut source_file = match matches.opt_str("s") [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/rust/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut output_directory = match matches.opt_str("d") [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/rust/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut input_directory = match matches.opt_str("i") [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/rust/main.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let mut symbols_table_dump: String = String::new(); [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/rust/main.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | let mut skip_amount = 0; [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/rust/main.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 716 | let mut symbol_class: SymbolClass; [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/rust/symbols/symbol_table.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let mut location: SymbolLocation = match class [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/rust/symbols/symbol_table.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let mut symbol: Symbol = Symbol [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/rust/compiler/mod.rs:1198:13 [INFO] [stdout] | [INFO] [stdout] 1198 | let mut nodes: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/rust/compiler/mod.rs:1325:1 [INFO] [stdout] | [INFO] [stdout] 1325 | pub fn compile_not_equal_to(result_register: &str, operand1_register: &str, operand2_register: &str, temp_register: &str, plp: &mut PLPWriter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 1326 | { [INFO] [stdout] 1327 | compile_not_equal_to(result_register, operand1_register, operand2_register, temp_register, plp); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_file` [INFO] [stdout] --> src/rust/files.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn delete_file(file_path: &str) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Register` [INFO] [stdout] --> src/rust/symbols/mod.rs:39:2 [INFO] [stdout] | [INFO] [stdout] 39 | Register(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> src/rust/plp.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn map(&mut self, comment: &str) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sltu` [INFO] [stdout] --> src/rust/plp.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn sltu(&mut self, register_result: &str, register_operand1: &str, register_operand2: &str) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Evaluation` [INFO] [stdout] --> src/rust/compiler/mod.rs:1124:5 [INFO] [stdout] | [INFO] [stdout] 1124 | Evaluation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Operator` [INFO] [stdout] --> src/rust/compiler/mod.rs:1125:5 [INFO] [stdout] | [INFO] [stdout] 1125 | Operator(&'a Token<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/rust/main.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | if min_value < 0 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 89 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.16s [INFO] running `Command { std: "docker" "inspect" "3a1364ead8d161a73bb0660fd9b911a7f4066bb3335e3f25ec60c295072df916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a1364ead8d161a73bb0660fd9b911a7f4066bb3335e3f25ec60c295072df916", kill_on_drop: false }` [INFO] [stdout] 3a1364ead8d161a73bb0660fd9b911a7f4066bb3335e3f25ec60c295072df916