[INFO] updating cached repository https://github.com/SummonSteve/bililive-danmu-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09d70ff8d0a23bd54a05dec60b47dad770fa0e94 [INFO] testing SummonSteve/bililive-danmu-rs against master#61469b682c2b0bf9cebc4622f1859e2bb3b7ebca for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSummonSteve%2Fbililive-danmu-rs" "/workspace/builds/worker-70/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-70/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SummonSteve/bililive-danmu-rs on toolchain 61469b682c2b0bf9cebc4622f1859e2bb3b7ebca [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SummonSteve/bililive-danmu-rs [INFO] finished tweaking git repo https://github.com/SummonSteve/bililive-danmu-rs [INFO] tweaked toml for git repo https://github.com/SummonSteve/bililive-danmu-rs written to /workspace/builds/worker-70/source/Cargo.toml [INFO] crate git repo https://github.com/SummonSteve/bililive-danmu-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "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-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 298af289e2cb1a9fa5cfdc80f75241ae28a2abfdcd0c75d2106d050af40ed2e2 [INFO] running `Command { std: "docker" "start" "-a" "298af289e2cb1a9fa5cfdc80f75241ae28a2abfdcd0c75d2106d050af40ed2e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "298af289e2cb1a9fa5cfdc80f75241ae28a2abfdcd0c75d2106d050af40ed2e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "298af289e2cb1a9fa5cfdc80f75241ae28a2abfdcd0c75d2106d050af40ed2e2", kill_on_drop: false }` [INFO] [stdout] 298af289e2cb1a9fa5cfdc80f75241ae28a2abfdcd0c75d2106d050af40ed2e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ac13fcb8f11225226a714a1f48f5f27c889ff514bcf8a249533ba30a34a2d55 [INFO] running `Command { std: "docker" "start" "-a" "3ac13fcb8f11225226a714a1f48f5f27c889ff514bcf8a249533ba30a34a2d55", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling tracing-subscriber v0.3.9 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.16.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.16.1 [INFO] [stderr] Compiling bililive-danmu-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/bili.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_channel::mpsc` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_channel::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `packet_len` [INFO] [stdout] --> src/bili.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | packet_len: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header_len` [INFO] [stdout] --> src/bili.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | header_len: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/bili.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | version: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `seq` [INFO] [stdout] --> src/bili.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | seq: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | tokio::join!(handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "3ac13fcb8f11225226a714a1f48f5f27c889ff514bcf8a249533ba30a34a2d55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ac13fcb8f11225226a714a1f48f5f27c889ff514bcf8a249533ba30a34a2d55", kill_on_drop: false }` [INFO] [stdout] 3ac13fcb8f11225226a714a1f48f5f27c889ff514bcf8a249533ba30a34a2d55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b334a13da4acc7a3614e749169db6388c9640c5dca154d75c1b07d21fc56e7ee [INFO] running `Command { std: "docker" "start" "-a" "b334a13da4acc7a3614e749169db6388c9640c5dca154d75c1b07d21fc56e7ee", kill_on_drop: false }` [INFO] [stderr] Compiling bililive-danmu-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/bili.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/bili.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_channel::mpsc` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_channel::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `packet_len` [INFO] [stdout] --> src/bili.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | packet_len: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header_len` [INFO] [stdout] --> src/bili.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | header_len: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/bili.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | version: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `seq` [INFO] [stdout] --> src/bili.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | seq: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | tokio::join!(handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.95s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/bililive_danmu_rs-dfae970a7bf04abe) [INFO] running `Command { std: "docker" "inspect" "b334a13da4acc7a3614e749169db6388c9640c5dca154d75c1b07d21fc56e7ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b334a13da4acc7a3614e749169db6388c9640c5dca154d75c1b07d21fc56e7ee", kill_on_drop: false }` [INFO] [stdout] b334a13da4acc7a3614e749169db6388c9640c5dca154d75c1b07d21fc56e7ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 246849922e276b7ab2728daff3cc7cea0342dadf3e5ca33fb10d9d451d7833b0 [INFO] running `Command { std: "docker" "start" "-a" "246849922e276b7ab2728daff3cc7cea0342dadf3e5ca33fb10d9d451d7833b0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/bili.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use tracing::{error, info}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/bili.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_channel::mpsc` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures_channel::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `packet_len` [INFO] [stderr] --> src/bili.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | packet_len: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `header_len` [INFO] [stderr] --> src/bili.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | header_len: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `version` [INFO] [stderr] --> src/bili.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | version: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `seq` [INFO] [stderr] --> src/bili.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | seq: i32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` in tuple element 0 that must be used [INFO] [stderr] --> src/main.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | tokio::join!(handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `bililive-danmu-rs` (bin "bililive-danmu-rs" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.95s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bililive_danmu_rs-dfae970a7bf04abe) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test bili::tests::test_read_int ... ok [INFO] [stdout] test bili::tests::_encode ... ok [INFO] [stdout] test bili::tests::test_write_int ... ok [INFO] [stdout] test bili::tests::_decode ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- bili::tests::_decode stdout ---- [INFO] [stdout] thread 'bili::tests::_decode' panicked at 'index out of bounds: the len is 1 but the index is 3', src/bili.rs:20:54 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55c0545f4fbd - std::backtrace_rs::backtrace::libunwind::trace::h44a778e1067a5f21 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55c0545f4fbd - std::backtrace_rs::backtrace::trace_unsynchronized::h16574a507425748e [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55c0545f4fbd - std::sys_common::backtrace::_print_fmt::h861b0076a4de945a [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55c0545f4fbd - ::fmt::h9ce5da3cd6da43a8 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55c054617cfc - core::fmt::write::h1390c9a652e8cdd1 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55c0545f1ab1 - std::io::Write::write_fmt::ha442f32f8d5414d6 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55c0545f6a95 - std::sys_common::backtrace::_print::hd97319905e74a1cc [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55c0545f6a95 - std::sys_common::backtrace::print::hf2b7c3f20e1fcf0f [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55c0545f6a95 - std::panicking::default_hook::{{closure}}::ha3cefa7731ebf0d7 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55c0545f6740 - std::panicking::default_hook::h81ad71c1a6c711df [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55c0545f7068 - std::panicking::rust_panic_with_hook::haf30755e05c3fb67 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55c0545f6f17 - std::panicking::begin_panic_handler::{{closure}}::h1e6281abfdd9b154 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55c0545f5474 - std::sys_common::backtrace::__rust_end_short_backtrace::hda73270e8e0a5e6c [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55c0545f6c49 - rust_begin_unwind [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55c0543d2b53 - core::panicking::panic_fmt::hba45c7c62f73c42f [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x55c0543d2a92 - core::panicking::panic_bounds_check::hed9410ab8ecc07f2 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/core/src/panicking.rs:84:5 [INFO] [stdout] 16: 0x55c054414efa - >::index::hfc4aee1fa430de7c [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/core/src/slice/index.rs:242:10 [INFO] [stdout] 17: 0x55c054414e37 - core::slice::index:: for [T]>::index::h5cd645eb66f43885 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/core/src/slice/index.rs:18:9 [INFO] [stdout] 18: 0x55c054413ba2 - as core::ops::index::Index>::index::h3d8cd513609c887e [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/alloc/src/vec/mod.rs:2589:9 [INFO] [stdout] 19: 0x55c0543d302d - bililive_danmu_rs::bili::read_int::hbd2aa207ec5f2794 [INFO] [stdout] at /opt/rustwide/workdir/src/bili.rs:20:54 [INFO] [stdout] 20: 0x55c0543d3526 - bililive_danmu_rs::bili::decode::h5a456ff68a38844b [INFO] [stdout] at /opt/rustwide/workdir/src/bili.rs:46:21 [INFO] [stdout] 21: 0x55c0543d5b6c - bililive_danmu_rs::bili::tests::_decode::h288c901dcf2f501d [INFO] [stdout] at /opt/rustwide/workdir/src/bili.rs:146:9 [INFO] [stdout] 22: 0x55c0543d5afa - bililive_danmu_rs::bili::tests::_decode::{{closure}}::h2c2922294f5e9521 [INFO] [stdout] at /opt/rustwide/workdir/src/bili.rs:144:5 [INFO] [stdout] 23: 0x55c0543d4a3e - core::ops::function::FnOnce::call_once::h68095c7bf21317ea [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 24: 0x55c05440e123 - core::ops::function::FnOnce::call_once::h3468a0bc33c62b42 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 25: 0x55c05440e123 - test::__rust_begin_short_backtrace::h6b24e52f00415b3b [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/test/src/lib.rs:573:5 [INFO] [stdout] 26: 0x55c05440ce7a - as core::ops::function::FnOnce>::call_once::h583f8ba824895d37 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 27: 0x55c05440ce7a - as core::ops::function::FnOnce<()>>::call_once::h5c3fd26646ab1aea [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x55c05440ce7a - std::panicking::try::do_call::hfc597aa6e93ef09a [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x55c05440ce7a - std::panicking::try::h20e466446f96d50b [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x55c05440ce7a - std::panic::catch_unwind::h753a1457bfe71e06 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x55c05440ce7a - test::run_test_in_process::h8086fc04ce8e70cd [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/test/src/lib.rs:596:18 [INFO] [stdout] 32: 0x55c05440ce7a - test::run_test::run_test_inner::{{closure}}::h232ee16799391e53 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/test/src/lib.rs:490:39 [INFO] [stdout] 33: 0x55c0543d910d - test::run_test::run_test_inner::{{closure}}::h62f39ad8e395c3cb [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/test/src/lib.rs:517:37 [INFO] [stdout] 34: 0x55c0543d910d - std::sys_common::backtrace::__rust_begin_short_backtrace::h0cd18bbd90281594 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x55c0543dec58 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h76faf0b8f9438144 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/thread/mod.rs:500:17 [INFO] [stdout] 36: 0x55c0543dec58 - as core::ops::function::FnOnce<()>>::call_once::h619ec609d9f91257 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x55c0543dec58 - std::panicking::try::do_call::h6b524da958203db0 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x55c0543dec58 - std::panicking::try::ha7714f4b12ef18a3 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x55c0543dec58 - std::panic::catch_unwind::haf6b76dc26ebe248 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x55c0543dec58 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9a9adb11173e1aec [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/thread/mod.rs:499:30 [INFO] [stdout] 41: 0x55c0543dec58 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb64423196fd10803 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 42: 0x55c0545fb783 - as core::ops::function::FnOnce>::call_once::h1937631430e9c124 [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 43: 0x55c0545fb783 - as core::ops::function::FnOnce>::call_once::h7f819e94dbb3f33d [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 44: 0x55c0545fb783 - std::sys::unix::thread::Thread::new::thread_start::h523d89aeadfd693e [INFO] [stdout] at /rustc/61469b682c2b0bf9cebc4622f1859e2bb3b7ebca/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fd60b1c0609 - start_thread [INFO] [stdout] 46: 0x7fd60af8e163 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] bili::tests::_decode [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin bililive-danmu-rs' [INFO] running `Command { std: "docker" "inspect" "246849922e276b7ab2728daff3cc7cea0342dadf3e5ca33fb10d9d451d7833b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246849922e276b7ab2728daff3cc7cea0342dadf3e5ca33fb10d9d451d7833b0", kill_on_drop: false }` [INFO] [stdout] 246849922e276b7ab2728daff3cc7cea0342dadf3e5ca33fb10d9d451d7833b0