[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] testing Flo2410/pterocord against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlo2410%2Fpterocord" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-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 command_attr v0.5.1 [INFO] [stderr] Downloaded typesize-derive v0.1.7 [INFO] [stderr] Downloaded typesize v0.1.7 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded local-ip-address v0.6.1 [INFO] [stderr] Downloaded env_logger v0.11.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.83 [INFO] [stderr] Downloaded neli v0.6.4 [INFO] [stderr] Downloaded neli-proc-macros v0.1.3 [INFO] [stderr] Downloaded pterodactyl_api v0.1.1 [INFO] [stderr] Downloaded rustls-webpki v0.102.4 [INFO] [stderr] Downloaded syn v2.0.65 [INFO] [stderr] Downloaded webpki-roots v0.26.1 [INFO] [stderr] Downloaded serenity v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 782e5a5aea2309abb9472bc75f0b0afee5445409e778d33c4fc25119371aea46 [INFO] running `Command { std: "docker" "start" "-a" "782e5a5aea2309abb9472bc75f0b0afee5445409e778d33c4fc25119371aea46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "782e5a5aea2309abb9472bc75f0b0afee5445409e778d33c4fc25119371aea46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782e5a5aea2309abb9472bc75f0b0afee5445409e778d33c4fc25119371aea46", kill_on_drop: false }` [INFO] [stdout] 782e5a5aea2309abb9472bc75f0b0afee5445409e778d33c4fc25119371aea46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce0b6f5872bc214e061049bfc3d5100a43a0ce55c640ac06f0e9ee7d35764280 [INFO] running `Command { std: "docker" "start" "-a" "ce0b6f5872bc214e061049bfc3d5100a43a0ce55c640ac06f0e9ee7d35764280", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling serenity v0.12.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [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 syn v1.0.109 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling rustls v0.21.12 [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 command_attr v0.5.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [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 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 url v2.5.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tungstenite v0.18.0 [INFO] [stderr] Compiling time v0.3.36 [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 neli v0.6.4 [INFO] [stderr] Compiling async-tungstenite v0.20.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling local-ip-address v0.6.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [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" "ce0b6f5872bc214e061049bfc3d5100a43a0ce55c640ac06f0e9ee7d35764280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce0b6f5872bc214e061049bfc3d5100a43a0ce55c640ac06f0e9ee7d35764280", kill_on_drop: false }` [INFO] [stdout] ce0b6f5872bc214e061049bfc3d5100a43a0ce55c640ac06f0e9ee7d35764280 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74a41993bc8d67152f5db51cb7c162819bb675b77f5dfa18c0d276b698e21273 [INFO] running `Command { std: "docker" "start" "-a" "74a41993bc8d67152f5db51cb7c162819bb675b77f5dfa18c0d276b698e21273", 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.71s [INFO] running `Command { std: "docker" "inspect" "74a41993bc8d67152f5db51cb7c162819bb675b77f5dfa18c0d276b698e21273", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a41993bc8d67152f5db51cb7c162819bb675b77f5dfa18c0d276b698e21273", kill_on_drop: false }` [INFO] [stdout] 74a41993bc8d67152f5db51cb7c162819bb675b77f5dfa18c0d276b698e21273 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9bd7f5cfe394cb956c2392b6993925f03cfa72ae995012c33cf92cf8fb39065b [INFO] running `Command { std: "docker" "start" "-a" "9bd7f5cfe394cb956c2392b6993925f03cfa72ae995012c33cf92cf8fb39065b", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `server_id` [INFO] [stderr] --> src/commands/server.rs:64:63 [INFO] [stderr] | [INFO] [stderr] 64 | #[description = "The server id optained from /server list"] server_id: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channel_name` [INFO] [stderr] --> src/commands/server.rs:66:39 [INFO] [stderr] | [INFO] [stderr] 66 | #[description = "The channel name"] channel_name: String, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/commands/server.rs:68:7 [INFO] [stderr] | [INFO] [stderr] 68 | let client = &ctx.data().ptero_client; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channel` [INFO] [stderr] --> src/commands/server.rs:73:7 [INFO] [stderr] | [INFO] [stderr] 73 | let channel = ChannelId::new(channel_id.parse()?).to_channel(ctx).await?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stderr] [INFO] [stderr] warning: methods `add_server` and `save` are never used [INFO] [stderr] --> src/config.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 20 | impl Config { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn add_server(&mut self, server_config: ServerConfig) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | fn save(&self) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `update_channel` and `build_channel` are never used [INFO] [stderr] --> src/server.rs:94:16 [INFO] [stderr] | [INFO] [stderr] 39 | impl Server { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 94 | pub async fn update_channel(&self, cache_http: impl CacheHttp) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 130 | async fn build_channel(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/server.rs:130:26 [INFO] [stderr] | [INFO] [stderr] 130 | async fn build_channel(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 130 | async fn build_channel(&self) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pterocord` (bin "pterocord" test) generated 7 warnings (run `cargo fix --bin "pterocord" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pterocord-2fdea15aaf572a6c) [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" "9bd7f5cfe394cb956c2392b6993925f03cfa72ae995012c33cf92cf8fb39065b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bd7f5cfe394cb956c2392b6993925f03cfa72ae995012c33cf92cf8fb39065b", kill_on_drop: false }` [INFO] [stdout] 9bd7f5cfe394cb956c2392b6993925f03cfa72ae995012c33cf92cf8fb39065b