[INFO] cloning repository https://github.com/LJason77/bilibili-webhook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LJason77/bilibili-webhook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLJason77%2Fbilibili-webhook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLJason77%2Fbilibili-webhook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a61faea85cb765a4ff9f655b3bb94b9ef058f4cc [INFO] checking LJason77/bilibili-webhook/a61faea85cb765a4ff9f655b3bb94b9ef058f4cc against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLJason77%2Fbilibili-webhook" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LJason77/bilibili-webhook 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 git repo https://github.com/LJason77/bilibili-webhook [INFO] finished tweaking git repo https://github.com/LJason77/bilibili-webhook [INFO] tweaked toml for git repo https://github.com/LJason77/bilibili-webhook written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LJason77/bilibili-webhook 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] 4da75176d3caa4bc0692dadb420aa4779556775af6a6658e1028a97d7e88e0bc [INFO] running `Command { std: "docker" "start" "-a" "4da75176d3caa4bc0692dadb420aa4779556775af6a6658e1028a97d7e88e0bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4da75176d3caa4bc0692dadb420aa4779556775af6a6658e1028a97d7e88e0bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4da75176d3caa4bc0692dadb420aa4779556775af6a6658e1028a97d7e88e0bc", kill_on_drop: false }` [INFO] [stdout] 4da75176d3caa4bc0692dadb420aa4779556775af6a6658e1028a97d7e88e0bc [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] 9b3444341b440622c570306e16f063f69cc5b641d6fbee397b41854d7cafc15b [INFO] running `Command { std: "docker" "start" "-a" "9b3444341b440622c570306e16f063f69cc5b641d6fbee397b41854d7cafc15b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking winnow v0.5.34 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.3.23 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking log4rs v1.2.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking rusqlite v0.30.0 [INFO] [stderr] Checking bilibili-webhook v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `description`, `pub_date`, and `author` are never read [INFO] [stdout] --> src/models/rss.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | pub title: String, [INFO] [stdout] 11 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | #[serde(rename = "pubDate", default)] [INFO] [stdout] 13 | pub pub_date: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub link: String, [INFO] [stdout] 15 | pub author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `last_build_date` are never read [INFO] [stdout] --> src/models/rss.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Channel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | pub title: String, [INFO] [stdout] 21 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | #[serde(rename = "lastBuildDate", default)] [INFO] [stdout] 23 | pub last_build_date: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `link` is never read [INFO] [stdout] --> src/models/sqlite.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Source { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub id: u32, [INFO] [stdout] 8 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `source_id`, `link`, and `title` are never read [INFO] [stdout] --> src/models/sqlite.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Content { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | pub source_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub title: String, [INFO] [stdout] | ^^^^^ [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/models/rss.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | let res = get(url, retry); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | from_str(&body).expect("xml 解析失败") [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/update.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 70 | let mut cmd = Command::new("yutto"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | cmd.args(["-d", &download_dir]).arg(url).stdout(Stdio::piped()).spawn() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bilibili-webhook` (bin "bilibili-webhook") due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `description`, `pub_date`, and `author` are never read [INFO] [stdout] --> src/models/rss.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | pub title: String, [INFO] [stdout] 11 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | #[serde(rename = "pubDate", default)] [INFO] [stdout] 13 | pub pub_date: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub link: String, [INFO] [stdout] 15 | pub author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `last_build_date` are never read [INFO] [stdout] --> src/models/rss.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Channel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | pub title: String, [INFO] [stdout] 21 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | #[serde(rename = "lastBuildDate", default)] [INFO] [stdout] 23 | pub last_build_date: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `link` is never read [INFO] [stdout] --> src/models/sqlite.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Source { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub id: u32, [INFO] [stdout] 8 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `source_id`, `link`, and `title` are never read [INFO] [stdout] --> src/models/sqlite.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Content { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | pub source_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub title: String, [INFO] [stdout] | ^^^^^ [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/models/rss.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | let res = get(url, retry); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | from_str(&body).expect("xml 解析失败") [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/update.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 70 | let mut cmd = Command::new("yutto"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | cmd.args(["-d", &download_dir]).arg(url).stdout(Stdio::piped()).spawn() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bilibili-webhook` (bin "bilibili-webhook" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b3444341b440622c570306e16f063f69cc5b641d6fbee397b41854d7cafc15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b3444341b440622c570306e16f063f69cc5b641d6fbee397b41854d7cafc15b", kill_on_drop: false }` [INFO] [stdout] 9b3444341b440622c570306e16f063f69cc5b641d6fbee397b41854d7cafc15b