[INFO] fetching crate chandra-kernel 0.0.0... [INFO] checking chandra-kernel-0.0.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate chandra-kernel 0.0.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate chandra-kernel 0.0.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chandra-kernel 0.0.0 [INFO] finished tweaking crates.io crate chandra-kernel 0.0.0 [INFO] tweaked toml for crates.io crate chandra-kernel 0.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 329fb800a61c2743c84c3b961d1dfcf3fdfe39aac9766c7333cd1a2ea70a716a [INFO] running `Command { std: "docker" "start" "-a" "329fb800a61c2743c84c3b961d1dfcf3fdfe39aac9766c7333cd1a2ea70a716a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "329fb800a61c2743c84c3b961d1dfcf3fdfe39aac9766c7333cd1a2ea70a716a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329fb800a61c2743c84c3b961d1dfcf3fdfe39aac9766c7333cd1a2ea70a716a", kill_on_drop: false }` [INFO] [stdout] 329fb800a61c2743c84c3b961d1dfcf3fdfe39aac9766c7333cd1a2ea70a716a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7dbaa88529765cc517c4514f4530e04aefa268f88eb80e2f52746f86f460f9d [INFO] running `Command { std: "docker" "start" "-a" "f7dbaa88529765cc517c4514f4530e04aefa268f88eb80e2f52746f86f460f9d", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking chandra-kernel v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Ident` and `TokenStream` [INFO] [stdout] --> src/parse_cpu_function.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro2::{Ident, TokenStream}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `format_ident` and `quote` [INFO] [stdout] --> src/parse_cpu_function.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use quote::{format_ident, quote}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinOp`, `Pat`, and `Stmt` [INFO] [stdout] --> src/parse_cpu_function.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{parse_quote, BinOp, Expr,Pat, Stmt, Path, PathArguments}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parseatt::Structure` [INFO] [stdout] --> src/parse_cpu_function.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parseatt::Structure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ident` and `TokenStream` [INFO] [stdout] --> src/parse_cpu_function.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro2::{Ident, TokenStream}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `format_ident` and `quote` [INFO] [stdout] --> src/parse_cpu_function.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use quote::{format_ident, quote}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinOp`, `Pat`, and `Stmt` [INFO] [stdout] --> src/parse_cpu_function.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{parse_quote, BinOp, Expr,Pat, Stmt, Path, PathArguments}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parseatt::Structure` [INFO] [stdout] --> src/parse_cpu_function.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parseatt::Structure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_counter` [INFO] [stdout] --> src/function.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let mut position_counter: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_counter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_output_type` [INFO] [stdout] --> src/function.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut final_output_type = TokenStream2::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_output_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_output_name` [INFO] [stdout] --> src/function.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let mut final_output_name = TokenStream2::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_output_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_output_name_str` [INFO] [stdout] --> src/function.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let mut final_output_name_str = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_output_name_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem_bounds` [INFO] [stdout] --> src/function.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | let mem_bounds = get_memmappable_bounds(types.clone(), parse_quote!(S), crate_root.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mem_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor_mem_bounds` [INFO] [stdout] --> src/function.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let processor_mem_bounds = get_memmappable_bounds(types.clone(), parse_quote!(P::Storage), crate_root.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor_mem_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_fn_ident` [INFO] [stdout] --> src/function.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let cpu_fn_ident = format_ident!("{}CPUFn", ident.to_string().to_case(Case::UpperCamel)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_fn_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executable_inputs_ident` [INFO] [stdout] --> src/function.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let executable_inputs_ident = format_ident!("{}Inputs", ident.to_string().to_case(Case::UpperCamel)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executable_inputs_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_struct_ident` [INFO] [stdout] --> src/function.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let function_struct_ident = format_ident!("{}", ident.to_string().to_case(Case::UpperCamel)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_struct_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type_ident` [INFO] [stdout] --> src/function.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let return_type_ident = format_ident!("{}Programm", ident.to_string().to_case(Case::UpperCamel)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phantom_data_idents` [INFO] [stdout] --> src/function.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let phantom_data_idents: Vec = inner_generics.iter().enumerate().map(|(i, _)| format_ident!("_{}", i)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phantom_data_idents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `impl_traits` is never read [INFO] [stdout] --> src/function.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | let mut impl_traits = TokenStream2::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/function.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut position_counter: u8 = 0; [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/function.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut final_output_type = TokenStream2::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/function.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut final_output_name = TokenStream2::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/function.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut final_output_name_str = String::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_counter` [INFO] [stdout] --> src/function.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let mut position_counter: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_counter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_output_type` [INFO] [stdout] --> src/function.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut final_output_type = TokenStream2::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_output_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_output_name` [INFO] [stdout] --> src/function.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let mut final_output_name = TokenStream2::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_output_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_output_name_str` [INFO] [stdout] --> src/function.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let mut final_output_name_str = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_output_name_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem_bounds` [INFO] [stdout] --> src/function.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | let mem_bounds = get_memmappable_bounds(types.clone(), parse_quote!(S), crate_root.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mem_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor_mem_bounds` [INFO] [stdout] --> src/function.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let processor_mem_bounds = get_memmappable_bounds(types.clone(), parse_quote!(P::Storage), crate_root.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor_mem_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_fn_ident` [INFO] [stdout] --> src/function.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | let cpu_fn_ident = format_ident!("{}CPUFn", ident.to_string().to_case(Case::UpperCamel)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_fn_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executable_inputs_ident` [INFO] [stdout] --> src/function.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let executable_inputs_ident = format_ident!("{}Inputs", ident.to_string().to_case(Case::UpperCamel)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executable_inputs_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_struct_ident` [INFO] [stdout] --> src/function.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let function_struct_ident = format_ident!("{}", ident.to_string().to_case(Case::UpperCamel)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_struct_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type_ident` [INFO] [stdout] --> src/function.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let return_type_ident = format_ident!("{}Programm", ident.to_string().to_case(Case::UpperCamel)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phantom_data_idents` [INFO] [stdout] --> src/function.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let phantom_data_idents: Vec = inner_generics.iter().enumerate().map(|(i, _)| format_ident!("_{}", i)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phantom_data_idents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `impl_traits` is never read [INFO] [stdout] --> src/function.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | let mut impl_traits = TokenStream2::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/function.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut position_counter: u8 = 0; [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/function.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut final_output_type = TokenStream2::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/function.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut final_output_name = TokenStream2::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/function.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut final_output_name_str = String::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid` [INFO] [stdout] --> src/parseatt.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let mut valid = true; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_valid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> src/parseatt.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let mut last = Token::None; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parseatt.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut valid = true; [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/parseatt.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let mut last = Token::None; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/parse_function.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let prev = self.return_type.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/parse_function.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let op = e.eq_token; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parse_function.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | BinOp::Add(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parse_function.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | BinOp::Sub(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/parse_function.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | BinOp::Mul(m) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parse_function.rs:166:32 [INFO] [stdout] | [INFO] [stdout] 166 | BinOp::Div(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | BinOp::Ge(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | BinOp::Gt(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | BinOp::Le(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:220:31 [INFO] [stdout] | [INFO] [stdout] 220 | BinOp::Lt(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | BinOp::Eq(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:248:31 [INFO] [stdout] | [INFO] [stdout] 248 | BinOp::Ne(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | BinOp::And(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:275:31 [INFO] [stdout] | [INFO] [stdout] 275 | BinOp::Or(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/parse_function.rs:333:21 [INFO] [stdout] | [INFO] [stdout] 333 | let ty = self.return_type.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `els_expr` [INFO] [stdout] --> src/parse_function.rs:459:25 [INFO] [stdout] | [INFO] [stdout] 459 | let els_expr = self.expr_type.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_els_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_expr` [INFO] [stdout] --> src/parse_function.rs:691:25 [INFO] [stdout] | [INFO] [stdout] 691 | let prev_expr = self.expr_type.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/parse_function.rs:747:29 [INFO] [stdout] | [INFO] [stdout] 747 | let op = a.eq_token; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expr_ty` is assigned to, but never used [INFO] [stdout] --> src/parse_function.rs:755:33 [INFO] [stdout] | [INFO] [stdout] 755 | let mut expr_ty = TokenStream::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_expr_ty` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `expr_ty` is never read [INFO] [stdout] --> src/parse_function.rs:768:33 [INFO] [stdout] | [INFO] [stdout] 768 | ... expr_ty = ty.clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `els_expr` [INFO] [stdout] --> src/parse_function.rs:895:33 [INFO] [stdout] | [INFO] [stdout] 895 | ... let els_expr = self.expr_type.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_els_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_ty` [INFO] [stdout] --> src/parse_function.rs:1056:29 [INFO] [stdout] | [INFO] [stdout] 1056 | let res_ty = self.expr_type.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid` [INFO] [stdout] --> src/parseatt.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let mut valid = true; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_valid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> src/parseatt.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let mut last = Token::None; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parseatt.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut valid = true; [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/parseatt.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let mut last = Token::None; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/parse_function.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let prev = self.return_type.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/parse_cpu_function.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | ... let mut arguments: Vec = e.args.into_iter().map(|a| self.fold_expr(a)).collect(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/parse_function.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let op = e.eq_token; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parse_function.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | BinOp::Add(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parse_function.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | BinOp::Sub(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/parse_function.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | BinOp::Mul(m) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parse_function.rs:166:32 [INFO] [stdout] | [INFO] [stdout] 166 | BinOp::Div(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | BinOp::Ge(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | BinOp::Gt(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | BinOp::Le(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:220:31 [INFO] [stdout] | [INFO] [stdout] 220 | BinOp::Lt(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | BinOp::Eq(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:248:31 [INFO] [stdout] | [INFO] [stdout] 248 | BinOp::Ne(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | BinOp::And(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parse_function.rs:275:31 [INFO] [stdout] | [INFO] [stdout] 275 | BinOp::Or(g) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/parse_function.rs:333:21 [INFO] [stdout] | [INFO] [stdout] 333 | let ty = self.return_type.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `els_expr` [INFO] [stdout] --> src/parse_function.rs:459:25 [INFO] [stdout] | [INFO] [stdout] 459 | let els_expr = self.expr_type.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_els_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_cpu_function.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | ... let mut arguments: Vec = e.args.into_iter().map(|a| self.fold_expr(a)).collect(); [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/parse_cpu_function.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | ... let mut arguments: Vec = e.args.into_iter().map(|a| self.fold_expr(a)).collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let attrs = &input.attrs; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | for field in s.fields { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mem_generics_and_types` is never used [INFO] [stdout] --> src/function.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn get_mem_generics_and_types(types: Vec, crate_root: TokenStream2) -> (TokenStream2, TokenStream2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mem_generics_and_types` is never used [INFO] [stdout] --> src/kernel.rs:420:4 [INFO] [stdout] | [INFO] [stdout] 420 | fn get_mem_generics_and_types(types: Vec, crate_root: TokenStream2) -> (TokenStream2, TokenStream2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ChandraFunction` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn ChandraFunction(attr: TokenStream, tokens: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `chandra_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ChandraExtension` should have a snake case name [INFO] [stdout] --> src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn ChandraExtension(attr: TokenStream, tokens: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `chandra_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vTypeOption` should have a snake case name [INFO] [stdout] --> src/parse_function.rs:560:25 [INFO] [stdout] | [INFO] [stdout] 560 | let vTypeOption = self [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `v_type_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vType` should have a snake case name [INFO] [stdout] --> src/parse_function.rs:565:33 [INFO] [stdout] | [INFO] [stdout] 565 | if let Some(vType) = vTypeOption { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `v_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vType` should have a snake case name [INFO] [stdout] --> src/parse_function.rs:598:33 [INFO] [stdout] | [INFO] [stdout] 598 | ... let vType = format_ident!("{}", self [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `v_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_expr` [INFO] [stdout] --> src/parse_function.rs:691:25 [INFO] [stdout] | [INFO] [stdout] 691 | let prev_expr = self.expr_type.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/parse_function.rs:747:29 [INFO] [stdout] | [INFO] [stdout] 747 | let op = a.eq_token; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expr_ty` is assigned to, but never used [INFO] [stdout] --> src/parse_function.rs:755:33 [INFO] [stdout] | [INFO] [stdout] 755 | let mut expr_ty = TokenStream::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_expr_ty` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `expr_ty` is never read [INFO] [stdout] --> src/parse_function.rs:768:33 [INFO] [stdout] | [INFO] [stdout] 768 | ... expr_ty = ty.clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `els_expr` [INFO] [stdout] --> src/parse_function.rs:895:33 [INFO] [stdout] | [INFO] [stdout] 895 | ... let els_expr = self.expr_type.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_els_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_ty` [INFO] [stdout] --> src/parse_function.rs:1056:29 [INFO] [stdout] | [INFO] [stdout] 1056 | let res_ty = self.expr_type.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/parse_cpu_function.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | ... let mut arguments: Vec = e.args.into_iter().map(|a| self.fold_expr(a)).collect(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_cpu_function.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | ... let mut arguments: Vec = e.args.into_iter().map(|a| self.fold_expr(a)).collect(); [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/parse_cpu_function.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | ... let mut arguments: Vec = e.args.into_iter().map(|a| self.fold_expr(a)).collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let attrs = &input.attrs; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | for field in s.fields { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mem_generics_and_types` is never used [INFO] [stdout] --> src/function.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn get_mem_generics_and_types(types: Vec, crate_root: TokenStream2) -> (TokenStream2, TokenStream2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mem_generics_and_types` is never used [INFO] [stdout] --> src/kernel.rs:420:4 [INFO] [stdout] | [INFO] [stdout] 420 | fn get_mem_generics_and_types(types: Vec, crate_root: TokenStream2) -> (TokenStream2, TokenStream2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ChandraFunction` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn ChandraFunction(attr: TokenStream, tokens: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `chandra_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ChandraExtension` should have a snake case name [INFO] [stdout] --> src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn ChandraExtension(attr: TokenStream, tokens: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `chandra_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vTypeOption` should have a snake case name [INFO] [stdout] --> src/parse_function.rs:560:25 [INFO] [stdout] | [INFO] [stdout] 560 | let vTypeOption = self [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `v_type_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vType` should have a snake case name [INFO] [stdout] --> src/parse_function.rs:565:33 [INFO] [stdout] | [INFO] [stdout] 565 | if let Some(vType) = vTypeOption { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `v_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vType` should have a snake case name [INFO] [stdout] --> src/parse_function.rs:598:33 [INFO] [stdout] | [INFO] [stdout] 598 | ... let vType = format_ident!("{}", self [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `v_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.27s [INFO] running `Command { std: "docker" "inspect" "f7dbaa88529765cc517c4514f4530e04aefa268f88eb80e2f52746f86f460f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7dbaa88529765cc517c4514f4530e04aefa268f88eb80e2f52746f86f460f9d", kill_on_drop: false }` [INFO] [stdout] f7dbaa88529765cc517c4514f4530e04aefa268f88eb80e2f52746f86f460f9d