[INFO] cloning repository https://github.com/Flo2410/pterocord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Flo2410/pterocord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlo2410%2Fpterocord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlo2410%2Fpterocord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a506ec805095f66e1b24424f78645a51d062489 [INFO] building Flo2410/pterocord against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlo2410%2Fpterocord" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Flo2410/pterocord [INFO] finished tweaking git repo https://github.com/Flo2410/pterocord [INFO] tweaked toml for git repo https://github.com/Flo2410/pterocord written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Flo2410/pterocord on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Flo2410/pterocord 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded neli v0.6.4 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded async-tungstenite v0.20.0 [INFO] [stderr] Downloaded neli-proc-macros v0.1.3 [INFO] [stderr] Downloaded local-ip-address v0.6.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.83 [INFO] [stderr] Downloaded pterodactyl_api v0.1.1 [INFO] [stderr] Downloaded syn v2.0.65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60143651e64000b549737e1fb7900e1c48f9ddb0a828da0d32cc0654ea76c7e8 [INFO] running `Command { std: "docker" "start" "-a" "60143651e64000b549737e1fb7900e1c48f9ddb0a828da0d32cc0654ea76c7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60143651e64000b549737e1fb7900e1c48f9ddb0a828da0d32cc0654ea76c7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60143651e64000b549737e1fb7900e1c48f9ddb0a828da0d32cc0654ea76c7e8", kill_on_drop: false }` [INFO] [stdout] 60143651e64000b549737e1fb7900e1c48f9ddb0a828da0d32cc0654ea76c7e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae3acb3e97ce4554222ebc3c88ff5960e90747cb6bd0cec4f096b30ea80b4725 [INFO] running `Command { std: "docker" "start" "-a" "ae3acb3e97ce4554222ebc3c88ff5960e90747cb6bd0cec4f096b30ea80b4725", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling serenity v0.12.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling command_attr v0.5.1 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tungstenite v0.18.0 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Compiling async-tungstenite v0.20.0 [INFO] [stderr] Compiling neli v0.6.4 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling local-ip-address v0.6.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling pterodactyl_api v0.1.1 [INFO] [stderr] Compiling poise v0.6.1 [INFO] [stderr] Compiling pterocord v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `server_id` [INFO] [stdout] --> src/commands/server.rs:64:63 [INFO] [stdout] | [INFO] [stdout] 64 | #[description = "The server id optained from /server list"] server_id: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_name` [INFO] [stdout] --> src/commands/server.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | #[description = "The channel name"] channel_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/commands/server.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | let client = &ctx.data().ptero_client; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/commands/server.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | let channel = ChannelId::new(channel_id.parse()?).to_channel(ctx).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_server` and `save` are never used [INFO] [stdout] --> src/config.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn add_server(&mut self, server_config: ServerConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn save(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_channel` and `build_channel` are never used [INFO] [stdout] --> src/server.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 39 | impl Server { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn update_channel(&self, cache_http: impl CacheHttp) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | async fn build_channel(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | async fn build_channel(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 130 | async fn build_channel(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "ae3acb3e97ce4554222ebc3c88ff5960e90747cb6bd0cec4f096b30ea80b4725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3acb3e97ce4554222ebc3c88ff5960e90747cb6bd0cec4f096b30ea80b4725", kill_on_drop: false }` [INFO] [stdout] ae3acb3e97ce4554222ebc3c88ff5960e90747cb6bd0cec4f096b30ea80b4725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93bf5bfe8921cadc3b888463d547dbafeaea9ab538f04323cd1f6ca3315667e6 [INFO] running `Command { std: "docker" "start" "-a" "93bf5bfe8921cadc3b888463d547dbafeaea9ab538f04323cd1f6ca3315667e6", kill_on_drop: false }` [INFO] [stderr] Compiling pterocord v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `server_id` [INFO] [stdout] --> src/commands/server.rs:64:63 [INFO] [stdout] | [INFO] [stdout] 64 | #[description = "The server id optained from /server list"] server_id: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_name` [INFO] [stdout] --> src/commands/server.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | #[description = "The channel name"] channel_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/commands/server.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | let client = &ctx.data().ptero_client; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/commands/server.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | let channel = ChannelId::new(channel_id.parse()?).to_channel(ctx).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_server` and `save` are never used [INFO] [stdout] --> src/config.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 20 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn add_server(&mut self, server_config: ServerConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn save(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_channel` and `build_channel` are never used [INFO] [stdout] --> src/server.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 39 | impl Server { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn update_channel(&self, cache_http: impl CacheHttp) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | async fn build_channel(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | async fn build_channel(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 130 | async fn build_channel(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.78s [INFO] running `Command { std: "docker" "inspect" "93bf5bfe8921cadc3b888463d547dbafeaea9ab538f04323cd1f6ca3315667e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93bf5bfe8921cadc3b888463d547dbafeaea9ab538f04323cd1f6ca3315667e6", kill_on_drop: false }` [INFO] [stdout] 93bf5bfe8921cadc3b888463d547dbafeaea9ab538f04323cd1f6ca3315667e6