[INFO] cloning repository https://github.com/SirMatrix/korg-the-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SirMatrix/korg-the-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSirMatrix%2Fkorg-the-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSirMatrix%2Fkorg-the-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89092345797b7fe41fe4e570a48072c13f6c09ee [INFO] checking SirMatrix/korg-the-bot against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSirMatrix%2Fkorg-the-bot" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SirMatrix/korg-the-bot on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SirMatrix/korg-the-bot [INFO] finished tweaking git repo https://github.com/SirMatrix/korg-the-bot [INFO] tweaked toml for git repo https://github.com/SirMatrix/korg-the-bot written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/SirMatrix/korg-the-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e6ab852578b7fb5c07e34792fdf45e0432d5cf35031a79fce48458c0b3783f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4e6ab852578b7fb5c07e34792fdf45e0432d5cf35031a79fce48458c0b3783f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e6ab852578b7fb5c07e34792fdf45e0432d5cf35031a79fce48458c0b3783f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e6ab852578b7fb5c07e34792fdf45e0432d5cf35031a79fce48458c0b3783f7", kill_on_drop: false }` [INFO] [stdout] 4e6ab852578b7fb5c07e34792fdf45e0432d5cf35031a79fce48458c0b3783f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfb5eadd2fe9806e98fc775d9174d860325e2c7b9efc8b5db7d95eb3d793f772 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bfb5eadd2fe9806e98fc775d9174d860325e2c7b9efc8b5db7d95eb3d793f772", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling serenity v0.9.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling command_attr v0.3.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking async-tungstenite v0.9.3 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking korg-the-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/bot_token.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let mut client = Client::new(&include_str!("bot_token.txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client`, `channel::Message`, `gateway::Activity` [INFO] [stdout] --> src/events.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | client::{Client, Context, EventHandler}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | model::{channel::Message, gateway::Ready, gateway::Activity}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StandardFramework`, `async_trait`, `channel::Embed`, `gateway::Ready` [INFO] [stdout] --> src/commands/general.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | model::{channel::Message, gateway::Ready, channel::Embed}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | framework::standard::{StandardFramework, CommandResult,Args}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::guild::Target::Emoji` [INFO] [stdout] --> src/commands/general.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serenity::model::guild::Target::Emoji; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReactionType`, `Reaction` [INFO] [stdout] --> src/commands/general.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use serenity::model::channel::{Reaction, ReactionType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Custom` [INFO] [stdout] --> src/commands/general.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | use serenity::model::channel::ReactionType::{Custom, Unicode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/commands/general.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandResult`, `channel::Message`, `command`, `gateway::Activity`, `gateway::Ready`, `group` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | model::{channel::Message, gateway::Ready, gateway::Activity}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | prelude::*, [INFO] [stdout] 13 | framework::standard::macros::{command, group}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] 14 | framework::standard::{StandardFramework, CommandResult}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/bot_token.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let mut client = Client::new(&include_str!("bot_token.txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client`, `channel::Message`, `gateway::Activity` [INFO] [stdout] --> src/events.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | client::{Client, Context, EventHandler}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | model::{channel::Message, gateway::Ready, gateway::Activity}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StandardFramework`, `async_trait`, `channel::Embed`, `gateway::Ready` [INFO] [stdout] --> src/commands/general.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | async_trait, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | model::{channel::Message, gateway::Ready, channel::Embed}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | framework::standard::{StandardFramework, CommandResult,Args}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::guild::Target::Emoji` [INFO] [stdout] --> src/commands/general.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serenity::model::guild::Target::Emoji; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReactionType`, `Reaction` [INFO] [stdout] --> src/commands/general.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use serenity::model::channel::{Reaction, ReactionType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Custom` [INFO] [stdout] --> src/commands/general.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | use serenity::model::channel::ReactionType::{Custom, Unicode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/commands/general.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandResult`, `channel::Message`, `command`, `gateway::Activity`, `gateway::Ready`, `group` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | model::{channel::Message, gateway::Ready, gateway::Activity}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | prelude::*, [INFO] [stdout] 13 | framework::standard::macros::{command, group}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] 14 | framework::standard::{StandardFramework, CommandResult}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `serenity::Client::new`: please use `builder` instead [INFO] [stdout] --> src/main.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut client = Client::new(&include_str!("bot_token.txt")) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `serenity::Client::new`: please use `builder` instead [INFO] [stdout] --> src/main.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut client = Client::new(&include_str!("bot_token.txt")) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `korg-the-bot` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bfb5eadd2fe9806e98fc775d9174d860325e2c7b9efc8b5db7d95eb3d793f772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb5eadd2fe9806e98fc775d9174d860325e2c7b9efc8b5db7d95eb3d793f772", kill_on_drop: false }` [INFO] [stdout] bfb5eadd2fe9806e98fc775d9174d860325e2c7b9efc8b5db7d95eb3d793f772