[INFO] fetching crate costoflife 0.3.2... [INFO] checking costoflife-0.3.2 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate costoflife 0.3.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate costoflife 0.3.2 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate costoflife 0.3.2 [INFO] finished tweaking crates.io crate costoflife 0.3.2 [INFO] tweaked toml for crates.io crate costoflife 0.3.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate costoflife 0.3.2 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slug v0.1.4 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.30 [INFO] [stderr] Downloaded simsearch v0.2.3 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.30 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.30 [INFO] [stderr] Downloaded pad v0.1.6 [INFO] [stderr] Downloaded deunicode v0.4.3 [INFO] [stderr] Downloaded console v0.15.0 [INFO] [stderr] Downloaded dialoguer v0.10.0 [INFO] [stderr] Downloaded bigdecimal v0.3.0 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded zeroize v1.5.5 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded syn v1.0.92 [INFO] [stderr] Downloaded blake3 v1.3.1 [INFO] [stderr] Downloaded clap v3.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 352f2c4f6034c4a685491b81ccab34fafa52ce63cbb6def2dde09bc680a53d11 [INFO] running `Command { std: "docker" "start" "-a" "352f2c4f6034c4a685491b81ccab34fafa52ce63cbb6def2dde09bc680a53d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "352f2c4f6034c4a685491b81ccab34fafa52ce63cbb6def2dde09bc680a53d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "352f2c4f6034c4a685491b81ccab34fafa52ce63cbb6def2dde09bc680a53d11", kill_on_drop: false }` [INFO] [stdout] 352f2c4f6034c4a685491b81ccab34fafa52ce63cbb6def2dde09bc680a53d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29cf362b5d6799a7f159504bd43ba0dc8433b7f54941761cd7d3eeb074e2baf9 [INFO] running `Command { std: "docker" "start" "-a" "29cf362b5d6799a7f159504bd43ba0dc8433b7f54941761cd7d3eeb074e2baf9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking triple_accel v0.3.4 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking zeroize v1.5.5 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking clap v3.1.14 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.30 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking simsearch v0.2.3 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking dialoguer v0.10.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking bigdecimal v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Checking js-sys v0.3.57 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking costoflife v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/ledger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Password` [INFO] [stdout] --> src/interaction.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use dialoguer::{theme::ColorfulTheme, Confirm, Input, Password, Select}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/interaction.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 120 | / loop { [INFO] [stdout] 121 | | let v = input("how much does it cost?", NonEmpty); [INFO] [stdout] 122 | | amount = match parse_amount(&v) { [INFO] [stdout] 123 | | Some(a) => a, [INFO] [stdout] 124 | | None => continue, [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 127 | // tags [INFO] [stdout] 128 | let mut tags: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interaction.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let name = input("What it is it about?", NonEmpty); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amount` is assigned to, but never used [INFO] [stdout] --> src/interaction.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut amount = parse_amount("0.0").unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_amount` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `amount` is never read [INFO] [stdout] --> src/interaction.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | amount = match parse_amount(&v) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starts_on` [INFO] [stdout] --> src/interaction.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let starts_on = today(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starts_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/ledger.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DataStore { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn size(&self, on: Option) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Yes` and `No` are never constructed [INFO] [stdout] --> src/interaction.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum PolarAnswer { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 10 | Yes, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | No, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_bool` and `from_bool` are never used [INFO] [stdout] --> src/interaction.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PolarAnswer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 15 | pub fn to_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn from_bool(v: bool) -> PolarAnswer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NonEmpty` and `Empty` are never constructed [INFO] [stdout] --> src/interaction.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum Feat { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 32 | NonEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bool` is never used [INFO] [stdout] --> src/interaction.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Feat { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 37 | fn to_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm` is never used [INFO] [stdout] --> src/interaction.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn confirm(q: &str, def: PolarAnswer) -> PolarAnswer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/interaction.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn input(q: &str, empty: Feat) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_opt` is never used [INFO] [stdout] --> src/interaction.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn select_opt<'a, T: ?Sized>(q: &str, opts: Vec<(&'a str, &'a T)>) -> Option<&'a T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> src/interaction.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn select<'a, T: ?Sized>(q: &str, opts: Vec<(&'a str, &'a T)>) -> &'a T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `menu` is never used [INFO] [stdout] --> src/interaction.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn menu() -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_tx` is never used [INFO] [stdout] --> src/interaction.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new_tx() -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-futures v0.4.30 [INFO] [stderr] Checking wasm-bindgen-test v0.3.30 [INFO] [stdout] warning: unused import: `Password` [INFO] [stdout] --> src/interaction.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use dialoguer::{theme::ColorfulTheme, Confirm, Input, Password, Select}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/interaction.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 120 | / loop { [INFO] [stdout] 121 | | let v = input("how much does it cost?", NonEmpty); [INFO] [stdout] 122 | | amount = match parse_amount(&v) { [INFO] [stdout] 123 | | Some(a) => a, [INFO] [stdout] 124 | | None => continue, [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 127 | // tags [INFO] [stdout] 128 | let mut tags: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/interaction.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let name = input("What it is it about?", NonEmpty); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amount` is assigned to, but never used [INFO] [stdout] --> src/interaction.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut amount = parse_amount("0.0").unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_amount` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `amount` is never read [INFO] [stdout] --> src/interaction.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | amount = match parse_amount(&v) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starts_on` [INFO] [stdout] --> src/interaction.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let starts_on = today(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starts_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Yes` and `No` are never constructed [INFO] [stdout] --> src/interaction.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum PolarAnswer { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 10 | Yes, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | No, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_bool` and `from_bool` are never used [INFO] [stdout] --> src/interaction.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PolarAnswer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 15 | pub fn to_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn from_bool(v: bool) -> PolarAnswer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NonEmpty` and `Empty` are never constructed [INFO] [stdout] --> src/interaction.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum Feat { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 32 | NonEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bool` is never used [INFO] [stdout] --> src/interaction.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Feat { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 37 | fn to_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm` is never used [INFO] [stdout] --> src/interaction.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn confirm(q: &str, def: PolarAnswer) -> PolarAnswer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/interaction.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn input(q: &str, empty: Feat) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_opt` is never used [INFO] [stdout] --> src/interaction.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn select_opt<'a, T: ?Sized>(q: &str, opts: Vec<(&'a str, &'a T)>) -> Option<&'a T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> src/interaction.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn select<'a, T: ?Sized>(q: &str, opts: Vec<(&'a str, &'a T)>) -> &'a T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `menu` is never used [INFO] [stdout] --> src/interaction.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn menu() -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_tx` is never used [INFO] [stdout] --> src/interaction.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new_tx() -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "29cf362b5d6799a7f159504bd43ba0dc8433b7f54941761cd7d3eeb074e2baf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29cf362b5d6799a7f159504bd43ba0dc8433b7f54941761cd7d3eeb074e2baf9", kill_on_drop: false }` [INFO] [stdout] 29cf362b5d6799a7f159504bd43ba0dc8433b7f54941761cd7d3eeb074e2baf9 [INFO] checking costoflife-0.3.2 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate costoflife 0.3.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate costoflife 0.3.2 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate costoflife 0.3.2 [INFO] finished tweaking crates.io crate costoflife 0.3.2 [INFO] tweaked toml for crates.io crate costoflife 0.3.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate costoflife 0.3.2 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8297a2e2a18ce67b8dab1c7ac30839fe47ab4fc9fc6b19e65f99c1f47202e88 [INFO] running `Command { std: "docker" "start" "-a" "e8297a2e2a18ce67b8dab1c7ac30839fe47ab4fc9fc6b19e65f99c1f47202e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8297a2e2a18ce67b8dab1c7ac30839fe47ab4fc9fc6b19e65f99c1f47202e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8297a2e2a18ce67b8dab1c7ac30839fe47ab4fc9fc6b19e65f99c1f47202e88", kill_on_drop: false }` [INFO] [stdout] e8297a2e2a18ce67b8dab1c7ac30839fe47ab4fc9fc6b19e65f99c1f47202e88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d85764099f6060759164371f4efab36ff468e3964b381874b20f8fda63c9c49a [INFO] running `Command { std: "docker" "start" "-a" "d85764099f6060759164371f4efab36ff468e3964b381874b20f8fda63c9c49a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking triple_accel v0.3.4 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking zeroize v1.5.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking terminal_size v0.1.17 [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 tempfile v3.3.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.30 [INFO] [stderr] Checking clap v3.1.14 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking simsearch v0.2.3 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking dialoguer v0.10.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking bigdecimal v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Checking js-sys v0.3.57 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking costoflife v0.3.2 (/opt/rustwide/workdir) [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/lib.rs:519:5 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn cost_of_life<'a, I>(txs: I, on: &NaiveDate) -> BigDecimal [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 519 | / txs.filter(|tx| tx.is_active_on(on)) // is still an active expense [INFO] [stdout] 520 | | .map(|tx| tx.per_diem_raw()) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `costoflife` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d85764099f6060759164371f4efab36ff468e3964b381874b20f8fda63c9c49a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d85764099f6060759164371f4efab36ff468e3964b381874b20f8fda63c9c49a", kill_on_drop: false }` [INFO] [stdout] d85764099f6060759164371f4efab36ff468e3964b381874b20f8fda63c9c49a