[INFO] fetching crate danmu2ass 0.2.1... [INFO] checking danmu2ass-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate danmu2ass 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate danmu2ass 0.2.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43bb94da8504bf15ee008603bf185663159edcf17e6f7250f96e541f4e12e1cb [INFO] running `Command { std: "docker" "start" "-a" "43bb94da8504bf15ee008603bf185663159edcf17e6f7250f96e541f4e12e1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43bb94da8504bf15ee008603bf185663159edcf17e6f7250f96e541f4e12e1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43bb94da8504bf15ee008603bf185663159edcf17e6f7250f96e541f4e12e1cb", kill_on_drop: false }` [INFO] [stdout] 43bb94da8504bf15ee008603bf185663159edcf17e6f7250f96e541f4e12e1cb [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff4a0be031ac59792cb63a14b45fdea268f85bca3d5fe716ba00bb002f690b52 [INFO] running `Command { std: "docker" "start" "-a" "ff4a0be031ac59792cb63a14b45fdea268f85bca3d5fe716ba00bb002f690b52", 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-core v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking hashbrown v0.11.2 [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 futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking tracing-core v0.1.24 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking psl-types v2.0.10 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking publicsuffix v2.1.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Compiling darling_core v0.13.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [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 tokio v1.17.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.13.2 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Compiling darling v0.13.2 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking prost v0.10.0 [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_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)]` 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/xml_parser.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 40 | let file = std::fs::File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let reader = Reader::from_reader(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | [INFO] [stdout] 53 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 54 | | count: 0, [INFO] [stdout] 55 | | reader, [INFO] [stdout] 56 | | #[cfg(feature = "quick_xml")] [INFO] [stdout] 57 | | buf: Vec::new(), [INFO] [stdout] 58 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `danmu2ass` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/xml_parser.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 40 | let file = std::fs::File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let reader = Reader::from_reader(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | [INFO] [stdout] 53 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 54 | | count: 0, [INFO] [stdout] 55 | | reader, [INFO] [stdout] 56 | | #[cfg(feature = "quick_xml")] [INFO] [stdout] 57 | | buf: Vec::new(), [INFO] [stdout] 58 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `danmu2ass` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ff4a0be031ac59792cb63a14b45fdea268f85bca3d5fe716ba00bb002f690b52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4a0be031ac59792cb63a14b45fdea268f85bca3d5fe716ba00bb002f690b52", kill_on_drop: false }` [INFO] [stdout] ff4a0be031ac59792cb63a14b45fdea268f85bca3d5fe716ba00bb002f690b52