[INFO] cloning repository https://github.com/FeanorTheElf/Parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FeanorTheElf/Parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeanorTheElf%2FParser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeanorTheElf%2FParser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92590cb4508b3bfc6c6d73b16dab4e135f9f823b [INFO] checking FeanorTheElf/Parser against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeanorTheElf%2FParser" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FeanorTheElf/Parser on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FeanorTheElf/Parser [INFO] finished tweaking git repo https://github.com/FeanorTheElf/Parser [INFO] tweaked toml for git repo https://github.com/FeanorTheElf/Parser written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/FeanorTheElf/Parser already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3bf90a3c2b209b392f0f70a9bf5adb5e6966695effb3e265827a30695ce3259 [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" "c3bf90a3c2b209b392f0f70a9bf5adb5e6966695effb3e265827a30695ce3259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3bf90a3c2b209b392f0f70a9bf5adb5e6966695effb3e265827a30695ce3259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3bf90a3c2b209b392f0f70a9bf5adb5e6966695effb3e265827a30695ce3259", kill_on_drop: false }` [INFO] [stdout] c3bf90a3c2b209b392f0f70a9bf5adb5e6966695effb3e265827a30695ce3259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42a2662a6f5edad2fd2b6c6f1f21d681e04a053e133ea238a777cb1a4e9c5f11 [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" "42a2662a6f5edad2fd2b6c6f1f21d681e04a053e133ea238a777cb1a4e9c5f11", kill_on_drop: false }` [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking feanor_la v0.1.0 (https://github.com/feanorTheElf/FeanorLA.git#c4867692) [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::analysis::types::*` [INFO] [stdout] --> src/cuda/context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::super::analysis::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::language::position::NONEXISTING` [INFO] [stdout] --> src/cuda/variable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::language::position::NONEXISTING; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::INDEX_TYPE` [INFO] [stdout] --> src/cuda/variable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::INDEX_TYPE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/cuda/kernel_data.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::util::ref_eq::*` [INFO] [stdout] --> src/cuda/kernel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::super::util::ref_eq::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/cuda/kernel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/cuda/kernel.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::analysis::types::*` [INFO] [stdout] --> src/cuda/context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::super::analysis::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::language::position::NONEXISTING` [INFO] [stdout] --> src/cuda/variable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::language::position::NONEXISTING; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::INDEX_TYPE` [INFO] [stdout] --> src/cuda/variable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::INDEX_TYPE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 639 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 640 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 644 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 645 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 649 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 650 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 654 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 655 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 659 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 660 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:665:9 [INFO] [stdout] | [INFO] [stdout] 664 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 665 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::util::dynamic::Dynamic` [INFO] [stdout] --> src/cuda/kernel_data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::super::util::dynamic::Dynamic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::analysis::symbol` [INFO] [stdout] --> src/cuda/kernel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::analysis::symbol::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::analysis::scope` [INFO] [stdout] --> src/cuda/kernel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::analysis::scope::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> src/analysis/types.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | Expression::Literal(lit) => Type::Primitive(PrimitiveType::Int), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive_extract` [INFO] [stdout] --> src/transformation/extraction.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let recursive_extract = |expr: Expression| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive_extract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/cuda/statement.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | fn write(&self, out: &mut CodeWriter, context: &dyn CudaContext) -> Result<(), OutputError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/cuda/statement.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | fn write(&self, out: &mut CodeWriter, context: &dyn CudaContext) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel` [INFO] [stdout] --> src/cuda/kernel.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | fn write_definition_as_device_function(&self, kernel: &KernelInfo, out: &mut CodeWriter) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/cuda/kernel.rs:71:73 [INFO] [stdout] | [INFO] [stdout] 71 | fn write_definition_as_device_function(&self, kernel: &KernelInfo, out: &mut CodeWriter) -> Result<(), OutputError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel` [INFO] [stdout] --> src/cuda/kernel.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_kernel_call(&self, kernel: &KernelInfo, out: &mut CodeWriter) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/cuda/kernel.rs:75:54 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_kernel_call(&self, kernel: &KernelInfo, out: &mut CodeWriter) -> Result<(), OutputError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/cuda/backend.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 193 | Expression::Call(call) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:638:35 [INFO] [stdout] | [INFO] [stdout] 638 | fn print_if_header(&mut self, node: &If) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | fn print_while_header(&mut self, node: &While) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:648:32 [INFO] [stdout] | [INFO] [stdout] 648 | fn print_return(&mut self, node: &Return) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:653:36 [INFO] [stdout] | [INFO] [stdout] 653 | fn print_expression(&mut self, node: &Expression) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:658:36 [INFO] [stdout] | [INFO] [stdout] 658 | fn print_assignment(&mut self, node: &Assignment) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:663:37 [INFO] [stdout] | [INFO] [stdout] 663 | fn print_declaration(&mut self, node: &LocalVariableDeclaration) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut program = Program::parse(&mut lex(" [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: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 639 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 640 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 644 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 645 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 649 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 650 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 654 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 655 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 659 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 660 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cuda/backend.rs:665:9 [INFO] [stdout] | [INFO] [stdout] 664 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 665 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | fn generate_unique_identifier(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 26 | self.generate_unique_identifier() [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 cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn is_device_context(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 30 | self.is_device_context() [INFO] [stdout] | ------------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | fn in_device<'a>(&'a mut self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 34 | self.in_device() [INFO] [stdout] | ---------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | fn in_scope<'a>(&'a mut self, scopes: ScopeStack<'a, &'a dyn SymbolDefinition>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 38 | self.in_scope(scopes) [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn get_scopes(&self) -> &ScopeStack<&dyn SymbolDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 42 | self.get_scopes() [INFO] [stdout] | ----------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn calculate_var_type(&self, variable: &Name) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 46 | self.calculate_var_type(variable) [INFO] [stdout] | --------------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn calculate_type(&self, expr: &Expression) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 50 | self.calculate_type(expr) [INFO] [stdout] | ------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::util::dynamic::Dynamic` [INFO] [stdout] --> src/cuda/kernel_data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::super::util::dynamic::Dynamic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::analysis::scope` [INFO] [stdout] --> src/cuda/kernel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::analysis::scope::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cuda/writer.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn write_all(&mut self, mut buf: &[u8]) -> Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> src/analysis/types.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | Expression::Literal(lit) => Type::Primitive(PrimitiveType::Int), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive_extract` [INFO] [stdout] --> src/transformation/extraction.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let recursive_extract = |expr: Expression| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive_extract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/cuda/statement.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | fn write(&self, out: &mut CodeWriter, context: &dyn CudaContext) -> Result<(), OutputError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/cuda/statement.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | fn write(&self, out: &mut CodeWriter, context: &dyn CudaContext) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel` [INFO] [stdout] --> src/cuda/kernel.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | fn write_definition_as_device_function(&self, kernel: &KernelInfo, out: &mut CodeWriter) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/cuda/kernel.rs:71:73 [INFO] [stdout] | [INFO] [stdout] 71 | fn write_definition_as_device_function(&self, kernel: &KernelInfo, out: &mut CodeWriter) -> Result<(), OutputError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel` [INFO] [stdout] --> src/cuda/kernel.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_kernel_call(&self, kernel: &KernelInfo, out: &mut CodeWriter) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/cuda/kernel.rs:75:54 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_kernel_call(&self, kernel: &KernelInfo, out: &mut CodeWriter) -> Result<(), OutputError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/cuda/backend.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 193 | Expression::Call(call) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:638:35 [INFO] [stdout] | [INFO] [stdout] 638 | fn print_if_header(&mut self, node: &If) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:643:38 [INFO] [stdout] | [INFO] [stdout] 643 | fn print_while_header(&mut self, node: &While) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:648:32 [INFO] [stdout] | [INFO] [stdout] 648 | fn print_return(&mut self, node: &Return) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:653:36 [INFO] [stdout] | [INFO] [stdout] 653 | fn print_expression(&mut self, node: &Expression) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:658:36 [INFO] [stdout] | [INFO] [stdout] 658 | fn print_assignment(&mut self, node: &Assignment) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/cuda/backend.rs:663:37 [INFO] [stdout] | [INFO] [stdout] 663 | fn print_declaration(&mut self, node: &LocalVariableDeclaration) -> Result<(), OutputError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut program = Program::parse(&mut lex(" [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/cuda/parallel_for_variable_use.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut child_scopes = scopes.child_scope(block); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_mut` [INFO] [stdout] --> src/util/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_all_mut<'a, T, I>(vec: &'a mut Vec, it: I) -> impl 'a + Iterator [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `NameScopeStack` [INFO] [stdout] --> src/analysis/scope.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub type NameScopeStack<'a> = ScopeStack<'a, NoData>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exit` [INFO] [stdout] --> src/analysis/scope.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn exit(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `definitions` [INFO] [stdout] --> src/analysis/scope.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn definitions<'b>(&'b self) -> impl 'b + Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rename_disjunct` [INFO] [stdout] --> src/analysis/scope.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn rename_disjunct<'b>(&'b self) -> impl 'b + FnMut(Name) -> Name { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Extractor` [INFO] [stdout] --> src/transformation/extraction.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Extractor [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_function_call` [INFO] [stdout] --> src/transformation/extraction.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn extract_function_call<'a, 'b, G>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_calls_in_parameters` [INFO] [stdout] --> src/transformation/extraction.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn extract_calls_in_parameters<'a, 'b, G>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_calls_in_expr` [INFO] [stdout] --> src/transformation/extraction.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn extract_calls_in_expr<'a, 'b, G>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DefinedFunctions` [INFO] [stdout] --> src/transformation/function_resolution.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type DefinedFunctions = [Box]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `FunctionDefinition` [INFO] [stdout] --> src/transformation/function_resolution.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum FunctionDefinition<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_function_definition` [INFO] [stdout] --> src/transformation/function_resolution.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn find_function_definition<'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Inliner` [INFO] [stdout] --> src/transformation/inline.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Inliner [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `InlineTask` [INFO] [stdout] --> src/transformation/inline.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct InlineTask<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/transformation/inline.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(should_inline: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_calls_in_block` [INFO] [stdout] --> src/transformation/inline.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn inline_calls_in_block<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inline_calls_in_program` [INFO] [stdout] --> src/transformation/inline.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn inline_calls_in_program(&mut self, program: &mut Program) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inline_single_function_call` [INFO] [stdout] --> src/transformation/inline.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn inline_single_function_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inline_parameter_passing` [INFO] [stdout] --> src/transformation/inline.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn inline_parameter_passing<'a, F, I, J>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_statement` [INFO] [stdout] --> src/transformation/inline.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn to_statement(value: T) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_inlined_function_body` [INFO] [stdout] --> src/transformation/inline.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn process_inlined_function_body( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transform_inlined_return_statement` [INFO] [stdout] --> src/transformation/inline.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn transform_inlined_return_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `recursive_rename_variables` [INFO] [stdout] --> src/transformation/inline.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn recursive_rename_variables( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rename_identifier` [INFO] [stdout] --> src/transformation/inline.rs:311:4 [INFO] [stdout] | [INFO] [stdout] 311 | fn rename_identifier( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cuda/writer.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(target: &'a mut String) -> StringWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cuda/writer.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(out: &'a mut T) -> CodeWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cuda/context.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(global: &'b [Box], counter: &'a mut u32) -> CudaContextImpl<'a, 'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap_kernel` [INFO] [stdout] --> src/cuda/kernel_data.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn unwrap_kernel(&self) -> Ref<'a, ParallelFor> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap_function` [INFO] [stdout] --> src/cuda/kernel_data.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn unwrap_function(&self) -> Ref<'a, Function> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `create_dim_checks` [INFO] [stdout] --> src/cuda/backend.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | create_dim_checks: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increase_indent` [INFO] [stdout] --> src/cuda/backend.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn increase_indent(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decrease_indent` [INFO] [stdout] --> src/cuda/backend.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn decrease_indent(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `builtin_string` [INFO] [stdout] --> src/cuda/backend.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn builtin_string(&self, builtin: BuiltInIdentifier) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_function_call` [INFO] [stdout] --> src/cuda/backend.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn print_function_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_function_use_info` [INFO] [stdout] --> src/cuda/function_use_analyser.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn collect_function_use_info<'a>(program: &'a Program) -> HashMap<&'a Name, FunctionUse> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_function_use_info_in_block` [INFO] [stdout] --> src/cuda/function_use_analyser.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn collect_function_use_info_in_block<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_function_use_info_in_expression` [INFO] [stdout] --> src/cuda/function_use_analyser.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn collect_function_use_info_in_expression<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_parallel_for_data_in_block` [INFO] [stdout] --> src/cuda/parallel_for_variable_use.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn collect_parallel_for_data_in_block<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_parallel_for_data_in_expr` [INFO] [stdout] --> src/cuda/parallel_for_variable_use.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn collect_parallel_for_data_in_expr<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cuda/declaration.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | write!(out, ";"); [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cuda/declaration.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | write!(out, ";"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cuda/expression.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | write!(out, ")"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 84 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | fn generate_unique_identifier(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 26 | self.generate_unique_identifier() [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 cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn is_device_context(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 30 | self.is_device_context() [INFO] [stdout] | ------------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | fn in_device<'a>(&'a mut self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 34 | self.in_device() [INFO] [stdout] | ---------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | fn in_scope<'a>(&'a mut self, scopes: ScopeStack<'a, &'a dyn SymbolDefinition>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 38 | self.in_scope(scopes) [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn get_scopes(&self) -> &ScopeStack<&dyn SymbolDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 42 | self.get_scopes() [INFO] [stdout] | ----------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn calculate_var_type(&self, variable: &Name) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 46 | self.calculate_var_type(variable) [INFO] [stdout] | --------------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/cuda/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn calculate_type(&self, expr: &Expression) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 50 | self.calculate_type(expr) [INFO] [stdout] | ------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cuda/writer.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn write_all(&mut self, mut buf: &[u8]) -> Result<()> { [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/cuda/parallel_for_variable_use.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut child_scopes = scopes.child_scope(block); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_mut` [INFO] [stdout] --> src/util/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_all_mut<'a, T, I>(vec: &'a mut Vec, it: I) -> impl 'a + Iterator [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exit` [INFO] [stdout] --> src/analysis/scope.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn exit(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `InlineTask` [INFO] [stdout] --> src/transformation/inline.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct InlineTask<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap_kernel` [INFO] [stdout] --> src/cuda/kernel_data.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn unwrap_kernel(&self) -> Ref<'a, ParallelFor> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `create_dim_checks` [INFO] [stdout] --> src/cuda/backend.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | create_dim_checks: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increase_indent` [INFO] [stdout] --> src/cuda/backend.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn increase_indent(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decrease_indent` [INFO] [stdout] --> src/cuda/backend.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn decrease_indent(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `builtin_string` [INFO] [stdout] --> src/cuda/backend.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn builtin_string(&self, builtin: BuiltInIdentifier) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_function_call` [INFO] [stdout] --> src/cuda/backend.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn print_function_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_function_use_info` [INFO] [stdout] --> src/cuda/function_use_analyser.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn collect_function_use_info<'a>(program: &'a Program) -> HashMap<&'a Name, FunctionUse> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_function_use_info_in_block` [INFO] [stdout] --> src/cuda/function_use_analyser.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn collect_function_use_info_in_block<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_function_use_info_in_expression` [INFO] [stdout] --> src/cuda/function_use_analyser.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn collect_function_use_info_in_expression<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_parallel_for_data_in_block` [INFO] [stdout] --> src/cuda/parallel_for_variable_use.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn collect_parallel_for_data_in_block<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_parallel_for_data_in_expr` [INFO] [stdout] --> src/cuda/parallel_for_variable_use.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn collect_parallel_for_data_in_expr<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cuda/declaration.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | write!(out, ";"); [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cuda/declaration.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | write!(out, ";"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cuda/expression.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | write!(out, ")"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.36s [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42a2662a6f5edad2fd2b6c6f1f21d681e04a053e133ea238a777cb1a4e9c5f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a2662a6f5edad2fd2b6c6f1f21d681e04a053e133ea238a777cb1a4e9c5f11", kill_on_drop: false }` [INFO] [stdout] 42a2662a6f5edad2fd2b6c6f1f21d681e04a053e133ea238a777cb1a4e9c5f11