[INFO] cloning repository https://github.com/Her02N0one/discord-adventure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Her02N0one/discord-adventure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHer02N0one%2Fdiscord-adventure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHer02N0one%2Fdiscord-adventure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d9b6b6d1ff939ed31e86ddc9543f501727df32e [INFO] testing Her02N0one/discord-adventure against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHer02N0one%2Fdiscord-adventure" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Her02N0one/discord-adventure on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Her02N0one/discord-adventure [INFO] finished tweaking git repo https://github.com/Her02N0one/discord-adventure [INFO] tweaked toml for git repo https://github.com/Her02N0one/discord-adventure written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Her02N0one/discord-adventure 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http v0.2.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35a0897ec7126dbe844bff3b1fd06735a9f9fa54187e0238a523b369e5b392b1 [INFO] running `Command { std: "docker" "start" "-a" "35a0897ec7126dbe844bff3b1fd06735a9f9fa54187e0238a523b369e5b392b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35a0897ec7126dbe844bff3b1fd06735a9f9fa54187e0238a523b369e5b392b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a0897ec7126dbe844bff3b1fd06735a9f9fa54187e0238a523b369e5b392b1", kill_on_drop: false }` [INFO] [stdout] 35a0897ec7126dbe844bff3b1fd06735a9f9fa54187e0238a523b369e5b392b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee0deb0fbce705630dea4d7cc2446fcfe892a98f2df9fccec221f5c23c01b1c7 [INFO] running `Command { std: "docker" "start" "-a" "ee0deb0fbce705630dea4d7cc2446fcfe892a98f2df9fccec221f5c23c01b1c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling http v0.2.10 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling serenity v0.11.7 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling homestuck v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ser::SerializeStruct` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{ser::SerializeStruct, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PermissionOverwriteType`, `PermissionOverwrite`, `Permissions`, `UserId` [INFO] [stdout] --> src/main.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | prelude::{GuildChannel, PermissionOverwrite, PermissionOverwriteType, UserId}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | Permissions, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let user_id = msg.author.id; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let channel = channel_id.to_channel(&ctx).await.unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HumanHomeChannel` is never constructed [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct HumanHomeChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_user_id`, `get_user_id`, and `get_channel_id` are never used [INFO] [stdout] --> src/main.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl HumanHomeChannel { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 75 | fn new(channel_id: u64) -> HumanHomeChannel { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn set_user_id(&mut self, user_id: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn get_user_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn get_channel_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_openai_api` is never used [INFO] [stdout] --> src/main.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | async fn call_openai_api(request: ChatRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.47s [INFO] running `Command { std: "docker" "inspect" "ee0deb0fbce705630dea4d7cc2446fcfe892a98f2df9fccec221f5c23c01b1c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee0deb0fbce705630dea4d7cc2446fcfe892a98f2df9fccec221f5c23c01b1c7", kill_on_drop: false }` [INFO] [stdout] ee0deb0fbce705630dea4d7cc2446fcfe892a98f2df9fccec221f5c23c01b1c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17251943436a68ca308f6b0521355d5dac4685b1493c884ce81ea7369cf1f0a7 [INFO] running `Command { std: "docker" "start" "-a" "17251943436a68ca308f6b0521355d5dac4685b1493c884ce81ea7369cf1f0a7", kill_on_drop: false }` [INFO] [stderr] Compiling homestuck v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ser::SerializeStruct` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{ser::SerializeStruct, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PermissionOverwriteType`, `PermissionOverwrite`, `Permissions`, `UserId` [INFO] [stdout] --> src/main.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | prelude::{GuildChannel, PermissionOverwrite, PermissionOverwriteType, UserId}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | Permissions, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let user_id = msg.author.id; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let channel = channel_id.to_channel(&ctx).await.unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HumanHomeChannel` is never constructed [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct HumanHomeChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_user_id`, `get_user_id`, and `get_channel_id` are never used [INFO] [stdout] --> src/main.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl HumanHomeChannel { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 75 | fn new(channel_id: u64) -> HumanHomeChannel { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn set_user_id(&mut self, user_id: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn get_user_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn get_channel_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_openai_api` is never used [INFO] [stdout] --> src/main.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | async fn call_openai_api(request: ChatRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "17251943436a68ca308f6b0521355d5dac4685b1493c884ce81ea7369cf1f0a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17251943436a68ca308f6b0521355d5dac4685b1493c884ce81ea7369cf1f0a7", kill_on_drop: false }` [INFO] [stdout] 17251943436a68ca308f6b0521355d5dac4685b1493c884ce81ea7369cf1f0a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31ba71febcb7019968065269667d8e2ceae9af970bb07bb95ec1a086f7dacf9d [INFO] running `Command { std: "docker" "start" "-a" "31ba71febcb7019968065269667d8e2ceae9af970bb07bb95ec1a086f7dacf9d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ser::SerializeStruct` [INFO] [stderr] --> src/main.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use serde::{ser::SerializeStruct, Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PermissionOverwriteType`, `PermissionOverwrite`, `Permissions`, `UserId` [INFO] [stderr] --> src/main.rs:12:33 [INFO] [stderr] | [INFO] [stderr] 12 | prelude::{GuildChannel, PermissionOverwrite, PermissionOverwriteType, UserId}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] 13 | Permissions, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/main.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | let user_id = msg.author.id; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channel` [INFO] [stderr] --> src/main.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | let channel = channel_id.to_channel(&ctx).await.unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stderr] [INFO] [stderr] warning: struct `HumanHomeChannel` is never constructed [INFO] [stderr] --> src/main.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | struct HumanHomeChannel { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `set_user_id`, `get_user_id`, and `get_channel_id` are never used [INFO] [stderr] --> src/main.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 74 | impl HumanHomeChannel { [INFO] [stderr] | --------------------- associated items in this implementation [INFO] [stderr] 75 | fn new(channel_id: u64) -> HumanHomeChannel { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | fn set_user_id(&mut self, user_id: u64) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | fn get_user_id(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | fn get_channel_id(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `call_openai_api` is never used [INFO] [stderr] --> src/main.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | async fn call_openai_api(request: ChatRequest) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `homestuck` (bin "homestuck" test) generated 8 warnings (run `cargo fix --bin "homestuck" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/homestuck-9a5562d9c483fd3b) [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" "31ba71febcb7019968065269667d8e2ceae9af970bb07bb95ec1a086f7dacf9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ba71febcb7019968065269667d8e2ceae9af970bb07bb95ec1a086f7dacf9d", kill_on_drop: false }` [INFO] [stdout] 31ba71febcb7019968065269667d8e2ceae9af970bb07bb95ec1a086f7dacf9d