[INFO] cloning repository https://github.com/AronNovak/drupal-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AronNovak/drupal-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAronNovak%2Fdrupal-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAronNovak%2Fdrupal-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3884d1a11dd5bd3b996e07fa5c60ddb72a17d230 [INFO] checking AronNovak/drupal-rust against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAronNovak%2Fdrupal-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AronNovak/drupal-rust [INFO] finished tweaking git repo https://github.com/AronNovak/drupal-rust [INFO] tweaked toml for git repo https://github.com/AronNovak/drupal-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AronNovak/drupal-rust on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AronNovak/drupal-rust 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b79b6540d1e6d434c152ca6a808dc326f26cd1f8c4a17452308bb2223f2907e [INFO] running `Command { std: "docker" "start" "-a" "7b79b6540d1e6d434c152ca6a808dc326f26cd1f8c4a17452308bb2223f2907e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b79b6540d1e6d434c152ca6a808dc326f26cd1f8c4a17452308bb2223f2907e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b79b6540d1e6d434c152ca6a808dc326f26cd1f8c4a17452308bb2223f2907e", kill_on_drop: false }` [INFO] [stdout] 7b79b6540d1e6d434c152ca6a808dc326f26cd1f8c4a17452308bb2223f2907e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ef19671c02794ebe04d1dacfc8aa6a78ec8232460450ca61d2281b2059c01d3 [INFO] running `Command { std: "docker" "start" "-a" "2ef19671c02794ebe04d1dacfc8aa6a78ec8232460450ca61d2281b2059c01d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling time-macros v0.2.26 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling time v0.3.46 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rmp v0.8.15 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking rsa v0.9.10 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rmp-serde v1.3.1 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking tower-cookies v0.10.0 [INFO] [stderr] Checking tera v1.20.1 [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Checking tower-sessions-core v0.13.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking tower-sessions-memory-store v0.13.0 [INFO] [stderr] Checking tower-sessions v0.13.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking tower-sessions-sqlx-store v0.14.2 [INFO] [stderr] Checking drupal_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `COMMENT_NODE_READ_ONLY`, `CommentWithAuthor`, and `NodeCommentStatistics` [INFO] [stdout] --> src/models/mod.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub use comment::{Comment, CommentWithAuthor, NodeCommentStatistics, COMMENT_NODE_DISABLED, COMMENT_NODE_READ_ONLY, COMMENT_NODE_REA... [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: `std::io::Write` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COMMENT_NODE_READ_ONLY`, `CommentWithAuthor`, and `NodeCommentStatistics` [INFO] [stdout] --> src/models/mod.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub use comment::{Comment, CommentWithAuthor, NodeCommentStatistics, COMMENT_NODE_DISABLED, COMMENT_NODE_READ_ONLY, COMMENT_NODE_REA... [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: `std::io::Write` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMENT_NODE_READ_ONLY` is never used [INFO] [stdout] --> src/models/comment.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const COMMENT_NODE_READ_ONLY: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeCommentStatistics` is never constructed [INFO] [stdout] --> src/models/comment.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct NodeCommentStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_for_node` is never used [INFO] [stdout] --> src/models/comment.rs:354:18 [INFO] [stdout] | [INFO] [stdout] 353 | impl NodeCommentStatistics { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 354 | pub async fn get_for_node( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeRevision` is never constructed [INFO] [stdout] --> src/models/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NodeRevision { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_by_nid` is never used [INFO] [stdout] --> src/models/node.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 59 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 60 | pub async fn find_by_nid(pool: &MySqlPool, nid: u32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeField` is never constructed [INFO] [stdout] --> src/models/node_field.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NodeField { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_name` and `create` are never used [INFO] [stdout] --> src/models/node_field.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 76 | impl NodeField { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 77 | pub async fn find_by_name( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `for_node_type` and `create` are never used [INFO] [stdout] --> src/models/node_field.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 108 | impl NodeFieldInstance { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 109 | pub async fn for_node_type( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `find_by_fid`, `create`, and `get_options_list` are never used [INFO] [stdout] --> src/models/profile.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 42 | impl ProfileField { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn find_by_fid(pool: &MySqlPool, fid: u32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_options_list(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_for_user` is never used [INFO] [stdout] --> src/models/profile.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 107 | impl ProfileValue { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn delete_for_user(pool: &MySqlPool, uid: u32) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionData` is never constructed [INFO] [stdout] --> src/models/session.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SessionData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PopularNode` is never constructed [INFO] [stdout] --> src/models/statistics.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct PopularNode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `user_history` and `flush_old_entries` are never used [INFO] [stdout] --> src/models/statistics.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 71 | impl AccessLog { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub async fn user_history(pool: &MySqlPool, uid: u32, limit: i32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub async fn flush_old_entries(pool: &MySqlPool, max_age: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get`, `reset_day_counts`, `delete_for_node`, `popular_today`, `popular_all_time`, and `recently_viewed` are never used [INFO] [stdout] --> src/models/statistics.rs:215:18 [INFO] [stdout] | [INFO] [stdout] 195 | impl NodeCounter { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub async fn get(pool: &MySqlPool, nid: u32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub async fn reset_day_counts(pool: &MySqlPool) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn delete_for_node(pool: &MySqlPool, nid: u32) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub async fn popular_today(pool: &MySqlPool, limit: i32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub async fn popular_all_time(pool: &MySqlPool, limit: i32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub async fn recently_viewed(pool: &MySqlPool, limit: i32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `enabled_modules`, `enabled_themes`, and `find_by_name` are never used [INFO] [stdout] --> src/models/system.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl SystemItem { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn enabled_modules(pool: &MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn enabled_themes(pool: &MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn find_by_name( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_anonymous`, `is_authenticated`, and `get_roles` are never used [INFO] [stdout] --> src/models/user.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl User { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 17 | pub fn is_anonymous(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub async fn get_roles(&self, pool: &MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete` is never used [INFO] [stdout] --> src/models/variable.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Variable { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn delete(pool: &MySqlPool, name: &str) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMENT_NODE_READ_ONLY` is never used [INFO] [stdout] --> src/models/comment.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const COMMENT_NODE_READ_ONLY: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeCommentStatistics` is never constructed [INFO] [stdout] --> src/models/comment.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct NodeCommentStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_for_node` is never used [INFO] [stdout] --> src/models/comment.rs:354:18 [INFO] [stdout] | [INFO] [stdout] 353 | impl NodeCommentStatistics { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 354 | pub async fn get_for_node( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeRevision` is never constructed [INFO] [stdout] --> src/models/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NodeRevision { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_by_nid` is never used [INFO] [stdout] --> src/models/node.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 59 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 60 | pub async fn find_by_nid(pool: &MySqlPool, nid: u32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeField` is never constructed [INFO] [stdout] --> src/models/node_field.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NodeField { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_name` and `create` are never used [INFO] [stdout] --> src/models/node_field.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 76 | impl NodeField { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 77 | pub async fn find_by_name( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `for_node_type` and `create` are never used [INFO] [stdout] --> src/models/node_field.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 108 | impl NodeFieldInstance { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 109 | pub async fn for_node_type( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `find_by_fid`, `create`, and `get_options_list` are never used [INFO] [stdout] --> src/models/profile.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 42 | impl ProfileField { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn find_by_fid(pool: &MySqlPool, fid: u32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_options_list(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_for_user` is never used [INFO] [stdout] --> src/models/profile.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 107 | impl ProfileValue { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn delete_for_user(pool: &MySqlPool, uid: u32) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionData` is never constructed [INFO] [stdout] --> src/models/session.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SessionData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PopularNode` is never constructed [INFO] [stdout] --> src/models/statistics.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct PopularNode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `user_history` and `flush_old_entries` are never used [INFO] [stdout] --> src/models/statistics.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 71 | impl AccessLog { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub async fn user_history(pool: &MySqlPool, uid: u32, limit: i32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub async fn flush_old_entries(pool: &MySqlPool, max_age: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get`, `reset_day_counts`, `delete_for_node`, `popular_today`, `popular_all_time`, and `recently_viewed` are never used [INFO] [stdout] --> src/models/statistics.rs:215:18 [INFO] [stdout] | [INFO] [stdout] 195 | impl NodeCounter { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub async fn get(pool: &MySqlPool, nid: u32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub async fn reset_day_counts(pool: &MySqlPool) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn delete_for_node(pool: &MySqlPool, nid: u32) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub async fn popular_today(pool: &MySqlPool, limit: i32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub async fn popular_all_time(pool: &MySqlPool, limit: i32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub async fn recently_viewed(pool: &MySqlPool, limit: i32) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `enabled_modules`, `enabled_themes`, and `find_by_name` are never used [INFO] [stdout] --> src/models/system.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl SystemItem { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn enabled_modules(pool: &MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn enabled_themes(pool: &MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn find_by_name( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_anonymous`, `is_authenticated`, and `get_roles` are never used [INFO] [stdout] --> src/models/user.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl User { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 17 | pub fn is_anonymous(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub async fn get_roles(&self, pool: &MySqlPool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete` is never used [INFO] [stdout] --> src/models/variable.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Variable { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn delete(pool: &MySqlPool, name: &str) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "2ef19671c02794ebe04d1dacfc8aa6a78ec8232460450ca61d2281b2059c01d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef19671c02794ebe04d1dacfc8aa6a78ec8232460450ca61d2281b2059c01d3", kill_on_drop: false }` [INFO] [stdout] 2ef19671c02794ebe04d1dacfc8aa6a78ec8232460450ca61d2281b2059c01d3