[INFO] cloning repository https://github.com/nilehmann/mini-jazz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilehmann/mini-jazz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilehmann%2Fmini-jazz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilehmann%2Fmini-jazz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6f2178d404d84c1cc5a8c2c8dd86e71bbc729ee [INFO] checking nilehmann/mini-jazz against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilehmann%2Fmini-jazz" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nilehmann/mini-jazz on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-14/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/nilehmann/mini-jazz [INFO] finished tweaking git repo https://github.com/nilehmann/mini-jazz [INFO] tweaked toml for git repo https://github.com/nilehmann/mini-jazz written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/nilehmann/mini-jazz already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 251aee5b518db9fc0c6d9b1ac4d847e9f9e2ce6f96c8a4d509126b4efc4b9e01 [INFO] running `Command { std: "docker" "start" "-a" "251aee5b518db9fc0c6d9b1ac4d847e9f9e2ce6f96c8a4d509126b4efc4b9e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "251aee5b518db9fc0c6d9b1ac4d847e9f9e2ce6f96c8a4d509126b4efc4b9e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "251aee5b518db9fc0c6d9b1ac4d847e9f9e2ce6f96c8a4d509126b4efc4b9e01", kill_on_drop: false }` [INFO] [stdout] 251aee5b518db9fc0c6d9b1ac4d847e9f9e2ce6f96c8a4d509126b4efc4b9e01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6fd2e93a1e5e83412178bb47e45aaaeceede7cc4488f88b61feb5f86cc66c9f [INFO] running `Command { std: "docker" "start" "-a" "b6fd2e93a1e5e83412178bb47e45aaaeceede7cc4488f88b61feb5f86cc66c9f", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rmp-serde v0.15.5 [INFO] [stderr] Checking jazz v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/actor.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn init(&self, cx: &mut Context) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/client_server.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle(&self, cx: &mut Context, env: (), msg: ServerResponse) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/client_server.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle(&self, cx: &mut Context, env: (), msg: ServerResponse) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/client_server.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | fn handle(&self, cx: &mut Context, Double { callback, n }: Double) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/database.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_resource(&self, key: &str) -> DbResult> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/database.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn update_resource(&mut self, key: String, value: V) -> DbResult [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/database.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn update_resource(&mut self, key: String, value: V) -> DbResult [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/dispatcher.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn create_callback_with_env(&mut self, env: A::Env) -> CallbackId [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/dispatcher.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn call(&self, args: M) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/global_storage.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn has_any(&self, key: &str) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_id` [INFO] [stdout] --> src/log.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | actor_id: AnyActorId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/log.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | idx: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/log.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | from: AnyActorId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/log.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | to: AnyActorId, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/log.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | msg: AnyMessage, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/runtime.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let result = actor.run_init(&self.table, &mut self.db); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `done` [INFO] [stdout] --> src/runtime.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let mut done = true; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> src/runtime.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | for actor in self.actors.values_mut() {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/actor.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn init(&self, cx: &mut Context) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/client_server.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle(&self, cx: &mut Context, env: (), msg: ServerResponse) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/client_server.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle(&self, cx: &mut Context, env: (), msg: ServerResponse) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/client_server.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | fn handle(&self, cx: &mut Context, Double { callback, n }: Double) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/database.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_resource(&self, key: &str) -> DbResult> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/database.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn update_resource(&mut self, key: String, value: V) -> DbResult [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/database.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn update_resource(&mut self, key: String, value: V) -> DbResult [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/dispatcher.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn create_callback_with_env(&mut self, env: A::Env) -> CallbackId [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/dispatcher.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn call(&self, args: M) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/global_storage.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn has_any(&self, key: &str) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_id` [INFO] [stdout] --> src/log.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | actor_id: AnyActorId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/log.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | idx: u32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/log.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | from: AnyActorId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/log.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | to: AnyActorId, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/log.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | msg: AnyMessage, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/runtime.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let result = actor.run_init(&self.table, &mut self.db); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `done` [INFO] [stdout] --> src/runtime.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let mut done = true; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> src/runtime.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | for actor in self.actors.values_mut() {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut done = true; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut cx = AnyContext::new(self.id, db, &mut self.cache); [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/runtime.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut cx = AnyContext::new(self.id, db, &mut self.cache); [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/runtime.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut done = true; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut cx = AnyContext::new(self.id, db, &mut self.cache); [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/runtime.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut cx = AnyContext::new(self.id, db, &mut self.cache); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name_for` [INFO] [stdout] --> src/actor.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn name_for() -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn new(value: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downcast` [INFO] [stdout] --> src/actor.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn downcast(&self) -> Option> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/client_server.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | n: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Effects` [INFO] [stdout] --> src/context.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Effects { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AnyContext` [INFO] [stdout] --> src/context.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AnyContext<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/context.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_effects` [INFO] [stdout] --> src/context.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn into_effects(self) -> Effects { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/context.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(id: AnyActorId, db: &'a Database, cache: &'a mut GlobalStorageCache) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downcast` [INFO] [stdout] --> src/context.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn downcast(self) -> Option> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Bytes` [INFO] [stdout] --> src/database.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Bytes = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_resource` [INFO] [stdout] --> src/database.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn update_resource(&mut self, key: String, value: V) -> DbResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dispatcher.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AnyHandler` [INFO] [stdout] --> src/dyn_table.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub type AnyHandler = [INFO] [stdout] 11 | | dyn Fn(&dyn Any, AnyContext, AnyMessage) -> DispatchResult + RefUnwindSafe; [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AnyInit` [INFO] [stdout] --> src/dyn_table.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub type AnyInit = dyn Fn(&dyn Any, AnyContext) -> DispatchResult + RefUnwindSafe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DynTable` [INFO] [stdout] --> src/dyn_table.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct DynTable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DispatchResult` [INFO] [stdout] --> src/dyn_table.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub type DispatchResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DispatchError` [INFO] [stdout] --> src/dyn_table.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum DispatchError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dyn_table.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_registered` [INFO] [stdout] --> src/dyn_table.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn is_registered(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_handler` [INFO] [stdout] --> src/dyn_table.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn register_handler(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_actor` [INFO] [stdout] --> src/dyn_table.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn register_actor(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispatch_init` [INFO] [stdout] --> src/dyn_table.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn dispatch_init( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispatch_handler` [INFO] [stdout] --> src/dyn_table.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn dispatch_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `RuntimeError` [INFO] [stdout] --> src/errors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `RuntimeResult` [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub type RuntimeResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Db` [INFO] [stdout] --> src/global_storage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Db(DbError), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Deleted` [INFO] [stdout] --> src/global_storage.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Deleted, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/global_storage.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(db: &'a Database, cache: &'a mut GlobalStorageCache) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_any` [INFO] [stdout] --> src/global_storage.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn has_any(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/global_storage.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn remove(&mut self, key: K) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/global_storage.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/global_storage.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get(&self, key: &str) -> Option<&V> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name_for` [INFO] [stdout] --> src/message.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn name_for() -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes` [INFO] [stdout] --> src/message.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | bytes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downcast` [INFO] [stdout] --> src/message.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn downcast(&self) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ActorData` [INFO] [stdout] --> src/runtime.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ActorData [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Runtime` [INFO] [stdout] --> src/runtime.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Runtime [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/runtime.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(db: Database) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_actor` [INFO] [stdout] --> src/runtime.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn register_actor(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_handler` [INFO] [stdout] --> src/runtime.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn register_handler(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_actor` [INFO] [stdout] --> src/runtime.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_actor(&mut self, actor: A, log: L) -> PersistentActorId [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/runtime.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_step` [INFO] [stdout] --> src/runtime.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | async fn do_step(&mut self, log: &mut L, actor_id: AnyActorId) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `RuntimeError` [INFO] [stdout] --> src/runtime.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 112 | enum RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/runtime.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn new(id: AnyActorId, actor: Box, log: L) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_init` [INFO] [stdout] --> src/runtime.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn run_init(&mut self, table: &DynTable, db: &Database) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_handler` [INFO] [stdout] --> src/runtime.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn run_handler( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `catch_unwind_and_dispatch_errors` [INFO] [stdout] --> src/runtime.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn catch_unwind_and_dispatch_errors(f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_thing` [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn do_thing(mut runtime: Runtime) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name_for` [INFO] [stdout] --> src/actor.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn name_for() -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn new(value: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downcast` [INFO] [stdout] --> src/actor.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn downcast(&self) -> Option> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/client_server.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | n: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Effects` [INFO] [stdout] --> src/context.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Effects { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AnyContext` [INFO] [stdout] --> src/context.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AnyContext<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/context.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_effects` [INFO] [stdout] --> src/context.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn into_effects(self) -> Effects { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/context.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(id: AnyActorId, db: &'a Database, cache: &'a mut GlobalStorageCache) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downcast` [INFO] [stdout] --> src/context.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn downcast(self) -> Option> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Bytes` [INFO] [stdout] --> src/database.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Bytes = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_resource` [INFO] [stdout] --> src/database.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn update_resource(&mut self, key: String, value: V) -> DbResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dispatcher.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AnyHandler` [INFO] [stdout] --> src/dyn_table.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub type AnyHandler = [INFO] [stdout] 11 | | dyn Fn(&dyn Any, AnyContext, AnyMessage) -> DispatchResult + RefUnwindSafe; [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AnyInit` [INFO] [stdout] --> src/dyn_table.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub type AnyInit = dyn Fn(&dyn Any, AnyContext) -> DispatchResult + RefUnwindSafe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DynTable` [INFO] [stdout] --> src/dyn_table.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct DynTable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DispatchResult` [INFO] [stdout] --> src/dyn_table.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub type DispatchResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DispatchError` [INFO] [stdout] --> src/dyn_table.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum DispatchError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dyn_table.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_registered` [INFO] [stdout] --> src/dyn_table.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn is_registered(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_handler` [INFO] [stdout] --> src/dyn_table.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn register_handler(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_actor` [INFO] [stdout] --> src/dyn_table.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn register_actor(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispatch_init` [INFO] [stdout] --> src/dyn_table.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn dispatch_init( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dispatch_handler` [INFO] [stdout] --> src/dyn_table.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn dispatch_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `RuntimeError` [INFO] [stdout] --> src/errors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `RuntimeResult` [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub type RuntimeResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Db` [INFO] [stdout] --> src/global_storage.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Db(DbError), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Deleted` [INFO] [stdout] --> src/global_storage.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Deleted, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/global_storage.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(db: &'a Database, cache: &'a mut GlobalStorageCache) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_any` [INFO] [stdout] --> src/global_storage.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn has_any(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/global_storage.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn remove(&mut self, key: K) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/global_storage.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/global_storage.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get(&self, key: &str) -> Option<&V> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name_for` [INFO] [stdout] --> src/message.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn name_for() -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes` [INFO] [stdout] --> src/message.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | bytes: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downcast` [INFO] [stdout] --> src/message.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn downcast(&self) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ActorData` [INFO] [stdout] --> src/runtime.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ActorData [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Runtime` [INFO] [stdout] --> src/runtime.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Runtime [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/runtime.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(db: Database) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_actor` [INFO] [stdout] --> src/runtime.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn register_actor(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_handler` [INFO] [stdout] --> src/runtime.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn register_handler(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_actor` [INFO] [stdout] --> src/runtime.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_actor(&mut self, actor: A, log: L) -> PersistentActorId [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/runtime.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_step` [INFO] [stdout] --> src/runtime.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | async fn do_step(&mut self, log: &mut L, actor_id: AnyActorId) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `RuntimeError` [INFO] [stdout] --> src/runtime.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 112 | enum RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/runtime.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn new(id: AnyActorId, actor: Box, log: L) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_init` [INFO] [stdout] --> src/runtime.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn run_init(&mut self, table: &DynTable, db: &Database) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_handler` [INFO] [stdout] --> src/runtime.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn run_handler( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `catch_unwind_and_dispatch_errors` [INFO] [stdout] --> src/runtime.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn catch_unwind_and_dispatch_errors(f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_thing` [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn do_thing(mut runtime: Runtime) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.04s [INFO] running `Command { std: "docker" "inspect" "b6fd2e93a1e5e83412178bb47e45aaaeceede7cc4488f88b61feb5f86cc66c9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6fd2e93a1e5e83412178bb47e45aaaeceede7cc4488f88b61feb5f86cc66c9f", kill_on_drop: false }` [INFO] [stdout] b6fd2e93a1e5e83412178bb47e45aaaeceede7cc4488f88b61feb5f86cc66c9f