[INFO] cloning repository https://github.com/sashinexists/tweets-db-to-obsidian [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sashinexists/tweets-db-to-obsidian" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsashinexists%2Ftweets-db-to-obsidian", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsashinexists%2Ftweets-db-to-obsidian'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f25d68f1d882dbef160878a2933e0aeae2bfd78 [INFO] testing sashinexists/tweets-db-to-obsidian against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsashinexists%2Ftweets-db-to-obsidian" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 24% (12688/51817) Updating files: 25% (12955/51817) Updating files: 26% (13473/51817) Updating files: 27% (13991/51817) Updating files: 28% (14509/51817) Updating files: 29% (15027/51817) Updating files: 30% (15546/51817) Updating files: 31% (16064/51817) Updating files: 32% (16582/51817) Updating files: 33% (17100/51817) Updating files: 34% (17618/51817) Updating files: 35% (18136/51817) Updating files: 36% (18655/51817) Updating files: 37% (19173/51817) Updating files: 38% (19691/51817) Updating files: 39% (20209/51817) Updating files: 39% (20648/51817) Updating files: 40% (20727/51817) Updating files: 41% (21245/51817) Updating files: 42% (21764/51817) Updating files: 43% (22282/51817) Updating files: 44% (22800/51817) Updating files: 45% (23318/51817) Updating files: 46% (23836/51817) Updating files: 47% (24354/51817) Updating files: 48% (24873/51817) Updating files: 49% (25391/51817) Updating files: 50% (25909/51817) Updating files: 51% (26427/51817) Updating files: 52% (26945/51817) Updating files: 53% (27464/51817) Updating files: 54% (27982/51817) Updating files: 55% (28500/51817) Updating files: 56% (29018/51817) Updating files: 57% (29536/51817) Updating files: 58% (30054/51817) Updating files: 59% (30573/51817) Updating files: 60% (31091/51817) Updating files: 61% (31609/51817) Updating files: 62% (32127/51817) Updating files: 63% (32645/51817) Updating files: 64% (33163/51817) Updating files: 64% (33481/51817) Updating files: 65% (33682/51817) Updating files: 66% (34200/51817) Updating files: 67% (34718/51817) Updating files: 68% (35236/51817) Updating files: 69% (35754/51817) Updating files: 70% (36272/51817) Updating files: 71% (36791/51817) Updating files: 72% (37309/51817) Updating files: 73% (37827/51817) Updating files: 74% (38345/51817) Updating files: 75% (38863/51817) Updating files: 76% (39381/51817) Updating files: 77% (39900/51817) Updating files: 78% (40418/51817) Updating files: 79% (40936/51817) Updating files: 80% (41454/51817) Updating files: 81% (41972/51817) Updating files: 82% (42490/51817) Updating files: 83% (43009/51817) Updating files: 84% (43527/51817) Updating files: 85% (44045/51817) Updating files: 86% (44563/51817) Updating files: 87% (45081/51817) Updating files: 88% (45599/51817) Updating files: 89% (46118/51817) Updating files: 90% (46636/51817) Updating files: 91% (47154/51817) Updating files: 92% (47672/51817) Updating files: 93% (48190/51817) Updating files: 94% (48708/51817) Updating files: 95% (49227/51817) Updating files: 96% (49745/51817) Updating files: 97% (50263/51817) Updating files: 98% (50781/51817) Updating files: 98% (50907/51817) Updating files: 99% (51299/51817) Updating files: 100% (51817/51817) Updating files: 100% (51817/51817), done. [INFO] validating manifest of git repo https://github.com/sashinexists/tweets-db-to-obsidian on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sashinexists/tweets-db-to-obsidian [INFO] finished tweaking git repo https://github.com/sashinexists/tweets-db-to-obsidian [INFO] tweaked toml for git repo https://github.com/sashinexists/tweets-db-to-obsidian written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sashinexists/tweets-db-to-obsidian 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sea-strum v0.23.0 [INFO] [stderr] Downloaded sea-query-derive v0.2.0 [INFO] [stderr] Downloaded sea-query-driver v0.1.1 [INFO] [stderr] Downloaded async-global-executor v2.3.0 [INFO] [stderr] Downloaded ouroboros_macro v0.15.4 [INFO] [stderr] Downloaded sea-orm-macros v0.8.0 [INFO] [stderr] Downloaded ouroboros v0.15.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.34 [INFO] [stderr] Downloaded url v2.3.0 [INFO] [stderr] Downloaded bae v0.1.7 [INFO] [stderr] Downloaded sea-strum_macros v0.23.0 [INFO] [stderr] Downloaded thiserror v1.0.34 [INFO] [stderr] Downloaded sea-query v0.24.6 [INFO] [stderr] Downloaded ctor v0.1.23 [INFO] [stderr] Downloaded sea-orm v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4d818ae848f5ab6ce2510be4b3a16c02091199155cda094b9b3d2d3fec7eff2 [INFO] running `Command { std: "docker" "start" "-a" "d4d818ae848f5ab6ce2510be4b3a16c02091199155cda094b9b3d2d3fec7eff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4d818ae848f5ab6ce2510be4b3a16c02091199155cda094b9b3d2d3fec7eff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d818ae848f5ab6ce2510be4b3a16c02091199155cda094b9b3d2d3fec7eff2", kill_on_drop: false }` [INFO] [stdout] d4d818ae848f5ab6ce2510be4b3a16c02091199155cda094b9b3d2d3fec7eff2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d202bb7bbaa971f6a64e4cd0b0b619e685ffd119de061ec419f7b04b2dcfd65 [INFO] running `Command { std: "docker" "start" "-a" "5d202bb7bbaa971f6a64e4cd0b0b619e685ffd119de061ec419f7b04b2dcfd65", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling concurrent-queue v1.2.4 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling polling v2.3.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-io v1.9.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling async-channel v1.7.1 [INFO] [stderr] Compiling async-process v1.5.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rust_decimal v1.26.1 [INFO] [stderr] Compiling iana-time-zone v0.1.47 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling url v2.3.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling sha2 v0.10.5 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling ctor v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling sea-query-driver v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling ouroboros_macro v0.15.4 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling sea-orm-macros v0.8.0 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling async-global-executor v2.3.0 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Compiling ouroboros v0.15.4 [INFO] [stderr] Compiling sea-strum v0.23.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling sea-query v0.24.6 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Compiling sqlx v0.5.13 [INFO] [stderr] Compiling sea-orm v0.8.0 [INFO] [stderr] Compiling tweets-db-to-obsidian v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `data::entities::users` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use data::entities::users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConversationData` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use utils::{ConversationData, TweetData, TweetWithTagsData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::seaql_migrations::Entity as SeaqlMigrations` [INFO] [stdout] --> src/data/entities/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::seaql_migrations::Entity as SeaqlMigrations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::TweetReferenceData` [INFO] [stdout] --> src/data/entities/tweet_references.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::TweetReferenceData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::TweetReferenceData` [INFO] [stdout] --> src/data/entities/tweets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::TweetReferenceData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TweetReferenceData` [INFO] [stdout] --> src/data/read.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{ConversationData, TweetData, TweetReferenceData, UserData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/data/setup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `FixedOffset` [INFO] [stdout] --> src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, FixedOffset}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::sea_query::tests_cfg` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sea_orm::sea_query::tests_cfg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActiveValue` [INFO] [stdout] --> src/utils.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use sea_orm::{ActiveValue, ColumnTrait, DatabaseConnection, EntityTrait, QueryFilter}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data/setup.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut opt = ConnectOptions::new(DATABASE_URL.to_owned()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/utils.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{future::join_all, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `users` [INFO] [stdout] --> src/main.rs:284:52 [INFO] [stdout] | [INFO] [stdout] 284 | fn write_tweet_to_calendar(tweet_data: &TweetData, users: &[UserData]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_users` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversations` is never used [INFO] [stdout] --> src/data/read.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn conversations(db: &DatabaseConnection) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversation` is never used [INFO] [stdout] --> src/data/read.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn conversation(db: &DatabaseConnection, conversation_id: i64) -> ConversationData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversations_given_tweets` is never used [INFO] [stdout] --> src/data/read.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn conversations_given_tweets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversation_given_tweets` is never used [INFO] [stdout] --> src/data/read.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn conversation_given_tweets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `empty`, `read`, `read_many`, and `find_term_frequency_in_tweet` are never used [INFO] [stdout] --> src/utils.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl TweetData { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 32 | pub fn new(tweet: tweets::Model, references: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn read(db: &DatabaseConnection, id: i64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub async fn read_many(db: &DatabaseConnection, ids: &[i64]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn find_term_frequency_in_tweet(&self, term: String) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty`, `read`, and `read_from_twitter_handle` are never used [INFO] [stdout] --> src/utils.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 140 | impl UserData { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 141 | pub async fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub async fn read(db: &DatabaseConnection, id: i64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub async fn read_from_twitter_handle(db: &DatabaseConnection, twitter_handle: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `type_to_string`, `kind_from_string`, and `clone` are never used [INFO] [stdout] --> src/utils.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl TweetReferenceData { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 195 | pub fn type_to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn kind_from_string(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i64_to_u64` is never used [INFO] [stdout] --> src/utils.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn i64_to_u64(i: i64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u64_to_i64` is never used [INFO] [stdout] --> src/utils.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn u64_to_i64(u: u64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_term_frequency` is never used [INFO] [stdout] --> src/utils.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn get_term_frequency(term: String, corpus_string: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `TweetWithTagsData` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:188:27 [INFO] [stdout] | [INFO] [stdout] 188 | let tweet = tweet_data [INFO] [stdout] | ___________________________^ [INFO] [stdout] 189 | | .clone() [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "5d202bb7bbaa971f6a64e4cd0b0b619e685ffd119de061ec419f7b04b2dcfd65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d202bb7bbaa971f6a64e4cd0b0b619e685ffd119de061ec419f7b04b2dcfd65", kill_on_drop: false }` [INFO] [stdout] 5d202bb7bbaa971f6a64e4cd0b0b619e685ffd119de061ec419f7b04b2dcfd65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1081ff689a49e8a73d10dadf62b46427a8e9502005d9c01f926bee546c4effc8 [INFO] running `Command { std: "docker" "start" "-a" "1081ff689a49e8a73d10dadf62b46427a8e9502005d9c01f926bee546c4effc8", kill_on_drop: false }` [INFO] [stderr] Compiling tweets-db-to-obsidian v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `data::entities::users` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use data::entities::users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConversationData` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use utils::{ConversationData, TweetData, TweetWithTagsData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::seaql_migrations::Entity as SeaqlMigrations` [INFO] [stdout] --> src/data/entities/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::seaql_migrations::Entity as SeaqlMigrations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::TweetReferenceData` [INFO] [stdout] --> src/data/entities/tweet_references.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::TweetReferenceData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::TweetReferenceData` [INFO] [stdout] --> src/data/entities/tweets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::TweetReferenceData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TweetReferenceData` [INFO] [stdout] --> src/data/read.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{ConversationData, TweetData, TweetReferenceData, UserData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/data/setup.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `FixedOffset` [INFO] [stdout] --> src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, FixedOffset}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::sea_query::tests_cfg` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sea_orm::sea_query::tests_cfg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActiveValue` [INFO] [stdout] --> src/utils.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use sea_orm::{ActiveValue, ColumnTrait, DatabaseConnection, EntityTrait, QueryFilter}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data/setup.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut opt = ConnectOptions::new(DATABASE_URL.to_owned()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/utils.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{future::join_all, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `users` [INFO] [stdout] --> src/main.rs:284:52 [INFO] [stdout] | [INFO] [stdout] 284 | fn write_tweet_to_calendar(tweet_data: &TweetData, users: &[UserData]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_users` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversations` is never used [INFO] [stdout] --> src/data/read.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn conversations(db: &DatabaseConnection) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversation` is never used [INFO] [stdout] --> src/data/read.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn conversation(db: &DatabaseConnection, conversation_id: i64) -> ConversationData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversations_given_tweets` is never used [INFO] [stdout] --> src/data/read.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn conversations_given_tweets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversation_given_tweets` is never used [INFO] [stdout] --> src/data/read.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn conversation_given_tweets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `empty`, `read`, `read_many`, and `find_term_frequency_in_tweet` are never used [INFO] [stdout] --> src/utils.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl TweetData { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 32 | pub fn new(tweet: tweets::Model, references: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn read(db: &DatabaseConnection, id: i64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub async fn read_many(db: &DatabaseConnection, ids: &[i64]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn find_term_frequency_in_tweet(&self, term: String) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty`, `read`, and `read_from_twitter_handle` are never used [INFO] [stdout] --> src/utils.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 140 | impl UserData { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 141 | pub async fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub async fn read(db: &DatabaseConnection, id: i64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub async fn read_from_twitter_handle(db: &DatabaseConnection, twitter_handle: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `type_to_string`, `kind_from_string`, and `clone` are never used [INFO] [stdout] --> src/utils.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl TweetReferenceData { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 195 | pub fn type_to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn kind_from_string(input: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i64_to_u64` is never used [INFO] [stdout] --> src/utils.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn i64_to_u64(i: i64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u64_to_i64` is never used [INFO] [stdout] --> src/utils.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn u64_to_i64(u: u64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_term_frequency` is never used [INFO] [stdout] --> src/utils.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn get_term_frequency(term: String, corpus_string: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `TweetWithTagsData` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:188:27 [INFO] [stdout] | [INFO] [stdout] 188 | let tweet = tweet_data [INFO] [stdout] | ___________________________^ [INFO] [stdout] 189 | | .clone() [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "1081ff689a49e8a73d10dadf62b46427a8e9502005d9c01f926bee546c4effc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1081ff689a49e8a73d10dadf62b46427a8e9502005d9c01f926bee546c4effc8", kill_on_drop: false }` [INFO] [stdout] 1081ff689a49e8a73d10dadf62b46427a8e9502005d9c01f926bee546c4effc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 230357c012f745f31b32e5e2976ac0b789b0755510ca71ac1173dd87a63d19fa [INFO] running `Command { std: "docker" "start" "-a" "230357c012f745f31b32e5e2976ac0b789b0755510ca71ac1173dd87a63d19fa", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `data::entities::users` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use data::entities::users; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::executor::block_on` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::executor::block_on; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ConversationData` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use utils::{ConversationData, TweetData, TweetWithTagsData}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::seaql_migrations::Entity as SeaqlMigrations` [INFO] [stderr] --> src/data/entities/prelude.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use super::seaql_migrations::Entity as SeaqlMigrations; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::utils::TweetReferenceData` [INFO] [stderr] --> src/data/entities/tweet_references.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::utils::TweetReferenceData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::utils::TweetReferenceData` [INFO] [stderr] --> src/data/entities/tweets.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::utils::TweetReferenceData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TweetReferenceData` [INFO] [stderr] --> src/data/read.rs:3:49 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::utils::{ConversationData, TweetData, TweetReferenceData, UserData}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/data/setup.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime` and `FixedOffset` [INFO] [stderr] --> src/utils.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{DateTime, FixedOffset}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sea_orm::sea_query::tests_cfg` [INFO] [stderr] --> src/utils.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use sea_orm::sea_query::tests_cfg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ActiveValue` [INFO] [stderr] --> src/utils.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use sea_orm::{ActiveValue, ColumnTrait, DatabaseConnection, EntityTrait, QueryFilter}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/data/setup.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let mut opt = ConnectOptions::new(DATABASE_URL.to_owned()); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `StreamExt` [INFO] [stderr] --> src/utils.rs:2:33 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::{future::join_all, StreamExt}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `users` [INFO] [stderr] --> src/main.rs:284:52 [INFO] [stderr] | [INFO] [stderr] 284 | fn write_tweet_to_calendar(tweet_data: &TweetData, users: &[UserData]) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_users` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `conversations` is never used [INFO] [stderr] --> src/data/read.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | pub async fn conversations(db: &DatabaseConnection) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `conversation` is never used [INFO] [stderr] --> src/data/read.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | pub async fn conversation(db: &DatabaseConnection, conversation_id: i64) -> ConversationData { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `conversations_given_tweets` is never used [INFO] [stderr] --> src/data/read.rs:92:14 [INFO] [stderr] | [INFO] [stderr] 92 | pub async fn conversations_given_tweets( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `conversation_given_tweets` is never used [INFO] [stderr] --> src/data/read.rs:110:14 [INFO] [stderr] | [INFO] [stderr] 110 | pub async fn conversation_given_tweets( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `empty`, `read`, `read_many`, and `find_term_frequency_in_tweet` are never used [INFO] [stderr] --> src/utils.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl TweetData { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 32 | pub fn new(tweet: tweets::Model, references: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub async fn read(db: &DatabaseConnection, id: i64) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub async fn read_many(db: &DatabaseConnection, ids: &[i64]) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn find_term_frequency_in_tweet(&self, term: String) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `empty`, `read`, and `read_from_twitter_handle` are never used [INFO] [stderr] --> src/utils.rs:141:18 [INFO] [stderr] | [INFO] [stderr] 140 | impl UserData { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] 141 | pub async fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 151 | pub async fn read(db: &DatabaseConnection, id: i64) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 159 | pub async fn read_from_twitter_handle(db: &DatabaseConnection, twitter_handle: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `type_to_string`, `kind_from_string`, and `clone` are never used [INFO] [stderr] --> src/utils.rs:195:12 [INFO] [stderr] | [INFO] [stderr] 194 | impl TweetReferenceData { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 195 | pub fn type_to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 204 | pub fn kind_from_string(input: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 213 | pub fn clone(&self) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `i64_to_u64` is never used [INFO] [stderr] --> src/utils.rs:222:8 [INFO] [stderr] | [INFO] [stderr] 222 | pub fn i64_to_u64(i: i64) -> u64 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `u64_to_i64` is never used [INFO] [stderr] --> src/utils.rs:227:8 [INFO] [stderr] | [INFO] [stderr] 227 | pub fn u64_to_i64(u: u64) -> i64 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_term_frequency` is never used [INFO] [stderr] --> src/utils.rs:244:8 [INFO] [stderr] | [INFO] [stderr] 244 | pub fn get_term_frequency(term: String, corpus_string: &str) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `TweetWithTagsData` instead of cloning the inner type [INFO] [stderr] --> src/main.rs:188:27 [INFO] [stderr] | [INFO] [stderr] 188 | let tweet = tweet_data [INFO] [stderr] | ___________________________^ [INFO] [stderr] 189 | | .clone() [INFO] [stderr] | |________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tweets-db-to-obsidian` (bin "tweets-db-to-obsidian" test) generated 25 warnings (run `cargo fix --bin "tweets-db-to-obsidian" --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tweets_db_to_obsidian-9b87a137bf7e7aae) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "230357c012f745f31b32e5e2976ac0b789b0755510ca71ac1173dd87a63d19fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230357c012f745f31b32e5e2976ac0b789b0755510ca71ac1173dd87a63d19fa", kill_on_drop: false }` [INFO] [stdout] 230357c012f745f31b32e5e2976ac0b789b0755510ca71ac1173dd87a63d19fa