[INFO] cloning repository https://github.com/LOKESH-999/tatoy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LOKESH-999/tatoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Ftatoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Ftatoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad381b74dc5badd203330ca054941100ce9a97f0 [INFO] linting LOKESH-999/tatoy against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Ftatoy" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LOKESH-999/tatoy [INFO] finished tweaking git repo https://github.com/LOKESH-999/tatoy [INFO] tweaked toml for git repo https://github.com/LOKESH-999/tatoy written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LOKESH-999/tatoy on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LOKESH-999/tatoy already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 432c22cf6323fdda30316d465b4124b0c22772aab3d5d7b7a803c7854a3aa971 [INFO] running `Command { std: "docker" "start" "-a" "432c22cf6323fdda30316d465b4124b0c22772aab3d5d7b7a803c7854a3aa971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "432c22cf6323fdda30316d465b4124b0c22772aab3d5d7b7a803c7854a3aa971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "432c22cf6323fdda30316d465b4124b0c22772aab3d5d7b7a803c7854a3aa971", kill_on_drop: false }` [INFO] [stdout] 432c22cf6323fdda30316d465b4124b0c22772aab3d5d7b7a803c7854a3aa971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5feec9c678c013e433e6ca7987584dc60a1e4252f8834d1e17eb2c2ee1066db [INFO] running `Command { std: "docker" "start" "-a" "a5feec9c678c013e433e6ca7987584dc60a1e4252f8834d1e17eb2c2ee1066db", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tatoy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Context`, `Poll`, and `Waker` [INFO] [stdout] --> src/tatoy/executor/waker.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Poll, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | Context, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | Waker, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Release` [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Release, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::actors::actor::ActorTask` [INFO] [stdout] --> src/re/exe/task.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::actors::actor::ActorTask; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Poll`, and `Waker` [INFO] [stdout] --> src/tatoy/executor/waker.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Poll, [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | Context, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | Waker, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Release` [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Release, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::actors::actor::ActorTask` [INFO] [stdout] --> src/re/exe/task.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::actors::actor::ActorTask; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sync_Send(&mut self,data:Box)->Result<(),SendError>>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tatoy/executor/waker.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn clone(data:*const ())->RawWaker{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tatoy/executor/waker.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe fn wake(data:*const ()){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tatoy/executor/waker.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn wake_by_ref(data:*const ()){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tatoy/executor/waker.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe fn drop(data:*const ()){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sync_Send(&mut self,data:Box)->Result<(),SendError>>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/re/actors/actor.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | fn poll(self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> std::task::Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tatoy/executor/waker.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn clone(data:*const ())->RawWaker{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tatoy/executor/waker.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe fn wake(data:*const ()){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tatoy/executor/waker.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn wake_by_ref(data:*const ()){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tatoy/executor/waker.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe fn drop(data:*const ()){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/re/mpsc.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut x=self.ptr.as_ref(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/re/mpsc.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut x=self.ptr.read(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/re/actors/actor.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | fn poll(self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> std::task::Poll { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/re/mpsc.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let b=Base{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/re/mpsc.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let base=self.ptr.read(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Actor` is never used [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Actor { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Message` is never used [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Addr` is never constructed [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Addr{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Context{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fire` and `sync_Send` are never used [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Addr{ [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 23 | pub fn fire(&mut self,data:Box){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn sync_Send(&mut self,data:Box)->Result<(),SendError>>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IDLE` is never used [INFO] [stdout] --> src/tatoy/executor/task.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const IDLE:usize = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READY` is never used [INFO] [stdout] --> src/tatoy/executor/task.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const READY:usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WAITING` is never used [INFO] [stdout] --> src/tatoy/executor/task.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const WAITING:usize = 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRITICAL` is never used [INFO] [stdout] --> src/tatoy/executor/task.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CRITICAL:usize = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPLETED` is never used [INFO] [stdout] --> src/tatoy/executor/task.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const COMPLETED:usize = 4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActorTask` is never constructed [INFO] [stdout] --> src/tatoy/executor/task.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ActorTask{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/re/mpsc.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut x=self.ptr.as_ref(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/re/mpsc.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut x=self.ptr.read(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Recv` is never used [INFO] [stdout] --> src/tatoy/executor/exe.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Recv = mpsc::Receiver; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/re/mpsc.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let b=Base{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Executor` is never constructed [INFO] [stdout] --> src/tatoy/executor/exe.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Executor{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Input` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type Input = Arc>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clone` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn clone(data:*const ())->RawWaker{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wake` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe fn wake(data:*const ()){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wake_by_ref` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn wake_by_ref(data:*const ()){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe fn drop(data:*const ()){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `VTABLE` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | static VTABLE:RawWakerVTable = RawWakerVTable::new(clone, wake, wake_by_ref, drop); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinLock` is never constructed [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SpinLock{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flag` is never constructed [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Flag{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinGuard` is never constructed [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SpinGuard<'a,T>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl SpinLock{ [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub const fn new(data:T)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub unsafe fn force_lock(&self) -> SpinGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_poisoned(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub unsafe fn reset(&self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub unsafe fn unlock(&self){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn try_lock(&self)->Option>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn lock(&self)->Option>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recover` is never used [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl SpinLock { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 120 | pub unsafe fn recover(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/re/mpsc.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let base=self.ptr.read(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeType` is never used [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type NodeType = *mut Node; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Node{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UbType` is never used [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type UbType = AtomicPtr>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UbStack` is never constructed [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UbStack{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl UbStack{ [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 26 | pub fn new()->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn push(&self,data:T){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn pop(&self)->Option{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SenderType` is never used [INFO] [stdout] --> src/re/actors/actor.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type SenderType = Sender>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Message` is never used [INFO] [stdout] --> src/re/actors/actor.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Actor` is never used [INFO] [stdout] --> src/re/actors/actor.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Actor{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Addr` is never constructed [INFO] [stdout] --> src/re/actors/actor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Addr{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/re/actors/actor.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Addr{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 22 | pub fn send(&self,data:Box ){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/re/actors/actor.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Context{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `addr` are never used [INFO] [stdout] --> src/re/actors/actor.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 32 | pub fn new(addr:Addr)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn addr(&self)->Addr{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IDLE` is never used [INFO] [stdout] --> src/re/actors/actor.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const IDLE:usize = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READY` is never used [INFO] [stdout] --> src/re/actors/actor.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const READY:usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WAITING` is never used [INFO] [stdout] --> src/re/actors/actor.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const WAITING:usize = 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRITICAL` is never used [INFO] [stdout] --> src/re/actors/actor.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const CRITICAL:usize = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPLETED` is never used [INFO] [stdout] --> src/re/actors/actor.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const COMPLETED:usize = 4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActorTask` is never constructed [INFO] [stdout] --> src/re/actors/actor.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ActorTask{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Actor` is never used [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Actor { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/re/actors/actor.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl ActorTask{ [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 54 | pub fn new(actor:T,ctx:Context)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Message` is never used [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/re/seque.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Addr` is never constructed [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Addr{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Context{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_raw` are never used [INFO] [stdout] --> src/re/seque.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Node { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(data:T) -> Box>{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn into_raw(self:Box)->* mut Node{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fire` and `sync_Send` are never used [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Addr{ [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 23 | pub fn fire(&mut self,data:Box){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn sync_Send(&mut self,data:Box)->Result<(),SendError>>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SeQue` is never constructed [INFO] [stdout] --> src/re/seque.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SeQue{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IDLE` is never used [INFO] [stdout] --> src/tatoy/executor/task.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const IDLE:usize = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READY` is never used [INFO] [stdout] --> src/tatoy/executor/task.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const READY:usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, and `dequeue` are never used [INFO] [stdout] --> src/re/seque.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl SeQue{ [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 43 | pub fn new()->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn enqueue(&self,data:T){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn dequeue(&self)->Option{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WAITING` is never used [INFO] [stdout] --> src/tatoy/executor/task.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const WAITING:usize = 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinLock` is never constructed [INFO] [stdout] --> src/re/spinlock.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SpinLock{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRITICAL` is never used [INFO] [stdout] --> src/tatoy/executor/task.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CRITICAL:usize = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPLETED` is never used [INFO] [stdout] --> src/tatoy/executor/task.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const COMPLETED:usize = 4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flag` is never constructed [INFO] [stdout] --> src/re/spinlock.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Flag{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActorTask` is never constructed [INFO] [stdout] --> src/tatoy/executor/task.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ActorTask{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinGuard` is never constructed [INFO] [stdout] --> src/re/spinlock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SpinGuard<'a,T>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Recv` is never used [INFO] [stdout] --> src/tatoy/executor/exe.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Recv = mpsc::Receiver; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Executor` is never constructed [INFO] [stdout] --> src/tatoy/executor/exe.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Executor{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Input` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type Input = Arc>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clone` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn clone(data:*const ())->RawWaker{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/re/spinlock.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl SpinLock{ [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub const fn new(data:T)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub unsafe fn force_lock(&self) -> SpinGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_poisoned(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub unsafe fn reset(&self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub unsafe fn unlock(&self){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn try_lock(&self)->Option>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn lock(&self)->Option>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wake` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe fn wake(data:*const ()){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wake_by_ref` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn wake_by_ref(data:*const ()){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recover` is never used [INFO] [stdout] --> src/re/spinlock.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl SpinLock { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 120 | pub unsafe fn recover(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Base` is never constructed [INFO] [stdout] --> src/re/mpsc.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Base{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe fn drop(data:*const ()){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/re/mpsc.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Channel; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `VTABLE` is never used [INFO] [stdout] --> src/tatoy/executor/waker.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | static VTABLE:RawWakerVTable = RawWakerVTable::new(clone, wake, wake_by_ref, drop); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/re/mpsc.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sender{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinLock` is never constructed [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SpinLock{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reciver` is never constructed [INFO] [stdout] --> src/re/mpsc.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Reciver{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flag` is never constructed [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Flag{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/re/mpsc.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Sender{ [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 28 | pub fn send(&self,data:T){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinGuard` is never constructed [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SpinGuard<'a,T>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `is_available` are never used [INFO] [stdout] --> src/re/mpsc.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Reciver{ [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 40 | pub fn read(&self)->Option{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub unsafe fn is_available(&self)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/re/mpsc.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Channel{ [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 58 | pub fn new()->(Sender,Reciver){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/re/mpsc.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Sender{ [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 92 | pub fn clone(&self)->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> src/re/exe/task.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Task{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl SpinLock{ [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub const fn new(data:T)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub unsafe fn force_lock(&self) -> SpinGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_poisoned(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub unsafe fn reset(&self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub unsafe fn unlock(&self){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn try_lock(&self)->Option>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn lock(&self)->Option>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recover` is never used [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl SpinLock { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 120 | pub unsafe fn recover(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeType` is never used [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type NodeType = *mut Node; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Node{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UbType` is never used [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type UbType = AtomicPtr>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UbStack` is never constructed [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UbStack{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl UbStack{ [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 26 | pub fn new()->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn push(&self,data:T){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn pop(&self)->Option{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SenderType` is never used [INFO] [stdout] --> src/re/actors/actor.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type SenderType = Sender>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Message` is never used [INFO] [stdout] --> src/re/actors/actor.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Actor` is never used [INFO] [stdout] --> src/re/actors/actor.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Actor{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Addr` is never constructed [INFO] [stdout] --> src/re/actors/actor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Addr{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/re/actors/actor.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Addr{ [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 22 | pub fn send(&self,data:Box ){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/re/actors/actor.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Context{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `addr` are never used [INFO] [stdout] --> src/re/actors/actor.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 32 | pub fn new(addr:Addr)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn addr(&self)->Addr{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IDLE` is never used [INFO] [stdout] --> src/re/actors/actor.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const IDLE:usize = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READY` is never used [INFO] [stdout] --> src/re/actors/actor.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const READY:usize = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WAITING` is never used [INFO] [stdout] --> src/re/actors/actor.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const WAITING:usize = 2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRITICAL` is never used [INFO] [stdout] --> src/re/actors/actor.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const CRITICAL:usize = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPLETED` is never used [INFO] [stdout] --> src/re/actors/actor.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const COMPLETED:usize = 4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActorTask` is never constructed [INFO] [stdout] --> src/re/actors/actor.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ActorTask{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/re/actors/actor.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl ActorTask{ [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 54 | pub fn new(actor:T,ctx:Context)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/re/seque.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_raw` are never used [INFO] [stdout] --> src/re/seque.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Node { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(data:T) -> Box>{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn into_raw(self:Box)->* mut Node{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SeQue` is never constructed [INFO] [stdout] --> src/re/seque.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SeQue{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, and `dequeue` are never used [INFO] [stdout] --> src/re/seque.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl SeQue{ [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 43 | pub fn new()->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn enqueue(&self,data:T){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn dequeue(&self)->Option{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinLock` is never constructed [INFO] [stdout] --> src/re/spinlock.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SpinLock{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flag` is never constructed [INFO] [stdout] --> src/re/spinlock.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Flag{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinGuard` is never constructed [INFO] [stdout] --> src/re/spinlock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SpinGuard<'a,T>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/re/spinlock.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl SpinLock{ [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub const fn new(data:T)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub unsafe fn force_lock(&self) -> SpinGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_poisoned(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub unsafe fn reset(&self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub unsafe fn unlock(&self){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn try_lock(&self)->Option>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn lock(&self)->Option>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recover` is never used [INFO] [stdout] --> src/re/spinlock.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl SpinLock { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 120 | pub unsafe fn recover(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Base` is never constructed [INFO] [stdout] --> src/re/mpsc.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Base{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/re/mpsc.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Channel; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/re/mpsc.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sender{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reciver` is never constructed [INFO] [stdout] --> src/re/mpsc.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Reciver{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/re/mpsc.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Sender{ [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 28 | pub fn send(&self,data:T){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `is_available` are never used [INFO] [stdout] --> src/re/mpsc.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Reciver{ [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 40 | pub fn read(&self)->Option{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub unsafe fn is_available(&self)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/re/mpsc.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Channel{ [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 58 | pub fn new()->(Sender,Reciver){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/re/mpsc.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Sender{ [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 92 | pub fn clone(&self)->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> src/re/exe/task.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Task{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | SpinGuard { guard: &self } [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | guard:&self [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | guard:&self [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_ok()` [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | if let Ok(_) = self.head.compare_exchange(old_head, new_head, AcqRel, Relaxed){ [INFO] [stdout] | -------^^^^^------------------------------------------------------------------ help: try: `if self.head.compare_exchange(old_head, new_head, AcqRel, Relaxed).is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_ok()` [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | if let Ok(_) = self.head.compare_exchange(old_head, new, AcqRel, Relaxed){ [INFO] [stdout] | -------^^^^^------------------------------------------------------------- help: try: `if self.head.compare_exchange(old_head, new, AcqRel, Relaxed).is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/re/seque.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 23 | / let node = Box::new( [INFO] [stdout] 24 | | Node{ [INFO] [stdout] 25 | | data:ManuallyDrop::new(data), [INFO] [stdout] 26 | | ptr:AtomicPtr::new(null_mut()) [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | ); [INFO] [stdout] | |__________- unnecessary `let` binding [INFO] [stdout] 29 | node [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 23 ~ [INFO] [stdout] 24 ~ Box::new( [INFO] [stdout] 25 + Node{ [INFO] [stdout] 26 + data:ManuallyDrop::new(data), [INFO] [stdout] 27 + ptr:AtomicPtr::new(null_mut()) [INFO] [stdout] 28 + } [INFO] [stdout] 29 + ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_ok()` [INFO] [stdout] --> src/re/seque.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | if let Ok(_) = ptr.compare_exchange(null_mut(), new, AcqRel, Acquire) { [INFO] [stdout] | -------^^^^^--------------------------------------------------------- help: try: `if ptr.compare_exchange(null_mut(), new, AcqRel, Acquire).is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | SpinGuard { guard: &self } [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_ok()` [INFO] [stdout] --> src/re/seque.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | if let Ok(_) = self.head.compare_exchange(head_ptr, head_next_ptr, AcqRel, Acquire) { [INFO] [stdout] | -------^^^^^----------------------------------------------------------------------- help: try: `if self.head.compare_exchange(head_ptr, head_next_ptr, AcqRel, Acquire).is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | guard:&self [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/re/spinlock.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | SpinGuard { guard: &self } [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/tatoy/executor/spinlock.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | guard:&self [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/re/spinlock.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | guard:&self [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/re/spinlock.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | guard:&self [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_ok()` [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | if let Ok(_) = self.head.compare_exchange(old_head, new_head, AcqRel, Relaxed){ [INFO] [stdout] | -------^^^^^------------------------------------------------------------------ help: try: `if self.head.compare_exchange(old_head, new_head, AcqRel, Relaxed).is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_ok()` [INFO] [stdout] --> src/tatoy/executor/lf_stack.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | if let Ok(_) = self.head.compare_exchange(old_head, new, AcqRel, Relaxed){ [INFO] [stdout] | -------^^^^^------------------------------------------------------------- help: try: `if self.head.compare_exchange(old_head, new, AcqRel, Relaxed).is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/re/mpsc.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | &mut(*x.data.get()).push_front(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*x.data.get()).push_front(data);` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] = note: `#[warn(clippy::unnecessary_operation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/re/mpsc.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | !((*self.ptr.as_ref().data.get()).len()>0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((*self.ptr.as_ref().data.get()).len() <= 0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/re/mpsc.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | !((*self.ptr.as_ref().data.get()).len()>0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!(*self.ptr.as_ref().data.get()).is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `new` usually return `Self` [INFO] [stdout] --> src/re/mpsc.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / pub fn new()->(Sender,Reciver){ [INFO] [stdout] 59 | | let b=Base{ [INFO] [stdout] 60 | | data:UnsafeCell::new(VecDeque::::with_capacity(15)), [INFO] [stdout] 61 | | lock:AtomicBool::new(false), [INFO] [stdout] ... | [INFO] [stdout] 69 | | (Sender{ptr:NonNull::new(ptr).unwrap()},Reciver{ptr:NonNull::new(ptr).unwrap()}) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self [INFO] [stdout] = note: `#[warn(clippy::new_ret_no_self)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/re/seque.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 23 | / let node = Box::new( [INFO] [stdout] 24 | | Node{ [INFO] [stdout] 25 | | data:ManuallyDrop::new(data), [INFO] [stdout] 26 | | ptr:AtomicPtr::new(null_mut()) [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | ); [INFO] [stdout] | |__________- unnecessary `let` binding [INFO] [stdout] 29 | node [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 23 ~ [INFO] [stdout] 24 ~ Box::new( [INFO] [stdout] 25 + Node{ [INFO] [stdout] 26 + data:ManuallyDrop::new(data), [INFO] [stdout] 27 + ptr:AtomicPtr::new(null_mut()) [INFO] [stdout] 28 + } [INFO] [stdout] 29 + ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_ok()` [INFO] [stdout] --> src/re/seque.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | if let Ok(_) = ptr.compare_exchange(null_mut(), new, AcqRel, Acquire) { [INFO] [stdout] | -------^^^^^--------------------------------------------------------- help: try: `if ptr.compare_exchange(null_mut(), new, AcqRel, Acquire).is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_ok()` [INFO] [stdout] --> src/re/seque.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | if let Ok(_) = self.head.compare_exchange(head_ptr, head_next_ptr, AcqRel, Acquire) { [INFO] [stdout] | -------^^^^^----------------------------------------------------------------------- help: try: `if self.head.compare_exchange(head_ptr, head_next_ptr, AcqRel, Acquire).is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/re/spinlock.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | SpinGuard { guard: &self } [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/re/spinlock.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | guard:&self [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/re/spinlock.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | guard:&self [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/re/mpsc.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | &mut(*x.data.get()).push_front(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*x.data.get()).push_front(data);` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] = note: `#[warn(clippy::unnecessary_operation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/re/mpsc.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | !((*self.ptr.as_ref().data.get()).len()>0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((*self.ptr.as_ref().data.get()).len() <= 0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/re/mpsc.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | !((*self.ptr.as_ref().data.get()).len()>0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!(*self.ptr.as_ref().data.get()).is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `new` usually return `Self` [INFO] [stdout] --> src/re/mpsc.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / pub fn new()->(Sender,Reciver){ [INFO] [stdout] 59 | | let b=Base{ [INFO] [stdout] 60 | | data:UnsafeCell::new(VecDeque::::with_capacity(15)), [INFO] [stdout] 61 | | lock:AtomicBool::new(false), [INFO] [stdout] ... | [INFO] [stdout] 69 | | (Sender{ptr:NonNull::new(ptr).unwrap()},Reciver{ptr:NonNull::new(ptr).unwrap()}) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self [INFO] [stdout] = note: `#[warn(clippy::new_ret_no_self)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self.sender.send(data); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = self.sender.send(data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync_Send` should have a snake case name [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sync_Send(&mut self,data:Box)->Result<(),SendError>>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sync_send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/tatoy/executor/waker.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | type Input = Arc>; [INFO] [stdout] | ^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: remove this bound [INFO] [stdout] | [INFO] [stdout] 12 - type Input = Arc>; [INFO] [stdout] 12 + type Input = Arc>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/re/mpsc.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | &mut(*x.data.get()).push_front(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = &mut(*x.data.get()).push_front(data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self.sender.send(data); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = self.sender.send(data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync_Send` should have a snake case name [INFO] [stdout] --> src/tatoy/actor_sync/actor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sync_Send(&mut self,data:Box)->Result<(),SendError>>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sync_send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/tatoy/executor/waker.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | type Input = Arc>; [INFO] [stdout] | ^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: remove this bound [INFO] [stdout] | [INFO] [stdout] 12 - type Input = Arc>; [INFO] [stdout] 12 + type Input = Arc>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/re/mpsc.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | &mut(*x.data.get()).push_front(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = &mut(*x.data.get()).push_front(data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.77s [INFO] running `Command { std: "docker" "inspect" "a5feec9c678c013e433e6ca7987584dc60a1e4252f8834d1e17eb2c2ee1066db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5feec9c678c013e433e6ca7987584dc60a1e4252f8834d1e17eb2c2ee1066db", kill_on_drop: false }` [INFO] [stdout] a5feec9c678c013e433e6ca7987584dc60a1e4252f8834d1e17eb2c2ee1066db