[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 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquangb%2FDiscord-Bot" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quangb/Discord-Bot on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17d711ce37965f8da9650db0c6445334b0dd0f3e64fd24e21ffa848969d89c49 [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" "17d711ce37965f8da9650db0c6445334b0dd0f3e64fd24e21ffa848969d89c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17d711ce37965f8da9650db0c6445334b0dd0f3e64fd24e21ffa848969d89c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d711ce37965f8da9650db0c6445334b0dd0f3e64fd24e21ffa848969d89c49", kill_on_drop: false }` [INFO] [stdout] 17d711ce37965f8da9650db0c6445334b0dd0f3e64fd24e21ffa848969d89c49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] becbd754065c8a7f5b211106040d05e436254619bf535d7ee92da20d5c1d83d1 [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" "becbd754065c8a7f5b211106040d05e436254619bf535d7ee92da20d5c1d83d1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [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 pin-project-lite v0.1.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [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 block-padding v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.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 http-body v0.3.1 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.13.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 serde v1.0.104 [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 2m 57s [INFO] running `Command { std: "docker" "inspect" "becbd754065c8a7f5b211106040d05e436254619bf535d7ee92da20d5c1d83d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "becbd754065c8a7f5b211106040d05e436254619bf535d7ee92da20d5c1d83d1", kill_on_drop: false }` [INFO] [stdout] becbd754065c8a7f5b211106040d05e436254619bf535d7ee92da20d5c1d83d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e031e7dcbef95a65c62464e1f0b15aab578061748602437952fa5ccb5cd19cfa [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" "e031e7dcbef95a65c62464e1f0b15aab578061748602437952fa5ccb5cd19cfa", kill_on_drop: false }` [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.62s [INFO] running `Command { std: "docker" "inspect" "e031e7dcbef95a65c62464e1f0b15aab578061748602437952fa5ccb5cd19cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e031e7dcbef95a65c62464e1f0b15aab578061748602437952fa5ccb5cd19cfa", kill_on_drop: false }` [INFO] [stdout] e031e7dcbef95a65c62464e1f0b15aab578061748602437952fa5ccb5cd19cfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 04c4d68987a92e474c46c3612dba701cce67dd1b2fef9799a3fac9bbd852e7a5 [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" "04c4d68987a92e474c46c3612dba701cce67dd1b2fef9799a3fac9bbd852e7a5", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/main.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | let msg = msg.channel_id.send_message(&ctx.http, |m| { [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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/bot-0babb737800aaa76 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "04c4d68987a92e474c46c3612dba701cce67dd1b2fef9799a3fac9bbd852e7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c4d68987a92e474c46c3612dba701cce67dd1b2fef9799a3fac9bbd852e7a5", kill_on_drop: false }` [INFO] [stdout] 04c4d68987a92e474c46c3612dba701cce67dd1b2fef9799a3fac9bbd852e7a5