[INFO] cloning repository https://github.com/DavidRyan/podgpt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DavidRyan/podgpt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidRyan%2Fpodgpt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidRyan%2Fpodgpt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bc5c0b54862f99134dc8bf53ea8fb8aa04ff560 [INFO] testing DavidRyan/podgpt against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidRyan%2Fpodgpt" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DavidRyan/podgpt [INFO] finished tweaking git repo https://github.com/DavidRyan/podgpt [INFO] tweaked toml for git repo https://github.com/DavidRyan/podgpt written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DavidRyan/podgpt on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DavidRyan/podgpt 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfb9c28e6f0c4a037d253c9ac1df206c11eb3067e961ac0438bcdc79761ba251 [INFO] running `Command { std: "docker" "start" "-a" "cfb9c28e6f0c4a037d253c9ac1df206c11eb3067e961ac0438bcdc79761ba251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfb9c28e6f0c4a037d253c9ac1df206c11eb3067e961ac0438bcdc79761ba251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb9c28e6f0c4a037d253c9ac1df206c11eb3067e961ac0438bcdc79761ba251", kill_on_drop: false }` [INFO] [stdout] cfb9c28e6f0c4a037d253c9ac1df206c11eb3067e961ac0438bcdc79761ba251 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd3214ffbc1b024642de6174da339533167ac52738f8e800b5fed19c49fe2861 [INFO] running `Command { std: "docker" "start" "-a" "fd3214ffbc1b024642de6174da339533167ac52738f8e800b5fed19c49fe2861", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.2 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling iana-time-zone v0.1.62 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling serenity-commands-macros v0.8.0 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.28.0 [INFO] [stderr] Compiling serenity-commands v0.8.0 [INFO] [stderr] Compiling poise v0.6.1 [INFO] [stderr] Compiling podgpt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serenity::all::CommandInteraction` [INFO] [stdout] --> src/commands/chat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serenity::all::CommandInteraction; [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: `crate::gpt::Gpt` [INFO] [stdout] --> src/commands/chat.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::gpt::Gpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/gpt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageInput` and `ImageModel` [INFO] [stdout] --> src/gpt.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | use async_openai::types::{ImageInput, ImageModel}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/gpt.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | use image::{io::Reader as ImageReader, GrayImage, Luma, ImageFormat}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/gpt.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | let image_reader = ImageReader::with_format(Cursor::new(&image_bytes), ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AllCommands` is never used [INFO] [stdout] --> src/commands/all_commands.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AllCommands { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `image` is never used [INFO] [stdout] --> src/commands/image.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn image() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_image_from_prompt` is never used [INFO] [stdout] --> src/gpt.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 5 | impl Gpt { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 6 | pub async fn generate_image_from_prompt(&self, prompt: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 42s [INFO] running `Command { std: "docker" "inspect" "fd3214ffbc1b024642de6174da339533167ac52738f8e800b5fed19c49fe2861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd3214ffbc1b024642de6174da339533167ac52738f8e800b5fed19c49fe2861", kill_on_drop: false }` [INFO] [stdout] fd3214ffbc1b024642de6174da339533167ac52738f8e800b5fed19c49fe2861 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39788e356d32016f53ab0cd0da8e55358e76e02bbc96bca461e57e99cff9177b [INFO] running `Command { std: "docker" "start" "-a" "39788e356d32016f53ab0cd0da8e55358e76e02bbc96bca461e57e99cff9177b", kill_on_drop: false }` [INFO] [stderr] Compiling podgpt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serenity::all::CommandInteraction` [INFO] [stdout] --> src/commands/chat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serenity::all::CommandInteraction; [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: `crate::gpt::Gpt` [INFO] [stdout] --> src/commands/chat.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::gpt::Gpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/gpt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageInput` and `ImageModel` [INFO] [stdout] --> src/gpt.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | use async_openai::types::{ImageInput, ImageModel}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/gpt.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | use image::{io::Reader as ImageReader, GrayImage, Luma, ImageFormat}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/gpt.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | let image_reader = ImageReader::with_format(Cursor::new(&image_bytes), ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AllCommands` is never used [INFO] [stdout] --> src/commands/all_commands.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AllCommands { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `image` is never used [INFO] [stdout] --> src/commands/image.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn image() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_image_from_prompt` is never used [INFO] [stdout] --> src/gpt.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 5 | impl Gpt { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 6 | pub async fn generate_image_from_prompt(&self, prompt: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.12s [INFO] running `Command { std: "docker" "inspect" "39788e356d32016f53ab0cd0da8e55358e76e02bbc96bca461e57e99cff9177b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39788e356d32016f53ab0cd0da8e55358e76e02bbc96bca461e57e99cff9177b", kill_on_drop: false }` [INFO] [stdout] 39788e356d32016f53ab0cd0da8e55358e76e02bbc96bca461e57e99cff9177b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3f7b3b033aed147a6597321076075cadd8c27e5113994cd03d416dd5e429a8f [INFO] running `Command { std: "docker" "start" "-a" "b3f7b3b033aed147a6597321076075cadd8c27e5113994cd03d416dd5e429a8f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `serenity::all::CommandInteraction` [INFO] [stderr] --> src/commands/chat.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use serenity::all::CommandInteraction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::gpt::Gpt` [INFO] [stderr] --> src/commands/chat.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::gpt::Gpt; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/gpt.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ImageInput` and `ImageModel` [INFO] [stderr] --> src/gpt.rs:21:27 [INFO] [stderr] | [INFO] [stderr] 21 | use async_openai::types::{ImageInput, ImageModel}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stderr] --> src/gpt.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | use image::{io::Reader as ImageReader, GrayImage, Luma, ImageFormat}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stderr] --> src/gpt.rs:149:28 [INFO] [stderr] | [INFO] [stderr] 149 | let image_reader = ImageReader::with_format(Cursor::new(&image_bytes), ImageFormat::Png); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `AllCommands` is never used [INFO] [stderr] --> src/commands/all_commands.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum AllCommands { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `image` is never used [INFO] [stderr] --> src/commands/image.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | pub async fn image() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `generate_image_from_prompt` is never used [INFO] [stderr] --> src/gpt.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 5 | impl Gpt { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] 6 | pub async fn generate_image_from_prompt(&self, prompt: String) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `podgpt` (bin "podgpt" test) generated 9 warnings (run `cargo fix --bin "podgpt" -p podgpt --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/podgpt-2254826defb0b366) [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" "b3f7b3b033aed147a6597321076075cadd8c27e5113994cd03d416dd5e429a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3f7b3b033aed147a6597321076075cadd8c27e5113994cd03d416dd5e429a8f", kill_on_drop: false }` [INFO] [stdout] b3f7b3b033aed147a6597321076075cadd8c27e5113994cd03d416dd5e429a8f