[INFO] cloning repository https://github.com/KOBA789/kujiradon-pub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KOBA789/kujiradon-pub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Fkujiradon-pub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Fkujiradon-pub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a2303c9090a8f35ce8f46805814fdede424575f [INFO] checking KOBA789/kujiradon-pub/9a2303c9090a8f35ce8f46805814fdede424575f 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%2FKOBA789%2Fkujiradon-pub" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KOBA789/kujiradon-pub 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/KOBA789/kujiradon-pub [INFO] finished tweaking git repo https://github.com/KOBA789/kujiradon-pub [INFO] tweaked toml for git repo https://github.com/KOBA789/kujiradon-pub written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KOBA789/kujiradon-pub 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2fabc01458ccd00bcc08d483098da2d1c64beed6296a5cba051de6f6d1557cbe [INFO] running `Command { std: "docker" "start" "-a" "2fabc01458ccd00bcc08d483098da2d1c64beed6296a5cba051de6f6d1557cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fabc01458ccd00bcc08d483098da2d1c64beed6296a5cba051de6f6d1557cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fabc01458ccd00bcc08d483098da2d1c64beed6296a5cba051de6f6d1557cbe", kill_on_drop: false }` [INFO] [stdout] 2fabc01458ccd00bcc08d483098da2d1c64beed6296a5cba051de6f6d1557cbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 13d27ddd224915ff0f706b8c3e72ba5674c5582e3c68d2a3520a271483a05488 [INFO] running `Command { std: "docker" "start" "-a" "13d27ddd224915ff0f706b8c3e72ba5674c5582e3c68d2a3520a271483a05488", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking kujiradon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `table_id` [INFO] [stdout] --> src/db.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | table_id: query::Key, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/db.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | item: query::Item, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_id` [INFO] [stdout] --> src/db.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | table_id: query::Key, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/db.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | start: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backward` [INFO] [stdout] --> src/db.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | backward: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/db.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | limit: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_id` [INFO] [stdout] --> src/db.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | table_id: query::Key, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/db.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | item: query::Item, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_id` [INFO] [stdout] --> src/db.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | table_id: query::Key, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/db.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | start: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backward` [INFO] [stdout] --> src/db.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | backward: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/db.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | limit: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TABLE_TWEETS` is never used [INFO] [stdout] --> src/db.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const TABLE_TWEETS: query::Key = query::Key(*b"tweets "); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TABLE_FOLLOWS` is never used [INFO] [stdout] --> src/db.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const TABLE_FOLLOWS: query::Key = query::Key(*b"follows "); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put_item` and `scan_item` are never used [INFO] [stdout] --> src/db.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl DB { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn put_item( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn scan_item( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PutItem` and `ScanItem` are never constructed [INFO] [stdout] --> src/query.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Request { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 7 | GetItem(GetItemInput), [INFO] [stdout] 8 | PutItem(PutItemInput), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | ScanItem(ScanItemInput), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/query.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | ScanItem(ScanItemOutput), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | ScanItem(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> src/query.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct ScanItemOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 77 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanItemOutput` 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/db.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | let conn = BufReader::new(TcpStream::connect(addr)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | Ok(Self { conn }) [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] = 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; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kujiradon` (bin "kujiradon") due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `TABLE_TWEETS` is never used [INFO] [stdout] --> src/db.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const TABLE_TWEETS: query::Key = query::Key(*b"tweets "); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TABLE_FOLLOWS` is never used [INFO] [stdout] --> src/db.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const TABLE_FOLLOWS: query::Key = query::Key(*b"follows "); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `put_item` and `scan_item` are never used [INFO] [stdout] --> src/db.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl DB { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn put_item( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn scan_item( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PutItem` and `ScanItem` are never constructed [INFO] [stdout] --> src/query.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Request { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 7 | GetItem(GetItemInput), [INFO] [stdout] 8 | PutItem(PutItemInput), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | ScanItem(ScanItemInput), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/query.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | ScanItem(ScanItemOutput), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | ScanItem(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `items` is never read [INFO] [stdout] --> src/query.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct ScanItemOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 77 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanItemOutput` 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/db.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | let conn = BufReader::new(TcpStream::connect(addr)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | Ok(Self { conn }) [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] = 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; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kujiradon` (bin "kujiradon" test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "13d27ddd224915ff0f706b8c3e72ba5674c5582e3c68d2a3520a271483a05488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13d27ddd224915ff0f706b8c3e72ba5674c5582e3c68d2a3520a271483a05488", kill_on_drop: false }` [INFO] [stdout] 13d27ddd224915ff0f706b8c3e72ba5674c5582e3c68d2a3520a271483a05488