[INFO] cloning repository https://github.com/Night-Hunter-NF/iced_discord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Night-Hunter-NF/iced_discord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNight-Hunter-NF%2Ficed_discord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNight-Hunter-NF%2Ficed_discord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8140c6d19ead1274117b63f356f50ce92bd1632 [INFO] testing Night-Hunter-NF/iced_discord/b8140c6d19ead1274117b63f356f50ce92bd1632 against beta-2024-09-05 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNight-Hunter-NF%2Ficed_discord" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Night-Hunter-NF/iced_discord on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Night-Hunter-NF/iced_discord [INFO] finished tweaking git repo https://github.com/Night-Hunter-NF/iced_discord [INFO] tweaked toml for git repo https://github.com/Night-Hunter-NF/iced_discord written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Night-Hunter-NF/iced_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" "+beta-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ad6bdc58912fe1e2a2ddf3876173515fc51f6c4275ad48e9e53e3a3f749406f [INFO] running `Command { std: "docker" "start" "-a" "1ad6bdc58912fe1e2a2ddf3876173515fc51f6c4275ad48e9e53e3a3f749406f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ad6bdc58912fe1e2a2ddf3876173515fc51f6c4275ad48e9e53e3a3f749406f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ad6bdc58912fe1e2a2ddf3876173515fc51f6c4275ad48e9e53e3a3f749406f", kill_on_drop: false }` [INFO] [stdout] 1ad6bdc58912fe1e2a2ddf3876173515fc51f6c4275ad48e9e53e3a3f749406f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4ca62330e332bb07a2a9ef1b39873cc9843fbd3bc839fb8619a86346574a393 [INFO] running `Command { std: "docker" "start" "-a" "d4ca62330e332bb07a2a9ef1b39873cc9843fbd3bc839fb8619a86346574a393", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling serde_derive v1.0.149 [INFO] [stderr] Compiling serde v1.0.149 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.59 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling ipnet v2.6.0 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling serenity v0.11.5 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.5 [INFO] [stderr] Compiling darling_core v0.14.2 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.14.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling darling v0.14.2 [INFO] [stderr] Compiling poise_macros v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling dashmap v5.4.0 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling poise v0.5.1 [INFO] [stderr] Compiling slavebot_mk2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cache` [INFO] [stdout] --> src/commands/general.rs:394:7 [INFO] [stdout] | [INFO] [stdout] 394 | #[cfg(feature = "cache")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | /// The global error handler for all error cases that may occur [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | on_error: |error| Box::pin(on_error(error)), [INFO] [stdout] | ------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | /// This code is run before every command [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | / pre_command: |ctx| { [INFO] [stdout] 131 | | Box::pin(async move { [INFO] [stdout] 132 | | println!("Executing command {}...", ctx.command().qualified_name); [INFO] [stdout] 133 | | }) [INFO] [stdout] 134 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | /// This code is run after a command if it was successful (returned Ok) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | / post_command: |ctx| { [INFO] [stdout] 137 | | Box::pin(async move { [INFO] [stdout] 138 | | println!("Executed command {}!", ctx.command().qualified_name); [INFO] [stdout] 139 | | }) [INFO] [stdout] 140 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | /// Every command invocation must pass this check to continue execution [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | / command_check: Some(|ctx| { [INFO] [stdout] 143 | | Box::pin(async move { [INFO] [stdout] 144 | | if ctx.author().id == 123456789 { [INFO] [stdout] 145 | | return Ok(false); [INFO] [stdout] ... | [INFO] [stdout] 148 | | }) [INFO] [stdout] 149 | | }), [INFO] [stdout] | |__________- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | /// Enforce command checks even for owners (enforced by default) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | /// Set to true to bypass checks, which is useful for testing [INFO] [stdout] 152 | skip_checks_for_owners: false, [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | /// Set to true to bypass checks, which is useful for testing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | skip_checks_for_owners: false, [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cache` [INFO] [stdout] --> src/main.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "cache")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/commands/general.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Write as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `votes` is never read [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | votes: Mutex>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createPoll` should have a snake case name [INFO] [stdout] --> src/commands/general.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn createPoll( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_poll` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPoll` should have a snake case name [INFO] [stdout] --> src/commands/general.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn getPoll(ctx: Context<'_>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `endPoll` should have a snake case name [INFO] [stdout] --> src/commands/general.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | pub async fn endPoll(ctx: Context<'_>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `end_poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.50s [INFO] running `Command { std: "docker" "inspect" "d4ca62330e332bb07a2a9ef1b39873cc9843fbd3bc839fb8619a86346574a393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ca62330e332bb07a2a9ef1b39873cc9843fbd3bc839fb8619a86346574a393", kill_on_drop: false }` [INFO] [stdout] d4ca62330e332bb07a2a9ef1b39873cc9843fbd3bc839fb8619a86346574a393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a24fc15738cc391f366cde6e21c8e1d705237a316afe5aade5e0333586af114 [INFO] running `Command { std: "docker" "start" "-a" "8a24fc15738cc391f366cde6e21c8e1d705237a316afe5aade5e0333586af114", kill_on_drop: false }` [INFO] [stderr] Compiling slavebot_mk2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cache` [INFO] [stdout] --> src/commands/general.rs:394:7 [INFO] [stdout] | [INFO] [stdout] 394 | #[cfg(feature = "cache")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | /// The global error handler for all error cases that may occur [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | on_error: |error| Box::pin(on_error(error)), [INFO] [stdout] | ------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | /// This code is run before every command [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | / pre_command: |ctx| { [INFO] [stdout] 131 | | Box::pin(async move { [INFO] [stdout] 132 | | println!("Executing command {}...", ctx.command().qualified_name); [INFO] [stdout] 133 | | }) [INFO] [stdout] 134 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | /// This code is run after a command if it was successful (returned Ok) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | / post_command: |ctx| { [INFO] [stdout] 137 | | Box::pin(async move { [INFO] [stdout] 138 | | println!("Executed command {}!", ctx.command().qualified_name); [INFO] [stdout] 139 | | }) [INFO] [stdout] 140 | | }, [INFO] [stdout] | |_________- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | /// Every command invocation must pass this check to continue execution [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | / command_check: Some(|ctx| { [INFO] [stdout] 143 | | Box::pin(async move { [INFO] [stdout] 144 | | if ctx.author().id == 123456789 { [INFO] [stdout] 145 | | return Ok(false); [INFO] [stdout] ... | [INFO] [stdout] 148 | | }) [INFO] [stdout] 149 | | }), [INFO] [stdout] | |__________- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | /// Enforce command checks even for owners (enforced by default) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | /// Set to true to bypass checks, which is useful for testing [INFO] [stdout] 152 | skip_checks_for_owners: false, [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | /// Set to true to bypass checks, which is useful for testing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | skip_checks_for_owners: false, [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cache` [INFO] [stdout] --> src/main.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "cache")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/commands/general.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Write as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `votes` is never read [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | votes: Mutex>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createPoll` should have a snake case name [INFO] [stdout] --> src/commands/general.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn createPoll( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_poll` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getPoll` should have a snake case name [INFO] [stdout] --> src/commands/general.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn getPoll(ctx: Context<'_>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `endPoll` should have a snake case name [INFO] [stdout] --> src/commands/general.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | pub async fn endPoll(ctx: Context<'_>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `end_poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `Command { std: "docker" "inspect" "8a24fc15738cc391f366cde6e21c8e1d705237a316afe5aade5e0333586af114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a24fc15738cc391f366cde6e21c8e1d705237a316afe5aade5e0333586af114", kill_on_drop: false }` [INFO] [stdout] 8a24fc15738cc391f366cde6e21c8e1d705237a316afe5aade5e0333586af114 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a625132fb510600f4c804b9e8ea6a7772215639f462451b92ecdabc84c79e28 [INFO] running `Command { std: "docker" "start" "-a" "0a625132fb510600f4c804b9e8ea6a7772215639f462451b92ecdabc84c79e28", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cache` [INFO] [stderr] --> src/commands/general.rs:394:7 [INFO] [stderr] | [INFO] [stderr] 394 | #[cfg(feature = "cache")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | /// The global error handler for all error cases that may occur [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 128 | on_error: |error| Box::pin(on_error(error)), [INFO] [stderr] | ------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | /// This code is run before every command [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 130 | / pre_command: |ctx| { [INFO] [stderr] 131 | | Box::pin(async move { [INFO] [stderr] 132 | | println!("Executing command {}...", ctx.command().qualified_name); [INFO] [stderr] 133 | | }) [INFO] [stderr] 134 | | }, [INFO] [stderr] | |_________- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | /// This code is run after a command if it was successful (returned Ok) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 136 | / post_command: |ctx| { [INFO] [stderr] 137 | | Box::pin(async move { [INFO] [stderr] 138 | | println!("Executed command {}!", ctx.command().qualified_name); [INFO] [stderr] 139 | | }) [INFO] [stderr] 140 | | }, [INFO] [stderr] | |_________- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | /// Every command invocation must pass this check to continue execution [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 142 | / command_check: Some(|ctx| { [INFO] [stderr] 143 | | Box::pin(async move { [INFO] [stderr] 144 | | if ctx.author().id == 123456789 { [INFO] [stderr] 145 | | return Ok(false); [INFO] [stderr] ... | [INFO] [stderr] 148 | | }) [INFO] [stderr] 149 | | }), [INFO] [stderr] | |__________- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | /// Enforce command checks even for owners (enforced by default) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 151 | /// Set to true to bypass checks, which is useful for testing [INFO] [stderr] 152 | skip_checks_for_owners: false, [INFO] [stderr] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | /// Set to true to bypass checks, which is useful for testing [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 152 | skip_checks_for_owners: false, [INFO] [stderr] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cache` [INFO] [stderr] --> src/main.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | #[cfg(feature = "cache")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Write` [INFO] [stderr] --> src/commands/general.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt::Write as _; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `votes` is never read [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Data { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 22 | votes: Mutex>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `createPoll` should have a snake case name [INFO] [stderr] --> src/commands/general.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | pub async fn createPoll( [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_poll` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `getPoll` should have a snake case name [INFO] [stderr] --> src/commands/general.rs:42:14 [INFO] [stderr] | [INFO] [stderr] 42 | pub async fn getPoll(ctx: Context<'_>) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `get_poll` [INFO] [stderr] [INFO] [stderr] warning: function `endPoll` should have a snake case name [INFO] [stderr] --> src/commands/general.rs:119:14 [INFO] [stderr] | [INFO] [stderr] 119 | pub async fn endPoll(ctx: Context<'_>) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `end_poll` [INFO] [stderr] [INFO] [stderr] warning: `slavebot_mk2` (bin "slavebot_mk2" test) generated 13 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/slavebot_mk2-3a25d4b9fa8d1234) [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" "0a625132fb510600f4c804b9e8ea6a7772215639f462451b92ecdabc84c79e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a625132fb510600f4c804b9e8ea6a7772215639f462451b92ecdabc84c79e28", kill_on_drop: false }` [INFO] [stdout] 0a625132fb510600f4c804b9e8ea6a7772215639f462451b92ecdabc84c79e28