[INFO] cloning repository https://github.com/barronwei/util-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/barronwei/util-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbarronwei%2Futil-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbarronwei%2Futil-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d41671b1a3c423f39c91c154b34bcffcf7dd0f5 [INFO] testing barronwei/util-bot against 1.63.0 for beta-1.64-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbarronwei%2Futil-bot" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/barronwei/util-bot on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/barronwei/util-bot [INFO] finished tweaking git repo https://github.com/barronwei/util-bot [INFO] tweaked toml for git repo https://github.com/barronwei/util-bot written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/barronwei/util-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/carllerche/eventual` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.9.2 [INFO] [stderr] Downloaded syncbox v0.2.4 [INFO] [stderr] Downloaded command_attr v0.2.0 [INFO] [stderr] Downloaded serenity v0.8.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02aaf4e89b6ca4d173ae2736af366ba8ff86fd430221e4786a6d4de387c5bea0 [INFO] running `Command { std: "docker" "start" "-a" "02aaf4e89b6ca4d173ae2736af366ba8ff86fd430221e4786a6d4de387c5bea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02aaf4e89b6ca4d173ae2736af366ba8ff86fd430221e4786a6d4de387c5bea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02aaf4e89b6ca4d173ae2736af366ba8ff86fd430221e4786a6d4de387c5bea0", kill_on_drop: false }` [INFO] [stdout] 02aaf4e89b6ca4d173ae2736af366ba8ff86fd430221e4786a6d4de387c5bea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78e0b16dc4a7cecc74d25676d7f275d2fadfe6c2a2eed0db9ab995155aa582d1 [INFO] running `Command { std: "docker" "start" "-a" "78e0b16dc4a7cecc74d25676d7f275d2fadfe6c2a2eed0db9ab995155aa582d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling serenity v0.8.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling syncbox v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling eventual v0.1.7 (https://github.com/carllerche/eventual#35a90165) [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling command_attr v0.2.0 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling util-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `macros::command` [INFO] [stdout] --> src/main.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use serenity::framework::standard::{macros::command, CommandResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema::user::dsl::*` [INFO] [stdout] --> src/main.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | use schema::user::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/main.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | uid: &u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_tokens` [INFO] [stdout] --> src/main.rs:795:52 [INFO] [stdout] | [INFO] [stdout] 795 | fn skrt_pool(context: &Context, message: &Message, message_tokens: &Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:957:28 [INFO] [stdout] | [INFO] [stdout] 957 | fn reaction_add(&self, context: Context, add_reaction: Reaction) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_reaction` [INFO] [stdout] --> src/main.rs:957:46 [INFO] [stdout] | [INFO] [stdout] 957 | fn reaction_add(&self, context: Context, add_reaction: Reaction) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_reaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:1037:21 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ready(&self, context: Context, bot_status: Ready) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `pool_id` are never read [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct PoolQuestions { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 71 | id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pool_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `response_id` are never read [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | struct PoolResponses { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 99 | id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 100 | response_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `match_id` are never read [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct MatchGroups { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 118 | id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | match_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Clear` and `GetHelp` are never constructed [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 126 | enum ReplyType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 127 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 128 | Clear, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | GetHelp, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | std::mem::replace(&mut costs[index], (index as u32, std::u32::MAX)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:536:17 [INFO] [stdout] | [INFO] [stdout] 536 | std::mem::replace(&mut costs[index], (index as u32, std::u32::MAX)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | std::mem::replace(&mut costs[index], (index as u32, get_cost(leader, &e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "78e0b16dc4a7cecc74d25676d7f275d2fadfe6c2a2eed0db9ab995155aa582d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78e0b16dc4a7cecc74d25676d7f275d2fadfe6c2a2eed0db9ab995155aa582d1", kill_on_drop: false }` [INFO] [stdout] 78e0b16dc4a7cecc74d25676d7f275d2fadfe6c2a2eed0db9ab995155aa582d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf727e58ae71f7a13f87c59f1b5afe687de8ce09cbce9b41fea19d5b6e6a792a [INFO] running `Command { std: "docker" "start" "-a" "bf727e58ae71f7a13f87c59f1b5afe687de8ce09cbce9b41fea19d5b6e6a792a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling util-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `macros::command` [INFO] [stdout] --> src/main.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use serenity::framework::standard::{macros::command, CommandResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema::user::dsl::*` [INFO] [stdout] --> src/main.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | use schema::user::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/main.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | uid: &u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_tokens` [INFO] [stdout] --> src/main.rs:795:52 [INFO] [stdout] | [INFO] [stdout] 795 | fn skrt_pool(context: &Context, message: &Message, message_tokens: &Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:957:28 [INFO] [stdout] | [INFO] [stdout] 957 | fn reaction_add(&self, context: Context, add_reaction: Reaction) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_reaction` [INFO] [stdout] --> src/main.rs:957:46 [INFO] [stdout] | [INFO] [stdout] 957 | fn reaction_add(&self, context: Context, add_reaction: Reaction) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_reaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:1037:21 [INFO] [stdout] | [INFO] [stdout] 1037 | fn ready(&self, context: Context, bot_status: Ready) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `pool_id` are never read [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct PoolQuestions { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 71 | id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pool_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `response_id` are never read [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | struct PoolResponses { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 99 | id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 100 | response_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `match_id` are never read [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct MatchGroups { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 118 | id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | match_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Clear` and `GetHelp` are never constructed [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 126 | enum ReplyType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 127 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 128 | Clear, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | GetHelp, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | std::mem::replace(&mut costs[index], (index as u32, std::u32::MAX)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:536:17 [INFO] [stdout] | [INFO] [stdout] 536 | std::mem::replace(&mut costs[index], (index as u32, std::u32::MAX)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | std::mem::replace(&mut costs[index], (index as u32, get_cost(leader, &e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `Command { std: "docker" "inspect" "bf727e58ae71f7a13f87c59f1b5afe687de8ce09cbce9b41fea19d5b6e6a792a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf727e58ae71f7a13f87c59f1b5afe687de8ce09cbce9b41fea19d5b6e6a792a", kill_on_drop: false }` [INFO] [stdout] bf727e58ae71f7a13f87c59f1b5afe687de8ce09cbce9b41fea19d5b6e6a792a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9e8261603fa445538295a3ecf547da1471421f0691c36ba785a4b42151949d1d [INFO] running `Command { std: "docker" "start" "-a" "9e8261603fa445538295a3ecf547da1471421f0691c36ba785a4b42151949d1d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `macros::command` [INFO] [stderr] --> src/main.rs:14:37 [INFO] [stderr] | [INFO] [stderr] 14 | use serenity::framework::standard::{macros::command, CommandResult}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `schema::user::dsl::*` [INFO] [stderr] --> src/main.rs:734:9 [INFO] [stderr] | [INFO] [stderr] 734 | use schema::user::dsl::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uid` [INFO] [stderr] --> src/main.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | uid: &u64, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message_tokens` [INFO] [stderr] --> src/main.rs:795:52 [INFO] [stderr] | [INFO] [stderr] 795 | fn skrt_pool(context: &Context, message: &Message, message_tokens: &Vec<&str>) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_tokens` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/main.rs:957:28 [INFO] [stderr] | [INFO] [stderr] 957 | fn reaction_add(&self, context: Context, add_reaction: Reaction) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `add_reaction` [INFO] [stderr] --> src/main.rs:957:46 [INFO] [stderr] | [INFO] [stderr] 957 | fn reaction_add(&self, context: Context, add_reaction: Reaction) {} [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_reaction` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/main.rs:1037:21 [INFO] [stderr] | [INFO] [stderr] 1037 | fn ready(&self, context: Context, bot_status: Ready) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `pool_id` are never read [INFO] [stderr] --> src/main.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 70 | struct PoolQuestions { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 71 | id: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 72 | pool_id: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `response_id` are never read [INFO] [stderr] --> src/main.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 98 | struct PoolResponses { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 99 | id: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 100 | response_id: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `match_id` are never read [INFO] [stderr] --> src/main.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 117 | struct MatchGroups { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 118 | id: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 119 | match_id: i32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Add`, `Clear` and `GetHelp` are never constructed [INFO] [stderr] --> src/main.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 126 | enum ReplyType { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 127 | Add, [INFO] [stderr] | ^^^ [INFO] [stderr] 128 | Clear, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 129 | GetHelp, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:529:17 [INFO] [stderr] | [INFO] [stderr] 529 | std::mem::replace(&mut costs[index], (index as u32, std::u32::MAX)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:536:17 [INFO] [stderr] | [INFO] [stderr] 536 | std::mem::replace(&mut costs[index], (index as u32, std::u32::MAX)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:539:13 [INFO] [stderr] | [INFO] [stderr] 539 | std::mem::replace(&mut costs[index], (index as u32, get_cost(leader, &e))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: `util-bot` (bin "util-bot" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/util_bot-a3481714030a4c27) [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" "9e8261603fa445538295a3ecf547da1471421f0691c36ba785a4b42151949d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e8261603fa445538295a3ecf547da1471421f0691c36ba785a4b42151949d1d", kill_on_drop: false }` [INFO] [stdout] 9e8261603fa445538295a3ecf547da1471421f0691c36ba785a4b42151949d1d