[INFO] cloning repository https://github.com/snamas/Tsumugi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snamas/Tsumugi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnamas%2FTsumugi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnamas%2FTsumugi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 506b511f8f659658ed6dbbdb5d1c2ce3b987e0bd [INFO] checking snamas/Tsumugi against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnamas%2FTsumugi" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snamas/Tsumugi 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/snamas/Tsumugi [INFO] finished tweaking git repo https://github.com/snamas/Tsumugi [INFO] tweaked toml for git repo https://github.com/snamas/Tsumugi written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5d4f770d5b7b6910f043ff6493960ee756df201ddb440fd015d4047049fe1232 [INFO] running `Command { std: "docker" "start" "-a" "5d4f770d5b7b6910f043ff6493960ee756df201ddb440fd015d4047049fe1232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d4f770d5b7b6910f043ff6493960ee756df201ddb440fd015d4047049fe1232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d4f770d5b7b6910f043ff6493960ee756df201ddb440fd015d4047049fe1232", kill_on_drop: false }` [INFO] [stdout] 5d4f770d5b7b6910f043ff6493960ee756df201ddb440fd015d4047049fe1232 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] bd358f467f3b9f620996cb1bf33378b0c5b3f18eb82989101a2e7362ddf16782 [INFO] running `Command { std: "docker" "start" "-a" "bd358f467f3b9f620996cb1bf33378b0c5b3f18eb82989101a2e7362ddf16782", kill_on_drop: false }` [INFO] [stderr] Checking tsumugi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/antenna_chain.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiAntenna` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::antenna::{TsumugiAntenna, TsumugiParcelInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId, Any}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/parcel_receptor_return_value.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId, Any}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiControllerApplication` [INFO] [stdout] --> src/signal.rs:3:84 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::controller::{TsumugiControllerItemLifeTime, TsumugiControllerItemState, TsumugiControllerApplication, TsumugiPortalPlaneLocal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `named_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 671 | pub struct named_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NamedDebugpair` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `signal_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | pub struct signal_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SignalDebugpair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `antennachain_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:681:12 [INFO] [stdout] | [INFO] [stdout] 681 | pub struct antennachain_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AntennachainDebugpair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/antenna_chain.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiPortal` [INFO] [stdout] --> src/antenna_chain.rs:192:52 [INFO] [stdout] | [INFO] [stdout] 192 | use crate::controller::{TsumugiChannelSenders, TsumugiPortal, TsumugiPortalPlaneLocal, TsumugiControllerItemState}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/antenna_chain.rs:242:49 [INFO] [stdout] | [INFO] [stdout] 242 | let chain = antenna_chain!(outputType = (i32),tsumugi_pr.clone(),tb_pr.clone()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 242 - let chain = antenna_chain!(outputType = (i32),tsumugi_pr.clone(),tb_pr.clone()); [INFO] [stdout] 242 + let chain = antenna_chain!(outputType = i32,tsumugi_pr.clone(),tb_pr.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiAntenna` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::antenna::{TsumugiAntenna, TsumugiParcelInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId, Any}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any` and `TypeId` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/parcel_receptor_return_value.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId, Any}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiControllerApplication` [INFO] [stdout] --> src/signal.rs:3:84 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::controller::{TsumugiControllerItemLifeTime, TsumugiControllerItemState, TsumugiControllerApplication, TsumugiPortalPlaneLocal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `named_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 671 | pub struct named_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NamedDebugpair` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `signal_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | pub struct signal_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SignalDebugpair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `antennachain_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:681:12 [INFO] [stdout] | [INFO] [stdout] 681 | pub struct antennachain_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AntennachainDebugpair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Any` [INFO] [stdout] --> src/test/controll_test.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiAntennaType` [INFO] [stdout] --> src/test/controll_test.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::antenna_chain::{TsumugiSpownReceiver, TsumugiAntennaType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiObject` [INFO] [stdout] --> src/test/controll_test.rs:8:141 [INFO] [stdout] | [INFO] [stdout] 8 | ...ontrollerApplication, TsumugiPortal, TsumugiChannelSenders, TsumugiObject, TsumugiParcelHashList, TsumugiControllerItemLifeTime, Tsumu... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiDistributor` [INFO] [stdout] --> src/test/controll_test.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::distributor::{TsumugiParcelDistributor, TsumugiDistributor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/test/controll_test.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/distributor.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn name(mut self, name: impl ToString) -> Self { [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/distributor.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn lifetime(mut self, lifetime: TsumugiControllerItemLifeTime) -> Self { [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/antenna_chain.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn from(mut value: TsumugiReceptorChain) -> Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/antenna_chain.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/antenna_chain.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | fn input_item(&mut self, input_item: &mut Box, tct: &TsumugiPortalPlaneLocal) -> TsumugiControllerItemState { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor_return_value.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn poll(self: &mut Self, tct: &TsumugiPortalPlaneLocal) -> TsumugiControllerItemState { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor_return_value.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/signal.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 33 | self.on_receive_signal = Some(Arc::new(move |tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor.rs:26:54 [INFO] [stdout] | [INFO] [stdout] 26 | self.subscribe = Some(Arc::new(move |parcel, tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn to_antenna(mut self) -> TsumugiAntenna { [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/parcel_receptor.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut receive_item = unsafe { [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/controller.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut tsumugi_connect_list: Vec = Vec::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/controller.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut tc = Box::new(TsumugiPortal { [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/controller.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut tsumugi_connect_list: Vec = Vec::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/controller.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut tc = Box::new(TsumugiPortal { [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/controller.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | fn set_object(&mut self, mut tsumugi_object:Box){ [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/controller.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | fn set_objects(&mut self, mut tsumugi_object_list: Vec>) { [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/controller.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let mut tc_new = tsumugi_function(self); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tumugi_receipt_list` [INFO] [stdout] --> src/controller.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | let mut tumugi_receipt_list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tumugi_receipt_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pickup_list` [INFO] [stdout] --> src/controller.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pickup_list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pickup_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condvar` [INFO] [stdout] --> src/controller.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let condvar = Condvar::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/controller.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let lock = mutex.lock().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let mut tumugi_receipt_list: Vec> = Vec::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/controller.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pickup_list: Vec> = Vec::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/controller.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut depot_hashmap_typeof = DepotHashList { antenna_hashmap: HashMap::new(), signal_hashmap: HashMap::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/controller.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let mut antennachain_hashmap = TsumugiAntennaChainHashList { receipt_list: Vec::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/controller.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let mut inst_time = Instant::now(); [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/controller.rs:254:30 [INFO] [stdout] | [INFO] [stdout] 254 | fn set_object(&mut self, mut tsumugi_object: Box) { [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/controller.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let mut pickup_iter = controll_loop_kit.thread_receivers.distributer.try_iter(); [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/controller.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut receipt_iter = controll_loop_kit.thread_receivers.antenna.try_iter(); [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/controller.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | ... let mut hashlist = controll_loop_kit.depot_hashmap_typeof.signal_hashmap.entry(signal.signal_name.clone()).or_insert(TsumugiSignalH... [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/controller.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | for mut parcel in &mut tsumugi_hash_typesep.pickup_list { [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/controller.rs:447:47 [INFO] [stdout] | [INFO] [stdout] 447 | TsumugiAntennaType::TsumugiSingal(mut sig) => { [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/controller.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | for mut antenna in &mut tsumugi_hash_typesep.recept_list { [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/distributor.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn name(mut self, name: impl ToString) -> Self { [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/distributor.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn lifetime(mut self, lifetime: TsumugiControllerItemLifeTime) -> Self { [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/antenna_chain.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn from(mut value: TsumugiReceptorChain) -> Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/antenna_chain.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/antenna_chain.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcelreceptor_novalue.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | self.subscribe = Some(Arc::new(move |parcel, tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcelreceptor_novalue.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn to_antenna(mut self) -> TsumugiAntenna { [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/parcelreceptor_novalue.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receipt_channnel_receiver` [INFO] [stdout] --> src/antenna_chain.rs:227:41 [INFO] [stdout] | [INFO] [stdout] 227 | let (recept_channel_sender, receipt_channnel_receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receipt_channnel_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pickup_channnel_receiver` [INFO] [stdout] --> src/antenna_chain.rs:228:41 [INFO] [stdout] | [INFO] [stdout] 228 | let (pickup_channel_sender, pickup_channnel_receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pickup_channnel_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receivertsumugi_pr` [INFO] [stdout] --> src/antenna_chain.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let receivertsumugi_pr = tsumugi_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertsumugi_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receivertb_pr` [INFO] [stdout] --> src/antenna_chain.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let receivertb_pr = tb_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertb_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spown_receiver` is never used [INFO] [stdout] --> src/antenna_chain.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl TsumugiReceptorChain { [INFO] [stdout] | --------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | fn spown_receiver(&mut self) -> Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/antenna_chain.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl TsumugiReceptorChain { [INFO] [stdout] | --------------------------------------------------------------------- method in this implementation [INFO] [stdout] 161 | //todo:nextはparcelとTsumugiReceptorChainが同時に来たときに発動 [INFO] [stdout] 162 | fn next(mut self, mut receptor: impl TsumugiSpownReceiver> + Into) -> Tsumu... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parcel` is never constructed [INFO] [stdout] --> src/antenna_chain.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | struct Parcel { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Backet2` is never constructed [INFO] [stdout] --> src/antenna_chain.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | struct Backet2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connect_tsumugi_controller` is never read [INFO] [stdout] --> src/controller.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct TsumugiPortal { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) connect_tsumugi_controller: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TsumugiPortal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object_list` is never read [INFO] [stdout] --> src/controller.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) struct ControllLoopKitStruct { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) object_list: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_object` is never used [INFO] [stdout] --> src/controller.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 247 | impl TsumugiPortalPlaneLocal { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn set_object(&mut self, mut tsumugi_object: Box) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receivertsumugi_pr` [INFO] [stdout] --> src/antenna_chain.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | let receivertsumugi_pr = tsumugi_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertsumugi_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receivertb_pr` [INFO] [stdout] --> src/antenna_chain.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let receivertb_pr = tb_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertb_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/antenna_chain.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let mut chain = antenna_chain!(tsumugi_pr.clone(),tb_pr.clone()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receivertsumugi_pr` [INFO] [stdout] --> src/antenna_chain.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let receivertsumugi_pr = tsumugi_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertsumugi_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receivertb_pr` [INFO] [stdout] --> src/antenna_chain.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let receivertb_pr = tb_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertb_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/antenna_chain.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let mut chain = antenna_chain!(tsumugi_pr.clone(),tb_pr.clone()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/antenna_chain.rs:288:55 [INFO] [stdout] | [INFO] [stdout] 288 | chain = chain.subscribe(Box::new(move |tuple, sender| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/antenna_chain.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let mut tc = TsumugiPortalPlaneLocal::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/antenna_chain.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let mut tsumugi_pr = TsumugiParcelReceptorWithChannel::::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/antenna_chain.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut tb_pr = TsumugiParcelReceptorWithChannel::::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | fn input_item(&mut self, input_item: &mut Box, tct: &TsumugiPortalPlaneLocal) -> TsumugiControllerItemState { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.sender.send(*receive_item.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = self.sender.send(*receive_item.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Controller_name` should have a snake case name [INFO] [stdout] --> src/controller.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | fn find(&self, Controller_name: &str) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `controller_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 193 | let _ = self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 198 | let _ = self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Controller_name` should have a snake case name [INFO] [stdout] --> src/controller.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn find(&self, Controller_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `controller_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor_return_value.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn poll(self: &mut Self, tct: &TsumugiPortalPlaneLocal) -> TsumugiControllerItemState { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | ... debug_plane.pickup_channel_sender.send(TsumugiParcelDistributor::new(debugkit).lifetime(Once).displayname(plane_name.clone()).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = debug_plane.pickup_channel_sender.send(TsumugiParcelDistributor::new(debugkit).lifetime(Once).displayname(plane_name.clone()).into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `singalState` should have a snake case name [INFO] [stdout] --> src/controller.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | let singalState: TsumugiControllerItemState = match &receptsig.on_receive_signal { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `singal_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor_return_value.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/signal.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 33 | self.on_receive_signal = Some(Arc::new(move |tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor.rs:26:54 [INFO] [stdout] | [INFO] [stdout] 26 | self.subscribe = Some(Arc::new(move |parcel, tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn to_antenna(mut self) -> TsumugiAntenna { [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/parcel_receptor.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut receive_item = unsafe { [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/controller.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut tsumugi_connect_list: Vec = Vec::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/controller.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut tc = Box::new(TsumugiPortal { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut tsumugi_connect_list: Vec = Vec::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/controller.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut tc = Box::new(TsumugiPortal { [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/controller.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | fn set_object(&mut self, mut tsumugi_object:Box){ [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/controller.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | fn set_objects(&mut self, mut tsumugi_object_list: Vec>) { [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/controller.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let mut tc_new = tsumugi_function(self); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tumugi_receipt_list` [INFO] [stdout] --> src/controller.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | let mut tumugi_receipt_list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tumugi_receipt_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pickup_list` [INFO] [stdout] --> src/controller.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pickup_list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pickup_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condvar` [INFO] [stdout] --> src/controller.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let condvar = Condvar::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/controller.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let lock = mutex.lock().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let mut tumugi_receipt_list: Vec> = Vec::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/controller.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pickup_list: Vec> = Vec::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/controller.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut depot_hashmap_typeof = DepotHashList { antenna_hashmap: HashMap::new(), signal_hashmap: HashMap::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/controller.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let mut antennachain_hashmap = TsumugiAntennaChainHashList { receipt_list: Vec::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/controller.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let mut inst_time = Instant::now(); [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/controller.rs:254:30 [INFO] [stdout] | [INFO] [stdout] 254 | fn set_object(&mut self, mut tsumugi_object: Box) { [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/controller.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let mut pickup_iter = controll_loop_kit.thread_receivers.distributer.try_iter(); [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/controller.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut receipt_iter = controll_loop_kit.thread_receivers.antenna.try_iter(); [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/controller.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | ... let mut hashlist = controll_loop_kit.depot_hashmap_typeof.signal_hashmap.entry(signal.signal_name.clone()).or_insert(TsumugiSignalH... [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/controller.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | for mut parcel in &mut tsumugi_hash_typesep.pickup_list { [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/controller.rs:447:47 [INFO] [stdout] | [INFO] [stdout] 447 | TsumugiAntennaType::TsumugiSingal(mut sig) => { [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/controller.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | for mut antenna in &mut tsumugi_hash_typesep.recept_list { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcelreceptor_novalue.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | self.subscribe = Some(Arc::new(move |parcel, tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcelreceptor_novalue.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn to_antenna(mut self) -> TsumugiAntenna { [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/parcelreceptor_novalue.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_sender` [INFO] [stdout] --> src/test/controll_test.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let (object_sender, object_receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_receiver` [INFO] [stdout] --> src/test/controll_test.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | let (object_sender, object_receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `controll_loop_kit` [INFO] [stdout] --> src/test/controll_test.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let (mut controll_loop_kit, tsumugi_channel_senders) = ControllLoopKitStruct::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_controll_loop_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typeid` [INFO] [stdout] --> src/test/controll_test.rs:98:84 [INFO] [stdout] | [INFO] [stdout] 98 | let antenna_name = antenna_hashmap_typeof.antenna_hashmap.iter().map(|(typeid, antenna)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_typeid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/controll_test.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | let (mut controll_loop_kit, tsumugi_channel_senders) = ControllLoopKitStruct::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/test/controll_test.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tc = TsumugiPortalPlaneLocal::new(tsumugi_channel_senders.clone()); [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/test/controll_test.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut tb_pr = TsumugiParcelReceptorWithChannel::::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `controll_loop_kit` [INFO] [stdout] --> src/test/controll_test.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | let (mut controll_loop_kit, tsumugi_channel_senders) = ControllLoopKitStruct::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_controll_loop_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/controll_test.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | let (mut controll_loop_kit, tsumugi_channel_senders) = ControllLoopKitStruct::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/test/controll_test.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut tc = TsumugiPortalPlaneLocal::new(tsumugi_channel_senders.clone()); [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/test/controll_test.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut parcelpackage = Arc::new(Mutex::new(1)); [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/test/controll_test.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut parcelpack_clone = parcelpackage.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bitem` [INFO] [stdout] --> src/test/controll_test.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | if let (Some(pitem), Some(bitem)) = (p.next(), b.next()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bitem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acitem` [INFO] [stdout] --> src/test/controll_test.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | if let Some(acitem) = ac.next() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_acitem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> src/test/controll_test.rs:286:128 [INFO] [stdout] | [INFO] [stdout] 286 | let chain2 = crate::antenna_chain!(parcel_receptname,chain).subscribe(Box::new(move |(parcel, antenna_chain_recv), send| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/controll_test.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let mut parcelpackage = Arc::new(Mutex::new("NoMessage".to_string())); [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/test/controll_test.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut tsumugi_pr = TsumugiParcelReceptorWithChannel::::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/test/controll_test.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let mut tb_pr = TsumugiParcelReceptorWithChannel::::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/test/controll_test.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let mut chain = crate::antenna_chain!(tsumugi_pr.clone(),tb_pr); [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/test/controll_test.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | let mut parcelpack_clone = parcelpackage.clone(); [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/test/controll_test.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | let mut parcelpack_clone = parcelpackage.clone(); [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/test/controll_test.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut chain2bool = AtomicBool::new(false); [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/test/controll_test.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | let mut new_parcel = TsumugiParcelDistributor::new(ParcelStr { package: "ParcelIsReceived".to_string() }); [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/test/controll_test.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | let mut new_parcel = TsumugiParcelDistributor::new(ParcelStr { package: "ParcelIsReceived".to_string() }); [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/test/controll_test.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | let mut new_backet = TsumugiParcelDistributor::new(Backet { package: 51 }); [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/test/controll_test.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | let mut new_parcel = TsumugiParcelDistributor::new(ParcelStr { package: "NamedParcelIsReceived".to_string() }).parcelname("pr"); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parcel` is never constructed [INFO] [stdout] --> src/antenna_chain.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | struct Parcel { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Backet2` is never constructed [INFO] [stdout] --> src/antenna_chain.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | struct Backet2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package` is never read [INFO] [stdout] --> src/antenna_chain.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | struct Backet2 { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 202 | package: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Backet2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package` is never read [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | struct Parcel { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 67 | package: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parcel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connect_tsumugi_controller` is never read [INFO] [stdout] --> src/controller.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct TsumugiPortal { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) connect_tsumugi_controller: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TsumugiPortal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object_list` is never read [INFO] [stdout] --> src/controller.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) struct ControllLoopKitStruct { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) object_list: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_object` is never used [INFO] [stdout] --> src/controller.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 247 | impl TsumugiPortalPlaneLocal { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn set_object(&mut self, mut tsumugi_object: Box) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package` is never read [INFO] [stdout] --> src/test/controll_test.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | struct Backet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 29 | package: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Backet` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `checkarcClone` should have a snake case name [INFO] [stdout] --> src/antenna_chain.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let checkarcClone = checkarc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `checkarc_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.sender.send(*receive_item.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = self.sender.send(*receive_item.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Controller_name` should have a snake case name [INFO] [stdout] --> src/controller.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | fn find(&self, Controller_name: &str) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `controller_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 193 | let _ = self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 198 | let _ = self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Controller_name` should have a snake case name [INFO] [stdout] --> src/controller.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn find(&self, Controller_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `controller_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | ... debug_plane.pickup_channel_sender.send(TsumugiParcelDistributor::new(debugkit).lifetime(Once).displayname(plane_name.clone()).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = debug_plane.pickup_channel_sender.send(TsumugiParcelDistributor::new(debugkit).lifetime(Once).displayname(plane_name.clone()).into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `singalState` should have a snake case name [INFO] [stdout] --> src/controller.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | let singalState: TsumugiControllerItemState = match &receptsig.on_receive_signal { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `singal_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hashListCount` should have a snake case name [INFO] [stdout] --> src/test/controll_test.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | fn hashListCount(&self) -> (usize, usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `hash_list_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_pr.clone().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 173 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_pr.clone().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 193 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 202 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 216 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 226 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 240 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 253 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | send.clone().unwrap().send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 278 | let _ = send.clone().unwrap().send(()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | tsumugi_channel_senders.recept_channel_sender.send(chain2.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 298 | let _ = tsumugi_channel_senders.recept_channel_sender.send(chain2.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 309 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 318 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | tsumugi_channel_senders.pickup_channel_sender.send(new_backet.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 320 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_backet.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 329 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 128 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "bd358f467f3b9f620996cb1bf33378b0c5b3f18eb82989101a2e7362ddf16782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd358f467f3b9f620996cb1bf33378b0c5b3f18eb82989101a2e7362ddf16782", kill_on_drop: false }` [INFO] [stdout] bd358f467f3b9f620996cb1bf33378b0c5b3f18eb82989101a2e7362ddf16782 [INFO] checking snamas/Tsumugi 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%2Fsnamas%2FTsumugi" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snamas/Tsumugi 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/snamas/Tsumugi [INFO] finished tweaking git repo https://github.com/snamas/Tsumugi [INFO] tweaked toml for git repo https://github.com/snamas/Tsumugi written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3a602a4db1e99e26c7781d818e73af3a417033750262f5d77992e1b28921d820 [INFO] running `Command { std: "docker" "start" "-a" "3a602a4db1e99e26c7781d818e73af3a417033750262f5d77992e1b28921d820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a602a4db1e99e26c7781d818e73af3a417033750262f5d77992e1b28921d820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a602a4db1e99e26c7781d818e73af3a417033750262f5d77992e1b28921d820", kill_on_drop: false }` [INFO] [stdout] 3a602a4db1e99e26c7781d818e73af3a417033750262f5d77992e1b28921d820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ca9bd614d082bb3a310af17138ea58b8224020e1543e0df90a4df0ad6e952170 [INFO] running `Command { std: "docker" "start" "-a" "ca9bd614d082bb3a310af17138ea58b8224020e1543e0df90a4df0ad6e952170", kill_on_drop: false }` [INFO] [stderr] Checking tsumugi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/antenna_chain.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiAntenna` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::antenna::{TsumugiAntenna, TsumugiParcelInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId, Any}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/parcel_receptor_return_value.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId, Any}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiControllerApplication` [INFO] [stdout] --> src/signal.rs:3:84 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::controller::{TsumugiControllerItemLifeTime, TsumugiControllerItemState, TsumugiControllerApplication, TsumugiPortalPlaneLocal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `named_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 671 | pub struct named_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NamedDebugpair` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `signal_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | pub struct signal_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SignalDebugpair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `antennachain_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:681:12 [INFO] [stdout] | [INFO] [stdout] 681 | pub struct antennachain_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AntennachainDebugpair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/antenna_chain.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiPortal` [INFO] [stdout] --> src/antenna_chain.rs:192:52 [INFO] [stdout] | [INFO] [stdout] 192 | use crate::controller::{TsumugiChannelSenders, TsumugiPortal, TsumugiPortalPlaneLocal, TsumugiControllerItemState}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/antenna_chain.rs:242:49 [INFO] [stdout] | [INFO] [stdout] 242 | let chain = antenna_chain!(outputType = (i32),tsumugi_pr.clone(),tb_pr.clone()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 242 - let chain = antenna_chain!(outputType = (i32),tsumugi_pr.clone(),tb_pr.clone()); [INFO] [stdout] 242 + let chain = antenna_chain!(outputType = i32,tsumugi_pr.clone(),tb_pr.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiAntenna` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::antenna::{TsumugiAntenna, TsumugiParcelInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId, Any}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any` and `TypeId` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/parcel_receptor_return_value.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{TypeId, Any}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiControllerApplication` [INFO] [stdout] --> src/signal.rs:3:84 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::controller::{TsumugiControllerItemLifeTime, TsumugiControllerItemState, TsumugiControllerApplication, TsumugiPortalPlaneLocal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `named_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 671 | pub struct named_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NamedDebugpair` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `signal_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | pub struct signal_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SignalDebugpair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `antennachain_Debugpair` should have an upper camel case name [INFO] [stdout] --> src/controller.rs:681:12 [INFO] [stdout] | [INFO] [stdout] 681 | pub struct antennachain_Debugpair { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AntennachainDebugpair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Any` [INFO] [stdout] --> src/test/controll_test.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiAntennaType` [INFO] [stdout] --> src/test/controll_test.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::antenna_chain::{TsumugiSpownReceiver, TsumugiAntennaType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiObject` [INFO] [stdout] --> src/test/controll_test.rs:8:141 [INFO] [stdout] | [INFO] [stdout] 8 | ...ontrollerApplication, TsumugiPortal, TsumugiChannelSenders, TsumugiObject, TsumugiParcelHashList, TsumugiControllerItemLifeTime, Tsumu... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TsumugiDistributor` [INFO] [stdout] --> src/test/controll_test.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::distributor::{TsumugiParcelDistributor, TsumugiDistributor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/test/controll_test.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/distributor.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn name(mut self, name: impl ToString) -> Self { [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/distributor.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn lifetime(mut self, lifetime: TsumugiControllerItemLifeTime) -> Self { [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/antenna_chain.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn from(mut value: TsumugiReceptorChain) -> Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/antenna_chain.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/antenna_chain.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | fn input_item(&mut self, input_item: &mut Box, tct: &TsumugiPortalPlaneLocal) -> TsumugiControllerItemState { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor_return_value.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn poll(self: &mut Self, tct: &TsumugiPortalPlaneLocal) -> TsumugiControllerItemState { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor_return_value.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/signal.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 33 | self.on_receive_signal = Some(Arc::new(move |tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor.rs:26:54 [INFO] [stdout] | [INFO] [stdout] 26 | self.subscribe = Some(Arc::new(move |parcel, tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn to_antenna(mut self) -> TsumugiAntenna { [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/parcel_receptor.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut receive_item = unsafe { [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/controller.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut tsumugi_connect_list: Vec = Vec::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/controller.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut tc = Box::new(TsumugiPortal { [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/controller.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut tsumugi_connect_list: Vec = Vec::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/controller.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut tc = Box::new(TsumugiPortal { [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/controller.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | fn set_object(&mut self, mut tsumugi_object:Box){ [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/controller.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | fn set_objects(&mut self, mut tsumugi_object_list: Vec>) { [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/controller.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let mut tc_new = tsumugi_function(self); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tumugi_receipt_list` [INFO] [stdout] --> src/controller.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | let mut tumugi_receipt_list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tumugi_receipt_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pickup_list` [INFO] [stdout] --> src/controller.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pickup_list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pickup_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condvar` [INFO] [stdout] --> src/controller.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let condvar = Condvar::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/controller.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let lock = mutex.lock().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let mut tumugi_receipt_list: Vec> = Vec::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/controller.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pickup_list: Vec> = Vec::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/controller.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut depot_hashmap_typeof = DepotHashList { antenna_hashmap: HashMap::new(), signal_hashmap: HashMap::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/controller.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let mut antennachain_hashmap = TsumugiAntennaChainHashList { receipt_list: Vec::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/controller.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let mut inst_time = Instant::now(); [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/controller.rs:254:30 [INFO] [stdout] | [INFO] [stdout] 254 | fn set_object(&mut self, mut tsumugi_object: Box) { [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/controller.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let mut pickup_iter = controll_loop_kit.thread_receivers.distributer.try_iter(); [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/controller.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut receipt_iter = controll_loop_kit.thread_receivers.antenna.try_iter(); [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/controller.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | ... let mut hashlist = controll_loop_kit.depot_hashmap_typeof.signal_hashmap.entry(signal.signal_name.clone()).or_insert(TsumugiSignalH... [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/controller.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | for mut parcel in &mut tsumugi_hash_typesep.pickup_list { [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/controller.rs:447:47 [INFO] [stdout] | [INFO] [stdout] 447 | TsumugiAntennaType::TsumugiSingal(mut sig) => { [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/controller.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | for mut antenna in &mut tsumugi_hash_typesep.recept_list { [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/distributor.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn name(mut self, name: impl ToString) -> Self { [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/distributor.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn lifetime(mut self, lifetime: TsumugiControllerItemLifeTime) -> Self { [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/antenna_chain.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn from(mut value: TsumugiReceptorChain) -> Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/antenna_chain.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcelreceptor_novalue.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | self.subscribe = Some(Arc::new(move |parcel, tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/antenna_chain.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcelreceptor_novalue.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn to_antenna(mut self) -> TsumugiAntenna { [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/parcelreceptor_novalue.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spown_receiver` is never used [INFO] [stdout] --> src/antenna_chain.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl TsumugiReceptorChain { [INFO] [stdout] | --------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | fn spown_receiver(&mut self) -> Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/antenna_chain.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl TsumugiReceptorChain { [INFO] [stdout] | --------------------------------------------------------------------- method in this implementation [INFO] [stdout] 161 | //todo:nextはparcelとTsumugiReceptorChainが同時に来たときに発動 [INFO] [stdout] 162 | fn next(mut self, mut receptor: impl TsumugiSpownReceiver> + Into) -> Tsumu... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parcel` is never constructed [INFO] [stdout] --> src/antenna_chain.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | struct Parcel { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Backet2` is never constructed [INFO] [stdout] --> src/antenna_chain.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | struct Backet2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connect_tsumugi_controller` is never read [INFO] [stdout] --> src/controller.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct TsumugiPortal { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) connect_tsumugi_controller: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TsumugiPortal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object_list` is never read [INFO] [stdout] --> src/controller.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) struct ControllLoopKitStruct { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) object_list: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_object` is never used [INFO] [stdout] --> src/controller.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 247 | impl TsumugiPortalPlaneLocal { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn set_object(&mut self, mut tsumugi_object: Box) { [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/antenna.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 49 | fn from(tsumugi_parcel_receptor: TsumugiParcelReceptor) -> Self { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | TsumugiAntenna { [INFO] [stdout] 51 | parcel: Box::from(tsumugi_parcel_receptor), [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/antenna.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 63 | fn from(tsumugi_parcel_receptor_noval: TsumugiParcelReceptorNoVal) -> Self { [INFO] [stdout] | ------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | TsumugiAntenna { [INFO] [stdout] 65 | parcel: Box::from(tsumugi_parcel_receptor_noval), [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] 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/antenna.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 77 | fn from(value: TsumugiParcelReceptorWithChannel) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | parcel: Box::from(value), [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] 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/antenna.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 93 | fn from(item: TsumugiParcelReceptorReturnValue) -> Self { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | TsumugiAntenna { [INFO] [stdout] 95 | parcel: Box::from(item), [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: unused variable: `receipt_channnel_receiver` [INFO] [stdout] --> src/antenna_chain.rs:227:41 [INFO] [stdout] | [INFO] [stdout] 227 | let (recept_channel_sender, receipt_channnel_receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receipt_channnel_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pickup_channnel_receiver` [INFO] [stdout] --> src/antenna_chain.rs:228:41 [INFO] [stdout] | [INFO] [stdout] 228 | let (pickup_channel_sender, pickup_channnel_receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pickup_channnel_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receivertsumugi_pr` [INFO] [stdout] --> src/antenna_chain.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let receivertsumugi_pr = tsumugi_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertsumugi_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receivertb_pr` [INFO] [stdout] --> src/antenna_chain.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let receivertb_pr = tb_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertb_pr` [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/distributor.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(tsumugi_parcel: T) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | TsumugiParcelDistributor { [INFO] [stdout] 23 | parcel: Box::new(tsumugi_parcel), [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] 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/antenna_chain.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 77 | fn from(value: TsumugiParcelReceptorWithChannel) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | TsumugiAntennaType::TsumugiAntenna(value.into()) [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] 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/antenna_chain.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 83 | fn from(value: TsumugiParcelReceptor) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | TsumugiAntennaType::TsumugiAntenna(value.into()) [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] 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/antenna_chain.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 107 | fn from(mut value: TsumugiReceptorChain) -> Self { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let tsumugiantennalist: Vec = std::mem::take(&mut value.tsumugi_antenna_list); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | TsumugiAntennaChain { antenna_chain: Box::new(value), tsumugi_antenna_list: tsumugiantennalist, antenna_chain_lifetime: TsumugiCo... [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] 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/antenna_chain.rs:117:49 [INFO] [stdout] | [INFO] [stdout] 116 | fn from(mut value: TsumugiReceptorChain) -> Self { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | TsumugiAntennaType::TsumugiAntennaChain(value.into()) [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] 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/antenna_chain.rs:125:96 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn from_receptor(receivetuple: T, antenna: Vec) -> TsumugiReceptorChain { [INFO] [stdout] | --------------- -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | //todo:ここちゃんとsenderを使って送れる様にする。そのためにreceiverをなんとかする。 [INFO] [stdout] 125 | TsumugiReceptorChain { tsumugi_antenna_list: antenna, parcel: receivetuple, subscribe: None, sender: None, chain_name: None, chai... [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: unused variable: `receivertsumugi_pr` [INFO] [stdout] --> src/antenna_chain.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | let receivertsumugi_pr = tsumugi_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertsumugi_pr` [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/antenna_chain.rs:125:110 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn from_receptor(receivetuple: T, antenna: Vec) -> TsumugiReceptorChain { [INFO] [stdout] | --------------- -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | //todo:ここちゃんとsenderを使って送れる様にする。そのためにreceiverをなんとかする。 [INFO] [stdout] 125 | TsumugiReceptorChain { tsumugi_antenna_list: antenna, parcel: receivetuple, subscribe: None, sender: None, chain_name: None, chai... [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: unused variable: `receivertb_pr` [INFO] [stdout] --> src/antenna_chain.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let receivertb_pr = tb_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertb_pr` [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/antenna_chain.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 162 | ...n next(mut self, mut receptor: impl TsumugiSpownReceiver> + Into) -> Tsumugi... [INFO] [stdout] | -------- -------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | ... let parcelreceiver = self.spown_receiver(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | ... let connectparcelreceiver = receptor.spown_receiver(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | ... parcel: (parcelreceiver, connectparcelreceiver), [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] 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/antenna_chain.rs:168:24 [INFO] [stdout] | [INFO] [stdout] 162 | ...n next(mut self, mut receptor: impl TsumugiSpownReceiver> + Into) -> Tsumugi... [INFO] [stdout] | -------- -------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | ... let parcelreceiver = self.spown_receiver(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | ... let connectparcelreceiver = receptor.spown_receiver(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | ... subscribe: None, [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 does not need to be mutable [INFO] [stdout] --> src/antenna_chain.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let mut chain = antenna_chain!(tsumugi_pr.clone(),tb_pr.clone()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receivertsumugi_pr` [INFO] [stdout] --> src/antenna_chain.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let receivertsumugi_pr = tsumugi_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertsumugi_pr` [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/antenna_chain.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 162 | ...n next(mut self, mut receptor: impl TsumugiSpownReceiver> + Into) -> Tsumugi... [INFO] [stdout] | -------- -------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | ... let parcelreceiver = self.spown_receiver(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | ... let connectparcelreceiver = receptor.spown_receiver(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | ... sender: None, [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: unused variable: `receivertb_pr` [INFO] [stdout] --> src/antenna_chain.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let receivertb_pr = tb_pr.spown_receiver(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receivertb_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/antenna_chain.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let mut chain = antenna_chain!(tsumugi_pr.clone(),tb_pr.clone()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/antenna_chain.rs:288:55 [INFO] [stdout] | [INFO] [stdout] 288 | chain = chain.subscribe(Box::new(move |tuple, sender| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.sender.send(*receive_item.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = self.sender.send(*receive_item.clone()); [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/parcel_receptor_return_value.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 19 | fn new_antenna_with_value(tsumugi_parcel_receptor_return_value: Self::Receptor) -> (Arc>, TsumugiAntenna) { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | (tsumugi_parcel_receptor_return_value.drop_tsumugi_parcel(), tsumugi_parcel_receptor_return_value.into()) [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] 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/parcel_receptor_return_value.rs:20:70 [INFO] [stdout] | [INFO] [stdout] 19 | fn new_antenna_with_value(tsumugi_parcel_receptor_return_value: Self::Receptor) -> (Arc>, TsumugiAntenna) { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | (tsumugi_parcel_receptor_return_value.drop_tsumugi_parcel(), tsumugi_parcel_receptor_return_value.into()) [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] 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/signal.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(name: impl ToString) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | on_receive_signal: None, [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] 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/signal.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(name: impl ToString) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | sender: None, [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] 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/parcel_receptor.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(parcel: T) -> TsumugiParcelReceptor { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | TsumugiParcelReceptor { parcel: Box::new(parcel), subscribe: None } [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] 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/parcel_receptor.rs:23:70 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(parcel: T) -> TsumugiParcelReceptor { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | TsumugiParcelReceptor { parcel: Box::new(parcel), subscribe: None } [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 `Controller_name` should have a snake case name [INFO] [stdout] --> src/controller.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | fn find(&self, Controller_name: &str) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `controller_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 193 | let _ = self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 198 | let _ = self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Controller_name` should have a snake case name [INFO] [stdout] --> src/controller.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn find(&self, Controller_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `controller_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/antenna_chain.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let mut tc = TsumugiPortalPlaneLocal::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/antenna_chain.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let mut tsumugi_pr = TsumugiParcelReceptorWithChannel::::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/antenna_chain.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut tb_pr = TsumugiParcelReceptorWithChannel::::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/controller.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 211 | fn execute_tsumugi_thread(&self, thread_receivers: ThreadReceivers) -> JoinHandle<()> { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let mut tc_thread = TsumugiPortalPlaneLocal { tp: self.clone(), tsumugi_object_vector: vec![] }; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let plane_name = self.tsumugi_controller_name.clone(); [INFO] [stdout] 214 | thread::spawn(move || { [INFO] [stdout] | _______________________^ [INFO] [stdout] 215 | | //todo:うまいことロックを使いこなそうcondvarというやつをつかって [INFO] [stdout] 216 | | //todo:あとhashを値の管理に使う。 [INFO] [stdout] 217 | | let mut tumugi_receipt_list: Vec> = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 241 | | } [INFO] [stdout] 242 | | } [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: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | fn input_item(&mut self, input_item: &mut Box, tct: &TsumugiPortalPlaneLocal) -> TsumugiControllerItemState { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | ... debug_plane.pickup_channel_sender.send(TsumugiParcelDistributor::new(debugkit).lifetime(Once).displayname(plane_name.clone()).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = debug_plane.pickup_channel_sender.send(TsumugiParcelDistributor::new(debugkit).lifetime(Once).displayname(plane_name.clone()).into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `singalState` should have a snake case name [INFO] [stdout] --> src/controller.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | let singalState: TsumugiControllerItemState = match &receptsig.on_receive_signal { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `singal_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor_return_value.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn poll(self: &mut Self, tct: &TsumugiPortalPlaneLocal) -> TsumugiControllerItemState { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor_return_value.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/signal.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 33 | self.on_receive_signal = Some(Arc::new(move |tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcel_receptor.rs:26:54 [INFO] [stdout] | [INFO] [stdout] 26 | self.subscribe = Some(Arc::new(move |parcel, tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcel_receptor.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn to_antenna(mut self) -> TsumugiAntenna { [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/parcel_receptor.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tsumugi` (lib) due to 22 previous errors; 61 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut tsumugi_connect_list: Vec = Vec::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/controller.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut tc = Box::new(TsumugiPortal { [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/controller.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut tsumugi_connect_list: Vec = Vec::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/controller.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut tc = Box::new(TsumugiPortal { [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/controller.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | fn set_object(&mut self, mut tsumugi_object:Box){ [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/controller.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | fn set_objects(&mut self, mut tsumugi_object_list: Vec>) { [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/controller.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let mut tc_new = tsumugi_function(self); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tumugi_receipt_list` [INFO] [stdout] --> src/controller.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | let mut tumugi_receipt_list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tumugi_receipt_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pickup_list` [INFO] [stdout] --> src/controller.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pickup_list: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pickup_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condvar` [INFO] [stdout] --> src/controller.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let condvar = Condvar::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> src/controller.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let lock = mutex.lock().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let mut tumugi_receipt_list: Vec> = Vec::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/controller.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pickup_list: Vec> = Vec::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/controller.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut depot_hashmap_typeof = DepotHashList { antenna_hashmap: HashMap::new(), signal_hashmap: HashMap::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/controller.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let mut antennachain_hashmap = TsumugiAntennaChainHashList { receipt_list: Vec::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/controller.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let mut inst_time = Instant::now(); [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/controller.rs:254:30 [INFO] [stdout] | [INFO] [stdout] 254 | fn set_object(&mut self, mut tsumugi_object: Box) { [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/controller.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let mut pickup_iter = controll_loop_kit.thread_receivers.distributer.try_iter(); [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/controller.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut receipt_iter = controll_loop_kit.thread_receivers.antenna.try_iter(); [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/controller.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | ... let mut hashlist = controll_loop_kit.depot_hashmap_typeof.signal_hashmap.entry(signal.signal_name.clone()).or_insert(TsumugiSignalH... [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/controller.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | for mut parcel in &mut tsumugi_hash_typesep.pickup_list { [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/controller.rs:447:47 [INFO] [stdout] | [INFO] [stdout] 447 | TsumugiAntennaType::TsumugiSingal(mut sig) => { [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/controller.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | for mut antenna in &mut tsumugi_hash_typesep.recept_list { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tct` [INFO] [stdout] --> src/parcelreceptor_novalue.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | self.subscribe = Some(Arc::new(move |parcel, tct| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parcelreceptor_novalue.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn to_antenna(mut self) -> TsumugiAntenna { [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/parcelreceptor_novalue.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut receive_item = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_sender` [INFO] [stdout] --> src/test/controll_test.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let (object_sender, object_receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_receiver` [INFO] [stdout] --> src/test/controll_test.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | let (object_sender, object_receiver) = mpsc::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `controll_loop_kit` [INFO] [stdout] --> src/test/controll_test.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let (mut controll_loop_kit, tsumugi_channel_senders) = ControllLoopKitStruct::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_controll_loop_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typeid` [INFO] [stdout] --> src/test/controll_test.rs:98:84 [INFO] [stdout] | [INFO] [stdout] 98 | let antenna_name = antenna_hashmap_typeof.antenna_hashmap.iter().map(|(typeid, antenna)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_typeid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/controll_test.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | let (mut controll_loop_kit, tsumugi_channel_senders) = ControllLoopKitStruct::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/test/controll_test.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut tc = TsumugiPortalPlaneLocal::new(tsumugi_channel_senders.clone()); [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/test/controll_test.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut tb_pr = TsumugiParcelReceptorWithChannel::::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `controll_loop_kit` [INFO] [stdout] --> src/test/controll_test.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | let (mut controll_loop_kit, tsumugi_channel_senders) = ControllLoopKitStruct::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_controll_loop_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/controll_test.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | let (mut controll_loop_kit, tsumugi_channel_senders) = ControllLoopKitStruct::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/test/controll_test.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut tc = TsumugiPortalPlaneLocal::new(tsumugi_channel_senders.clone()); [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/test/controll_test.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut parcelpackage = Arc::new(Mutex::new(1)); [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/test/controll_test.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut parcelpack_clone = parcelpackage.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bitem` [INFO] [stdout] --> src/test/controll_test.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | if let (Some(pitem), Some(bitem)) = (p.next(), b.next()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bitem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acitem` [INFO] [stdout] --> src/test/controll_test.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | if let Some(acitem) = ac.next() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_acitem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> src/test/controll_test.rs:286:128 [INFO] [stdout] | [INFO] [stdout] 286 | let chain2 = crate::antenna_chain!(parcel_receptname,chain).subscribe(Box::new(move |(parcel, antenna_chain_recv), send| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/controll_test.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let mut parcelpackage = Arc::new(Mutex::new("NoMessage".to_string())); [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/test/controll_test.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut tsumugi_pr = TsumugiParcelReceptorWithChannel::::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/test/controll_test.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let mut tb_pr = TsumugiParcelReceptorWithChannel::::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/test/controll_test.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let mut chain = crate::antenna_chain!(tsumugi_pr.clone(),tb_pr); [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/test/controll_test.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | let mut parcelpack_clone = parcelpackage.clone(); [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/test/controll_test.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | let mut parcelpack_clone = parcelpackage.clone(); [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/test/controll_test.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut chain2bool = AtomicBool::new(false); [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/test/controll_test.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | let mut new_parcel = TsumugiParcelDistributor::new(ParcelStr { package: "ParcelIsReceived".to_string() }); [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/test/controll_test.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | let mut new_parcel = TsumugiParcelDistributor::new(ParcelStr { package: "ParcelIsReceived".to_string() }); [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/test/controll_test.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | let mut new_backet = TsumugiParcelDistributor::new(Backet { package: 51 }); [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/test/controll_test.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | let mut new_parcel = TsumugiParcelDistributor::new(ParcelStr { package: "NamedParcelIsReceived".to_string() }).parcelname("pr"); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parcel` is never constructed [INFO] [stdout] --> src/antenna_chain.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | struct Parcel { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Backet2` is never constructed [INFO] [stdout] --> src/antenna_chain.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | struct Backet2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package` is never read [INFO] [stdout] --> src/antenna_chain.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | struct Backet2 { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 202 | package: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Backet2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package` is never read [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | struct Parcel { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 67 | package: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parcel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connect_tsumugi_controller` is never read [INFO] [stdout] --> src/controller.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct TsumugiPortal { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) connect_tsumugi_controller: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TsumugiPortal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object_list` is never read [INFO] [stdout] --> src/controller.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) struct ControllLoopKitStruct { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) object_list: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_object` is never used [INFO] [stdout] --> src/controller.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 247 | impl TsumugiPortalPlaneLocal { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn set_object(&mut self, mut tsumugi_object: Box) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package` is never read [INFO] [stdout] --> src/test/controll_test.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | struct Backet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 29 | package: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Backet` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/antenna.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 49 | fn from(tsumugi_parcel_receptor: TsumugiParcelReceptor) -> Self { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | TsumugiAntenna { [INFO] [stdout] 51 | parcel: Box::from(tsumugi_parcel_receptor), [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/antenna.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 63 | fn from(tsumugi_parcel_receptor_noval: TsumugiParcelReceptorNoVal) -> Self { [INFO] [stdout] | ------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | TsumugiAntenna { [INFO] [stdout] 65 | parcel: Box::from(tsumugi_parcel_receptor_noval), [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] 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/antenna.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 77 | fn from(value: TsumugiParcelReceptorWithChannel) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | parcel: Box::from(value), [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] 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/antenna.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 93 | fn from(item: TsumugiParcelReceptorReturnValue) -> Self { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | TsumugiAntenna { [INFO] [stdout] 95 | parcel: Box::from(item), [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] 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/distributor.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(tsumugi_parcel: T) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | TsumugiParcelDistributor { [INFO] [stdout] 23 | parcel: Box::new(tsumugi_parcel), [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] 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/antenna_chain.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 77 | fn from(value: TsumugiParcelReceptorWithChannel) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | TsumugiAntennaType::TsumugiAntenna(value.into()) [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] 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/antenna_chain.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 83 | fn from(value: TsumugiParcelReceptor) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | TsumugiAntennaType::TsumugiAntenna(value.into()) [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] 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/antenna_chain.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 107 | fn from(mut value: TsumugiReceptorChain) -> Self { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let tsumugiantennalist: Vec = std::mem::take(&mut value.tsumugi_antenna_list); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | TsumugiAntennaChain { antenna_chain: Box::new(value), tsumugi_antenna_list: tsumugiantennalist, antenna_chain_lifetime: TsumugiCo... [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] 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/antenna_chain.rs:117:49 [INFO] [stdout] | [INFO] [stdout] 116 | fn from(mut value: TsumugiReceptorChain) -> Self { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | TsumugiAntennaType::TsumugiAntennaChain(value.into()) [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] 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/antenna_chain.rs:125:96 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn from_receptor(receivetuple: T, antenna: Vec) -> TsumugiReceptorChain { [INFO] [stdout] | --------------- -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | //todo:ここちゃんとsenderを使って送れる様にする。そのためにreceiverをなんとかする。 [INFO] [stdout] 125 | TsumugiReceptorChain { tsumugi_antenna_list: antenna, parcel: receivetuple, subscribe: None, sender: None, chain_name: None, chai... [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] 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/antenna_chain.rs:125:110 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn from_receptor(receivetuple: T, antenna: Vec) -> TsumugiReceptorChain { [INFO] [stdout] | --------------- -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | //todo:ここちゃんとsenderを使って送れる様にする。そのためにreceiverをなんとかする。 [INFO] [stdout] 125 | TsumugiReceptorChain { tsumugi_antenna_list: antenna, parcel: receivetuple, subscribe: None, sender: None, chain_name: None, chai... [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] 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/antenna_chain.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 162 | ...n next(mut self, mut receptor: impl TsumugiSpownReceiver> + Into) -> Tsumugi... [INFO] [stdout] | -------- -------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | ... let parcelreceiver = self.spown_receiver(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | ... let connectparcelreceiver = receptor.spown_receiver(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | ... parcel: (parcelreceiver, connectparcelreceiver), [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] 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/antenna_chain.rs:168:24 [INFO] [stdout] | [INFO] [stdout] 162 | ...n next(mut self, mut receptor: impl TsumugiSpownReceiver> + Into) -> Tsumugi... [INFO] [stdout] | -------- -------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | ... let parcelreceiver = self.spown_receiver(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | ... let connectparcelreceiver = receptor.spown_receiver(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | ... subscribe: None, [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] 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/antenna_chain.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 162 | ...n next(mut self, mut receptor: impl TsumugiSpownReceiver> + Into) -> Tsumugi... [INFO] [stdout] | -------- -------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | ... let parcelreceiver = self.spown_receiver(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | ... let connectparcelreceiver = receptor.spown_receiver(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | ... sender: None, [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 `checkarcClone` should have a snake case name [INFO] [stdout] --> src/antenna_chain.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let checkarcClone = checkarc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `checkarc_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parcel_receptor_with_channel.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.sender.send(*receive_item.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = self.sender.send(*receive_item.clone()); [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/parcel_receptor_return_value.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 19 | fn new_antenna_with_value(tsumugi_parcel_receptor_return_value: Self::Receptor) -> (Arc>, TsumugiAntenna) { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | (tsumugi_parcel_receptor_return_value.drop_tsumugi_parcel(), tsumugi_parcel_receptor_return_value.into()) [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] 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/parcel_receptor_return_value.rs:20:70 [INFO] [stdout] | [INFO] [stdout] 19 | fn new_antenna_with_value(tsumugi_parcel_receptor_return_value: Self::Receptor) -> (Arc>, TsumugiAntenna) { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | (tsumugi_parcel_receptor_return_value.drop_tsumugi_parcel(), tsumugi_parcel_receptor_return_value.into()) [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] 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/signal.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(name: impl ToString) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | on_receive_signal: None, [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] 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/signal.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(name: impl ToString) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | sender: None, [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] 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/parcel_receptor.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(parcel: T) -> TsumugiParcelReceptor { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | TsumugiParcelReceptor { parcel: Box::new(parcel), subscribe: None } [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] 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/parcel_receptor.rs:23:70 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(parcel: T) -> TsumugiParcelReceptor { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | TsumugiParcelReceptor { parcel: Box::new(parcel), subscribe: None } [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 `Controller_name` should have a snake case name [INFO] [stdout] --> src/controller.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | fn find(&self, Controller_name: &str) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `controller_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 193 | let _ = self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 198 | let _ = self.tsumugi_object_sender.send(tsumugi_object); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Controller_name` should have a snake case name [INFO] [stdout] --> src/controller.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn find(&self, Controller_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `controller_name` [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/controller.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 211 | fn execute_tsumugi_thread(&self, thread_receivers: ThreadReceivers) -> JoinHandle<()> { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let mut tc_thread = TsumugiPortalPlaneLocal { tp: self.clone(), tsumugi_object_vector: vec![] }; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let plane_name = self.tsumugi_controller_name.clone(); [INFO] [stdout] 214 | thread::spawn(move || { [INFO] [stdout] | _______________________^ [INFO] [stdout] 215 | | //todo:うまいことロックを使いこなそうcondvarというやつをつかって [INFO] [stdout] 216 | | //todo:あとhashを値の管理に使う。 [INFO] [stdout] 217 | | let mut tumugi_receipt_list: Vec> = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 241 | | } [INFO] [stdout] 242 | | } [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: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | ... debug_plane.pickup_channel_sender.send(TsumugiParcelDistributor::new(debugkit).lifetime(Once).displayname(plane_name.clone()).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = debug_plane.pickup_channel_sender.send(TsumugiParcelDistributor::new(debugkit).lifetime(Once).displayname(plane_name.clone()).into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `singalState` should have a snake case name [INFO] [stdout] --> src/controller.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | let singalState: TsumugiControllerItemState = match &receptsig.on_receive_signal { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `singal_state` [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/test/controll_test.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn new(tcs: TsumugiChannelSenders) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let (object_sender, object_receiver) = mpsc::channel(); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | TsumugiPortalPlaneLocal { [INFO] [stdout] 61 | tp: TsumugiPortal { [INFO] [stdout] | _____________________^ [INFO] [stdout] 62 | | local_channel_sender: tcs.clone(), [INFO] [stdout] 63 | | global_channel_sender: tcs, [INFO] [stdout] 64 | | connect_tsumugi_controller: vec![], [INFO] [stdout] ... | [INFO] [stdout] 67 | | tsumugi_object_sender: object_sender, [INFO] [stdout] 68 | | }, [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: method `hashListCount` should have a snake case name [INFO] [stdout] --> src/test/controll_test.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | fn hashListCount(&self) -> (usize, usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `hash_list_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_pr.clone().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 173 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_pr.clone().into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 193 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 202 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 216 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 226 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 240 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 253 | let _ = tsumugi_channel_senders.recept_channel_sender.send(tsumugi_antenna.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | send.clone().unwrap().send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 278 | let _ = send.clone().unwrap().send(()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | tsumugi_channel_senders.recept_channel_sender.send(chain2.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 298 | let _ = tsumugi_channel_senders.recept_channel_sender.send(chain2.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 309 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 318 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | tsumugi_channel_senders.pickup_channel_sender.send(new_backet.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 320 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_backet.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/controll_test.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 329 | let _ = tsumugi_channel_senders.pickup_channel_sender.send(new_parcel.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 128 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tsumugi` (lib test) due to 23 previous errors; 128 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ca9bd614d082bb3a310af17138ea58b8224020e1543e0df90a4df0ad6e952170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9bd614d082bb3a310af17138ea58b8224020e1543e0df90a4df0ad6e952170", kill_on_drop: false }` [INFO] [stdout] ca9bd614d082bb3a310af17138ea58b8224020e1543e0df90a4df0ad6e952170