[INFO] cloning repository https://github.com/quangb/Discord-Bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quangb/Discord-Bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquangb%2FDiscord-Bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquangb%2FDiscord-Bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38a3394d830c74479b6d1ca3fce50c2d41336f4c [INFO] testing quangb/Discord-Bot against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquangb%2FDiscord-Bot" "/workspace/builds/worker-104/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-104/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quangb/Discord-Bot on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quangb/Discord-Bot [INFO] finished tweaking git repo https://github.com/quangb/Discord-Bot [INFO] tweaked toml for git repo https://github.com/quangb/Discord-Bot written to /workspace/builds/worker-104/source/Cargo.toml [INFO] crate git repo https://github.com/quangb/Discord-Bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1fe1a923462b53ddfd8a78482e537686f0cb01c8069654d1e1f0399d5121f74 [INFO] running `Command { std: "docker" "start" "-a" "b1fe1a923462b53ddfd8a78482e537686f0cb01c8069654d1e1f0399d5121f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1fe1a923462b53ddfd8a78482e537686f0cb01c8069654d1e1f0399d5121f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1fe1a923462b53ddfd8a78482e537686f0cb01c8069654d1e1f0399d5121f74", kill_on_drop: false }` [INFO] [stdout] b1fe1a923462b53ddfd8a78482e537686f0cb01c8069654d1e1f0399d5121f74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 437cb065cca532949d916743a3f2504865abaf571ce2cb576a7a9367e89ea24b [INFO] running `Command { std: "docker" "start" "-a" "437cb065cca532949d916743a3f2504865abaf571ce2cb576a7a9367e89ea24b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling serenity v0.8.0 [INFO] [stderr] Compiling uwl v0.5.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling tokio-rustls v0.13.0 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.12 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling command_attr v0.1.7 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling h2 v0.2.2 [INFO] [stderr] Compiling hyper v0.13.3 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let msg = msg.channel_id.send_message(&ctx.http, |m| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut s: String = get_random_path(&vector_file); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "437cb065cca532949d916743a3f2504865abaf571ce2cb576a7a9367e89ea24b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "437cb065cca532949d916743a3f2504865abaf571ce2cb576a7a9367e89ea24b", kill_on_drop: false }` [INFO] [stdout] 437cb065cca532949d916743a3f2504865abaf571ce2cb576a7a9367e89ea24b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0802678fbbc92ce7fdbcfabe96a56d0eb51a06d7a4cdfad82c44c1eaa340147e [INFO] running `Command { std: "docker" "start" "-a" "0802678fbbc92ce7fdbcfabe96a56d0eb51a06d7a4cdfad82c44c1eaa340147e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let msg = msg.channel_id.send_message(&ctx.http, |m| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut s: String = get_random_path(&vector_file); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.14s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/bot-3efffcfef454563d) [INFO] running `Command { std: "docker" "inspect" "0802678fbbc92ce7fdbcfabe96a56d0eb51a06d7a4cdfad82c44c1eaa340147e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0802678fbbc92ce7fdbcfabe96a56d0eb51a06d7a4cdfad82c44c1eaa340147e", kill_on_drop: false }` [INFO] [stdout] 0802678fbbc92ce7fdbcfabe96a56d0eb51a06d7a4cdfad82c44c1eaa340147e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ed4b5953d98713a8c7e4d3b59d4ddc2fdaf4c916766c616b0b4d4092e4cbe6ae [INFO] running `Command { std: "docker" "start" "-a" "ed4b5953d98713a8c7e4d3b59d4ddc2fdaf4c916766c616b0b4d4092e4cbe6ae", 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] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:35:17 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 35 | let msg = msg.channel_id.send_message(&ctx.http, |m| { [INFO] [stdout] [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | let mut s: String = get_random_path(&vector_file); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `bot` (bin "bot" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 26.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bot-3efffcfef454563d) [INFO] running `Command { std: "docker" "inspect" "ed4b5953d98713a8c7e4d3b59d4ddc2fdaf4c916766c616b0b4d4092e4cbe6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed4b5953d98713a8c7e4d3b59d4ddc2fdaf4c916766c616b0b4d4092e4cbe6ae", kill_on_drop: false }` [INFO] [stdout] ed4b5953d98713a8c7e4d3b59d4ddc2fdaf4c916766c616b0b4d4092e4cbe6ae