[INFO] cloning repository https://github.com/ZillaZ/NoirLang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZillaZ/NoirLang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZillaZ%2FNoirLang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZillaZ%2FNoirLang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14e4895e32a2255a8d2970f7ec40f654de2b7a12 [INFO] checking ZillaZ/NoirLang against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZillaZ%2FNoirLang" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZillaZ/NoirLang on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZillaZ/NoirLang [INFO] finished tweaking git repo https://github.com/ZillaZ/NoirLang [INFO] tweaked toml for git repo https://github.com/ZillaZ/NoirLang written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZillaZ/NoirLang already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-analyzer v0.0.1 [INFO] [stderr] Downloaded gccjit v2.0.0 [INFO] [stderr] Downloaded gccjit_sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43ea3855cdf9b06a0cf46f7cef1b6e790fe7ca611ecaf5db0fd3ace48e1f51b2 [INFO] running `Command { std: "docker" "start" "-a" "43ea3855cdf9b06a0cf46f7cef1b6e790fe7ca611ecaf5db0fd3ace48e1f51b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43ea3855cdf9b06a0cf46f7cef1b6e790fe7ca611ecaf5db0fd3ace48e1f51b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43ea3855cdf9b06a0cf46f7cef1b6e790fe7ca611ecaf5db0fd3ace48e1f51b2", kill_on_drop: false }` [INFO] [stdout] 43ea3855cdf9b06a0cf46f7cef1b6e790fe7ca611ecaf5db0fd3ace48e1f51b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05ceaa2ce768160984ad26acad7166c778953dd3cab217b682ac7f1284ca4e70 [INFO] running `Command { std: "docker" "start" "-a" "05ceaa2ce768160984ad26acad7166c778953dd3cab217b682ac7f1284ca4e70", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking rust-analyzer v0.0.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking gccjit_sys v0.1.0 [INFO] [stderr] Checking gccjit v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling uuid-macro-internal v1.10.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking apollo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/modules/ast_context.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/modules/gcc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::vec_deque::IterMut` [INFO] [stdout] --> src/modules/gcc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::vec_deque::IterMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/modules/gcc.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | OverloadedOp, RangeValue, RefOp, StructDecl, Value, ValueEnum, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::gcc::GccValues` [INFO] [stdout] --> src/modules/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::gcc::GccValues; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/modules/ast_context.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/modules/gcc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::vec_deque::IterMut` [INFO] [stdout] --> src/modules/gcc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::vec_deque::IterMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/modules/gcc.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | OverloadedOp, RangeValue, RefOp, StructDecl, Value, ValueEnum, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::gcc::GccValues` [INFO] [stdout] --> src/modules/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::gcc::GccValues; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/modules/gcc.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | block: &mut Block<'a>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/modules/gcc.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let expr = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/modules/gcc.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | block: &mut Block<'a>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/modules/gcc.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let expr = self [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/modules/gcc.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | block: &mut Block<'a>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/modules/gcc.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | block: &mut Block<'a>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:406:56 [INFO] [stdout] | [INFO] [stdout] 406 | fn build_operation(&self, pairs: &mut Pairs, context: &mut AstContext) -> Operation { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/parser.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let mut lhs = Value::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/parser.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let mut rhs = Value::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/parser.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let mut changed = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:406:56 [INFO] [stdout] | [INFO] [stdout] 406 | fn build_operation(&self, pairs: &mut Pairs, context: &mut AstContext) -> Operation { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/parser.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let mut lhs = Value::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/parser.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let mut rhs = Value::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/modules/parser.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let mut changed = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:763:44 [INFO] [stdout] | [INFO] [stdout] 763 | fn build_char(&self, pair: Pair, context: &mut AstContext) -> ValueEnum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:763:44 [INFO] [stdout] | [INFO] [stdout] 763 | fn build_char(&self, pair: Pair, context: &mut AstContext) -> ValueEnum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:855:44 [INFO] [stdout] | [INFO] [stdout] 855 | fn build_bool(&self, pair: Pair, context: &mut AstContext) -> ValueEnum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:924:54 [INFO] [stdout] | [INFO] [stdout] 924 | fn build_function_kind(&self, pair: &Pair, context: &mut AstContext) -> FunctionKind { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:952:9 [INFO] [stdout] | [INFO] [stdout] 952 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:855:44 [INFO] [stdout] | [INFO] [stdout] 855 | fn build_bool(&self, pair: Pair, context: &mut AstContext) -> ValueEnum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:924:54 [INFO] [stdout] | [INFO] [stdout] 924 | fn build_function_kind(&self, pair: &Pair, context: &mut AstContext) -> FunctionKind { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1030:52 [INFO] [stdout] | [INFO] [stdout] 1030 | fn build_string_value(&self, pair: Pair, context: &mut AstContext) -> ValueEnum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1056:47 [INFO] [stdout] | [INFO] [stdout] 1056 | fn build_integer(&self, pair: Pair, context: &mut AstContext) -> ValueEnum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:952:9 [INFO] [stdout] | [INFO] [stdout] 952 | context: &mut AstContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1064:45 [INFO] [stdout] | [INFO] [stdout] 1064 | fn build_float(&self, pair: Pair, context: &mut AstContext) -> ValueEnum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1068:51 [INFO] [stdout] | [INFO] [stdout] 1068 | fn build_name(&self, pairs: &mut Pairs, context: &mut AstContext) -> Name { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1030:52 [INFO] [stdout] | [INFO] [stdout] 1030 | fn build_string_value(&self, pair: Pair, context: &mut AstContext) -> ValueEnum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1056:47 [INFO] [stdout] | [INFO] [stdout] 1056 | fn build_integer(&self, pair: Pair, context: &mut AstContext) -> ValueEnum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1064:45 [INFO] [stdout] | [INFO] [stdout] 1064 | fn build_float(&self, pair: Pair, context: &mut AstContext) -> ValueEnum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1068:51 [INFO] [stdout] | [INFO] [stdout] 1068 | fn build_name(&self, pairs: &mut Pairs, context: &mut AstContext) -> Name { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1176:58 [INFO] [stdout] | [INFO] [stdout] 1176 | fn build_struct_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1181:55 [INFO] [stdout] | [INFO] [stdout] 1181 | fn build_int_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> DataType { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1197:57 [INFO] [stdout] | [INFO] [stdout] 1197 | fn build_float_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> DataType { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1176:58 [INFO] [stdout] | [INFO] [stdout] 1176 | fn build_struct_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1181:55 [INFO] [stdout] | [INFO] [stdout] 1181 | fn build_int_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> DataType { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/modules/parser.rs:1197:57 [INFO] [stdout] | [INFO] [stdout] 1197 | fn build_float_type(&self, pairs: &mut Pairs, context: &mut AstContext) -> DataType { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `imports` is never read [INFO] [stdout] --> src/modules/gcc.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct GccContext<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 136 | imports: HashSet<&'a str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_to_module` and `parse_operation` are never used [INFO] [stdout] --> src/modules/gcc.rs:619:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl<'a> GccContext<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 619 | fn push_to_module( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1549 | fn parse_operation( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `primitive_types`, `anon_count`, `index`, `continue_block`, and `imports` are never read [INFO] [stdout] --> src/modules/memory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Memory<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub primitive_types: HashMap, Type<'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub anon_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub trait_types: HashMap, String>, [INFO] [stdout] 20 | pub index: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub units: HashMap, RValue<'a>>, [INFO] [stdout] 22 | pub continue_block: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub imports: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unconst_type` is never used [INFO] [stdout] --> src/modules/memory.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> Memory<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn unconst_type(&self, r#type: Type<'a>) -> Type<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pratt_parser` is never read [INFO] [stdout] --> src/modules/parser.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NoirParser { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | pub pratt_parser: PrattParser, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build_imported_fn`, `build_operation`, `is_operation_heap_allocated`, and `build_param` are never used [INFO] [stdout] --> src/modules/parser.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl NoirParser { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | fn build_imported_fn(&self, pairs: &mut Pairs) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn build_operation(&self, pairs: &mut Pairs, context: &mut AstContext) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 949 | fn is_operation_heap_allocated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1089 | fn build_param(&self, pairs: &mut Pairs, context: &mut AstContext) -> Parameter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/modules/structs.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Parameter` is never used [INFO] [stdout] --> src/modules/structs.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub enum Parameter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Block` and `None` are never constructed [INFO] [stdout] --> src/modules/structs.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 210 | pub enum ValueEnum { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 219 | Block(Rc>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dynamic` is never constructed [INFO] [stdout] --> src/modules/structs.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 382 | pub enum ImportKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 383 | Dynamic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1184:10 [INFO] [stdout] | [INFO] [stdout] 1184 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1185 | args: &mut Vec, [INFO] [stdout] 1186 | memory: &mut Memory<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1187 | ) -> Vec { [INFO] [stdout] | --------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1187 | ) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1197:24 [INFO] [stdout] | [INFO] [stdout] 1197 | fn parse_datatype(&'a self, datatype: &mut structs::Type, memory: &mut Memory<'a>) -> Type<'_> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | these lifetimes flow to the output these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1197 - fn parse_datatype(&'a self, datatype: &mut structs::Type, memory: &mut Memory<'a>) -> Type<'_> { [INFO] [stdout] 1197 + fn parse_datatype(&'a self, datatype: &mut structs::Type, memory: &mut Memory<'a>) -> Type<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1252:10 [INFO] [stdout] | [INFO] [stdout] 1252 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1253 | ast_if: &mut structs::If, [INFO] [stdout] 1254 | block: &mut Block<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1255 | memory: &mut Memory<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1256 | ast: &mut Ast, [INFO] [stdout] 1257 | ) -> Block<'_> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1257 - ) -> Block<'_> { [INFO] [stdout] 1257 + ) -> Block<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1380:10 [INFO] [stdout] | [INFO] [stdout] 1380 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1381 | args: &mut Vec, [INFO] [stdout] 1382 | block: &mut Block<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1383 | memory: &mut Memory<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1384 | ast: &mut Ast, [INFO] [stdout] 1385 | ) -> Vec> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1385 - ) -> Vec> { [INFO] [stdout] 1385 + ) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1568:10 [INFO] [stdout] | [INFO] [stdout] 1568 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1569 | binary_op: &mut structs::BinaryOp, [INFO] [stdout] 1570 | block: &mut Block<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1571 | memory: &mut Memory<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1572 | ast: &mut Ast, [INFO] [stdout] 1573 | ) -> GccValues<'_> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1573 - ) -> GccValues<'_> { [INFO] [stdout] 1573 + ) -> GccValues<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1614:10 [INFO] [stdout] | [INFO] [stdout] 1614 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1615 | unary_op: &mut structs::UnaryOp, [INFO] [stdout] 1616 | block: &mut Block<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1617 | memory: &mut Memory<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1618 | ast: &mut Ast, [INFO] [stdout] 1619 | ) -> GccValues<'_> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1619 - ) -> GccValues<'_> { [INFO] [stdout] 1619 + ) -> GccValues<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `imports` is never read [INFO] [stdout] --> src/modules/gcc.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct GccContext<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 136 | imports: HashSet<&'a str>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_to_module` and `parse_operation` are never used [INFO] [stdout] --> src/modules/gcc.rs:619:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl<'a> GccContext<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 619 | fn push_to_module( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1549 | fn parse_operation( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `primitive_types`, `anon_count`, `index`, `continue_block`, and `imports` are never read [INFO] [stdout] --> src/modules/memory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Memory<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub primitive_types: HashMap, Type<'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub anon_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub trait_types: HashMap, String>, [INFO] [stdout] 20 | pub index: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub units: HashMap, RValue<'a>>, [INFO] [stdout] 22 | pub continue_block: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub imports: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unconst_type` is never used [INFO] [stdout] --> src/modules/memory.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> Memory<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn unconst_type(&self, r#type: Type<'a>) -> Type<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pratt_parser` is never read [INFO] [stdout] --> src/modules/parser.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NoirParser { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | pub pratt_parser: PrattParser, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build_imported_fn`, `build_operation`, `is_operation_heap_allocated`, and `build_param` are never used [INFO] [stdout] --> src/modules/parser.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl NoirParser { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | fn build_imported_fn(&self, pairs: &mut Pairs) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn build_operation(&self, pairs: &mut Pairs, context: &mut AstContext) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 949 | fn is_operation_heap_allocated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1089 | fn build_param(&self, pairs: &mut Pairs, context: &mut AstContext) -> Parameter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/modules/structs.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Parameter` is never used [INFO] [stdout] --> src/modules/structs.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub enum Parameter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Block` and `None` are never constructed [INFO] [stdout] --> src/modules/structs.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 210 | pub enum ValueEnum { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 219 | Block(Rc>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dynamic` is never constructed [INFO] [stdout] --> src/modules/structs.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 382 | pub enum ImportKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 383 | Dynamic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1184:10 [INFO] [stdout] | [INFO] [stdout] 1184 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1185 | args: &mut Vec, [INFO] [stdout] 1186 | memory: &mut Memory<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1187 | ) -> Vec { [INFO] [stdout] | --------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1187 | ) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1197:24 [INFO] [stdout] | [INFO] [stdout] 1197 | fn parse_datatype(&'a self, datatype: &mut structs::Type, memory: &mut Memory<'a>) -> Type<'_> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | these lifetimes flow to the output these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1197 - fn parse_datatype(&'a self, datatype: &mut structs::Type, memory: &mut Memory<'a>) -> Type<'_> { [INFO] [stdout] 1197 + fn parse_datatype(&'a self, datatype: &mut structs::Type, memory: &mut Memory<'a>) -> Type<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1252:10 [INFO] [stdout] | [INFO] [stdout] 1252 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1253 | ast_if: &mut structs::If, [INFO] [stdout] 1254 | block: &mut Block<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1255 | memory: &mut Memory<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1256 | ast: &mut Ast, [INFO] [stdout] 1257 | ) -> Block<'_> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1257 - ) -> Block<'_> { [INFO] [stdout] 1257 + ) -> Block<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1380:10 [INFO] [stdout] | [INFO] [stdout] 1380 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1381 | args: &mut Vec, [INFO] [stdout] 1382 | block: &mut Block<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1383 | memory: &mut Memory<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1384 | ast: &mut Ast, [INFO] [stdout] 1385 | ) -> Vec> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1385 - ) -> Vec> { [INFO] [stdout] 1385 + ) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1568:10 [INFO] [stdout] | [INFO] [stdout] 1568 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1569 | binary_op: &mut structs::BinaryOp, [INFO] [stdout] 1570 | block: &mut Block<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1571 | memory: &mut Memory<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1572 | ast: &mut Ast, [INFO] [stdout] 1573 | ) -> GccValues<'_> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1573 - ) -> GccValues<'_> { [INFO] [stdout] 1573 + ) -> GccValues<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/gcc.rs:1614:10 [INFO] [stdout] | [INFO] [stdout] 1614 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1615 | unary_op: &mut structs::UnaryOp, [INFO] [stdout] 1616 | block: &mut Block<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1617 | memory: &mut Memory<'a>, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 1618 | ast: &mut Ast, [INFO] [stdout] 1619 | ) -> GccValues<'_> { [INFO] [stdout] | -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1619 - ) -> GccValues<'_> { [INFO] [stdout] 1619 + ) -> GccValues<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.81s [INFO] running `Command { std: "docker" "inspect" "05ceaa2ce768160984ad26acad7166c778953dd3cab217b682ac7f1284ca4e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ceaa2ce768160984ad26acad7166c778953dd3cab217b682ac7f1284ca4e70", kill_on_drop: false }` [INFO] [stdout] 05ceaa2ce768160984ad26acad7166c778953dd3cab217b682ac7f1284ca4e70