[INFO] cloning repository https://github.com/Feluk6174/fish_and_c [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Feluk6174/fish_and_c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeluk6174%2Ffish_and_c", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeluk6174%2Ffish_and_c'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48d61bbe7e1161accc76fb06078e87fafce6ccfa [INFO] checking Feluk6174/fish_and_c against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeluk6174%2Ffish_and_c" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Feluk6174/fish_and_c on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Feluk6174/fish_and_c [INFO] finished tweaking git repo https://github.com/Feluk6174/fish_and_c [INFO] tweaked toml for git repo https://github.com/Feluk6174/fish_and_c written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Feluk6174/fish_and_c 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 316621289baf74eeb08f6c459c47f037b220b56729aec8d8ab04b692ffbf5966 [INFO] running `Command { std: "docker" "start" "-a" "316621289baf74eeb08f6c459c47f037b220b56729aec8d8ab04b692ffbf5966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "316621289baf74eeb08f6c459c47f037b220b56729aec8d8ab04b692ffbf5966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "316621289baf74eeb08f6c459c47f037b220b56729aec8d8ab04b692ffbf5966", kill_on_drop: false }` [INFO] [stdout] 316621289baf74eeb08f6c459c47f037b220b56729aec8d8ab04b692ffbf5966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8665961aae5ae39eb24b97d4cbe2f7076bad407c6f78a8afed88a2b2c594e95d [INFO] running `Command { std: "docker" "start" "-a" "8665961aae5ae39eb24b97d4cbe2f7076bad407c6f78a8afed88a2b2c594e95d", kill_on_drop: false }` [INFO] [stderr] Checking fish_and_c v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_name_from_arg` [INFO] [stdout] --> src/compiler/variables.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{compiler::register::Register, precompile::{branch::{get_name_from_arg, Branch}, tokens::TTS}, types::literals::declare_string... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/compiler/variables.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{functions::{Function, Signature}, operation::operate}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Variable` [INFO] [stdout] --> src/types/unsigned.rs:4:105 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::{functions::{is_function, Signature}, register::Register, variables::{is_variable, Variable, Variables}, operation::... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_name_from_arg` [INFO] [stdout] --> src/compiler/variables.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{compiler::register::Register, precompile::{branch::{get_name_from_arg, Branch}, tokens::TTS}, types::literals::declare_string... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/compiler/variables.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{functions::{Function, Signature}, operation::operate}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Variable` [INFO] [stdout] --> src/types/unsigned.rs:4:105 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::{functions::{is_function, Signature}, register::Register, variables::{is_variable, Variable, Variables}, operation::... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 35 | SimpleType::U8 => Ok(1), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 36 | SimpleType::U16 => Ok(2), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 37 | SimpleType::U32 => Ok(4), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 38 | SimpleType::U64 => Ok(8), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 39 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 47 | SimpleType::U8 => Ok(String::from("BYTE")), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 48 | SimpleType::U16 => Ok(String::from("WORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 49 | SimpleType::U32 => Ok(String::from("DWORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 50 | SimpleType::U64 => Ok(String::from("QWORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 51 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 82 | PointerType::U8 => Ok(1), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 83 | PointerType::U16 => Ok(2), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 84 | PointerType::U32 => Ok(4), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 85 | PointerType::U64 => Ok(8), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 86 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_Reg` [INFO] [stdout] --> src/types/unsigned.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_Reg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/types/unsigned.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> src/types/unsigned.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signatures` [INFO] [stdout] --> src/types/unsigned.rs:32:81 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signatures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/types/unsigned.rs:32:110 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 35 | SimpleType::U8 => Ok(1), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 36 | SimpleType::U16 => Ok(2), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 37 | SimpleType::U32 => Ok(4), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 38 | SimpleType::U64 => Ok(8), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 39 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 47 | SimpleType::U8 => Ok(String::from("BYTE")), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 48 | SimpleType::U16 => Ok(String::from("WORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 49 | SimpleType::U32 => Ok(String::from("DWORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 50 | SimpleType::U64 => Ok(String::from("QWORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 51 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 82 | PointerType::U8 => Ok(1), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 83 | PointerType::U16 => Ok(2), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 84 | PointerType::U32 => Ok(4), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 85 | PointerType::U64 => Ok(8), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 86 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/compiler/variables.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 140 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `names` and `get_pos` are never used [INFO] [stdout] --> src/compiler/variables.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl Variables { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn get_pos(&self, name:&str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modul` is never used [INFO] [stdout] --> src/types/unsigned.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn modul() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dest_Reg` should have a snake case name [INFO] [stdout] --> src/types/unsigned.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dest_reg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_Reg` [INFO] [stdout] --> src/types/unsigned.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_Reg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/types/unsigned.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> src/types/unsigned.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signatures` [INFO] [stdout] --> src/types/unsigned.rs:32:81 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signatures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/types/unsigned.rs:32:110 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/compiler/variables.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 140 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `names` and `get_pos` are never used [INFO] [stdout] --> src/compiler/variables.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl Variables { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn get_pos(&self, name:&str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modul` is never used [INFO] [stdout] --> src/types/unsigned.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn modul() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dest_Reg` should have a snake case name [INFO] [stdout] --> src/types/unsigned.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dest_reg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "8665961aae5ae39eb24b97d4cbe2f7076bad407c6f78a8afed88a2b2c594e95d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8665961aae5ae39eb24b97d4cbe2f7076bad407c6f78a8afed88a2b2c594e95d", kill_on_drop: false }` [INFO] [stdout] 8665961aae5ae39eb24b97d4cbe2f7076bad407c6f78a8afed88a2b2c594e95d [INFO] checking Feluk6174/fish_and_c against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFeluk6174%2Ffish_and_c" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Feluk6174/fish_and_c on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Feluk6174/fish_and_c [INFO] finished tweaking git repo https://github.com/Feluk6174/fish_and_c [INFO] tweaked toml for git repo https://github.com/Feluk6174/fish_and_c written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Feluk6174/fish_and_c 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e2127011ef6cd61ba4cf1b72e84f2d44b7259f37bd4cd7f724824c000a82a6a [INFO] running `Command { std: "docker" "start" "-a" "4e2127011ef6cd61ba4cf1b72e84f2d44b7259f37bd4cd7f724824c000a82a6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e2127011ef6cd61ba4cf1b72e84f2d44b7259f37bd4cd7f724824c000a82a6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2127011ef6cd61ba4cf1b72e84f2d44b7259f37bd4cd7f724824c000a82a6a", kill_on_drop: false }` [INFO] [stdout] 4e2127011ef6cd61ba4cf1b72e84f2d44b7259f37bd4cd7f724824c000a82a6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba9c104c19643ceda74524b6603c2a93ba704b2d0c13fc49587dad68ae3c1f55 [INFO] running `Command { std: "docker" "start" "-a" "ba9c104c19643ceda74524b6603c2a93ba704b2d0c13fc49587dad68ae3c1f55", kill_on_drop: false }` [INFO] [stderr] Checking fish_and_c v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_name_from_arg` [INFO] [stdout] --> src/compiler/variables.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{compiler::register::Register, precompile::{branch::{get_name_from_arg, Branch}, tokens::TTS}, types::literals::declare_string... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/compiler/variables.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{functions::{Function, Signature}, operation::operate}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Variable` [INFO] [stdout] --> src/types/unsigned.rs:4:105 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::{functions::{is_function, Signature}, register::Register, variables::{is_variable, Variable, Variables}, operation::... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_name_from_arg` [INFO] [stdout] --> src/compiler/variables.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{compiler::register::Register, precompile::{branch::{get_name_from_arg, Branch}, tokens::TTS}, types::literals::declare_string... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/compiler/variables.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{functions::{Function, Signature}, operation::operate}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Variable` [INFO] [stdout] --> src/types/unsigned.rs:4:105 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::{functions::{is_function, Signature}, register::Register, variables::{is_variable, Variable, Variables}, operation::... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 35 | SimpleType::U8 => Ok(1), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 36 | SimpleType::U16 => Ok(2), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 37 | SimpleType::U32 => Ok(4), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 38 | SimpleType::U64 => Ok(8), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 39 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 35 | SimpleType::U8 => Ok(1), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 36 | SimpleType::U16 => Ok(2), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 37 | SimpleType::U32 => Ok(4), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 38 | SimpleType::U64 => Ok(8), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 39 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 47 | SimpleType::U8 => Ok(String::from("BYTE")), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 48 | SimpleType::U16 => Ok(String::from("WORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 49 | SimpleType::U32 => Ok(String::from("DWORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 50 | SimpleType::U64 => Ok(String::from("QWORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 51 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 47 | SimpleType::U8 => Ok(String::from("BYTE")), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 48 | SimpleType::U16 => Ok(String::from("WORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 49 | SimpleType::U32 => Ok(String::from("DWORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 50 | SimpleType::U64 => Ok(String::from("QWORD")), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 51 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 82 | PointerType::U8 => Ok(1), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 83 | PointerType::U16 => Ok(2), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 84 | PointerType::U32 => Ok(4), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 85 | PointerType::U64 => Ok(8), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 86 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/variables.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/variables.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 82 | PointerType::U8 => Ok(1), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 83 | PointerType::U16 => Ok(2), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 84 | PointerType::U32 => Ok(4), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 85 | PointerType::U64 => Ok(8), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 86 | _ => Err(format!("{:?} is not a recognised type", self)) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_Reg` [INFO] [stdout] --> src/types/unsigned.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_Reg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/types/unsigned.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> src/types/unsigned.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signatures` [INFO] [stdout] --> src/types/unsigned.rs:32:81 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signatures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/types/unsigned.rs:32:110 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_Reg` [INFO] [stdout] --> src/types/unsigned.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_Reg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/types/unsigned.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> src/types/unsigned.rs:32:63 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signatures` [INFO] [stdout] --> src/types/unsigned.rs:32:81 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signatures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/types/unsigned.rs:32:110 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/compiler/variables.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 140 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `names` and `get_pos` are never used [INFO] [stdout] --> src/compiler/variables.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl Variables { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn get_pos(&self, name:&str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modul` is never used [INFO] [stdout] --> src/types/unsigned.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn modul() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/precompile/lexer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_file>(file_name: S) -> String { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | fs::read_to_string(file_name.as_ref()).expect("Should have been able to read the file") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/precompile/preprocessor.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_file>(file_name: S) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | match fs::read_to_string(file_name.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dest_Reg` should have a snake case name [INFO] [stdout] --> src/types/unsigned.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dest_reg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/compiler/variables.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 140 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `names` and `get_pos` are never used [INFO] [stdout] --> src/compiler/variables.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl Variables { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn get_pos(&self, name:&str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modul` is never used [INFO] [stdout] --> src/types/unsigned.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn modul() {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/precompile/lexer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_file>(file_name: S) -> String { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | fs::read_to_string(file_name.as_ref()).expect("Should have been able to read the file") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/precompile/preprocessor.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_file>(file_name: S) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | match fs::read_to_string(file_name.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dest_Reg` should have a snake case name [INFO] [stdout] --> src/types/unsigned.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn load_unsigned_func(dest_Reg: &Register, function: &Branch, vars: &Variables, signatures: &Vec, file: &mut File) {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dest_reg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fish_and_c` (bin "fish_and_c") due to 3 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fish_and_c` (bin "fish_and_c" test) due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba9c104c19643ceda74524b6603c2a93ba704b2d0c13fc49587dad68ae3c1f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba9c104c19643ceda74524b6603c2a93ba704b2d0c13fc49587dad68ae3c1f55", kill_on_drop: false }` [INFO] [stdout] ba9c104c19643ceda74524b6603c2a93ba704b2d0c13fc49587dad68ae3c1f55