[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 beta-2022-04-10 for beta-1.61-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 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/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] d663344f38ff8d6bfe0b0a3d25a189b517c938840840a2e3874360a56735c3c3 [INFO] running `Command { std: "docker" "start" "-a" "d663344f38ff8d6bfe0b0a3d25a189b517c938840840a2e3874360a56735c3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d663344f38ff8d6bfe0b0a3d25a189b517c938840840a2e3874360a56735c3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d663344f38ff8d6bfe0b0a3d25a189b517c938840840a2e3874360a56735c3c3", kill_on_drop: false }` [INFO] [stdout] d663344f38ff8d6bfe0b0a3d25a189b517c938840840a2e3874360a56735c3c3 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] 63b0869a1a734a254b4a134b01050678a7cff15d1ef5383cc1dff387cd669359 [INFO] running `Command { std: "docker" "start" "-a" "63b0869a1a734a254b4a134b01050678a7cff15d1ef5383cc1dff387cd669359", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.3 [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 rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling futures v0.1.26 [INFO] [stderr] Compiling matches v0.1.6 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling httparse v1.2.4 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling lazycell v0.6.0 [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 unicode-xid v0.0.4 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling openssl v0.10.20 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling utf-8 v0.7.2 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling string v0.1.0 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling custom_error v1.6.0 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.3.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling miniz_oxide v0.2.1 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.0.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 rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling base64 v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.43 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling bytes v0.4.8 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling url v1.7.2 [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 tendril v0.3.1 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling tokio-io v0.1.7 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling backtrace v0.3.12 [INFO] [stderr] Compiling parking_lot v0.5.5 [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 error-chain v0.12.0 [INFO] [stderr] Compiling hyper v0.10.13 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Compiling string_cache_codegen v0.4.1 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.13 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling mime_guess v1.8.4 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling string_cache v0.6.2 [INFO] [stderr] Compiling markup5ever v0.3.2 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling h2 v0.1.10 [INFO] [stderr] Compiling tokio v0.1.18 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling native-tls v0.1.5 [INFO] [stderr] Compiling html5ever v0.18.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling evzht9h3nznqzwl v0.0.3 [INFO] [stderr] Compiling hyper-native-tls v0.2.4 [INFO] [stderr] Compiling multipart v0.13.6 [INFO] [stderr] Compiling hyper v0.12.27 [INFO] [stderr] Compiling serde_derive v1.0.90 [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 51s [INFO] running `Command { std: "docker" "inspect" "63b0869a1a734a254b4a134b01050678a7cff15d1ef5383cc1dff387cd669359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b0869a1a734a254b4a134b01050678a7cff15d1ef5383cc1dff387cd669359", kill_on_drop: false }` [INFO] [stdout] 63b0869a1a734a254b4a134b01050678a7cff15d1ef5383cc1dff387cd669359 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] fb3a8f4b7cd2753492b3973cf25e1f79674228b555211f29b5678a2f8ed74c8e [INFO] running `Command { std: "docker" "start" "-a" "fb3a8f4b7cd2753492b3973cf25e1f79674228b555211f29b5678a2f8ed74c8e", 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] [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] [stderr] Compiling tw-discord-bot v0.1.0 (/opt/rustwide/workdir) [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.79s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/tw_discord_bot-cbd7577f54344ca9) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/tw_discord_bot-733529b540fa331e) [INFO] running `Command { std: "docker" "inspect" "fb3a8f4b7cd2753492b3973cf25e1f79674228b555211f29b5678a2f8ed74c8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb3a8f4b7cd2753492b3973cf25e1f79674228b555211f29b5678a2f8ed74c8e", kill_on_drop: false }` [INFO] [stdout] fb3a8f4b7cd2753492b3973cf25e1f79674228b555211f29b5678a2f8ed74c8e [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 8ab9b3d8c92f500d04ad75f1496b2953a154e17ac6b052d78b76d0386c088f5b [INFO] running `Command { std: "docker" "start" "-a" "8ab9b3d8c92f500d04ad75f1496b2953a154e17ac6b052d78b76d0386c088f5b", 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.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tw_discord_bot-cbd7577f54344ca9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--lib' [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: 0x557b94311dfd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x557b94311dfd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557b94311dfd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x557b94311dfd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x557b943364cc - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x557b9430bcd1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x557b94313c25 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x557b94313c25 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x557b94313c25 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x557b94313914 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x557b94314172 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x557b94314019 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x557b943122b4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x557b94313d89 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x557b93c65a83 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x557b93c6594d - core::panicking::panic::h19a70c01bbabd538 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x557b93c687cd - tw_discord_bot::tests::test_get_and_parse_site::h69b466b4bad8971e [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:23:9 [INFO] [stdout] 17: 0x557b93c686ea - tw_discord_bot::tests::test_get_and_parse_site::{{closure}}::hc32230bfeb863656 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:18:5 [INFO] [stdout] 18: 0x557b93c6b70e - core::ops::function::FnOnce::call_once::hfb4fa5d18cce566b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x557b93ca3273 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x557b93ca3273 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 21: 0x557b93ca2029 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 22: 0x557b93ca2029 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x557b93ca2029 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x557b93ca2029 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x557b93ca2029 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x557b93ca2029 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 27: 0x557b93ca2029 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 28: 0x557b93c6e1de - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 29: 0x557b93c6e1de - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 30: 0x557b93c73748 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 31: 0x557b93c73748 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x557b93c73748 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 33: 0x557b93c73748 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 34: 0x557b93c73748 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 35: 0x557b93c73748 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 36: 0x557b93c73748 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x557b94318be3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 38: 0x557b94318be3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x557b94318be3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7f6d6f903609 - start_thread [INFO] [stdout] 41: 0x7f6d6f6d1163 - 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.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ab9b3d8c92f500d04ad75f1496b2953a154e17ac6b052d78b76d0386c088f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab9b3d8c92f500d04ad75f1496b2953a154e17ac6b052d78b76d0386c088f5b", kill_on_drop: false }` [INFO] [stdout] 8ab9b3d8c92f500d04ad75f1496b2953a154e17ac6b052d78b76d0386c088f5b