[INFO] cloning repository https://github.com/MarchCraft/top-manager-discord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarchCraft/top-manager-discord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarchCraft%2Ftop-manager-discord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarchCraft%2Ftop-manager-discord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98e3c7f9bf552fb2538922b9cc4a7d47e5424acb [INFO] checking MarchCraft/top-manager-discord/98e3c7f9bf552fb2538922b9cc4a7d47e5424acb against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarchCraft%2Ftop-manager-discord" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MarchCraft/top-manager-discord on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MarchCraft/top-manager-discord [INFO] finished tweaking git repo https://github.com/MarchCraft/top-manager-discord [INFO] tweaked toml for git repo https://github.com/MarchCraft/top-manager-discord written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MarchCraft/top-manager-discord 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6254fa7de067d32e5191e474a9ea68e0f87e7831661c4650c5bb672ddd555d14 [INFO] running `Command { std: "docker" "start" "-a" "6254fa7de067d32e5191e474a9ea68e0f87e7831661c4650c5bb672ddd555d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6254fa7de067d32e5191e474a9ea68e0f87e7831661c4650c5bb672ddd555d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6254fa7de067d32e5191e474a9ea68e0f87e7831661c4650c5bb672ddd555d14", kill_on_drop: false }` [INFO] [stdout] 6254fa7de067d32e5191e474a9ea68e0f87e7831661c4650c5bb672ddd555d14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a91c69c130dc039a709c3d5a44d62a7d4fc9d000c5a32e257c46eff3ee9023e [INFO] running `Command { std: "docker" "start" "-a" "0a91c69c130dc039a709c3d5a44d62a7d4fc9d000c5a32e257c46eff3ee9023e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking webpki-roots v0.26.5 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling serenity v0.12.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking serde_cow v0.1.2 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking poise v0.6.1 [INFO] [stderr] Checking discord-intern-bot v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/structs.rs (1 fix) [INFO] [stderr] Fixed src/rest.rs (1 fix) [INFO] [stderr] Fixed src/keycloak.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (3 fixes) [INFO] [stderr] Fixed src/database.rs (2 fixes) [INFO] [stdout] warning: type `antragsid` should have an upper camel case name [INFO] [stdout] --> src/database.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct antragsid { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Antragsid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_type` [INFO] [stdout] --> src/main.rs:117:57 [INFO] [stdout] | [INFO] [stdout] 117 | pub async fn create_antrag(ctx: ApplicationContext<'_>, top_type: TopType) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/database.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{migrate::MigrateDatabase, Connection, Executor, Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/database.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{migrate::MigrateDatabase, Connection, Executor, Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Context` is never used [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Context<'a> = poise::Context<'a, Data, Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `discord_id` is never read [INFO] [stdout] --> src/database.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub discord_id: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_id` is never read [INFO] [stdout] --> src/database.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct antragsid { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 64 | antrag_id: String, [INFO] [stdout] 65 | thread_id: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `antragsid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `antragsid` should have an upper camel case name [INFO] [stdout] --> src/database.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct antragsid { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Antragsid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_type` [INFO] [stdout] --> src/main.rs:117:57 [INFO] [stdout] | [INFO] [stdout] 117 | pub async fn create_antrag(ctx: ApplicationContext<'_>, top_type: TopType) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/database.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{migrate::MigrateDatabase, Connection, Executor, Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/database.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{migrate::MigrateDatabase, Connection, Executor, Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Context` is never used [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Context<'a> = poise::Context<'a, Data, Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `discord_id` is never read [INFO] [stdout] --> src/database.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub discord_id: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_id` is never read [INFO] [stdout] --> src/database.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct antragsid { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 64 | antrag_id: String, [INFO] [stdout] 65 | thread_id: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `antragsid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.99s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking discord-intern-bot v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: type `antragsid` should have an upper camel case name [INFO] [stdout] --> src/database.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct antragsid { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Antragsid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `antragsid` should have an upper camel case name [INFO] [stdout] --> src/database.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct antragsid { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Antragsid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_type` [INFO] [stdout] --> src/main.rs:117:57 [INFO] [stdout] | [INFO] [stdout] 117 | pub async fn create_antrag(ctx: ApplicationContext<'_>, top_type: TopType) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_type` [INFO] [stdout] --> src/main.rs:117:57 [INFO] [stdout] | [INFO] [stdout] 117 | pub async fn create_antrag(ctx: ApplicationContext<'_>, top_type: TopType) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/database.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{migrate::MigrateDatabase, Connection, Executor, Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/database.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{migrate::MigrateDatabase, Connection, Executor, Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/database.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{migrate::MigrateDatabase, Connection, Executor, Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/database.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{migrate::MigrateDatabase, Connection, Executor, Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Context` is never used [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Context<'a> = poise::Context<'a, Data, Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `discord_id` is never read [INFO] [stdout] --> src/database.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub discord_id: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_id` is never read [INFO] [stdout] --> src/database.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct antragsid { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 64 | antrag_id: String, [INFO] [stdout] 65 | thread_id: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `antragsid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Context` is never used [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Context<'a> = poise::Context<'a, Data, Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `discord_id` is never read [INFO] [stdout] --> src/database.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub discord_id: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_id` is never read [INFO] [stdout] --> src/database.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct antragsid { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 64 | antrag_id: String, [INFO] [stdout] 65 | thread_id: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `antragsid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | create_antrag(ctx, top_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = create_antrag(ctx, top_type).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "0a91c69c130dc039a709c3d5a44d62a7d4fc9d000c5a32e257c46eff3ee9023e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a91c69c130dc039a709c3d5a44d62a7d4fc9d000c5a32e257c46eff3ee9023e", kill_on_drop: false }` [INFO] [stdout] 0a91c69c130dc039a709c3d5a44d62a7d4fc9d000c5a32e257c46eff3ee9023e