[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] 7000b4bd85cd425455e1641ac970db9b18af394f [INFO] checking FeanorTheElf/Parser against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeanorTheElf%2FParser" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FeanorTheElf/Parser 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/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-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/feanorTheElf/FeanorLA.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] ee04a8239d152975ea5512a6dbfab2857fbb4d117ce665a34c3b5d075c263868 [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" "ee04a8239d152975ea5512a6dbfab2857fbb4d117ce665a34c3b5d075c263868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee04a8239d152975ea5512a6dbfab2857fbb4d117ce665a34c3b5d075c263868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee04a8239d152975ea5512a6dbfab2857fbb4d117ce665a34c3b5d075c263868", kill_on_drop: false }` [INFO] [stdout] ee04a8239d152975ea5512a6dbfab2857fbb4d117ce665a34c3b5d075c263868 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 7bb6b691747b5386e4cb14dc36a65f601cd16e58e4c687b7a379527a3712aa93 [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" "7bb6b691747b5386e4cb14dc36a65f601cd16e58e4c687b7a379527a3712aa93", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking feanor_la v0.1.0 (https://github.com/feanorTheElf/FeanorLA.git#c4867692) [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking serde v1.0.115 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/util/dynamic.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / macro_rules! dynamic_subtrait_cloneable { [INFO] [stdout] 73 | | ($name:ident: $supertrait:ident; $dyn_castable_name:ident) => { [INFO] [stdout] 74 | | pub trait $name: std::any::Any + $dyn_castable_name + $supertrait { } [INFO] [stdout] 75 | | [INFO] [stdout] ... | [INFO] [stdout] 107 | | }; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::type_error::*` [INFO] [stdout] --> src/analysis/concrete_view_resolution.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::type_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::util::dyn_lifetime::*` [INFO] [stdout] --> src/parser/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::super::util::dyn_lifetime::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/parser/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lex_str` [INFO] [stdout] --> src/transformation/renaming.rs:88:48 [INFO] [stdout] | [INFO] [stdout] 88 | use super::super::lexer::lexer::{fragment_lex, lex_str}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::language::ast_test::*` [INFO] [stdout] --> src/transformation/extraction.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | use super::super::language::ast_test::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::language::ast_test::*` [INFO] [stdout] --> src/transformation/inline.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | use super::super::language::ast_test::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::language::prelude::*` [INFO] [stdout] --> src/cli/cuda.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::language::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::cuda::*` [INFO] [stdout] --> src/cli/cuda.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::cuda::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/util/dynamic.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / macro_rules! dynamic_subtrait_cloneable { [INFO] [stdout] 73 | | ($name:ident: $supertrait:ident; $dyn_castable_name:ident) => { [INFO] [stdout] 74 | | pub trait $name: std::any::Any + $dyn_castable_name + $supertrait { } [INFO] [stdout] 75 | | [INFO] [stdout] ... | [INFO] [stdout] 107 | | }; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::type_error::*` [INFO] [stdout] --> src/analysis/concrete_view_resolution.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::type_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::util::dyn_lifetime::*` [INFO] [stdout] --> src/parser/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::super::util::dyn_lifetime::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/parser/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::language::prelude::*` [INFO] [stdout] --> src/cli/cuda.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::language::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::cuda::*` [INFO] [stdout] --> src/cli/cuda.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::cuda::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::util::iterable::LifetimeIterable` [INFO] [stdout] --> src/language/program_parallel_for.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::util::iterable::LifetimeIterable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::util::iterable::LifetimeIterable` [INFO] [stdout] --> src/language/program_parallel_for.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::util::iterable::LifetimeIterable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TopLevelParser` [INFO] [stdout] --> src/transformation/renaming.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | use super::super::parser::{Parser, TopLevelParser}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/util/dyn_lifetime.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | let r0 = vec.push(0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lifetime` [INFO] [stdout] --> src/util/dyn_lifetime.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | let lifetime = vec.get_lifetime(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lifetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_mut` [INFO] [stdout] --> src/util/dyn_lifetime.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | let r_mut = iter_mut.next().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_r_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/util/ref_eq.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get(self) -> &'a T { [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: `lifetime_cast` [INFO] [stdout] --> src/util/dyn_lifetime.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn lifetime_cast<'b, T: ?Sized>(&'b mut self, r: DynRef) -> Option<&'b mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cast` [INFO] [stdout] --> src/util/dyn_lifetime.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn cast<'b, T: ?Sized>(&'b mut self, r: DynRef) -> &'b mut T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lifetime_cast_consume` [INFO] [stdout] --> src/util/dyn_lifetime.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn lifetime_cast_consume(self, r: DynRef) -> Option<&'a mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cast_consume` [INFO] [stdout] --> src/util/dyn_lifetime.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn cast_consume(self, r: DynRef) -> &'a mut T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_const` [INFO] [stdout] --> src/util/dyn_lifetime.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn as_const<'b>(&'b self) -> Lifetime<'b> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deref_mut` [INFO] [stdout] --> src/util/dyn_lifetime.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn deref_mut<'a, 'b>(self, lifetime: &'b mut LifetimeMut<'a>) -> &'b mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_target` [INFO] [stdout] --> src/util/dyn_lifetime.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_target(&self) -> *const T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_static` [INFO] [stdout] --> src/util/dyn_lifetime.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn from_static(data: &'static T) -> DynRef { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_lifetime_mut` [INFO] [stdout] --> src/util/dyn_lifetime.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | pub unsafe fn get_lifetime_mut<'a>(&'a mut self) -> LifetimeMut<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_lifetime` [INFO] [stdout] --> src/util/dyn_lifetime.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | fn new_lifetime(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_from` [INFO] [stdout] --> src/util/dyn_lifetime.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn push_from(&mut self, obj: S) -> DynRef [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/util/dyn_lifetime.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn insert(&mut self, i: usize, obj: Box) -> DynRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_lifetime_mut` [INFO] [stdout] --> src/util/dyn_lifetime.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn get_lifetime_mut<'a>(&'a mut self) -> LifetimeMut<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drain` [INFO] [stdout] --> src/util/dyn_lifetime.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn drain<'b, R: std::ops::RangeBounds>(&'b mut self, r: R) -> std::vec::Drain<'b, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> src/util/dyn_lifetime.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn iter_mut<'b>(&'b mut self) -> std::slice::IterMut<'b, Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/util/dyn_lifetime.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn iter<'b>(&'b self) -> std::slice::Iter<'b, Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/util/dyn_lifetime.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn remove(&mut self, i: usize) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_vec` [INFO] [stdout] --> src/util/dyn_lifetime.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn into_vec(self) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_mut` [INFO] [stdout] --> src/util/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_all_mut<'a, T, I>(vec: &'a mut Vec, it: I) -> impl 'a + Iterator [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downcast_box` [INFO] [stdout] --> src/util/dynamic.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn downcast_box(self: Box) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/language/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | dynamic_trait!{ AstNode: AstNodeFuncs; AstNodeDynCastable } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: associated function is never used: `downcast` [INFO] [stdout] --> src/util/dynamic.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn downcast(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/language/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | dynamic_trait!{ AstNode: AstNodeFuncs; AstNodeDynCastable } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: associated function is never used: `downcast_mut` [INFO] [stdout] --> src/util/dynamic.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn downcast_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/language/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | dynamic_trait!{ AstNode: AstNodeFuncs; AstNodeDynCastable } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: variant is never constructed: `UnsupportedCode` [INFO] [stdout] --> src/language/compiler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | UnsupportedCode(TextPosition, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/language/compiler.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(target: &'a mut String) -> StringWriter<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UndefinedSymbol` [INFO] [stdout] --> src/language/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | UndefinedSymbol, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShadowedDefinition` [INFO] [stdout] --> src/language/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ShadowedDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VariableVoidType` [INFO] [stdout] --> src/language/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | VariableVoidType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DuplicateDefinition` [INFO] [stdout] --> src/language/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | DuplicateDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IllegalArrayBaseType` [INFO] [stdout] --> src/language/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | IllegalArrayBaseType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VariableRequired` [INFO] [stdout] --> src/language/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | VariableRequired, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArrayParameterPerValue` [INFO] [stdout] --> src/language/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ArrayParameterPerValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ViewOnView` [INFO] [stdout] --> src/language/error.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ViewOnView, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ViewReturnType` [INFO] [stdout] --> src/language/error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ViewReturnType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArrayParameterByValue` [INFO] [stdout] --> src/language/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ArrayParameterByValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RValueAssignment` [INFO] [stdout] --> src/language/error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | RValueAssignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Recursion` [INFO] [stdout] --> src/language/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Recursion [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wrap` [INFO] [stdout] --> src/language/error.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn wrap(e: CompileError, msg: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_position` [INFO] [stdout] --> src/language/error.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_position(&self) -> &TextPosition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `throw` [INFO] [stdout] --> src/language/error.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn throw(self) -> ! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `components` [INFO] [stdout] --> src/language/identifier.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn components<'a>(&'a self) -> impl 'a + Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_unary_function` [INFO] [stdout] --> src/language/identifier.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn is_unary_function(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap_name` [INFO] [stdout] --> src/language/identifier.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn unwrap_name(&self) -> &Name { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap_builtin` [INFO] [stdout] --> src/language/identifier.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn unwrap_builtin(&self) -> &BuiltInIdentifier { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_name` [INFO] [stdout] --> src/language/identifier.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn is_name(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_builtin` [INFO] [stdout] --> src/language/identifier.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn is_builtin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lifetime` [INFO] [stdout] --> src/language/program.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn lifetime<'a>(&'a self) -> Lifetime<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `statements` [INFO] [stdout] --> src/language/program.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn statements<'a>(&'a self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deep_copy_ast` [INFO] [stdout] --> src/language/program.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn deep_copy_ast(&self, types: &mut TypeVec) -> Function { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downcast` [INFO] [stdout] --> src/util/dynamic.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn downcast(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/language/program.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | dynamic_subtrait!{ Statement: StatementFuncs; StatementDynCastable } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: associated function is never used: `downcast_mut` [INFO] [stdout] --> src/util/dynamic.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn downcast_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/language/program.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | dynamic_subtrait!{ Statement: StatementFuncs; StatementDynCastable } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: associated function is never used: `scan_top_level_expressions` [INFO] [stdout] --> src/language/program.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn scan_top_level_expressions<'a, F>(&'a self, mut f: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_scan_top_level_expressions` [INFO] [stdout] --> src/language/program.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn try_scan_top_level_expressions<'a, F, E>(&'a self, f: &mut F) -> Result<(), E> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_identifier` [INFO] [stdout] --> src/language/program.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn expect_identifier(&self) -> Result<&Variable, CompileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_lvalue` [INFO] [stdout] --> src/language/program.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn is_lvalue(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_tree_preorder_depth_first_search` [INFO] [stdout] --> src/language/program.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn call_tree_preorder_depth_first_search<'a, F>(&'a self, mut f: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_call_tree_preorder_depth_first_search` [INFO] [stdout] --> src/language/program.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn try_call_tree_preorder_depth_first_search<'a, F, E>(&'a self, f: &mut F) -> Result<(), E> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HASH_COMPLETEINDEXVIEW` [INFO] [stdout] --> src/language/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub const HASH_COMPLETEINDEXVIEW: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_void` [INFO] [stdout] --> src/language/types.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn is_void(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/language/types.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn unwrap(&self) -> TypePtr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_nonvoid` [INFO] [stdout] --> src/language/types.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn expect_nonvoid(&self, pos: &TextPosition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_primitive_type` [INFO] [stdout] --> src/language/types.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_primitive_type(&mut self, ty: PrimitiveType, mutable: bool) -> TypePtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_lifetime_mut` [INFO] [stdout] --> src/language/types.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_lifetime_mut<'a>(&'a mut self) -> LifetimeMut<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/language/types.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | Int, Float, Bool [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/language/types.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | Int, Float, Bool [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param_types` [INFO] [stdout] --> src/language/types.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn param_types<'a, 'b: 'a>(&'a self, prog_lifetime: Lifetime<'b>) -> impl 'a + Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_templated_view_parts` [INFO] [stdout] --> src/language/types.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn replace_templated_view_parts(self_ptr: TypePtr, template: Template, target: &dyn ConcreteView, type_lifetime: &mut LifetimeMut) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_concrete_views_with_template` [INFO] [stdout] --> src/language/types.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn fill_concrete_views_with_template(self_ptr: TypePtr, type_lifetime: &mut LifetimeMut) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_concrete` [INFO] [stdout] --> src/language/types.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn get_concrete(&self) -> Result<&dyn ConcreteView, NoConcreteViewDataPresent> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_templated_view_parts` [INFO] [stdout] --> src/language/types.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn replace_templated_view_parts(self_ptr: TypePtr, template: Template, target: &dyn ConcreteView, type_lifetime: &mut LifetimeMut) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `without_view` [INFO] [stdout] --> src/language/types.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn without_view(self) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_view` [INFO] [stdout] --> src/language/types.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn is_view(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_array` [INFO] [stdout] --> src/language/types.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn expect_array( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_indexable` [INFO] [stdout] --> src/language/types.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn expect_indexable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `error_not_a_view` [INFO] [stdout] --> src/language/types.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | fn error_not_a_view(&self, pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_view` [INFO] [stdout] --> src/language/types.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn expect_view( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_view_mut` [INFO] [stdout] --> src/language/types.rs:462:12 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn expect_view_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap_view` [INFO] [stdout] --> src/language/types.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn unwrap_view( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap_view_mut` [INFO] [stdout] --> src/language/types.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn unwrap_view_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_arithmetic` [INFO] [stdout] --> src/language/types.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | pub fn expect_arithmetic(&self, pos: &TextPosition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_scalar` [INFO] [stdout] --> src/language/types.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn expect_scalar(&self, pos: &TextPosition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reference_view` [INFO] [stdout] --> src/language/types.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn reference_view(self, pos: &TextPosition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_templated_view_parts` [INFO] [stdout] --> src/language/types.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn replace_templated_view_parts(self_ptr: TypePtr, template: Template, target: &dyn ConcreteView, type_lifetime: &mut LifetimeMut) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_implicitly_convertable` [INFO] [stdout] --> src/language/types.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn is_implicitly_convertable(&self, target: &Type, _prog_lifetime: Lifetime) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_copyable_to` [INFO] [stdout] --> src/language/types.rs:618:12 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn is_copyable_to(&self, target: &Type, _prog_lifetime: Lifetime) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind` [INFO] [stdout] --> src/language/types.rs:643:12 [INFO] [stdout] | [INFO] [stdout] 643 | pub fn bind(type_ptr: TypePtr, lifetime: Lifetime<'a>) -> LifetimedType<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/language/view.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/language/view.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new() -> ZeroView { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/language/view.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new(original_array_dims: usize) -> IndexView { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `NameScopeStack` [INFO] [stdout] --> src/analysis/scope.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | pub type NameScopeStack<'a> = ScopeStack<'a, NoData>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DefinitionScopeStack` [INFO] [stdout] --> src/analysis/scope.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub type DefinitionScopeStack<'a, 'b> = ScopeStack<'a, &'b dyn SymbolDefinition>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/analysis/scope.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn create<'c, 'a, S: ?Sized>(scope: &'c S) -> ScopeNode [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/analysis/scope.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn new<'b, S: ?Sized>(global: &'b S) -> ScopeStack<'a, T> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_scoped_preorder_depth_first_search` [INFO] [stdout] --> src/analysis/scope.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn try_scoped_preorder_depth_first_search<'b, F, E>(&self, block: &'b Block, f: &mut F) -> Result<(), E> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scoped_preorder_depth_first_search` [INFO] [stdout] --> src/analysis/scope.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn scoped_preorder_depth_first_search<'b, F>(&self, block: &'b Block, mut for_each: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `child_stack` [INFO] [stdout] --> src/analysis/scope.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn child_stack<'b>(&'b self) -> ScopeStack<'b, T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `child_scope` [INFO] [stdout] --> src/analysis/scope.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn child_scope<'b, 'c, S: ?Sized>(&'b self, scope: &'c S) -> ScopeStack<'b, T> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enter` [INFO] [stdout] --> src/analysis/scope.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn enter<'c, 'b, S: ?Sized>(&mut self, scope: &'c S) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exit` [INFO] [stdout] --> src/analysis/scope.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn exit(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all_stacks` [INFO] [stdout] --> src/analysis/scope.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | fn all_stacks<'b>(&'b self) -> ScopeStackIter<'b, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_scope_levels` [INFO] [stdout] --> src/analysis/scope.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn get_scope_levels(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_global_scope` [INFO] [stdout] --> src/analysis/scope.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn is_global_scope<'b>(self: &'b Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `non_global_stacks` [INFO] [stdout] --> src/analysis/scope.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn non_global_stacks<'b>(&'b self) -> impl 'b + Iterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `this_scope_definitions` [INFO] [stdout] --> src/analysis/scope.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | fn this_scope_definitions<'b>(&'b self) -> impl 'b + Iterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `definitions` [INFO] [stdout] --> src/analysis/scope.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn definitions<'b>(&'b self) -> impl 'b + Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `non_global_definitions` [INFO] [stdout] --> src/analysis/scope.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn non_global_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:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn rename_disjunct<'b>(&'b self) -> impl 'b + FnMut(Name) -> Name { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/analysis/scope.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn get(&self, name: &Name) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_defined` [INFO] [stdout] --> src/analysis/scope.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn get_defined(&self, name: &Name, pos: &TextPosition) -> Result<&T, CompileError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `global_scope` [INFO] [stdout] --> src/analysis/scope.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn global_scope(global: &'b [Box]) -> ScopeStack<'a, &'b Function> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_jump_label_var_type` [INFO] [stdout] --> src/analysis/type_error.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn error_jump_label_var_type(pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_test_type` [INFO] [stdout] --> src/analysis/type_error.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn error_test_type(_pos: &TextPosition) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_nested_view` [INFO] [stdout] --> src/analysis/type_error.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn error_nested_view(pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_array_value_parameter` [INFO] [stdout] --> src/analysis/type_error.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn error_array_value_parameter(pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_not_indexable_buildin_identifier` [INFO] [stdout] --> src/analysis/type_error.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn error_not_indexable_buildin_identifier( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_rvalue_not_assignable` [INFO] [stdout] --> src/analysis/type_error.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn error_rvalue_not_assignable(pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_wrong_parameter_count` [INFO] [stdout] --> src/analysis/type_error.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn error_wrong_parameter_count(pos: &TextPosition, function: Identifier, expected_count: usize) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_return_view` [INFO] [stdout] --> src/analysis/type_error.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn error_return_view(pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_view_not_initialized` [INFO] [stdout] --> src/analysis/type_error.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn error_view_not_initialized(declaration: &LocalVariableDeclaration, type_lifetime: Lifetime) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_type_not_convertable` [INFO] [stdout] --> src/analysis/type_error.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn error_type_not_convertable(pos: &TextPosition, src: TypePtr, dst: TypePtr, type_lifetime: Lifetime) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_undefined_symbol` [INFO] [stdout] --> src/analysis/type_error.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn error_undefined_symbol(var: &Variable) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parent_type` [INFO] [stdout] --> src/analysis/types.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn parent_type(a: PrimitiveType, b: PrimitiveType) -> PrimitiveType [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_builtin_call_result_type` [INFO] [stdout] --> src/analysis/types.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn calculate_builtin_call_result_type<'a, I>(op: BuiltInIdentifier, pos: &TextPosition, types: &mut TypeVec, mut param_types: I) -> Resul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_and_store_type` [INFO] [stdout] --> src/analysis/types.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn calculate_and_store_type<'a>(expr: &'a Expression, scopes: &DefinitionScopeStack, types: &mut TypeVec) -> Result src/analysis/types.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn calculate_defined_function_call_result_type(call: &FunctionCall, function_type_ptr: TypePtr, scopes: &DefinitionScopeStack, types: &mu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ConcreteViewComputationResult` [INFO] [stdout] --> src/analysis/types.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | type ConcreteViewComputationResult = Result<(), ()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_builtin_call_result_concrete_view` [INFO] [stdout] --> src/analysis/types.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn set_builtin_call_result_concrete_view(call: &FunctionCall, op: BuiltInIdentifier, scopes: &DefinitionScopeStack, type_lifetime: &mut L... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_defined_call_result_concrete_view` [INFO] [stdout] --> src/analysis/types.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn set_defined_call_result_concrete_view(call: &FunctionCall, scopes: &DefinitionScopeStack, types: &mut TypeVec) -> ConcreteViewComputat... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill_expression_concrete_view` [INFO] [stdout] --> src/analysis/types.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn fill_expression_concrete_view(expr: &Expression, scopes: &DefinitionScopeStack, types: &mut TypeVec) -> ConcreteViewComputationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_and_store_type_nonvoid` [INFO] [stdout] --> src/analysis/types.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn calculate_and_store_type_nonvoid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill_statement_concrete_view` [INFO] [stdout] --> src/analysis/types.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn fill_statement_concrete_view( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `determine_types_in_block` [INFO] [stdout] --> src/analysis/types.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn determine_types_in_block( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `determine_types_in_function` [INFO] [stdout] --> src/analysis/types.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn determine_types_in_function( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `determine_types_in_program` [INFO] [stdout] --> src/analysis/types.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn determine_types_in_program(program: &mut Program) -> Result<(), CompileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_expression_type` [INFO] [stdout] --> src/analysis/types.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn get_expression_type(expr: &Expression, scopes: &DefinitionScopeStack) -> VoidableTypePtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_functions_to_export` [INFO] [stdout] --> src/analysis/export.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_functions_to_export<'a>(program: &'a [Box]) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `topological_sort` [INFO] [stdout] --> src/analysis/topological_sort.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn topological_sort(nodes: N, mut edges: E) -> Result, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CallData` [INFO] [stdout] --> src/analysis/topological_sort.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct CallData<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collect_global_use_data_variable` [INFO] [stdout] --> src/analysis/topological_sort.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn collect_global_use_data_variable<'a>(var: &'a Variable, parent_function: Ptr<'a, Function>, global_scope: &ScopeStack<&'a Function>, r... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_graph_topological_sort` [INFO] [stdout] --> src/analysis/topological_sort.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn call_graph_topological_sort<'a>(program: &'a [Box]) -> Result, CompileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_each_function_call` [INFO] [stdout] --> src/analysis/concrete_view_resolution.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn for_each_function_call<'a, 'b, F>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reference_views` [INFO] [stdout] --> src/analysis/concrete_view_resolution.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn reference_views( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_call_views` [INFO] [stdout] --> src/analysis/concrete_view_resolution.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn with_call_views(&self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply` [INFO] [stdout] --> src/analysis/concrete_view_resolution.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn apply(&self, view: Box) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_complete` [INFO] [stdout] --> src/analysis/concrete_view_resolution.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn apply_complete(&self, view: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculated_function_call_concrete_view_arguments` [INFO] [stdout] --> src/analysis/concrete_view_resolution.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn calculated_function_call_concrete_view_arguments( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `RequiredInstantiationsMap` [INFO] [stdout] --> src/analysis/concrete_view_resolution.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / pub type RequiredInstantiationsMap<'a> = HashMap< [INFO] [stdout] 138 | | Ptr<'a, Function>, HashSet [INFO] [stdout] 139 | | >; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_required_function_instantiations` [INFO] [stdout] --> src/analysis/concrete_view_resolution.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn calculate_required_function_instantiations<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NameMappingStack` [INFO] [stdout] --> src/transformation/renaming.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct NameMappingStack<'parent, 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_mapping` [INFO] [stdout] --> src/transformation/renaming.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_mapping<'a>(stack: &'a NameMappingStack, name: &Name) -> Option<&'a Name> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_new_def` [INFO] [stdout] --> src/transformation/renaming.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn is_new_def(stack: &NameMappingStack, name: &Name) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rename_name` [INFO] [stdout] --> src/transformation/renaming.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn rename_name(name: &mut Name, rename_disjunct: &mut F, name_mappings: &mut NameMappingStack) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rename_in_block` [INFO] [stdout] --> src/transformation/renaming.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn rename_in_block(block: &mut Block, parent_scopes: &NameScopeStack, parent_name_mappings: &NameMappingStack) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fix_name_collisions` [INFO] [stdout] --> src/transformation/renaming.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn fix_name_collisions(block: &mut Block, parent_scopes: &NameScopeStack, new_defs: &mut HashSet, rename_mapping: HashMap src/transformation/extraction.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Extractor [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/transformation/extraction.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(should_extract: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_function_call` [INFO] [stdout] --> src/transformation/extraction.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | 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:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn extract_calls_in_parameters<'a, 'b, G>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_expression_recursive` [INFO] [stdout] --> src/transformation/extraction.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn extract_expression_recursive<'a, 'b, G>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_calls_in_block_flat` [INFO] [stdout] --> src/transformation/extraction.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn extract_calls_in_block_flat<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_calls_in_block` [INFO] [stdout] --> src/transformation/extraction.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn extract_calls_in_block<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extract_calls_in_program` [INFO] [stdout] --> src/transformation/extraction.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn extract_calls_in_program(&mut self, (items, prog_lifetime): (&mut Vec>, Lifetime)) { [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:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | 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:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | 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:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | 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:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | 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:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn inline_parameter_passing<'a, F, I, J>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replace_if_type` [INFO] [stdout] --> src/transformation/inline.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn replace_if_type(statement: &mut Box, f: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replace_return_in_inlined_function_body` [INFO] [stdout] --> src/transformation/inline.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn replace_return_in_inlined_function_body( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `replace_return_with_assignment_and_goto` [INFO] [stdout] --> src/transformation/inline.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn replace_return_with_assignment_and_goto( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_concrete_view_mangling_parts` [INFO] [stdout] --> src/transformation/monomorphization.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn get_concrete_view_mangling_parts<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_monomorphized_instance` [INFO] [stdout] --> src/transformation/monomorphization.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn create_monomorphized_instance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `monomorphize` [INFO] [stdout] --> src/transformation/monomorphization.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn monomorphize( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/cuda/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/cuda/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/cuda/ast.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Void` [INFO] [stdout] --> src/cuda/ast.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VoidPtr` [INFO] [stdout] --> src/cuda/ast.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | VoidPtr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Index` [INFO] [stdout] --> src/cuda/ast.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ThreadIdxX` [INFO] [stdout] --> src/cuda/ast.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | ThreadIdxX, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockIdxX` [INFO] [stdout] --> src/cuda/ast.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | BlockIdxX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockDimX` [INFO] [stdout] --> src/cuda/ast.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | BlockDimX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GridDimX` [INFO] [stdout] --> src/cuda/ast.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | GridDimX, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SharedMem` [INFO] [stdout] --> src/cuda/ast.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | SharedMem, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TmpVar` [INFO] [stdout] --> src/cuda/ast.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | TmpVar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TmpSizeVar` [INFO] [stdout] --> src/cuda/ast.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | TmpSizeVar(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ValueVar` [INFO] [stdout] --> src/cuda/ast.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | ValueVar(Name), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArraySizeVar` [INFO] [stdout] --> src/cuda/ast.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ArraySizeVar(Name, u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Kernel` [INFO] [stdout] --> src/cuda/ast.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | Kernel(u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ThreadGridOffsetVar` [INFO] [stdout] --> src/cuda/ast.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | ThreadGridOffsetVar(u32, u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ThreadGridSizeVar` [INFO] [stdout] --> src/cuda/ast.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | ThreadGridSizeVar(u32, u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TmpArrayShapeVar` [INFO] [stdout] --> src/cuda/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | TmpArrayShapeVar(u32, u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutputValueVar` [INFO] [stdout] --> src/cuda/ast.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | OutputValueVar, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutputArraySizeVar` [INFO] [stdout] --> src/cuda/ast.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | OutputArraySizeVar(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/cuda/ast.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Eq` [INFO] [stdout] --> src/cuda/ast.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Neq` [INFO] [stdout] --> src/cuda/ast.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | Neq, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ls` [INFO] [stdout] --> src/cuda/ast.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | Ls, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gt` [INFO] [stdout] --> src/cuda/ast.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leq` [INFO] [stdout] --> src/cuda/ast.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | Leq, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Geq` [INFO] [stdout] --> src/cuda/ast.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | Geq, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/cuda/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | Call(CudaIdentifier, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/cuda/ast.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | Identifier(CudaIdentifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FloatLiteral` [INFO] [stdout] --> src/cuda/ast.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | FloatLiteral(f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comparison` [INFO] [stdout] --> src/cuda/ast.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | Comparison(Cmp, Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conjunction` [INFO] [stdout] --> src/cuda/ast.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | Conjunction(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Disjunction` [INFO] [stdout] --> src/cuda/ast.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | Disjunction(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Index` [INFO] [stdout] --> src/cuda/ast.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | Index(CudaIdentifier, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AddressOf` [INFO] [stdout] --> src/cuda/ast.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | AddressOf(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Deref` [INFO] [stdout] --> src/cuda/ast.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | Deref(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nullptr` [INFO] [stdout] --> src/cuda/ast.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | Nullptr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MultiDimIndexCalculation` [INFO] [stdout] --> src/cuda/ast.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | / MultiDimIndexCalculation( [INFO] [stdout] 254 | | u32, [INFO] [stdout] 255 | | Box, [INFO] [stdout] 256 | | Vec, [INFO] [stdout] 257 | | Vec, [INFO] [stdout] 258 | | ), [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Min` [INFO] [stdout] --> src/cuda/ast.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | Min(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Round` [INFO] [stdout] --> src/cuda/ast.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | Round(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Max` [INFO] [stdout] --> src/cuda/ast.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | Max(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IndexFloorDiv` [INFO] [stdout] --> src/cuda/ast.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | IndexFloorDiv(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Move` [INFO] [stdout] --> src/cuda/ast.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | Move(Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deref` [INFO] [stdout] --> src/cuda/ast.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn deref(target: CudaExpression) -> CudaExpression { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `External` [INFO] [stdout] --> src/cli/cli_backend.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | External(io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cli/cli_backend.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(out_extension: &'a OsStr, compiler: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DLL` [INFO] [stdout] --> src/cli/cuda.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | EXE, DLL [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quote` [INFO] [stdout] --> src/cli/cuda.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn quote(s: S) -> OsString [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_cuda_source_backend` [INFO] [stdout] --> src/cli/cuda.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn create_cuda_source_backend() -> MultiStageBackend<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `min_const_generics` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(min_const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/language/error.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | panic!(format!("Error at {}: {}", self.pos, self.msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 62 | panic!("Error at {}: {}", self.pos, self.msg) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 237 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lifetime_cast_consume` [INFO] [stdout] --> src/util/dyn_lifetime.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn lifetime_cast_consume(self, r: DynRef) -> Option<&'a mut T> { [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: `cast_consume` [INFO] [stdout] --> src/util/dyn_lifetime.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn cast_consume(self, r: DynRef) -> &'a mut T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_target` [INFO] [stdout] --> src/util/dyn_lifetime.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_target(&self) -> *const T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_static` [INFO] [stdout] --> src/util/dyn_lifetime.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn from_static(data: &'static T) -> DynRef { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_from` [INFO] [stdout] --> src/util/dyn_lifetime.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn push_from(&mut self, obj: S) -> DynRef [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/util/dyn_lifetime.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn insert(&mut self, i: usize, obj: Box) -> DynRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_mut` [INFO] [stdout] --> src/util/dyn_lifetime.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn iter_mut<'b>(&'b mut self) -> std::slice::IterMut<'b, Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/util/dyn_lifetime.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn iter<'b>(&'b self) -> std::slice::Iter<'b, Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_vec` [INFO] [stdout] --> src/util/dyn_lifetime.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn into_vec(self) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_mut` [INFO] [stdout] --> src/util/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_all_mut<'a, T, I>(vec: &'a mut Vec, it: I) -> impl 'a + Iterator [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downcast_box` [INFO] [stdout] --> src/util/dynamic.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn downcast_box(self: Box) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/language/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | dynamic_trait!{ AstNode: AstNodeFuncs; AstNodeDynCastable } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: associated function is never used: `downcast` [INFO] [stdout] --> src/util/dynamic.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn downcast(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/language/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | dynamic_trait!{ AstNode: AstNodeFuncs; AstNodeDynCastable } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: associated function is never used: `downcast_mut` [INFO] [stdout] --> src/util/dynamic.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn downcast_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/language/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | dynamic_trait!{ AstNode: AstNodeFuncs; AstNodeDynCastable } [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: variant is never constructed: `UnsupportedCode` [INFO] [stdout] --> src/language/compiler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | UnsupportedCode(TextPosition, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShadowedDefinition` [INFO] [stdout] --> src/language/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ShadowedDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VariableVoidType` [INFO] [stdout] --> src/language/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | VariableVoidType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DuplicateDefinition` [INFO] [stdout] --> src/language/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | DuplicateDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IllegalArrayBaseType` [INFO] [stdout] --> src/language/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | IllegalArrayBaseType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArrayParameterPerValue` [INFO] [stdout] --> src/language/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ArrayParameterPerValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ViewOnView` [INFO] [stdout] --> src/language/error.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ViewOnView, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ViewReturnType` [INFO] [stdout] --> src/language/error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ViewReturnType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArrayParameterByValue` [INFO] [stdout] --> src/language/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ArrayParameterByValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RValueAssignment` [INFO] [stdout] --> src/language/error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | RValueAssignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wrap` [INFO] [stdout] --> src/language/error.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn wrap(e: CompileError, msg: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_position` [INFO] [stdout] --> src/language/error.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_position(&self) -> &TextPosition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `throw` [INFO] [stdout] --> src/language/error.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn throw(self) -> ! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `components` [INFO] [stdout] --> src/language/identifier.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn components<'a>(&'a self) -> impl 'a + Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_unary_function` [INFO] [stdout] --> src/language/identifier.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn is_unary_function(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap_builtin` [INFO] [stdout] --> src/language/identifier.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn unwrap_builtin(&self) -> &BuiltInIdentifier { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_builtin` [INFO] [stdout] --> src/language/identifier.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn is_builtin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `statements` [INFO] [stdout] --> src/language/program.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn statements<'a>(&'a self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downcast_mut` [INFO] [stdout] --> src/util/dynamic.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn downcast_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/language/program.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | dynamic_subtrait!{ Statement: StatementFuncs; StatementDynCastable } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [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: associated function is never used: `is_lvalue` [INFO] [stdout] --> src/language/program.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn is_lvalue(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call_tree_preorder_depth_first_search` [INFO] [stdout] --> src/language/program.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn call_tree_preorder_depth_first_search<'a, F>(&'a self, mut f: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HASH_COMPLETEINDEXVIEW` [INFO] [stdout] --> src/language/types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub const HASH_COMPLETEINDEXVIEW: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `without_view` [INFO] [stdout] --> src/language/types.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn without_view(self) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_array` [INFO] [stdout] --> src/language/types.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn expect_array( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_indexable` [INFO] [stdout] --> src/language/types.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | pub fn expect_indexable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reference_view` [INFO] [stdout] --> src/language/types.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn reference_view(self, pos: &TextPosition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_copyable_to` [INFO] [stdout] --> src/language/types.rs:618:12 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn is_copyable_to(&self, target: &Type, _prog_lifetime: Lifetime) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scoped_preorder_depth_first_search` [INFO] [stdout] --> src/analysis/scope.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn scoped_preorder_depth_first_search<'b, F>(&self, block: &'b Block, mut for_each: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exit` [INFO] [stdout] --> src/analysis/scope.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn exit(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_scope_levels` [INFO] [stdout] --> src/analysis/scope.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn get_scope_levels(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_global_scope` [INFO] [stdout] --> src/analysis/scope.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn is_global_scope<'b>(self: &'b Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_jump_label_var_type` [INFO] [stdout] --> src/analysis/type_error.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn error_jump_label_var_type(pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_test_type` [INFO] [stdout] --> src/analysis/type_error.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn error_test_type(_pos: &TextPosition) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_nested_view` [INFO] [stdout] --> src/analysis/type_error.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn error_nested_view(pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_array_value_parameter` [INFO] [stdout] --> src/analysis/type_error.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn error_array_value_parameter(pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_not_indexable_buildin_identifier` [INFO] [stdout] --> src/analysis/type_error.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn error_not_indexable_buildin_identifier( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_rvalue_not_assignable` [INFO] [stdout] --> src/analysis/type_error.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn error_rvalue_not_assignable(pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_return_view` [INFO] [stdout] --> src/analysis/type_error.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn error_return_view(pos: &TextPosition) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `error_undefined_symbol` [INFO] [stdout] --> src/analysis/type_error.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn error_undefined_symbol(var: &Variable) -> CompileError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `types` [INFO] [stdout] --> src/analysis/mock_defs.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn types(&mut self) -> &mut TypeVec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_array_def` [INFO] [stdout] --> src/analysis/mock_defs.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add_array_def(mut self, name: &str, base: PrimitiveType, dimension_count: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_view_def` [INFO] [stdout] --> src/analysis/mock_defs.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add_view_def(mut self, name: &str, base: PrimitiveType, dimension_count: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/analysis/mock_defs.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get(&self, name: &str) -> &dyn SymbolDefinition { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_view_param` [INFO] [stdout] --> src/analysis/mock_defs.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn add_view_param(mut self, base: PrimitiveType, dimension_count: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `return_void` [INFO] [stdout] --> src/analysis/mock_defs.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn return_void(mut self) -> EnvironmentBuilder { [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: function is never used: `monomorphize` [INFO] [stdout] --> src/transformation/monomorphization.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn monomorphize( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/cuda/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/cuda/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/cuda/ast.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Void` [INFO] [stdout] --> src/cuda/ast.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VoidPtr` [INFO] [stdout] --> src/cuda/ast.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | VoidPtr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Index` [INFO] [stdout] --> src/cuda/ast.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ThreadIdxX` [INFO] [stdout] --> src/cuda/ast.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | ThreadIdxX, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockIdxX` [INFO] [stdout] --> src/cuda/ast.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | BlockIdxX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockDimX` [INFO] [stdout] --> src/cuda/ast.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | BlockDimX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GridDimX` [INFO] [stdout] --> src/cuda/ast.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | GridDimX, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SharedMem` [INFO] [stdout] --> src/cuda/ast.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | SharedMem, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TmpVar` [INFO] [stdout] --> src/cuda/ast.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | TmpVar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TmpSizeVar` [INFO] [stdout] --> src/cuda/ast.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | TmpSizeVar(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ValueVar` [INFO] [stdout] --> src/cuda/ast.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | ValueVar(Name), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArraySizeVar` [INFO] [stdout] --> src/cuda/ast.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | ArraySizeVar(Name, u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Kernel` [INFO] [stdout] --> src/cuda/ast.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | Kernel(u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ThreadGridOffsetVar` [INFO] [stdout] --> src/cuda/ast.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | ThreadGridOffsetVar(u32, u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ThreadGridSizeVar` [INFO] [stdout] --> src/cuda/ast.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | ThreadGridSizeVar(u32, u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TmpArrayShapeVar` [INFO] [stdout] --> src/cuda/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | TmpArrayShapeVar(u32, u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutputValueVar` [INFO] [stdout] --> src/cuda/ast.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | OutputValueVar, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutputArraySizeVar` [INFO] [stdout] --> src/cuda/ast.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | OutputArraySizeVar(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/cuda/ast.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Eq` [INFO] [stdout] --> src/cuda/ast.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Neq` [INFO] [stdout] --> src/cuda/ast.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | Neq, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ls` [INFO] [stdout] --> src/cuda/ast.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | Ls, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gt` [INFO] [stdout] --> src/cuda/ast.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leq` [INFO] [stdout] --> src/cuda/ast.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | Leq, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Geq` [INFO] [stdout] --> src/cuda/ast.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | Geq, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/cuda/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | Call(CudaIdentifier, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/cuda/ast.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | Identifier(CudaIdentifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FloatLiteral` [INFO] [stdout] --> src/cuda/ast.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | FloatLiteral(f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comparison` [INFO] [stdout] --> src/cuda/ast.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | Comparison(Cmp, Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conjunction` [INFO] [stdout] --> src/cuda/ast.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | Conjunction(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Disjunction` [INFO] [stdout] --> src/cuda/ast.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | Disjunction(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Index` [INFO] [stdout] --> src/cuda/ast.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | Index(CudaIdentifier, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AddressOf` [INFO] [stdout] --> src/cuda/ast.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | AddressOf(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Deref` [INFO] [stdout] --> src/cuda/ast.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | Deref(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nullptr` [INFO] [stdout] --> src/cuda/ast.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | Nullptr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MultiDimIndexCalculation` [INFO] [stdout] --> src/cuda/ast.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | / MultiDimIndexCalculation( [INFO] [stdout] 254 | | u32, [INFO] [stdout] 255 | | Box, [INFO] [stdout] 256 | | Vec, [INFO] [stdout] 257 | | Vec, [INFO] [stdout] 258 | | ), [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Min` [INFO] [stdout] --> src/cuda/ast.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | Min(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Round` [INFO] [stdout] --> src/cuda/ast.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | Round(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Max` [INFO] [stdout] --> src/cuda/ast.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | Max(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IndexFloorDiv` [INFO] [stdout] --> src/cuda/ast.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | IndexFloorDiv(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Move` [INFO] [stdout] --> src/cuda/ast.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | Move(Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deref` [INFO] [stdout] --> src/cuda/ast.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn deref(target: CudaExpression) -> CudaExpression { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `External` [INFO] [stdout] --> src/cli/cli_backend.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | External(io::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cli/cli_backend.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(out_extension: &'a OsStr, compiler: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DLL` [INFO] [stdout] --> src/cli/cuda.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | EXE, DLL [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quote` [INFO] [stdout] --> src/cli/cuda.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn quote(s: S) -> OsString [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_cuda_source_backend` [INFO] [stdout] --> src/cli/cuda.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn create_cuda_source_backend() -> MultiStageBackend<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `min_const_generics` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(min_const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/language/error.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | panic!(format!("Error at {}: {}", self.pos, self.msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 62 | panic!("Error at {}: {}", self.pos, self.msg) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 126 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.11s [INFO] running `Command { std: "docker" "inspect" "7bb6b691747b5386e4cb14dc36a65f601cd16e58e4c687b7a379527a3712aa93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bb6b691747b5386e4cb14dc36a65f601cd16e58e4c687b7a379527a3712aa93", kill_on_drop: false }` [INFO] [stdout] 7bb6b691747b5386e4cb14dc36a65f601cd16e58e4c687b7a379527a3712aa93