[INFO] cloning repository https://github.com/dangkaz1109/particle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dangkaz1109/particle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangkaz1109%2Fparticle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangkaz1109%2Fparticle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 65b728197115ce5b226504b4ebdc683b19bdb3e7 [INFO] checking dangkaz1109/particle against master#8f08b3a32478b8d0507732800ecb548a76e0fd0c for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdangkaz1109%2Fparticle" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dangkaz1109/particle [INFO] finished tweaking git repo https://github.com/dangkaz1109/particle [INFO] tweaked toml for git repo https://github.com/dangkaz1109/particle written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dangkaz1109/particle on toolchain 8f08b3a32478b8d0507732800ecb548a76e0fd0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dangkaz1109/particle 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" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hecs v0.10.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c421b0d2a48f2be1eb0ca1865ee544322b146bb7b14de7354c090ee90576c085 [INFO] running `Command { std: "docker" "start" "-a" "c421b0d2a48f2be1eb0ca1865ee544322b146bb7b14de7354c090ee90576c085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c421b0d2a48f2be1eb0ca1865ee544322b146bb7b14de7354c090ee90576c085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c421b0d2a48f2be1eb0ca1865ee544322b146bb7b14de7354c090ee90576c085", kill_on_drop: false }` [INFO] [stdout] c421b0d2a48f2be1eb0ca1865ee544322b146bb7b14de7354c090ee90576c085 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 397057ede6e982365974bb3a89ab8ef66b499b4435728f2ff369e72f71e47633 [INFO] running `Command { std: "docker" "start" "-a" "397057ede6e982365974bb3a89ab8ef66b499b4435728f2ff369e72f71e47633", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking hecs v0.10.5 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking particles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `null_mut` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::{null_mut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/swordfish.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/swordfish.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `get_latest` [INFO] [stdout] --> src/swordfish.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | macro_rules! get_latest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `get_by_id` [INFO] [stdout] --> src/swordfish.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | macro_rules! get_by_id { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::swordfish::*` [INFO] [stdout] --> src/linked_list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::swordfish::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/linked_list.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{create_table, query, query_parallel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `linked_list` should have an upper camel case name [INFO] [stdout] --> src/linked_list.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | create_table!(linked_list, data: f32, is_head: bool, is_tail: bool, next: Option); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LinkedList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/swordfish.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / query_parallel!(list, i: id, it: is_tail, { [INFO] [stdout] 20 | | if *i == id { [INFO] [stdout] 21 | | *it = true; [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `query_parallel` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::swordfish::*` [INFO] [stdout] --> src/binary_search_tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::swordfish::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/linked_list.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/binary_search_tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null_mut` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::{null_mut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/swordfish.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/swordfish.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `get_latest` [INFO] [stdout] --> src/swordfish.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | macro_rules! get_latest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `get_by_id` [INFO] [stdout] --> src/swordfish.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | macro_rules! get_by_id { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::swordfish::*` [INFO] [stdout] --> src/linked_list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::swordfish::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/linked_list.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{create_table, query, query_parallel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `linked_list` should have an upper camel case name [INFO] [stdout] --> src/linked_list.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | create_table!(linked_list, data: f32, is_head: bool, is_tail: bool, next: Option); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LinkedList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/swordfish.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / query_parallel!(list, i: id, it: is_tail, { [INFO] [stdout] 20 | | if *i == id { [INFO] [stdout] 21 | | *it = true; [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `query_parallel` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::swordfish::*` [INFO] [stdout] --> src/binary_search_tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::swordfish::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/linked_list.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/binary_search_tree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | create_table!(linked_list, data: f32, is_head: bool, is_tail: bool, next: Option); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | create_table!(linked_list, data: f32, is_head: bool, is_tail: bool, next: Option); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/linked_list.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `d` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] 14 | | if *it { [INFO] [stdout] 15 | | *n = Some(id); [INFO] [stdout] 16 | | *it = false; [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ih` [INFO] [stdout] --> src/linked_list.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `ih` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] 14 | | if *it { [INFO] [stdout] 15 | | *n = Some(id); [INFO] [stdout] 16 | | *it = false; [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] 14 | | if *it { [INFO] [stdout] 15 | | *n = Some(id); [INFO] [stdout] 16 | | *it = false; [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / query_parallel!(list, i: id, it: is_tail, { [INFO] [stdout] 20 | | if *i == id { [INFO] [stdout] 21 | | *it = true; [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe { $code_block } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] 14 | | if *it { [INFO] [stdout] 15 | | *n = Some(id); [INFO] [stdout] 16 | | *it = false; [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe { $code_block } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / query_parallel!(list, i: id, it: is_tail, { [INFO] [stdout] 20 | | if *i == id { [INFO] [stdout] 21 | | *it = true; [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/swordfish.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] 14 | | if *it { [INFO] [stdout] 15 | | *n = Some(id); [INFO] [stdout] 16 | | *it = false; [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/swordfish.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / query_parallel!(list, i: id, it: is_tail, { [INFO] [stdout] 20 | | if *i == id { [INFO] [stdout] 21 | | *it = true; [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/linked_list.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | fn add_first(list: &mut linked_list, data: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/linked_list.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | fn add_first(list: &mut linked_list, data: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | create_table!(BSTree, data: f32, left_id: Option, right_id: Option); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | create_table!(BSTree, data: f32, left_id: Option, right_id: Option); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/binary_search_tree.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `a` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/binary_search_tree.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `d` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/binary_search_tree.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `l` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/binary_search_tree.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `r` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/binary_search_tree.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert(tree: &mut BSTree, root_id: usize, data: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / query!(tree, a: id, { [INFO] [stdout] 11 | | if *a == root_id { [INFO] [stdout] 12 | | check = true [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe { $code_block } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / query!(tree, a: id, { [INFO] [stdout] 11 | | if *a == root_id { [INFO] [stdout] 12 | | check = true [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe { $code_block } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / query!(tree, a: id, { [INFO] [stdout] 11 | | if *a == root_id { [INFO] [stdout] 12 | | check = true [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pool` is never constructed [INFO] [stdout] --> src/swordfish.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Pool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, and `get` are never used [INFO] [stdout] --> src/swordfish.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(block_number: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn write(&self, index: usize, data: T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get(&self, index: usize) -> &mut T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `linked_list` is never constructed [INFO] [stdout] --> src/linked_list.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | create_table!(linked_list, data: f32, is_head: bool, is_tail: bool, next: Option); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `delete`, `commit_delete`, and `lenght` are never used [INFO] [stdout] --> src/swordfish.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 72 | impl $struct_name { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn insert(&mut self, $($field_name: $field_type,)*) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn delete(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn commit_delete(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn lenght(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | create_table!(linked_list, data: f32, is_head: bool, is_tail: bool, next: Option); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append` is never used [INFO] [stdout] --> src/linked_list.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn append(list: &mut linked_list, data: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_first` is never used [INFO] [stdout] --> src/linked_list.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn add_first(list: &mut linked_list, data: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BSTree` is never constructed [INFO] [stdout] --> src/binary_search_tree.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | create_table!(BSTree, data: f32, left_id: Option, right_id: Option); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `delete`, `commit_delete`, and `lenght` are never used [INFO] [stdout] --> src/swordfish.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 72 | impl $struct_name { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn insert(&mut self, $($field_name: $field_type,)*) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn delete(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn commit_delete(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn lenght(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | create_table!(BSTree, data: f32, left_id: Option, right_id: Option); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/binary_search_tree.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert(tree: &mut BSTree, root_id: usize, data: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | create_table!(linked_list, data: f32, is_head: bool, is_tail: bool, next: Option); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | create_table!(linked_list, data: f32, is_head: bool, is_tail: bool, next: Option); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/linked_list.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `d` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] 14 | | if *it { [INFO] [stdout] 15 | | *n = Some(id); [INFO] [stdout] 16 | | *it = false; [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ih` [INFO] [stdout] --> src/linked_list.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `ih` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] 14 | | if *it { [INFO] [stdout] 15 | | *n = Some(id); [INFO] [stdout] 16 | | *it = false; [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] 14 | | if *it { [INFO] [stdout] 15 | | *n = Some(id); [INFO] [stdout] 16 | | *it = false; [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / query_parallel!(list, i: id, it: is_tail, { [INFO] [stdout] 20 | | if *i == id { [INFO] [stdout] 21 | | *it = true; [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe { $code_block } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] 14 | | if *it { [INFO] [stdout] 15 | | *n = Some(id); [INFO] [stdout] 16 | | *it = false; [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe { $code_block } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / query_parallel!(list, i: id, it: is_tail, { [INFO] [stdout] 20 | | if *i == id { [INFO] [stdout] 21 | | *it = true; [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/swordfish.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query_parallel!(list, d: data, n: next, it: is_tail, ih: is_head, { [INFO] [stdout] 14 | | if *it { [INFO] [stdout] 15 | | *n = Some(id); [INFO] [stdout] 16 | | *it = false; [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/swordfish.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / query_parallel!(list, i: id, it: is_tail, { [INFO] [stdout] 20 | | if *i == id { [INFO] [stdout] 21 | | *it = true; [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/linked_list.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | fn add_first(list: &mut linked_list, data: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/linked_list.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | fn add_first(list: &mut linked_list, data: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | create_table!(BSTree, data: f32, left_id: Option, right_id: Option); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | create_table!(BSTree, data: f32, left_id: Option, right_id: Option); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/binary_search_tree.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `a` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/binary_search_tree.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `d` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/binary_search_tree.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `l` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/binary_search_tree.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `r` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/binary_search_tree.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert(tree: &mut BSTree, root_id: usize, data: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / query!(tree, a: id, { [INFO] [stdout] 11 | | if *a == root_id { [INFO] [stdout] 12 | | check = true [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe { $code_block } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / query!(tree, a: id, { [INFO] [stdout] 11 | | if *a == root_id { [INFO] [stdout] 12 | | check = true [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swordfish.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe { $code_block } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / query!(tree, a: id, { [INFO] [stdout] 11 | | if *a == root_id { [INFO] [stdout] 12 | | check = true [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/swordfish.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | $( let mut $name = unsafe { $table_variable.$field_name.get(i) }; )* [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / query!(tree, a: id, d: data, l: left_id, r: right_id, { [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pool` is never constructed [INFO] [stdout] --> src/swordfish.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Pool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, and `get` are never used [INFO] [stdout] --> src/swordfish.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(block_number: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn write(&self, index: usize, data: T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get(&self, index: usize) -> &mut T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `linked_list` is never constructed [INFO] [stdout] --> src/linked_list.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | create_table!(linked_list, data: f32, is_head: bool, is_tail: bool, next: Option); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `delete`, `commit_delete`, and `lenght` are never used [INFO] [stdout] --> src/swordfish.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 72 | impl $struct_name { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn insert(&mut self, $($field_name: $field_type,)*) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn delete(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn commit_delete(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn lenght(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/linked_list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | create_table!(linked_list, data: f32, is_head: bool, is_tail: bool, next: Option); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append` is never used [INFO] [stdout] --> src/linked_list.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn append(list: &mut linked_list, data: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_first` is never used [INFO] [stdout] --> src/linked_list.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn add_first(list: &mut linked_list, data: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BSTree` is never constructed [INFO] [stdout] --> src/binary_search_tree.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | create_table!(BSTree, data: f32, left_id: Option, right_id: Option); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `delete`, `commit_delete`, and `lenght` are never used [INFO] [stdout] --> src/swordfish.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 72 | impl $struct_name { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 73 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn insert(&mut self, $($field_name: $field_type,)*) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn delete(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn commit_delete(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn lenght(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/binary_search_tree.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | create_table!(BSTree, data: f32, left_id: Option, right_id: Option); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/binary_search_tree.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn insert(tree: &mut BSTree, root_id: usize, data: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: particles v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "397057ede6e982365974bb3a89ab8ef66b499b4435728f2ff369e72f71e47633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397057ede6e982365974bb3a89ab8ef66b499b4435728f2ff369e72f71e47633", kill_on_drop: false }` [INFO] [stdout] 397057ede6e982365974bb3a89ab8ef66b499b4435728f2ff369e72f71e47633