[INFO] cloning repository https://github.com/Northcode/tribal-wars-stats-dicord-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Northcode/tribal-wars-stats-dicord-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNorthcode%2Ftribal-wars-stats-dicord-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNorthcode%2Ftribal-wars-stats-dicord-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8d8503979414d233ac6691b6a00b6b05a13b32b [INFO] testing Northcode/tribal-wars-stats-dicord-bot against master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNorthcode%2Ftribal-wars-stats-dicord-bot" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Northcode/tribal-wars-stats-dicord-bot on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Northcode/tribal-wars-stats-dicord-bot [INFO] finished tweaking git repo https://github.com/Northcode/tribal-wars-stats-dicord-bot [INFO] tweaked toml for git repo https://github.com/Northcode/tribal-wars-stats-dicord-bot written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Northcode/tribal-wars-stats-dicord-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 533f7c94de420eb3291335351eb59f7de80830016bbb24f9a6e6bb16c3213d11 [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" "533f7c94de420eb3291335351eb59f7de80830016bbb24f9a6e6bb16c3213d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "533f7c94de420eb3291335351eb59f7de80830016bbb24f9a6e6bb16c3213d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533f7c94de420eb3291335351eb59f7de80830016bbb24f9a6e6bb16c3213d11", kill_on_drop: false }` [INFO] [stdout] 533f7c94de420eb3291335351eb59f7de80830016bbb24f9a6e6bb16c3213d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4f662c6a417204699b7f12aee0c4397ca241723555788ceb88e0a5e21a20d5b [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" "c4f662c6a417204699b7f12aee0c4397ca241723555788ceb88e0a5e21a20d5b", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.26 [INFO] [stderr] Compiling matches v0.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling openssl v0.9.24 (https://github.com/ishitatsuyuki/rust-openssl?branch=0.9.x#3b73dda4) [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling openssl v0.10.20 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling string v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling stable_deref_trait v1.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling custom_error v1.6.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling miniz_oxide v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.3.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling base64 v0.8.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Compiling bytes v0.4.8 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tendril v0.3.1 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.43 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-io v0.1.7 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling phf v0.7.22 [INFO] [stderr] Compiling tokio-reactor v0.1.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.13 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Compiling string_cache_codegen v0.4.1 [INFO] [stderr] Compiling hyper v0.10.13 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling backtrace v0.3.12 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling mime_guess v1.8.4 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio v0.1.18 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling string_cache v0.6.2 [INFO] [stderr] Compiling markup5ever v0.3.2 [INFO] [stderr] Compiling h2 v0.1.10 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling html5ever v0.18.0 [INFO] [stderr] Compiling multipart v0.13.6 [INFO] [stderr] Compiling native-tls v0.1.5 [INFO] [stderr] Compiling hyper-native-tls v0.2.4 [INFO] [stderr] Compiling evzht9h3nznqzwl v0.0.3 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling hyper v0.12.27 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling select v0.4.2 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling cookie_store v0.5.1 [INFO] [stderr] Compiling serenity v0.5.13 [INFO] [stderr] Compiling reqwest v0.9.15 [INFO] [stderr] Compiling tw-discord-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `parse_row` [INFO] [stdout] --> src/scrape.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse_row(row: Node<'_>) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_doc` [INFO] [stdout] --> src/scrape.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn parse_doc(docstr: &str) -> Result, TwEventParseError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_and_parse_site` [INFO] [stdout] --> src/scrape.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_and_parse_site(url: Url) -> Result, TwEventParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | let mut last_update = data.get_mut::().unwrap(); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 13s [INFO] running `Command { std: "docker" "inspect" "c4f662c6a417204699b7f12aee0c4397ca241723555788ceb88e0a5e21a20d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f662c6a417204699b7f12aee0c4397ca241723555788ceb88e0a5e21a20d5b", kill_on_drop: false }` [INFO] [stdout] c4f662c6a417204699b7f12aee0c4397ca241723555788ceb88e0a5e21a20d5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70f5e11eae8402695ec9470721103b315aa75beecaf63326a8fc16ffa77462e6 [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" "70f5e11eae8402695ec9470721103b315aa75beecaf63326a8fc16ffa77462e6", kill_on_drop: false }` [INFO] [stdout] warning: function is never used: `parse_row` [INFO] [stdout] --> src/scrape.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse_row(row: Node<'_>) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_doc` [INFO] [stdout] --> src/scrape.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn parse_doc(docstr: &str) -> Result, TwEventParseError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tw-discord-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `get_and_parse_site` [INFO] [stdout] --> src/scrape.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_and_parse_site(url: Url) -> Result, TwEventParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | let mut last_update = data.get_mut::().unwrap(); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.70s [INFO] running `Command { std: "docker" "inspect" "70f5e11eae8402695ec9470721103b315aa75beecaf63326a8fc16ffa77462e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70f5e11eae8402695ec9470721103b315aa75beecaf63326a8fc16ffa77462e6", kill_on_drop: false }` [INFO] [stdout] 70f5e11eae8402695ec9470721103b315aa75beecaf63326a8fc16ffa77462e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c44693ad819b2a459b2e845f989495caff3895456c5cdf88991980366dc3aff1 [INFO] running `Command { std: "docker" "start" "-a" "c44693ad819b2a459b2e845f989495caff3895456c5cdf88991980366dc3aff1", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `parse_row` [INFO] [stderr] --> src/scrape.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | fn parse_row(row: Node<'_>) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_doc` [INFO] [stderr] --> src/scrape.rs:56:4 [INFO] [stderr] | [INFO] [stderr] 56 | fn parse_doc(docstr: &str) -> Result, TwEventParseError> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_and_parse_site` [INFO] [stderr] --> src/scrape.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn get_and_parse_site(url: Url) -> Result, TwEventParseError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tw-discord-bot` (lib) generated 3 warnings [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:220:25 [INFO] [stderr] | [INFO] [stderr] 220 | let mut last_update = data.get_mut::().unwrap(); [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: `tw-discord-bot` (bin "tw-discord-bot" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tw_discord_bot-71fa108514aafb96) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_get_and_parse_site ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_get_and_parse_site stdout ---- [INFO] [stdout] thread 'tests::test_get_and_parse_site' panicked at 'assertion failed: result.is_ok()', src/lib.rs:23:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x560a6dc2821c - std::backtrace_rs::backtrace::libunwind::trace::hf7449935ead7573e [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x560a6dc2821c - std::backtrace_rs::backtrace::trace_unsynchronized::h221aa2d88d72372a [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x560a6dc2821c - std::sys_common::backtrace::_print_fmt::h1c77e8983e1df895 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x560a6dc2821c - ::fmt::hd4ec41a9a6b0d22c [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x560a6dc4cd8c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x560a6dc21335 - std::io::Write::write_fmt::h4a32d0934f160ec4 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/io/mod.rs:1660:15 [INFO] [stdout] 6: 0x560a6dc29d10 - std::sys_common::backtrace::_print::h2d15cd157796a64a [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x560a6dc29d10 - std::sys_common::backtrace::print::h52d286d22e2398eb [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x560a6dc29d10 - std::panicking::default_hook::{{closure}}::h6da08fba6306daf2 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x560a6dc298f6 - std::panicking::default_hook::h266f67a22e76b11a [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x560a6dc2a3c4 - std::panicking::rust_panic_with_hook::he55698a957f4fb6d [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x560a6dc29e72 - std::panicking::begin_panic_handler::{{closure}}::h01f453c3ac181895 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panicking.rs:500:13 [INFO] [stdout] 12: 0x560a6dc286c4 - std::sys_common::backtrace::__rust_end_short_backtrace::h675d77c6e5a3926d [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x560a6dc29e09 - rust_begin_unwind [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x560a6d56e9c1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x560a6d56e90d - core::panicking::panic::h50b51d19800453c0 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x560a6d570f1f - tw_discord_bot::tests::test_get_and_parse_site::h353e1057e41ba8d1 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:23:9 [INFO] [stdout] 17: 0x560a6d570e3a - tw_discord_bot::tests::test_get_and_parse_site::{{closure}}::h6bfb650c1c2232c3 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:18:5 [INFO] [stdout] 18: 0x560a6d57543e - core::ops::function::FnOnce::call_once::h9c3149b999e107c6 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x560a6d5ac183 - core::ops::function::FnOnce::call_once::h5d20c69df64cb066 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x560a6d5ac183 - test::__rust_begin_short_backtrace::h74effa4f90907c5e [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/test/src/lib.rs:585:5 [INFO] [stdout] 21: 0x560a6d5aad47 - as core::ops::function::FnOnce>::call_once::h19edd65423024e64 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/alloc/src/boxed.rs:1811:9 [INFO] [stdout] 22: 0x560a6d5aad47 - as core::ops::function::FnOnce<()>>::call_once::hecd0007c98d2c571 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x560a6d5aad47 - std::panicking::try::do_call::hdfd7d8bd90990dc0 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panicking.rs:406:40 [INFO] [stdout] 24: 0x560a6d5aad47 - std::panicking::try::h24be999959943ce9 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panicking.rs:370:19 [INFO] [stdout] 25: 0x560a6d5aad47 - std::panic::catch_unwind::h0ca097148ff956c7 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panic.rs:133:14 [INFO] [stdout] 26: 0x560a6d5aad47 - test::run_test_in_process::hb1447ce84a041621 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/test/src/lib.rs:608:18 [INFO] [stdout] 27: 0x560a6d5aad47 - test::run_test::run_test_inner::{{closure}}::h243d5767f98dd76b [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/test/src/lib.rs:500:39 [INFO] [stdout] 28: 0x560a6d57762e - test::run_test::run_test_inner::{{closure}}::ha28868a6fd450406 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/test/src/lib.rs:527:37 [INFO] [stdout] 29: 0x560a6d57762e - std::sys_common::backtrace::__rust_begin_short_backtrace::h9b0a0ec9acaf0854 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 30: 0x560a6d57c728 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd8bff32e65e0fd1d [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] 31: 0x560a6d57c728 - as core::ops::function::FnOnce<()>>::call_once::he74b6751c2689665 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x560a6d57c728 - std::panicking::try::do_call::h5d2ee92103f6cc44 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panicking.rs:406:40 [INFO] [stdout] 33: 0x560a6d57c728 - std::panicking::try::h4ff94863d1e19091 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panicking.rs:370:19 [INFO] [stdout] 34: 0x560a6d57c728 - std::panic::catch_unwind::h80719b283a984060 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/panic.rs:133:14 [INFO] [stdout] 35: 0x560a6d57c728 - std::thread::Builder::spawn_unchecked::{{closure}}::h53d75ac43e0325b2 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] 36: 0x560a6d57c728 - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha0944c3b1c2a3b97 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x560a6dc2efd3 - as core::ops::function::FnOnce>::call_once::h4beb69a85f7fb16c [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/alloc/src/boxed.rs:1811:9 [INFO] [stdout] 38: 0x560a6dc2efd3 - as core::ops::function::FnOnce>::call_once::hef865a799f44aaf2 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/alloc/src/boxed.rs:1811:9 [INFO] [stdout] 39: 0x560a6dc2efd3 - std::sys::unix::thread::Thread::new::thread_start::hee0b2d4e2414fa96 [INFO] [stdout] at /rustc/404c8471aba60c2d837fa728e7c729a0f52d5830/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7f5e1a53b609 - start_thread [INFO] [stdout] 41: 0x7f5e1a30b293 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_get_and_parse_site [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "c44693ad819b2a459b2e845f989495caff3895456c5cdf88991980366dc3aff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c44693ad819b2a459b2e845f989495caff3895456c5cdf88991980366dc3aff1", kill_on_drop: false }` [INFO] [stdout] c44693ad819b2a459b2e845f989495caff3895456c5cdf88991980366dc3aff1