[INFO] fetching crate dinero-rs 0.33.3-dev... [INFO] checking dinero-rs-0.33.3-dev against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate dinero-rs 0.33.3-dev into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate dinero-rs 0.33.3-dev on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dinero-rs 0.33.3-dev [INFO] finished tweaking crates.io crate dinero-rs 0.33.3-dev [INFO] tweaked toml for crates.io crate dinero-rs 0.33.3-dev written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate dinero-rs 0.33.3-dev 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 421e7310d326245e15c38429f6a3269e2c3ad559778bd815bf420884fd8a647c [INFO] running `Command { std: "docker" "start" "-a" "421e7310d326245e15c38429f6a3269e2c3ad559778bd815bf420884fd8a647c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "421e7310d326245e15c38429f6a3269e2c3ad559778bd815bf420884fd8a647c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421e7310d326245e15c38429f6a3269e2c3ad559778bd815bf420884fd8a647c", kill_on_drop: false }` [INFO] [stdout] 421e7310d326245e15c38429f6a3269e2c3ad559778bd815bf420884fd8a647c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc7624971f5f43aeff7b9a8d4d3af86c8e0fc1ac92b7d4f6e78536876d89be70 [INFO] running `Command { std: "docker" "start" "-a" "bc7624971f5f43aeff7b9a8d4d3af86c8e0fc1ac92b7d4f6e78536876d89be70", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking termtree v0.2.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking shlex v1.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking predicates-tree v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking predicates v2.1.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking fd-lock v2.0.0 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking shellexpand v2.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking rustyline v8.2.0 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking pidgin v0.4.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking assert_cmd v2.0.2 [INFO] [stderr] Checking two_timer v2.2.3 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking dinero-rs v0.33.3-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/roi.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut period = &mut periods[index]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/roi.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut period = &mut periods[index]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Ref<'_, Vec>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/tokenizers/transaction.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 244 | let mut tokenizer = Tokenizer::from( [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | let parsed = tokenizer.tokenize(&CommonOpts::from_iter(["", "-f", ""].iter())); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | for p in transaction.postings.borrow().iter() { [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] warning: multiple fields are never read [INFO] [stdout] --> src/app.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct CommonOpts { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | args_only: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | init_file: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | period: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | #[structopt(long = "now", parse(try_from_str = date_parser))] [INFO] [stdout] 128 | now: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | force_pager: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | effective: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | unrealized_gains: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | unrealized_losses: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonOpts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `note` is never read [INFO] [stdout] --> src/models/payee.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Payee { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] 13 | note: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Payee` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeEdge` is never constructed [INFO] [stdout] --> src/models/price.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | struct NodeEdge { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dinero-rs` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/app.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct CommonOpts { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | args_only: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | init_file: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | period: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | #[structopt(long = "now", parse(try_from_str = date_parser))] [INFO] [stdout] 128 | now: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | force_pager: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | effective: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | unrealized_gains: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | unrealized_losses: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonOpts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `note` is never read [INFO] [stdout] --> src/models/payee.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Payee { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] 13 | note: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Payee` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeEdge` is never constructed [INFO] [stdout] --> src/models/price.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | struct NodeEdge { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bc7624971f5f43aeff7b9a8d4d3af86c8e0fc1ac92b7d4f6e78536876d89be70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc7624971f5f43aeff7b9a8d4d3af86c8e0fc1ac92b7d4f6e78536876d89be70", kill_on_drop: false }` [INFO] [stdout] bc7624971f5f43aeff7b9a8d4d3af86c8e0fc1ac92b7d4f6e78536876d89be70