[INFO] cloning repository https://github.com/aspen-chat/aspen-chat-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aspen-chat/aspen-chat-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faspen-chat%2Faspen-chat-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faspen-chat%2Faspen-chat-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1ae4f5a627393b1cf656681b721c7e62d9476a0 [INFO] building aspen-chat/aspen-chat-server against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faspen-chat%2Faspen-chat-server" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aspen-chat/aspen-chat-server [INFO] finished tweaking git repo https://github.com/aspen-chat/aspen-chat-server [INFO] tweaked toml for git repo https://github.com/aspen-chat/aspen-chat-server written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aspen-chat/aspen-chat-server on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aspen-chat/aspen-chat-server 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-panic v0.1.2 [INFO] [stderr] Downloaded tryhard v0.5.1 [INFO] [stderr] Downloaded ctrlc v3.4.6 [INFO] [stderr] Downloaded config v0.15.14 [INFO] [stderr] Downloaded serde_nanos v0.1.4 [INFO] [stderr] Downloaded nuid v0.5.0 [INFO] [stderr] Downloaded nkeys v0.4.4 [INFO] [stderr] Downloaded hyper-util v0.1.12 [INFO] [stderr] Downloaded tokio-websockets v0.10.1 [INFO] [stderr] Downloaded async-nats v0.41.0 [INFO] [stderr] Downloaded signatory v0.27.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1803fea4fa65d232af9a8f4c527af03569b59441056c71e62c96cc34b9e47e4 [INFO] running `Command { std: "docker" "start" "-a" "c1803fea4fa65d232af9a8f4c527af03569b59441056c71e62c96cc34b9e47e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1803fea4fa65d232af9a8f4c527af03569b59441056c71e62c96cc34b9e47e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1803fea4fa65d232af9a8f4c527af03569b59441056c71e62c96cc34b9e47e4", kill_on_drop: false }` [INFO] [stdout] c1803fea4fa65d232af9a8f4c527af03569b59441056c71e62c96cc34b9e47e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b1d244262925a07f051af7a5e5f0126af33f7b937b68d0cfebcc8efb4f1fa38 [INFO] running `Command { std: "docker" "start" "-a" "7b1d244262925a07f051af7a5e5f0126af33f7b937b68d0cfebcc8efb4f1fa38", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling aws-lc-sys v0.28.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pq-sys v0.7.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling diesel_derives v2.2.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling signatory v0.27.1 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling deadpool v0.12.2 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling yaml-rust2 v0.10.3 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling diesel v2.2.10 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling nkeys v0.4.4 [INFO] [stderr] Compiling serde-untagged v0.1.8 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tryhard v0.5.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling nuid v0.5.0 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling serde_nanos v0.1.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling scoped-futures v0.1.4 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling config v0.15.14 [INFO] [stderr] Compiling rcgen v0.13.2 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling ctrlc v3.4.6 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling tracing-panic v0.1.2 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling message_gen v0.1.0 (/opt/rustwide/workdir/message_gen) [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling async-nats v0.41.0 [INFO] [stderr] Compiling diesel-async v0.5.2 [INFO] [stderr] Compiling aspen-chat-server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `crate::api::message_enum::server_event::ServerEvent` [INFO] [stdout] --> server/src/api/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::api::message_enum::server_event::ServerEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> server/src/api/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `broadcast` and `mpsc` [INFO] [stdout] --> server/src/api/mod.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | use tokio::sync::{broadcast, mpsc, RwLock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/src/api/event_stream.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | Sse::new(stream.map(|e| todo!())).keep_alive(KeepAlive::default()) [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: `icon` [INFO] [stdout] --> server/src/api/mod.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | icon, [INFO] [stdout] | ^^^^ help: try ignoring the field: `icon: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/src/api/mod.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | e, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | UserSubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 252 | UserSubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:252:38 [INFO] [stdout] | [INFO] [stdout] 252 | UserSubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icon` [INFO] [stdout] --> server/src/api/mod.rs:252:44 [INFO] [stdout] | [INFO] [stdout] 252 | UserSubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `icon: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | UserSubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:258:11 [INFO] [stdout] | [INFO] [stdout] 258 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_id` [INFO] [stdout] --> server/src/api/mod.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | channel_id, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `channel_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> server/src/api/mod.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | content, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `content: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attachments` [INFO] [stdout] --> server/src/api/mod.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | attachments, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `attachments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:267:35 [INFO] [stdout] | [INFO] [stdout] 267 | MessageSubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | id, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> server/src/api/mod.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | content, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `content: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attachments` [INFO] [stdout] --> server/src/api/mod.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | attachments, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `attachments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | MessageSubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:278:11 [INFO] [stdout] | [INFO] [stdout] 278 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_id` [INFO] [stdout] --> server/src/api/mod.rs:282:35 [INFO] [stdout] | [INFO] [stdout] 282 | ReactSubCommand::Create { message_id, emoji } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `message_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emoji` [INFO] [stdout] --> server/src/api/mod.rs:282:47 [INFO] [stdout] | [INFO] [stdout] 282 | ReactSubCommand::Create { message_id, emoji } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `emoji: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_id` [INFO] [stdout] --> server/src/api/mod.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | message_id, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `message_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emoji` [INFO] [stdout] --> server/src/api/mod.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | emoji, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `emoji: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> server/src/api/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | user_id, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `user_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:292:11 [INFO] [stdout] | [INFO] [stdout] 292 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_category` [INFO] [stdout] --> server/src/api/mod.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | parent_category, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `parent_category: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> server/src/api/mod.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | permissions, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `permissions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> server/src/api/mod.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | ChannelSubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | id, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_category` [INFO] [stdout] --> server/src/api/mod.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | parent_category, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `parent_category: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> server/src/api/mod.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | permissions, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `permissions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 309 | ChannelSubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:314:11 [INFO] [stdout] | [INFO] [stdout] 314 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `community` [INFO] [stdout] --> server/src/api/mod.rs:318:38 [INFO] [stdout] | [INFO] [stdout] 318 | CategorySubCommand::Create { community, name } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `community: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:318:49 [INFO] [stdout] | [INFO] [stdout] 318 | CategorySubCommand::Create { community, name } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | CategorySubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | CategorySubCommand::Update { id, name } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:320:42 [INFO] [stdout] | [INFO] [stdout] 320 | CategorySubCommand::Update { id, name } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:321:38 [INFO] [stdout] | [INFO] [stdout] 321 | CategorySubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:326:11 [INFO] [stdout] | [INFO] [stdout] 326 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:330:39 [INFO] [stdout] | [INFO] [stdout] 330 | CommunitySubCommand::Create { name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icon` [INFO] [stdout] --> server/src/api/mod.rs:330:45 [INFO] [stdout] | [INFO] [stdout] 330 | CommunitySubCommand::Create { name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `icon: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | CommunitySubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:332:39 [INFO] [stdout] | [INFO] [stdout] 332 | CommunitySubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:332:43 [INFO] [stdout] | [INFO] [stdout] 332 | CommunitySubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icon` [INFO] [stdout] --> server/src/api/mod.rs:332:49 [INFO] [stdout] | [INFO] [stdout] 332 | CommunitySubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `icon: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:333:39 [INFO] [stdout] | [INFO] [stdout] 333 | CommunitySubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:338:11 [INFO] [stdout] | [INFO] [stdout] 338 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> server/src/api/mod.rs:342:34 [INFO] [stdout] | [INFO] [stdout] 342 | IconSubCommand::Create { data, mime_type } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_type` [INFO] [stdout] --> server/src/api/mod.rs:342:40 [INFO] [stdout] | [INFO] [stdout] 342 | IconSubCommand::Create { data, mime_type } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mime_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:343:32 [INFO] [stdout] | [INFO] [stdout] 343 | IconSubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:344:34 [INFO] [stdout] | [INFO] [stdout] 344 | IconSubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> server/src/api/mod.rs:464:59 [INFO] [stdout] | [INFO] [stdout] 464 | nats_connection_manager: Arc::new(RwLock::new(NatsConnectionManager::new(todo!()))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | id_type!(CommunityId); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | id_type!(ChannelId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | id_type!(MessageId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | id_type!(CategoryId); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AttachmentId` is never constructed [INFO] [stdout] --> server/src/api/mod.rs:378:10 [INFO] [stdout] | [INFO] [stdout] 378 | id_type!(AttachmentId); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | id_type!(AttachmentId); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | id_type!(IconId); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AttachmentMeta` is never constructed [INFO] [stdout] --> server/src/api/mod.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub struct AttachmentMeta { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nats_connection_manager` is never read [INFO] [stdout] --> server/src/api/mod.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 447 | pub struct GlobalServerContext { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 448 | pub connection_pool: Pool, [INFO] [stdout] 449 | pub nats_connection_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalServerContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAILBOX_SIZE` is never used [INFO] [stdout] --> server/src/api/mod.rs:470:7 [INFO] [stdout] | [INFO] [stdout] 470 | const MAILBOX_SIZE: usize = 512; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionContext` is never constructed [INFO] [stdout] --> server/src/api/mod.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | pub struct SessionContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:477:12 [INFO] [stdout] | [INFO] [stdout] 476 | impl SessionContext { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 477 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_queue_size` and `nats_url` are never read [INFO] [stdout] --> server/src/aspen_config.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AspenConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | #[serde(default = "default_event_queue_size")] [INFO] [stdout] 10 | pub event_queue_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub database_url: String, [INFO] [stdout] 12 | pub nats_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AspenConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `subscriptions`, `queue_subscriptions`, and `client` are never read [INFO] [stdout] --> server/src/nats_connection_manager.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct NatsConnectionManager { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 16 | subscriptions: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | queue_subscriptions: HashMap<(String, String), broadcast::WeakSender>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | client: async_nats::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> server/src/nats_connection_manager.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl NatsConnectionManager { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn timeout(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn server_info(&self) -> ServerInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_server_compatible(&self, major: i64, minor: i64, patch: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn publish_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn publish_with_reply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub async fn publish_with_reply_and_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn request( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn request_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub async fn send_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn new_inbox(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub async fn subscribe( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | async fn new_backhaul_connection_subscribe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn queue_subscribe( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | async fn new_backhaul_connection_queue_subscribe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub async fn flush(&self) -> Result<(), FlushError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub async fn drain(&self) -> Result<(), DrainError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn connection_state(&self) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub async fn force_reconnect(&self) -> Result<(), ReconnectError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn statistics(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drive_broadcast_channel` is never used [INFO] [stdout] --> server/src/nats_connection_manager.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn drive_broadcast_channel(sender: broadcast::Sender, mut subscriber: Subscriber) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 02s [INFO] running `Command { std: "docker" "inspect" "7b1d244262925a07f051af7a5e5f0126af33f7b937b68d0cfebcc8efb4f1fa38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1d244262925a07f051af7a5e5f0126af33f7b937b68d0cfebcc8efb4f1fa38", kill_on_drop: false }` [INFO] [stdout] 7b1d244262925a07f051af7a5e5f0126af33f7b937b68d0cfebcc8efb4f1fa38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cd0dba37508570628478c8c04d7b5f8cbf86eac8a22c895b2912811eac2dcbf [INFO] running `Command { std: "docker" "start" "-a" "2cd0dba37508570628478c8c04d7b5f8cbf86eac8a22c895b2912811eac2dcbf", kill_on_drop: false }` [INFO] [stderr] Compiling message_gen v0.1.0 (/opt/rustwide/workdir/message_gen) [INFO] [stderr] Compiling aspen-chat-server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `crate::api::message_enum::server_event::ServerEvent` [INFO] [stdout] --> server/src/api/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::api::message_enum::server_event::ServerEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> server/src/api/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `broadcast` and `mpsc` [INFO] [stdout] --> server/src/api/mod.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | use tokio::sync::{broadcast, mpsc, RwLock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/src/api/event_stream.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | Sse::new(stream.map(|e| todo!())).keep_alive(KeepAlive::default()) [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: `icon` [INFO] [stdout] --> server/src/api/mod.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | icon, [INFO] [stdout] | ^^^^ help: try ignoring the field: `icon: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> server/src/api/mod.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | e, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | UserSubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 252 | UserSubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:252:38 [INFO] [stdout] | [INFO] [stdout] 252 | UserSubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icon` [INFO] [stdout] --> server/src/api/mod.rs:252:44 [INFO] [stdout] | [INFO] [stdout] 252 | UserSubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `icon: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | UserSubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:258:11 [INFO] [stdout] | [INFO] [stdout] 258 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_id` [INFO] [stdout] --> server/src/api/mod.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | channel_id, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `channel_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> server/src/api/mod.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | content, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `content: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attachments` [INFO] [stdout] --> server/src/api/mod.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | attachments, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `attachments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:267:35 [INFO] [stdout] | [INFO] [stdout] 267 | MessageSubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | id, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> server/src/api/mod.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | content, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `content: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attachments` [INFO] [stdout] --> server/src/api/mod.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | attachments, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `attachments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | MessageSubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:278:11 [INFO] [stdout] | [INFO] [stdout] 278 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_id` [INFO] [stdout] --> server/src/api/mod.rs:282:35 [INFO] [stdout] | [INFO] [stdout] 282 | ReactSubCommand::Create { message_id, emoji } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `message_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emoji` [INFO] [stdout] --> server/src/api/mod.rs:282:47 [INFO] [stdout] | [INFO] [stdout] 282 | ReactSubCommand::Create { message_id, emoji } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `emoji: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_id` [INFO] [stdout] --> server/src/api/mod.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | message_id, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `message_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emoji` [INFO] [stdout] --> server/src/api/mod.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | emoji, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `emoji: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> server/src/api/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | user_id, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `user_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:292:11 [INFO] [stdout] | [INFO] [stdout] 292 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_category` [INFO] [stdout] --> server/src/api/mod.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | parent_category, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `parent_category: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> server/src/api/mod.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | permissions, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `permissions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> server/src/api/mod.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | ty, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | ChannelSubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | id, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_category` [INFO] [stdout] --> server/src/api/mod.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | parent_category, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `parent_category: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permissions` [INFO] [stdout] --> server/src/api/mod.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | permissions, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `permissions: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 309 | ChannelSubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:314:11 [INFO] [stdout] | [INFO] [stdout] 314 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `community` [INFO] [stdout] --> server/src/api/mod.rs:318:38 [INFO] [stdout] | [INFO] [stdout] 318 | CategorySubCommand::Create { community, name } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `community: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:318:49 [INFO] [stdout] | [INFO] [stdout] 318 | CategorySubCommand::Create { community, name } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | CategorySubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | CategorySubCommand::Update { id, name } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:320:42 [INFO] [stdout] | [INFO] [stdout] 320 | CategorySubCommand::Update { id, name } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:321:38 [INFO] [stdout] | [INFO] [stdout] 321 | CategorySubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:326:11 [INFO] [stdout] | [INFO] [stdout] 326 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:330:39 [INFO] [stdout] | [INFO] [stdout] 330 | CommunitySubCommand::Create { name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icon` [INFO] [stdout] --> server/src/api/mod.rs:330:45 [INFO] [stdout] | [INFO] [stdout] 330 | CommunitySubCommand::Create { name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `icon: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | CommunitySubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:332:39 [INFO] [stdout] | [INFO] [stdout] 332 | CommunitySubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> server/src/api/mod.rs:332:43 [INFO] [stdout] | [INFO] [stdout] 332 | CommunitySubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icon` [INFO] [stdout] --> server/src/api/mod.rs:332:49 [INFO] [stdout] | [INFO] [stdout] 332 | CommunitySubCommand::Update { id, name, icon } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `icon: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:333:39 [INFO] [stdout] | [INFO] [stdout] 333 | CommunitySubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/api/mod.rs:338:11 [INFO] [stdout] | [INFO] [stdout] 338 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> server/src/api/mod.rs:342:34 [INFO] [stdout] | [INFO] [stdout] 342 | IconSubCommand::Create { data, mime_type } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mime_type` [INFO] [stdout] --> server/src/api/mod.rs:342:40 [INFO] [stdout] | [INFO] [stdout] 342 | IconSubCommand::Create { data, mime_type } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mime_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:343:32 [INFO] [stdout] | [INFO] [stdout] 343 | IconSubCommand::Read { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> server/src/api/mod.rs:344:34 [INFO] [stdout] | [INFO] [stdout] 344 | IconSubCommand::Delete { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> server/src/api/mod.rs:464:59 [INFO] [stdout] | [INFO] [stdout] 464 | nats_connection_manager: Arc::new(RwLock::new(NatsConnectionManager::new(todo!()))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | id_type!(CommunityId); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | id_type!(ChannelId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | id_type!(CategoryId); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AttachmentId` is never constructed [INFO] [stdout] --> server/src/api/mod.rs:378:10 [INFO] [stdout] | [INFO] [stdout] 378 | id_type!(AttachmentId); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | id_type!(AttachmentId); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 354 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 355 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | id_type!(IconId); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AttachmentMeta` is never constructed [INFO] [stdout] --> server/src/api/mod.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub struct AttachmentMeta { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nats_connection_manager` is never read [INFO] [stdout] --> server/src/api/mod.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 447 | pub struct GlobalServerContext { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 448 | pub connection_pool: Pool, [INFO] [stdout] 449 | pub nats_connection_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalServerContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAILBOX_SIZE` is never used [INFO] [stdout] --> server/src/api/mod.rs:470:7 [INFO] [stdout] | [INFO] [stdout] 470 | const MAILBOX_SIZE: usize = 512; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionContext` is never constructed [INFO] [stdout] --> server/src/api/mod.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | pub struct SessionContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/api/mod.rs:477:12 [INFO] [stdout] | [INFO] [stdout] 476 | impl SessionContext { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 477 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_queue_size` and `nats_url` are never read [INFO] [stdout] --> server/src/aspen_config.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AspenConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | #[serde(default = "default_event_queue_size")] [INFO] [stdout] 10 | pub event_queue_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub database_url: String, [INFO] [stdout] 12 | pub nats_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AspenConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `subscriptions`, `queue_subscriptions`, and `client` are never read [INFO] [stdout] --> server/src/nats_connection_manager.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct NatsConnectionManager { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 16 | subscriptions: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | queue_subscriptions: HashMap<(String, String), broadcast::WeakSender>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | client: async_nats::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> server/src/nats_connection_manager.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl NatsConnectionManager { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn timeout(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn server_info(&self) -> ServerInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_server_compatible(&self, major: i64, minor: i64, patch: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn publish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn publish_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn publish_with_reply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub async fn publish_with_reply_and_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn request( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub async fn request_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub async fn send_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn new_inbox(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub async fn subscribe( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | async fn new_backhaul_connection_subscribe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn queue_subscribe( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | async fn new_backhaul_connection_queue_subscribe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub async fn flush(&self) -> Result<(), FlushError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub async fn drain(&self) -> Result<(), DrainError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn connection_state(&self) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub async fn force_reconnect(&self) -> Result<(), ReconnectError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn statistics(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drive_broadcast_channel` is never used [INFO] [stdout] --> server/src/nats_connection_manager.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn drive_broadcast_channel(sender: broadcast::Sender, mut subscriber: Subscriber) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.83s [INFO] running `Command { std: "docker" "inspect" "2cd0dba37508570628478c8c04d7b5f8cbf86eac8a22c895b2912811eac2dcbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd0dba37508570628478c8c04d7b5f8cbf86eac8a22c895b2912811eac2dcbf", kill_on_drop: false }` [INFO] [stdout] 2cd0dba37508570628478c8c04d7b5f8cbf86eac8a22c895b2912811eac2dcbf