[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] testing SirMatrix/korg-the-bot against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSirMatrix%2Fkorg-the-bot" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SirMatrix/korg-the-bot on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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" "+1.49.0" "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-6/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" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18ddc45620ee8e8ddb6436fec6a7e1390eb5c2a4f44a0b5650abc89e2439b5b0 [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" "18ddc45620ee8e8ddb6436fec6a7e1390eb5c2a4f44a0b5650abc89e2439b5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18ddc45620ee8e8ddb6436fec6a7e1390eb5c2a4f44a0b5650abc89e2439b5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ddc45620ee8e8ddb6436fec6a7e1390eb5c2a4f44a0b5650abc89e2439b5b0", kill_on_drop: false }` [INFO] [stdout] 18ddc45620ee8e8ddb6436fec6a7e1390eb5c2a4f44a0b5650abc89e2439b5b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cc5348fdfa50f655cf8e69c1f7019a3257178c1faa1600ea6ad5f37fc6074c0 [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" "6cc5348fdfa50f655cf8e69c1f7019a3257178c1faa1600ea6ad5f37fc6074c0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serenity v0.9.3 [INFO] [stderr] Compiling typemap_rev v0.1.4 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling command_attr v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling async-tungstenite v0.9.3 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling 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] 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] running `Command { std: "docker" "inspect" "6cc5348fdfa50f655cf8e69c1f7019a3257178c1faa1600ea6ad5f37fc6074c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc5348fdfa50f655cf8e69c1f7019a3257178c1faa1600ea6ad5f37fc6074c0", kill_on_drop: false }` [INFO] [stdout] 6cc5348fdfa50f655cf8e69c1f7019a3257178c1faa1600ea6ad5f37fc6074c0