[INFO] fetching crate rumtk-core 0.9.4... [INFO] testing rumtk-core-0.9.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate rumtk-core 0.9.4 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rumtk-core 0.9.4 [INFO] finished tweaking crates.io crate rumtk-core 0.9.4 [INFO] tweaked toml for crates.io crate rumtk-core 0.9.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rumtk-core 0.9.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rumtk-core 0.9.4 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01348316de6899b9d70be5c79403b2a3e836776cc508bce939bc88582c399d90 [INFO] running `Command { std: "docker" "start" "-a" "01348316de6899b9d70be5c79403b2a3e836776cc508bce939bc88582c399d90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01348316de6899b9d70be5c79403b2a3e836776cc508bce939bc88582c399d90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01348316de6899b9d70be5c79403b2a3e836776cc508bce939bc88582c399d90", kill_on_drop: false }` [INFO] [stdout] 01348316de6899b9d70be5c79403b2a3e836776cc508bce939bc88582c399d90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80b797e5a8a7cd5366626946558a0043fe4655a9aa00ff228e9944b993848a8a [INFO] running `Command { std: "docker" "start" "-a" "80b797e5a8a7cd5366626946558a0043fe4655a9aa00ff228e9944b993848a8a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling pyo3-build-config v0.27.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling pyo3-ffi v0.27.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.27.1 [INFO] [stderr] Compiling pyo3 v0.27.1 [INFO] [stderr] Compiling chardetng v0.1.17 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling uuid-macro-internal v1.12.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v1.12.0 [INFO] [stderr] Compiling pyo3-macros v0.27.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling rumtk-core v0.9.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `SOCKET_READINESS_TYPE` should have an upper camel case name [INFO] [stdout] --> src/net.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | pub enum SOCKET_READINESS_TYPE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SocketReadinessType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `READ_READY` should have an upper camel case name [INFO] [stdout] --> src/net.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | READ_READY, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadReady` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WRITE_READY` should have an upper camel case name [INFO] [stdout] --> src/net.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | WRITE_READY, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `WriteReady` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `READWRITE_READY` should have an upper camel case name [INFO] [stdout] --> src/net.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | READWRITE_READY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadwriteReady` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:773:24 [INFO] [stdout] | [INFO] [stdout] 773 | let args = rumtk_create_task_args!(con); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:788:24 [INFO] [stdout] | [INFO] [stdout] 788 | let args = rumtk_create_task_args!((client_ref, msg)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:797:24 [INFO] [stdout] | [INFO] [stdout] 797 | let args = rumtk_create_task_args!(client_ref); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:804:24 [INFO] [stdout] | [INFO] [stdout] 804 | let args = rumtk_create_task_args!(client_ref); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:897:24 [INFO] [stdout] | [INFO] [stdout] 897 | let args = rumtk_create_task_args!(con); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:913:24 [INFO] [stdout] | [INFO] [stdout] 913 | let args = rumtk_create_task_args!(Arc::clone(&mut self.server)); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:927:24 [INFO] [stdout] | [INFO] [stdout] 927 | let args = rumtk_create_task_args!(Arc::clone(&mut self.server)); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:935:24 [INFO] [stdout] | [INFO] [stdout] 935 | let args = rumtk_create_task_args!(( [INFO] [stdout] | ________________________- [INFO] [stdout] 936 | | Arc::clone(&mut self.server), [INFO] [stdout] 937 | | client_id.clone(), [INFO] [stdout] 938 | | msg.clone() [INFO] [stdout] 939 | | )); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:949:24 [INFO] [stdout] | [INFO] [stdout] 949 | let args = rumtk_create_task_args!((Arc::clone(&mut self.server), client_id.clone())); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:958:24 [INFO] [stdout] | [INFO] [stdout] 958 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:967:24 [INFO] [stdout] | [INFO] [stdout] 967 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:976:24 [INFO] [stdout] | [INFO] [stdout] 976 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:985:24 [INFO] [stdout] | [INFO] [stdout] 985 | let args = rumtk_create_task_args!(Arc::clone(&self.server)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_or_set_from_cache` [INFO] [stdout] --> src/search.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::cache::{get_or_set_from_cache, new_cache, AHashMap, LazyRUMCache}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/strings.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::IntoFuture` [INFO] [stdout] --> src/threading.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use std::future::IntoFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threading::thread_primitives` [INFO] [stdout] --> src/threading.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | use crate::threading::thread_primitives; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threading::thread_primitives::SafeTaskArgs` [INFO] [stdout] --> src/threading.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use crate::threading::thread_primitives::SafeTaskArgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | let mut queue = match queues.get_mut(client) { [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/net.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | let mut queue = match queues.get_mut(client) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:449:21 [INFO] [stdout] | [INFO] [stdout] 449 | let mut reowned_self = ctx.read().await; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut queue = self.tx_out.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:714:17 [INFO] [stdout] | [INFO] [stdout] 714 | let mut queue = match queues.get_mut(client_id) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | let mut client_ref = Arc::clone(client_lock_ref); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:824:17 [INFO] [stdout] | [INFO] [stdout] 824 | let mut client_ref = locked_args.get(0).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:846:17 [INFO] [stdout] | [INFO] [stdout] 846 | let mut client = client_ref.read().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:1069:17 [INFO] [stdout] | [INFO] [stdout] 1069 | let mut server = server_ref.read().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/net.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut cache_ref = Arc::get_mut(cache).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cli.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | Err(e) => Err(format_compact!("Error writing to stdout!")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | Err(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/net.rs:686:18 [INFO] [stdout] | [INFO] [stdout] 686 | for (client_id, client) in owned_clients.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | let mut client_ref = Arc::clone(&self.client); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/queue.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | for i in 0..self.tasks.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/scripting.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => Err(format_compact!( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/scripting.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/search.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn string_search_all_captures(input: &str, expr: &str, default: &str) -> CapturedList { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/strings.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SafeClientIDList` is never used [INFO] [stdout] --> src/net.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | type SafeClientIDList = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_ESCAPE_CHAR` is never used [INFO] [stdout] --> src/strings.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const ASCII_ESCAPE_CHAR: char = '\\'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unescape_control` is never used [INFO] [stdout] --> src/strings.rs:421:4 [INFO] [stdout] | [INFO] [stdout] 421 | fn unescape_control(escaped_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `octal_to_byte` is never used [INFO] [stdout] --> src/strings.rs:517:4 [INFO] [stdout] | [INFO] [stdout] 517 | fn octal_to_byte(hoctal_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_to_char` is never used [INFO] [stdout] --> src/strings.rs:532:4 [INFO] [stdout] | [INFO] [stdout] 532 | fn number_to_char(num: &u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `base_ten` should have an upper case name [INFO] [stdout] --> src/maths.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const base_ten: u8= 10; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - const base_ten: u8= 10; [INFO] [stdout] 24 + const BASE_TEN: u8= 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | async fn lock_client_ex(client: &SafeClient) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | async fn lock_client_ex(client: &SafeClient) -> RwLockWriteGuard<'_, RUMClient> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net.rs:266:34 [INFO] [stdout] | [INFO] [stdout] 266 | async fn lock_client(client: &SafeClient) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | async fn lock_client(client: &SafeClient) -> RwLockReadGuard<'_, RUMClient> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:771:27 [INFO] [stdout] | [INFO] [stdout] 771 | let runtime = rumtk_init_threads!(&1); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:895:27 [INFO] [stdout] | [INFO] [stdout] 895 | let runtime = rumtk_init_threads!(&threads); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net.rs:916:17 [INFO] [stdout] | [INFO] [stdout] 916 | rumtk_resolve_task!(&self.runtime, task); [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] 916 | let _ = rumtk_resolve_task!(&self.runtime, task);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let runtime = rumtk_init_threads!(&worker_num); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_cache` should have an upper case name [INFO] [stdout] --> src/search.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | static mut re_cache: RegexCache = new_cache(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 27 - static mut re_cache: RegexCache = new_cache(); [INFO] [stdout] 27 + static mut RE_CACHE: RegexCache = new_cache(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/search.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/search.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 93 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/search.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 128 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rt_cache` should have an upper case name [INFO] [stdout] --> src/threading.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub static mut rt_cache: TokioRtCache = new_cache(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RT_CACHE` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "80b797e5a8a7cd5366626946558a0043fe4655a9aa00ff228e9944b993848a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80b797e5a8a7cd5366626946558a0043fe4655a9aa00ff228e9944b993848a8a", kill_on_drop: false }` [INFO] [stdout] 80b797e5a8a7cd5366626946558a0043fe4655a9aa00ff228e9944b993848a8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59fdfb4d699d05b5d468d7f73278b84f81e01cede6b2402c3f2ddb68fe2e96e9 [INFO] running `Command { std: "docker" "start" "-a" "59fdfb4d699d05b5d468d7f73278b84f81e01cede6b2402c3f2ddb68fe2e96e9", kill_on_drop: false }` [INFO] [stdout] warning: type `SOCKET_READINESS_TYPE` should have an upper camel case name [INFO] [stdout] --> src/net.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | pub enum SOCKET_READINESS_TYPE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SocketReadinessType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `READ_READY` should have an upper camel case name [INFO] [stdout] --> src/net.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | READ_READY, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadReady` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WRITE_READY` should have an upper camel case name [INFO] [stdout] --> src/net.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | WRITE_READY, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `WriteReady` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `READWRITE_READY` should have an upper camel case name [INFO] [stdout] --> src/net.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | READWRITE_READY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadwriteReady` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:773:24 [INFO] [stdout] | [INFO] [stdout] 773 | let args = rumtk_create_task_args!(con); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:788:24 [INFO] [stdout] | [INFO] [stdout] 788 | let args = rumtk_create_task_args!((client_ref, msg)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:797:24 [INFO] [stdout] | [INFO] [stdout] 797 | let args = rumtk_create_task_args!(client_ref); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:804:24 [INFO] [stdout] | [INFO] [stdout] 804 | let args = rumtk_create_task_args!(client_ref); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:897:24 [INFO] [stdout] | [INFO] [stdout] 897 | let args = rumtk_create_task_args!(con); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:913:24 [INFO] [stdout] | [INFO] [stdout] 913 | let args = rumtk_create_task_args!(Arc::clone(&mut self.server)); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:927:24 [INFO] [stdout] | [INFO] [stdout] 927 | let args = rumtk_create_task_args!(Arc::clone(&mut self.server)); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:935:24 [INFO] [stdout] | [INFO] [stdout] 935 | let args = rumtk_create_task_args!(( [INFO] [stdout] | ________________________- [INFO] [stdout] 936 | | Arc::clone(&mut self.server), [INFO] [stdout] 937 | | client_id.clone(), [INFO] [stdout] 938 | | msg.clone() [INFO] [stdout] 939 | | )); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:949:24 [INFO] [stdout] | [INFO] [stdout] 949 | let args = rumtk_create_task_args!((Arc::clone(&mut self.server), client_id.clone())); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:958:24 [INFO] [stdout] | [INFO] [stdout] 958 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:967:24 [INFO] [stdout] | [INFO] [stdout] 967 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:976:24 [INFO] [stdout] | [INFO] [stdout] 976 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:985:24 [INFO] [stdout] | [INFO] [stdout] 985 | let args = rumtk_create_task_args!(Arc::clone(&self.server)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_or_set_from_cache` [INFO] [stdout] --> src/search.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::cache::{get_or_set_from_cache, new_cache, AHashMap, LazyRUMCache}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/strings.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::IntoFuture` [INFO] [stdout] --> src/threading.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use std::future::IntoFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threading::thread_primitives` [INFO] [stdout] --> src/threading.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | use crate::threading::thread_primitives; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threading::thread_primitives::SafeTaskArgs` [INFO] [stdout] --> src/threading.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use crate::threading::thread_primitives::SafeTaskArgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | let mut queue = match queues.get_mut(client) { [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/net.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | let mut queue = match queues.get_mut(client) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:449:21 [INFO] [stdout] | [INFO] [stdout] 449 | let mut reowned_self = ctx.read().await; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut queue = self.tx_out.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:714:17 [INFO] [stdout] | [INFO] [stdout] 714 | let mut queue = match queues.get_mut(client_id) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | let mut client_ref = Arc::clone(client_lock_ref); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:824:17 [INFO] [stdout] | [INFO] [stdout] 824 | let mut client_ref = locked_args.get(0).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:846:17 [INFO] [stdout] | [INFO] [stdout] 846 | let mut client = client_ref.read().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:1069:17 [INFO] [stdout] | [INFO] [stdout] 1069 | let mut server = server_ref.read().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/net.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut cache_ref = Arc::get_mut(cache).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cli.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | Err(e) => Err(format_compact!("Error writing to stdout!")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | Err(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/net.rs:686:18 [INFO] [stdout] | [INFO] [stdout] 686 | for (client_id, client) in owned_clients.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | let mut client_ref = Arc::clone(&self.client); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/queue.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | for i in 0..self.tasks.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/scripting.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => Err(format_compact!( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/scripting.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/search.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn string_search_all_captures(input: &str, expr: &str, default: &str) -> CapturedList { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/strings.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SafeClientIDList` is never used [INFO] [stdout] --> src/net.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | type SafeClientIDList = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_ESCAPE_CHAR` is never used [INFO] [stdout] --> src/strings.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const ASCII_ESCAPE_CHAR: char = '\\'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unescape_control` is never used [INFO] [stdout] --> src/strings.rs:421:4 [INFO] [stdout] | [INFO] [stdout] 421 | fn unescape_control(escaped_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `octal_to_byte` is never used [INFO] [stdout] --> src/strings.rs:517:4 [INFO] [stdout] | [INFO] [stdout] 517 | fn octal_to_byte(hoctal_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_to_char` is never used [INFO] [stdout] --> src/strings.rs:532:4 [INFO] [stdout] | [INFO] [stdout] 532 | fn number_to_char(num: &u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `base_ten` should have an upper case name [INFO] [stdout] --> src/maths.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const base_ten: u8= 10; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - const base_ten: u8= 10; [INFO] [stdout] 24 + const BASE_TEN: u8= 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | async fn lock_client_ex(client: &SafeClient) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | async fn lock_client_ex(client: &SafeClient) -> RwLockWriteGuard<'_, RUMClient> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net.rs:266:34 [INFO] [stdout] | [INFO] [stdout] 266 | async fn lock_client(client: &SafeClient) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | async fn lock_client(client: &SafeClient) -> RwLockReadGuard<'_, RUMClient> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:771:27 [INFO] [stdout] | [INFO] [stdout] 771 | let runtime = rumtk_init_threads!(&1); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rumtk-core v0.9.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:895:27 [INFO] [stdout] | [INFO] [stdout] 895 | let runtime = rumtk_init_threads!(&threads); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net.rs:916:17 [INFO] [stdout] | [INFO] [stdout] 916 | rumtk_resolve_task!(&self.runtime, task); [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] 916 | let _ = rumtk_resolve_task!(&self.runtime, task);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let runtime = rumtk_init_threads!(&worker_num); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_cache` should have an upper case name [INFO] [stdout] --> src/search.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | static mut re_cache: RegexCache = new_cache(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 27 - static mut re_cache: RegexCache = new_cache(); [INFO] [stdout] 27 + static mut RE_CACHE: RegexCache = new_cache(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/search.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/search.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 93 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/search.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 128 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rt_cache` should have an upper case name [INFO] [stdout] --> src/threading.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub static mut rt_cache: TokioRtCache = new_cache(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RT_CACHE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SOCKET_READINESS_TYPE` should have an upper camel case name [INFO] [stdout] --> src/net.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | pub enum SOCKET_READINESS_TYPE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SocketReadinessType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `READ_READY` should have an upper camel case name [INFO] [stdout] --> src/net.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | READ_READY, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadReady` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WRITE_READY` should have an upper camel case name [INFO] [stdout] --> src/net.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | WRITE_READY, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `WriteReady` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `READWRITE_READY` should have an upper camel case name [INFO] [stdout] --> src/net.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | READWRITE_READY, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadwriteReady` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:773:24 [INFO] [stdout] | [INFO] [stdout] 773 | let args = rumtk_create_task_args!(con); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:788:24 [INFO] [stdout] | [INFO] [stdout] 788 | let args = rumtk_create_task_args!((client_ref, msg)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:797:24 [INFO] [stdout] | [INFO] [stdout] 797 | let args = rumtk_create_task_args!(client_ref); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:804:24 [INFO] [stdout] | [INFO] [stdout] 804 | let args = rumtk_create_task_args!(client_ref); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:897:24 [INFO] [stdout] | [INFO] [stdout] 897 | let args = rumtk_create_task_args!(con); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:913:24 [INFO] [stdout] | [INFO] [stdout] 913 | let args = rumtk_create_task_args!(Arc::clone(&mut self.server)); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:927:24 [INFO] [stdout] | [INFO] [stdout] 927 | let args = rumtk_create_task_args!(Arc::clone(&mut self.server)); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:935:24 [INFO] [stdout] | [INFO] [stdout] 935 | let args = rumtk_create_task_args!(( [INFO] [stdout] | ________________________- [INFO] [stdout] 936 | | Arc::clone(&mut self.server), [INFO] [stdout] 937 | | client_id.clone(), [INFO] [stdout] 938 | | msg.clone() [INFO] [stdout] 939 | | )); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:949:24 [INFO] [stdout] | [INFO] [stdout] 949 | let args = rumtk_create_task_args!((Arc::clone(&mut self.server), client_id.clone())); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:958:24 [INFO] [stdout] | [INFO] [stdout] 958 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:967:24 [INFO] [stdout] | [INFO] [stdout] 967 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:976:24 [INFO] [stdout] | [INFO] [stdout] 976 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:985:24 [INFO] [stdout] | [INFO] [stdout] 985 | let args = rumtk_create_task_args!(Arc::clone(&self.server)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_or_set_from_cache` [INFO] [stdout] --> src/search.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::cache::{get_or_set_from_cache, new_cache, AHashMap, LazyRUMCache}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/strings.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::IntoFuture` [INFO] [stdout] --> src/threading.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use std::future::IntoFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threading::thread_primitives` [INFO] [stdout] --> src/threading.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | use crate::threading::thread_primitives; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threading::thread_primitives::SafeTaskArgs` [INFO] [stdout] --> src/threading.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use crate::threading::thread_primitives::SafeTaskArgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer` and `Serializer` [INFO] [stdout] --> src/lib.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::IntoFuture` [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use std::future::IntoFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stdout] --> src/threading.rs:307:56 [INFO] [stdout] | [INFO] [stdout] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:336:25 [INFO] [stdout] | [INFO] [stdout] 336 | let task_args = rumtk_create_task_args!(1, 2, 3); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rumtk_create_task_args` [INFO] [stdout] --> src/threading.rs:435:36 [INFO] [stdout] | [INFO] [stdout] 435 | rumtk_create_task, rumtk_create_task_args, rumtk_init_threads, rumtk_resolve_task, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | let result = rumtk_exec_task!( [INFO] [stdout] | ______________________- [INFO] [stdout] 347 | | async |args: &SafeTaskArgs| -> TaskResult { [INFO] [stdout] 348 | | let owned_args = Arc::clone(args); [INFO] [stdout] 349 | | let lock_future = owned_args.read(); [INFO] [stdout] ... | [INFO] [stdout] 359 | | vec![1, 2, 3] [INFO] [stdout] 360 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_exec_task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threading::threading_functions::sleep` [INFO] [stdout] --> src/lib.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | use crate::threading::threading_functions::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer` and `Serializer` [INFO] [stdout] --> src/lib.rs:663:34 [INFO] [stdout] | [INFO] [stdout] 663 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | let mut queue = match queues.get_mut(client) { [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/net.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | let mut queue = match queues.get_mut(client) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:449:21 [INFO] [stdout] | [INFO] [stdout] 449 | let mut reowned_self = ctx.read().await; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut queue = self.tx_out.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:714:17 [INFO] [stdout] | [INFO] [stdout] 714 | let mut queue = match queues.get_mut(client_id) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | let mut client_ref = Arc::clone(client_lock_ref); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:824:17 [INFO] [stdout] | [INFO] [stdout] 824 | let mut client_ref = locked_args.get(0).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:846:17 [INFO] [stdout] | [INFO] [stdout] 846 | let mut client = client_ref.read().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:1069:17 [INFO] [stdout] | [INFO] [stdout] 1069 | let mut server = server_ref.read().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/net.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut cache_ref = Arc::get_mut(cache).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/cli.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | Err(e) => Err(format_compact!("Error writing to stdout!")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | Err(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/net.rs:686:18 [INFO] [stdout] | [INFO] [stdout] 686 | for (client_id, client) in owned_clients.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:787:17 [INFO] [stdout] | [INFO] [stdout] 787 | let mut client_ref = Arc::clone(&self.client); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/queue.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | for i in 0..self.tasks.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/scripting.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => Err(format_compact!( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/scripting.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/search.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn string_search_all_captures(input: &str, expr: &str, default: &str) -> CapturedList { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/strings.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/lib.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | let rt = rumtk_init_threads!(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | let (ip, port) = rumtk_get_ip_port!(address_info); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:512:14 [INFO] [stdout] | [INFO] [stdout] 512 | let (ip, port) = rumtk_get_ip_port!(address_info); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:544:13 [INFO] [stdout] | [INFO] [stdout] 544 | let mut client = match rumtk_connect!(port) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | let (ip, port) = rumtk_get_ip_port!(address_info); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | let msg = RUMString::from("Hello World!"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/lib.rs:581:13 [INFO] [stdout] | [INFO] [stdout] 581 | let msg = RUMString::from("Hello World!"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:610:14 [INFO] [stdout] | [INFO] [stdout] 610 | let (ip, port) = rumtk_get_ip_port!(address_info); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SafeClientIDList` is never used [INFO] [stdout] --> src/net.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | type SafeClientIDList = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_ESCAPE_CHAR` is never used [INFO] [stdout] --> src/strings.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const ASCII_ESCAPE_CHAR: char = '\\'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unescape_control` is never used [INFO] [stdout] --> src/strings.rs:421:4 [INFO] [stdout] | [INFO] [stdout] 421 | fn unescape_control(escaped_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `octal_to_byte` is never used [INFO] [stdout] --> src/strings.rs:517:4 [INFO] [stdout] | [INFO] [stdout] 517 | fn octal_to_byte(hoctal_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_to_char` is never used [INFO] [stdout] --> src/strings.rs:532:4 [INFO] [stdout] | [INFO] [stdout] 532 | fn number_to_char(num: &u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `base_ten` should have an upper case name [INFO] [stdout] --> src/maths.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const base_ten: u8= 10; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - const base_ten: u8= 10; [INFO] [stdout] 24 + const BASE_TEN: u8= 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | async fn lock_client_ex(client: &SafeClient) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | async fn lock_client_ex(client: &SafeClient) -> RwLockWriteGuard<'_, RUMClient> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net.rs:266:34 [INFO] [stdout] | [INFO] [stdout] 266 | async fn lock_client(client: &SafeClient) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | async fn lock_client(client: &SafeClient) -> RwLockReadGuard<'_, RUMClient> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:771:27 [INFO] [stdout] | [INFO] [stdout] 771 | let runtime = rumtk_init_threads!(&1); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:895:27 [INFO] [stdout] | [INFO] [stdout] 895 | let runtime = rumtk_init_threads!(&threads); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net.rs:916:17 [INFO] [stdout] | [INFO] [stdout] 916 | rumtk_resolve_task!(&self.runtime, task); [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] 916 | let _ = rumtk_resolve_task!(&self.runtime, task);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let runtime = rumtk_init_threads!(&worker_num); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_cache` should have an upper case name [INFO] [stdout] --> src/search.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | static mut re_cache: RegexCache = new_cache(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 27 - static mut re_cache: RegexCache = new_cache(); [INFO] [stdout] 27 + static mut RE_CACHE: RegexCache = new_cache(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/search.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/search.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 93 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/search.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 128 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rt_cache` should have an upper case name [INFO] [stdout] --> src/threading.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub static mut rt_cache: TokioRtCache = new_cache(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RT_CACHE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | &mut rt_cache, [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:299:18 [INFO] [stdout] | [INFO] [stdout] 299 | let rt = rumtk_init_threads!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | &mut rt_cache, [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | let rt = rumtk_init_threads!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | &mut rt_cache, [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:344:18 [INFO] [stdout] | [INFO] [stdout] 344 | let rt = rumtk_init_threads!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threading.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | &mut rt_cache, [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | let result = rumtk_exec_task!( [INFO] [stdout] | ______________________- [INFO] [stdout] 347 | | async |args: &SafeTaskArgs| -> TaskResult { [INFO] [stdout] 348 | | let owned_args = Arc::clone(args); [INFO] [stdout] 349 | | let lock_future = owned_args.read(); [INFO] [stdout] ... | [INFO] [stdout] 359 | | vec![1, 2, 3] [INFO] [stdout] 360 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `rumtk_init_threads` which comes from the expansion of the macro `rumtk_exec_task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.39s [INFO] running `Command { std: "docker" "inspect" "59fdfb4d699d05b5d468d7f73278b84f81e01cede6b2402c3f2ddb68fe2e96e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59fdfb4d699d05b5d468d7f73278b84f81e01cede6b2402c3f2ddb68fe2e96e9", kill_on_drop: false }` [INFO] [stdout] 59fdfb4d699d05b5d468d7f73278b84f81e01cede6b2402c3f2ddb68fe2e96e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45e7612fb9879c13286ca61eb43402742eb7c5f46a464c58ff4ebd0e0310ddec [INFO] running `Command { std: "docker" "start" "-a" "45e7612fb9879c13286ca61eb43402742eb7c5f46a464c58ff4ebd0e0310ddec", kill_on_drop: false }` [INFO] [stderr] warning: type `SOCKET_READINESS_TYPE` should have an upper camel case name [INFO] [stderr] --> src/net.rs:275:14 [INFO] [stderr] | [INFO] [stderr] 275 | pub enum SOCKET_READINESS_TYPE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SocketReadinessType` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `READ_READY` should have an upper camel case name [INFO] [stderr] --> src/net.rs:277:9 [INFO] [stderr] | [INFO] [stderr] 277 | READ_READY, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadReady` [INFO] [stderr] [INFO] [stderr] warning: variant `WRITE_READY` should have an upper camel case name [INFO] [stderr] --> src/net.rs:278:9 [INFO] [stderr] | [INFO] [stderr] 278 | WRITE_READY, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `WriteReady` [INFO] [stderr] [INFO] [stderr] warning: variant `READWRITE_READY` should have an upper camel case name [INFO] [stderr] --> src/net.rs:279:9 [INFO] [stderr] | [INFO] [stderr] 279 | READWRITE_READY, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadwriteReady` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:773:24 [INFO] [stderr] | [INFO] [stderr] 773 | let args = rumtk_create_task_args!(con); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:788:24 [INFO] [stderr] | [INFO] [stderr] 788 | let args = rumtk_create_task_args!((client_ref, msg)); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:797:24 [INFO] [stderr] | [INFO] [stderr] 797 | let args = rumtk_create_task_args!(client_ref); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:804:24 [INFO] [stderr] | [INFO] [stderr] 804 | let args = rumtk_create_task_args!(client_ref); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:897:24 [INFO] [stderr] | [INFO] [stderr] 897 | let args = rumtk_create_task_args!(con); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:913:24 [INFO] [stderr] | [INFO] [stderr] 913 | let args = rumtk_create_task_args!(Arc::clone(&mut self.server)); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:927:24 [INFO] [stderr] | [INFO] [stderr] 927 | let args = rumtk_create_task_args!(Arc::clone(&mut self.server)); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:935:24 [INFO] [stderr] | [INFO] [stderr] 935 | let args = rumtk_create_task_args!(( [INFO] [stderr] | ________________________- [INFO] [stderr] 936 | | Arc::clone(&mut self.server), [INFO] [stderr] 937 | | client_id.clone(), [INFO] [stderr] 938 | | msg.clone() [INFO] [stderr] 939 | | )); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:949:24 [INFO] [stderr] | [INFO] [stderr] 949 | let args = rumtk_create_task_args!((Arc::clone(&mut self.server), client_id.clone())); [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:958:24 [INFO] [stderr] | [INFO] [stderr] 958 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:967:24 [INFO] [stderr] | [INFO] [stderr] 967 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:976:24 [INFO] [stderr] | [INFO] [stderr] 976 | let args = rumtk_create_task_args!((Arc::clone(&self.server))); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:985:24 [INFO] [stderr] | [INFO] [stderr] 985 | let args = rumtk_create_task_args!(Arc::clone(&self.server)); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_or_set_from_cache` [INFO] [stderr] --> src/search.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | use crate::cache::{get_or_set_from_cache, new_cache, AHashMap, LazyRUMCache}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Display` [INFO] [stderr] --> src/strings.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use std::fmt::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::future::IntoFuture` [INFO] [stderr] --> src/threading.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | use std::future::IntoFuture; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::threading::thread_primitives` [INFO] [stderr] --> src/threading.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | use crate::threading::thread_primitives; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::threading::thread_primitives::SafeTaskArgs` [INFO] [stderr] --> src/threading.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | use crate::threading::thread_primitives::SafeTaskArgs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:598:17 [INFO] [stderr] | [INFO] [stderr] 598 | let mut queue = match queues.get_mut(client) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:580:17 [INFO] [stderr] | [INFO] [stderr] 580 | let mut queue = match queues.get_mut(client) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:449:21 [INFO] [stderr] | [INFO] [stderr] 449 | let mut reowned_self = ctx.read().await; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:700:17 [INFO] [stderr] | [INFO] [stderr] 700 | let mut queue = self.tx_out.lock().await; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:714:17 [INFO] [stderr] | [INFO] [stderr] 714 | let mut queue = match queues.get_mut(client_id) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:813:17 [INFO] [stderr] | [INFO] [stderr] 813 | let mut client_ref = Arc::clone(client_lock_ref); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:824:17 [INFO] [stderr] | [INFO] [stderr] 824 | let mut client_ref = locked_args.get(0).unwrap(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:846:17 [INFO] [stderr] | [INFO] [stderr] 846 | let mut client = client_ref.read().await; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:1069:17 [INFO] [stderr] | [INFO] [stderr] 1069 | let mut server = server_ref.read().await; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncReadExt` [INFO] [stderr] --> src/net.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cache.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | let mut cache_ref = Arc::get_mut(cache).unwrap(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/cli.rs:129:17 [INFO] [stderr] | [INFO] [stderr] 129 | Err(e) => Err(format_compact!("Error writing to stdout!")), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/net.rs:327:21 [INFO] [stderr] | [INFO] [stderr] 327 | Err(e) => None, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client_id` [INFO] [stderr] --> src/net.rs:686:18 [INFO] [stderr] | [INFO] [stderr] 686 | for (client_id, client) in owned_clients.iter() { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:787:17 [INFO] [stderr] | [INFO] [stderr] 787 | let mut client_ref = Arc::clone(&self.client); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/queue.rs:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | for i in 0..self.tasks.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/scripting.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | Err(e) => Err(format_compact!( [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/scripting.rs:309:17 [INFO] [stderr] | [INFO] [stderr] 309 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `default` [INFO] [stderr] --> src/search.rs:92:64 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn string_search_all_captures(input: &str, expr: &str, default: &str) -> CapturedList { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/strings.rs:142:13 [INFO] [stderr] | [INFO] [stderr] 142 | for i in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: type alias `SafeClientIDList` is never used [INFO] [stderr] --> src/net.rs:256:10 [INFO] [stderr] | [INFO] [stderr] 256 | type SafeClientIDList = Arc>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `ASCII_ESCAPE_CHAR` is never used [INFO] [stderr] --> src/strings.rs:28:7 [INFO] [stderr] | [INFO] [stderr] 28 | const ASCII_ESCAPE_CHAR: char = '\\'; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `unescape_control` is never used [INFO] [stderr] --> src/strings.rs:421:4 [INFO] [stderr] | [INFO] [stderr] 421 | fn unescape_control(escaped_str: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `octal_to_byte` is never used [INFO] [stderr] --> src/strings.rs:517:4 [INFO] [stderr] | [INFO] [stderr] 517 | fn octal_to_byte(hoctal_str: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `number_to_char` is never used [INFO] [stderr] --> src/strings.rs:532:4 [INFO] [stderr] | [INFO] [stderr] 532 | fn number_to_char(num: &u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `base_ten` should have an upper case name [INFO] [stderr] --> src/maths.rs:24:7 [INFO] [stderr] | [INFO] [stderr] 24 | const base_ten: u8= 10; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 24 - const base_ten: u8= 10; [INFO] [stderr] 24 + const BASE_TEN: u8= 10; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/net.rs:261:37 [INFO] [stderr] | [INFO] [stderr] 261 | async fn lock_client_ex(client: &SafeClient) -> RwLockWriteGuard { [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 261 | async fn lock_client_ex(client: &SafeClient) -> RwLockWriteGuard<'_, RUMClient> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/net.rs:266:34 [INFO] [stderr] | [INFO] [stderr] 266 | async fn lock_client(client: &SafeClient) -> RwLockReadGuard { [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 266 | async fn lock_client(client: &SafeClient) -> RwLockReadGuard<'_, RUMClient> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/threading.rs:186:46 [INFO] [stderr] | [INFO] [stderr] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stderr] | ^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:771:27 [INFO] [stderr] | [INFO] [stderr] 771 | let runtime = rumtk_init_threads!(&1); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/threading.rs:186:46 [INFO] [stderr] | [INFO] [stderr] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stderr] | ^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/net.rs:895:27 [INFO] [stderr] | [INFO] [stderr] 895 | let runtime = rumtk_init_threads!(&threads); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/net.rs:916:17 [INFO] [stderr] | [INFO] [stderr] 916 | rumtk_resolve_task!(&self.runtime, task); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 916 | let _ = rumtk_resolve_task!(&self.runtime, task);; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/threading.rs:186:46 [INFO] [stderr] | [INFO] [stderr] 186 | let rt = rumtk_cache_fetch!(&mut rt_cache, $threads, init_cache); [INFO] [stderr] | ^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/queue.rs:60:27 [INFO] [stderr] | [INFO] [stderr] 60 | let runtime = rumtk_init_threads!(&worker_num); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: static variable `re_cache` should have an upper case name [INFO] [stderr] --> src/search.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | static mut re_cache: RegexCache = new_cache(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 27 - static mut re_cache: RegexCache = new_cache(); [INFO] [stderr] 27 + static mut RE_CACHE: RegexCache = new_cache(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/search.rs:50:37 [INFO] [stderr] | [INFO] [stderr] 50 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 50 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/search.rs:93:37 [INFO] [stderr] | [INFO] [stderr] 93 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 93 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/search.rs:128:37 [INFO] [stderr] | [INFO] [stderr] 128 | let re = rumtk_cache_fetch!(&mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 128 | let re = rumtk_cache_fetch!(&raw mut re_cache, &RUMString::from(expr), compile_regex); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: static variable `rt_cache` should have an upper case name [INFO] [stderr] --> src/threading.rs:34:20 [INFO] [stderr] | [INFO] [stderr] 34 | pub static mut rt_cache: TokioRtCache = new_cache(); [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `RT_CACHE` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserializer` and `Serializer` [INFO] [stderr] --> src/lib.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::to_string` [INFO] [stderr] --> src/lib.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | use serde_json::to_string; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::future::IntoFuture` [INFO] [stderr] --> src/lib.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | use std::future::IntoFuture; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskArgs` and `TaskItems` [INFO] [stderr] --> src/threading.rs:307:56 [INFO] [stderr] | [INFO] [stderr] 307 | use $crate::threading::thread_primitives::{TaskArgs, SafeTaskArgs, TaskItems}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:336:25 [INFO] [stderr] | [INFO] [stderr] 336 | let task_args = rumtk_create_task_args!(1, 2, 3); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_create_task_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `rumtk_create_task_args` [INFO] [stderr] --> src/threading.rs:435:36 [INFO] [stderr] | [INFO] [stderr] 435 | rumtk_create_task, rumtk_create_task_args, rumtk_init_threads, rumtk_resolve_task, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:346:22 [INFO] [stderr] | [INFO] [stderr] 346 | let result = rumtk_exec_task!( [INFO] [stderr] | ______________________- [INFO] [stderr] 347 | | async |args: &SafeTaskArgs| -> TaskResult { [INFO] [stderr] 348 | | let owned_args = Arc::clone(args); [INFO] [stderr] 349 | | let lock_future = owned_args.read(); [INFO] [stderr] ... | [INFO] [stderr] 359 | | vec![1, 2, 3] [INFO] [stderr] 360 | | ) [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `rumtk_exec_task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::threading::threading_functions::sleep` [INFO] [stderr] --> src/lib.rs:408:9 [INFO] [stderr] | [INFO] [stderr] 408 | use crate::threading::threading_functions::sleep; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserializer` and `Serializer` [INFO] [stderr] --> src/lib.rs:663:34 [INFO] [stderr] | [INFO] [stderr] 663 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rt` [INFO] [stderr] --> src/lib.rs:344:13 [INFO] [stderr] | [INFO] [stderr] 344 | let rt = rumtk_init_threads!(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ip` [INFO] [stderr] --> src/lib.rs:474:14 [INFO] [stderr] | [INFO] [stderr] 474 | let (ip, port) = rumtk_get_ip_port!(address_info); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ip` [INFO] [stderr] --> src/lib.rs:512:14 [INFO] [stderr] | [INFO] [stderr] 512 | let (ip, port) = rumtk_get_ip_port!(address_info); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:544:13 [INFO] [stderr] | [INFO] [stderr] 544 | let mut client = match rumtk_connect!(port) { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ip` [INFO] [stderr] --> src/lib.rs:541:14 [INFO] [stderr] | [INFO] [stderr] 541 | let (ip, port) = rumtk_get_ip_port!(address_info); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/lib.rs:562:13 [INFO] [stderr] | [INFO] [stderr] 562 | let msg = RUMString::from("Hello World!"); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/lib.rs:581:13 [INFO] [stderr] | [INFO] [stderr] 581 | let msg = RUMString::from("Hello World!"); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ip` [INFO] [stderr] --> src/lib.rs:610:14 [INFO] [stderr] | [INFO] [stderr] 610 | let (ip, port) = rumtk_get_ip_port!(address_info); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/threading.rs:177:22 [INFO] [stderr] | [INFO] [stderr] 177 | &mut rt_cache, [INFO] [stderr] | ^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:299:18 [INFO] [stderr] | [INFO] [stderr] 299 | let rt = rumtk_init_threads!(); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/threading.rs:177:22 [INFO] [stderr] | [INFO] [stderr] 177 | &mut rt_cache, [INFO] [stderr] | ^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:322:18 [INFO] [stderr] | [INFO] [stderr] 322 | let rt = rumtk_init_threads!(); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/threading.rs:177:22 [INFO] [stderr] | [INFO] [stderr] 177 | &mut rt_cache, [INFO] [stderr] | ^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:344:18 [INFO] [stderr] | [INFO] [stderr] 344 | let rt = rumtk_init_threads!(); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `rumtk_init_threads` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/threading.rs:177:22 [INFO] [stderr] | [INFO] [stderr] 177 | &mut rt_cache, [INFO] [stderr] | ^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:346:22 [INFO] [stderr] | [INFO] [stderr] 346 | let result = rumtk_exec_task!( [INFO] [stderr] | ______________________- [INFO] [stderr] 347 | | async |args: &SafeTaskArgs| -> TaskResult { [INFO] [stderr] 348 | | let owned_args = Arc::clone(args); [INFO] [stderr] 349 | | let lock_future = owned_args.read(); [INFO] [stderr] ... | [INFO] [stderr] 359 | | vec![1, 2, 3] [INFO] [stderr] 360 | | ) [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `rumtk_init_threads` which comes from the expansion of the macro `rumtk_exec_task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rumtk-core` (lib) generated 59 warnings (run `cargo fix --lib -p rumtk-core` to apply 41 suggestions) [INFO] [stderr] warning: `rumtk-core` (lib test) generated 78 warnings (59 duplicates) (run `cargo fix --lib -p rumtk-core --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rumtk_core-96172904f848a45a) [INFO] [stdout] [INFO] [stdout] running 36 tests [INFO] [stdout] test tests::test_clamp_index_positive_index ... ok [INFO] [stdout] test tests::test_autodecode_utf8 ... ok [INFO] [stdout] test tests::test_decode ... ok [INFO] [stdout] test tests::test_clamp_index_reverse_index ... ok [INFO] [stdout] test tests::test_default_num_threads ... ok [INFO] [stdout] test tests::test_deserialize_serde_json ... ok [INFO] [stdout] test tests::test_deserialize_json ... ok [INFO] [stdout] test tests::test_escaping_control ... ok [INFO] [stdout] test tests::test_escaping_unicode ... ok [INFO] [stdout] test tests::test_escaping_string ... ok [INFO] [stdout] test tests::test_is_unescaped_string ... ok [INFO] [stdout] test tests::test_is_escaped_str ... ok [INFO] [stdout] test tests::test_autodecode_other ... ok [INFO] [stdout] test tests::test_is_escaped_string ... ok [INFO] [stdout] test tests::test_non_unique_string ... ok [INFO] [stdout] test tests::test_execute_job ... ok [INFO] [stdout] test tests::test_execute_job_macros_one_line ... ok [INFO] [stdout] test tests::test_print_license_notice ... ok [INFO] [stdout] test tests::test_search_string_letters ... ok [INFO] [stdout] test tests::test_serialize_json ... ok [INFO] [stdout] test tests::test_queue_data ... ok [INFO] [stdout] test tests::test_rumcache_insertion ... ok [INFO] [stdout] test tests::test_search_string_words ... ok [INFO] [stdout] test tests::test_execute_job_macros ... ok [INFO] [stdout] test tests::test_server_start ... ok [INFO] [stdout] test tests::test_server_get_address_info ... FAILED [INFO] [stdout] test tests::test_unescaping_string ... ok [INFO] [stdout] test tests::test_unescaping_unicode ... ok [INFO] [stdout] test tests::test_unique_string ... ok [INFO] [stdout] test tests::test_search_string_named_groups ... ok [INFO] [stdout] test tests::test_search_string_all_groups ... ok [INFO] [stdout] test tests::test_server_stop ... ok [INFO] [stdout] test tests::test_server_receive ... ok [INFO] [stdout] test tests::test_server_get_clients ... FAILED [INFO] [stdout] test tests::test_server_send ... ok [INFO] [stdout] test tests::test_client_send ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_server_get_address_info stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_server_get_address_info' (80) panicked at src/lib.rs:584:23: [INFO] [stdout] Failed to create server because Unable to bind to localhost:0 because A Tokio 1.x context was found, but it is being shutdown. [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58834d02dc52 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58834d02dc52 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58834d02dc52 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58834d02dc52 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58834d04007f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58834d04007f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x58834cffa193 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58834cffa193 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x58834d006ca2 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x58834d00bb4f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x58834d00b9e1 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x58834cbe2fee - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x58834cbe2fee - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58834d00c20f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x58834d00c20f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x58834d00bfba - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x58834d006dd9 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x58834cfeea2d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x58834d049bb0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58834cbb1510 - rumtk_core::tests::test_server_get_address_info::hc792bb096c71bbb8 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:584:23 [INFO] [stdout] 20: 0x58834cbb1547 - rumtk_core::tests::test_server_get_address_info::{{closure}}::h3519da864fc3b2dd [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:580:38 [INFO] [stdout] 21: 0x58834cad4ae6 - core::ops::function::FnOnce::call_once::haa77771f3300ac90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x58834cbe2e3b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x58834cbe2e3b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x58834cbf6e4d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x58834cbf6e4d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 26: 0x58834cbf6e4d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 27: 0x58834cbf6e4d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 28: 0x58834cbf6e4d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x58834cbf6e4d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x58834cbf6e4d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x58834cbd0394 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x58834cbd0394 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 33: 0x58834cbd3cca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 34: 0x58834cbd3cca - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 35: 0x58834cbd3cca - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 36: 0x58834cbd3cca - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 37: 0x58834cbd3cca - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x58834cbd3cca - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 39: 0x58834cbd3cca - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x58834d0021df - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 41: 0x58834d0021df - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 42: 0x708260645aa4 - [INFO] [stdout] 43: 0x7082606d2a64 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_server_get_clients stdout ---- [INFO] [stdout] Sleeping [INFO] [stdout] [INFO] [stdout] thread 'tests::test_server_get_clients' (81) panicked at src/lib.rs:551:49: [INFO] [stdout] Expected client to have connected! [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58834d02dc52 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58834d02dc52 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58834d02dc52 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58834d02dc52 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58834d04007f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58834d04007f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x58834cffa193 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58834cffa193 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x58834d006ca2 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x58834d00bb4f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x58834d00b9e1 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x58834cbe2fee - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x58834cbe2fee - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58834d00c20f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x58834d00c20f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x58834d00bfba - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x58834d006dd9 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x58834cfeea2d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x58834d049bb0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58834d048aeb - core::panicking::panic_display::he03706704e11228d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:264:5 [INFO] [stdout] 20: 0x58834d048aeb - core::option::expect_failed::h93f7d068e0e46bec [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:2183:5 [INFO] [stdout] 21: 0x58834cb7d1c0 - core::option::Option::expect::h18132323cf8c06d1 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:970:21 [INFO] [stdout] 22: 0x58834cbaf797 - rumtk_core::tests::test_server_get_clients::h4557cb94e0c72d51 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:551:49 [INFO] [stdout] 23: 0x58834cbafb47 - rumtk_core::tests::test_server_get_clients::{{closure}}::hf8b88029b6b7bb72 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:531:33 [INFO] [stdout] 24: 0x58834cad5106 - core::ops::function::FnOnce::call_once::hc2544a5df4259561 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58834cbe2e3b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58834cbe2e3b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58834cbf6e4d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58834cbf6e4d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x58834cbf6e4d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x58834cbf6e4d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x58834cbf6e4d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58834cbf6e4d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58834cbf6e4d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58834cbd0394 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58834cbd0394 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x58834cbd3cca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 37: 0x58834cbd3cca - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x58834cbd3cca - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x58834cbd3cca - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x58834cbd3cca - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58834cbd3cca - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 42: 0x58834cbd3cca - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58834d0021df - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 44: 0x58834d0021df - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 45: 0x708260645aa4 - [INFO] [stdout] 46: 0x7082606d2a64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_server_get_address_info [INFO] [stdout] tests::test_server_get_clients [INFO] [stdout] [INFO] [stdout] test result: FAILED. 34 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "45e7612fb9879c13286ca61eb43402742eb7c5f46a464c58ff4ebd0e0310ddec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e7612fb9879c13286ca61eb43402742eb7c5f46a464c58ff4ebd0e0310ddec", kill_on_drop: false }` [INFO] [stdout] 45e7612fb9879c13286ca61eb43402742eb7c5f46a464c58ff4ebd0e0310ddec