[INFO] fetching crate rumtk-core 0.9.4... [INFO] testing rumtk-core-0.9.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rumtk-core 0.9.4 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rumtk-core 0.9.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.12.0 [INFO] [stderr] Downloaded pyo3-build-config v0.27.1 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded chardetng v0.1.17 [INFO] [stderr] Downloaded pyo3-ffi v0.27.1 [INFO] [stderr] Downloaded uuid-macro-internal v1.12.1 [INFO] [stderr] Downloaded clap_derive v4.5.32 [INFO] [stderr] Downloaded pyo3-macros-backend v0.27.1 [INFO] [stderr] Downloaded pyo3-macros v0.27.1 [INFO] [stderr] Downloaded bitflags v2.7.0 [INFO] [stderr] Downloaded pyo3 v0.27.1 [INFO] [stderr] Downloaded bytes v1.9.0 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5267b2f12ee6234eba4db1eb8715dca081dfda19560eca393d02a7e5a13012ce [INFO] running `Command { std: "docker" "start" "-a" "5267b2f12ee6234eba4db1eb8715dca081dfda19560eca393d02a7e5a13012ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5267b2f12ee6234eba4db1eb8715dca081dfda19560eca393d02a7e5a13012ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5267b2f12ee6234eba4db1eb8715dca081dfda19560eca393d02a7e5a13012ce", kill_on_drop: false }` [INFO] [stdout] 5267b2f12ee6234eba4db1eb8715dca081dfda19560eca393d02a7e5a13012ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 101d0b1732faf8b5381d12f913761d621d42775cbcd9c8eb5c2c238afeb79322 [INFO] running `Command { std: "docker" "start" "-a" "101d0b1732faf8b5381d12f913761d621d42775cbcd9c8eb5c2c238afeb79322", 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 heck v0.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling byteorder v1.5.0 [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 serde_json v1.0.145 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [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 syn v2.0.96 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling uuid-macro-internal v1.12.1 [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 rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling pyo3-macros v0.27.1 [INFO] [stderr] Compiling uuid v1.12.0 [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" "101d0b1732faf8b5381d12f913761d621d42775cbcd9c8eb5c2c238afeb79322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101d0b1732faf8b5381d12f913761d621d42775cbcd9c8eb5c2c238afeb79322", kill_on_drop: false }` [INFO] [stdout] 101d0b1732faf8b5381d12f913761d621d42775cbcd9c8eb5c2c238afeb79322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b079097b730b39f2d39aafcb55ad7914cd479e88c4f9571c0990c62b7a36419 [INFO] running `Command { std: "docker" "start" "-a" "9b079097b730b39f2d39aafcb55ad7914cd479e88c4f9571c0990c62b7a36419", 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] [stderr] Compiling rumtk-core v0.9.4 (/opt/rustwide/workdir) [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: 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 7.27s [INFO] running `Command { std: "docker" "inspect" "9b079097b730b39f2d39aafcb55ad7914cd479e88c4f9571c0990c62b7a36419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b079097b730b39f2d39aafcb55ad7914cd479e88c4f9571c0990c62b7a36419", kill_on_drop: false }` [INFO] [stdout] 9b079097b730b39f2d39aafcb55ad7914cd479e88c4f9571c0990c62b7a36419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fa4f099d77e9b144b8ae17f543b0c713ad3f7ccc1422071f373b675f3f727766 [INFO] running `Command { std: "docker" "start" "-a" "fa4f099d77e9b144b8ae17f543b0c713ad3f7ccc1422071f373b675f3f727766", 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.20s [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_autodecode_other ... ok [INFO] [stdout] test tests::test_autodecode_utf8 ... ok [INFO] [stdout] test tests::test_clamp_index_reverse_index ... ok [INFO] [stdout] test tests::test_clamp_index_positive_index ... ok [INFO] [stdout] test tests::test_deserialize_json ... ok [INFO] [stdout] test tests::test_deserialize_serde_json ... ok [INFO] [stdout] test tests::test_escaping_control ... ok [INFO] [stdout] test tests::test_escaping_unicode ... ok [INFO] [stdout] test tests::test_is_escaped_str ... ok [INFO] [stdout] test tests::test_is_escaped_string ... ok [INFO] [stdout] test tests::test_is_unescaped_string ... ok [INFO] [stdout] test tests::test_non_unique_string ... ok [INFO] [stdout] test tests::test_escaping_string ... ok [INFO] [stdout] test tests::test_decode ... ok [INFO] [stdout] test tests::test_print_license_notice ... ok [INFO] [stdout] test tests::test_default_num_threads ... ok [INFO] [stdout] test tests::test_rumcache_insertion ... ok [INFO] [stdout] test tests::test_execute_job ... ok [INFO] [stdout] test tests::test_queue_data ... ok [INFO] [stdout] test tests::test_serialize_json ... ok [INFO] [stdout] test tests::test_execute_job_macros ... ok [INFO] [stdout] test tests::test_search_string_words ... ok [INFO] [stdout] test tests::test_search_string_letters ... ok [INFO] [stdout] test tests::test_execute_job_macros_one_line ... ok [INFO] [stdout] test tests::test_server_start ... ok [INFO] [stdout] test tests::test_search_string_all_groups ... ok [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_server_get_address_info ... FAILED [INFO] [stdout] test tests::test_search_string_named_groups ... ok [INFO] [stdout] test tests::test_server_stop ... ok [INFO] [stdout] test tests::test_server_get_clients ... FAILED [INFO] [stdout] test tests::test_server_receive ... ok [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' (79) 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: 0x5fe031c677d2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5fe031c677d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5fe031c677d2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5fe031c677d2 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5fe031c79bff - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5fe031c79bff - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5fe031c33f73 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5fe031c33f73 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5fe031c40822 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5fe031c456cf - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5fe031c45561 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5fe03182280e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5fe03182280e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5fe031c45d8f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5fe031c45d8f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5fe031c45b3a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5fe031c40959 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5fe031c285ad - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5fe031c83730 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5fe0317f0de0 - rumtk_core::tests::test_server_get_address_info::h127431cbead8f7c0 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:584:23 [INFO] [stdout] 20: 0x5fe0317f0e17 - rumtk_core::tests::test_server_get_address_info::{{closure}}::h502c11bad8ea564f [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:580:38 [INFO] [stdout] 21: 0x5fe031714d06 - core::ops::function::FnOnce::call_once::hd3681d563696e0fa [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5fe03182267b - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5fe03182267b - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x5fe03183666d - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x5fe03183666d - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 26: 0x5fe03183666d - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 27: 0x5fe03183666d - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 28: 0x5fe03183666d - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x5fe03183666d - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x5fe03183666d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x5fe03180fbb4 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x5fe03180fbb4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 33: 0x5fe03181340a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 34: 0x5fe03181340a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 35: 0x5fe03181340a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 36: 0x5fe03181340a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 37: 0x5fe03181340a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x5fe03181340a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 39: 0x5fe03181340a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5fe031c3bd5f - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 41: 0x5fe031c3bd5f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 42: 0x7192c3883aa4 - [INFO] [stdout] 43: 0x7192c3910a64 - 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' (80) panicked at src/lib.rs:551:49: [INFO] [stdout] Expected client to have connected! [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5fe031c677d2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5fe031c677d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5fe031c677d2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5fe031c677d2 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5fe031c79bff - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5fe031c79bff - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5fe031c33f73 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5fe031c33f73 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5fe031c40822 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5fe031c456cf - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5fe031c45561 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5fe03182280e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5fe03182280e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5fe031c45d8f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5fe031c45d8f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5fe031c45b3a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5fe031c40959 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5fe031c285ad - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5fe031c83730 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5fe031c8266b - core::panicking::panic_display::hd372a17ab5653cf6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:264:5 [INFO] [stdout] 20: 0x5fe031c8266b - core::option::expect_failed::he36df99dc8c76191 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/option.rs:2183:5 [INFO] [stdout] 21: 0x5fe0317ce670 - core::option::Option::expect::hc2192addd229d0b1 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/option.rs:970:21 [INFO] [stdout] 22: 0x5fe0317ef067 - rumtk_core::tests::test_server_get_clients::h72449bd2512d4c2d [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:551:49 [INFO] [stdout] 23: 0x5fe0317ef417 - rumtk_core::tests::test_server_get_clients::{{closure}}::hbcfd1870adb569d0 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:531:33 [INFO] [stdout] 24: 0x5fe031713dd6 - core::ops::function::FnOnce::call_once::h89c0dd6934fcd514 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5fe03182267b - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5fe03182267b - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5fe03183666d - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5fe03183666d - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5fe03183666d - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5fe03183666d - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5fe03183666d - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5fe03183666d - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5fe03183666d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5fe03180fbb4 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5fe03180fbb4 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5fe03181340a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 37: 0x5fe03181340a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5fe03181340a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5fe03181340a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5fe03181340a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5fe03181340a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 42: 0x5fe03181340a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5fe031c3bd5f - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 44: 0x5fe031c3bd5f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 45: 0x7192c3883aa4 - [INFO] [stdout] 46: 0x7192c3910a64 - 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.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "fa4f099d77e9b144b8ae17f543b0c713ad3f7ccc1422071f373b675f3f727766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa4f099d77e9b144b8ae17f543b0c713ad3f7ccc1422071f373b675f3f727766", kill_on_drop: false }` [INFO] [stdout] fa4f099d77e9b144b8ae17f543b0c713ad3f7ccc1422071f373b675f3f727766