[INFO] fetching crate danmu2ass 0.2.1... [INFO] checking danmu2ass-0.2.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate danmu2ass 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate danmu2ass 0.2.1 [INFO] finished tweaking crates.io crate danmu2ass 0.2.1 [INFO] tweaked toml for crates.io crate danmu2ass 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate danmu2ass 0.2.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate danmu2ass 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5b179ffd19298305657a88cb725c005b3096ec9d5d70b7d3ec301ff5d570d0d [INFO] running `Command { std: "docker" "start" "-a" "c5b179ffd19298305657a88cb725c005b3096ec9d5d70b7d3ec301ff5d570d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5b179ffd19298305657a88cb725c005b3096ec9d5d70b7d3ec301ff5d570d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5b179ffd19298305657a88cb725c005b3096ec9d5d70b7d3ec301ff5d570d0d", kill_on_drop: false }` [INFO] [stdout] c5b179ffd19298305657a88cb725c005b3096ec9d5d70b7d3ec301ff5d570d0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56312310b7c83b247dc7a39c964c573f263a99a3d00b495f263ad7e4104e191f [INFO] running `Command { std: "docker" "start" "-a" "56312310b7c83b247dc7a39c964c573f263a99a3d00b495f263ad7e4104e191f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking tracing-core v0.1.24 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking psl-types v2.0.10 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking publicsuffix v2.1.1 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling darling_core v0.13.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling prost-derive v0.10.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling darling_macro v0.13.2 [INFO] [stderr] Checking prost v0.10.0 [INFO] [stderr] Compiling darling v0.13.2 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking clap v3.1.8 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-rustls v0.23.3 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_with v1.12.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking cookie_store v0.15.1 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking biliapi v0.1.17 [INFO] [stderr] Checking danmu2ass v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `season_id`, `season_title`, `media_id`, and `cover` are never read [INFO] [stdout] --> src/bilibili/season.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Season { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | pub season_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub season_title: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub media_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub cover: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Season` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aid` and `bvid` are never read [INFO] [stdout] --> src/bilibili/season.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Episode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 30 | pub aid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | pub bvid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Episode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[clap( [INFO] [stdout] 18 | | help = "需要转换的输入,可以是 xml 文件、文件夹或是哔哩哔哩链接、BV 号。如果是文件夹会递归将其下所有 XML 都进行转换", [INFO] [stdout] 19 | | default_value = "." [INFO] [stdout] 20 | | )] [INFO] [stdout] 21 | | pub input: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / #[clap( [INFO] [stdout] 24 | | long = "output", [INFO] [stdout] 25 | | short = 'o', [INFO] [stdout] 26 | | help = "输出的 ASS 文件,默认为输入文件名将 .xml 替换为 .ass,如果输入是文件夹则忽略" [INFO] [stdout] 27 | | )] [INFO] [stdout] 28 | | pub ass_file: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / #[clap( [INFO] [stdout] 37 | | long = "font", [INFO] [stdout] 38 | | short = 'f', [INFO] [stdout] 39 | | help = "弹幕使用字体。单位:像素", [INFO] [stdout] 40 | | default_value = "黑体" [INFO] [stdout] 41 | | )] [INFO] [stdout] 42 | | font: String, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / #[clap( [INFO] [stdout] 101 | | long = "denylist", [INFO] [stdout] 102 | | help = "黑名单,需要过滤的关键词列表文件,每行一个关键词" [INFO] [stdout] 103 | | )] [INFO] [stdout] 104 | | denylist: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `season_id`, `season_title`, `media_id`, and `cover` are never read [INFO] [stdout] --> src/bilibili/season.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Season { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | pub season_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub season_title: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub media_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub cover: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Season` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aid` and `bvid` are never read [INFO] [stdout] --> src/bilibili/season.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Episode { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 30 | pub aid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | pub bvid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Episode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[clap( [INFO] [stdout] 18 | | help = "需要转换的输入,可以是 xml 文件、文件夹或是哔哩哔哩链接、BV 号。如果是文件夹会递归将其下所有 XML 都进行转换", [INFO] [stdout] 19 | | default_value = "." [INFO] [stdout] 20 | | )] [INFO] [stdout] 21 | | pub input: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / #[clap( [INFO] [stdout] 24 | | long = "output", [INFO] [stdout] 25 | | short = 'o', [INFO] [stdout] 26 | | help = "输出的 ASS 文件,默认为输入文件名将 .xml 替换为 .ass,如果输入是文件夹则忽略" [INFO] [stdout] 27 | | )] [INFO] [stdout] 28 | | pub ass_file: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / #[clap( [INFO] [stdout] 37 | | long = "font", [INFO] [stdout] 38 | | short = 'f', [INFO] [stdout] 39 | | help = "弹幕使用字体。单位:像素", [INFO] [stdout] 40 | | default_value = "黑体" [INFO] [stdout] 41 | | )] [INFO] [stdout] 42 | | font: String, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / #[clap( [INFO] [stdout] 101 | | long = "denylist", [INFO] [stdout] 102 | | help = "黑名单,需要过滤的关键词列表文件,每行一个关键词" [INFO] [stdout] 103 | | )] [INFO] [stdout] 104 | | denylist: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `danmu2ass` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `danmu2ass` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "56312310b7c83b247dc7a39c964c573f263a99a3d00b495f263ad7e4104e191f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56312310b7c83b247dc7a39c964c573f263a99a3d00b495f263ad7e4104e191f", kill_on_drop: false }` [INFO] [stdout] 56312310b7c83b247dc7a39c964c573f263a99a3d00b495f263ad7e4104e191f