[INFO] cloning repository https://github.com/noandrea/costoflife-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noandrea/costoflife-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoandrea%2Fcostoflife-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoandrea%2Fcostoflife-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c75b26f868c22c527d75aa4704176e80a22e82b0 [INFO] testing noandrea/costoflife-rs against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoandrea%2Fcostoflife-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/noandrea/costoflife-rs on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/noandrea/costoflife-rs [INFO] finished tweaking git repo https://github.com/noandrea/costoflife-rs [INFO] tweaked toml for git repo https://github.com/noandrea/costoflife-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/noandrea/costoflife-rs 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded triple_accel v0.3.4 [INFO] [stderr] Downloaded simsearch v0.2.3 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.30 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.30 [INFO] [stderr] Downloaded dialoguer v0.10.0 [INFO] [stderr] Downloaded clap v3.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 013ca243185548dd37259cf21c470e09e7f937ca7f1bbee9a88406f2ed0ee408 [INFO] running `Command { std: "docker" "start" "-a" "013ca243185548dd37259cf21c470e09e7f937ca7f1bbee9a88406f2ed0ee408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "013ca243185548dd37259cf21c470e09e7f937ca7f1bbee9a88406f2ed0ee408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "013ca243185548dd37259cf21c470e09e7f937ca7f1bbee9a88406f2ed0ee408", kill_on_drop: false }` [INFO] [stdout] 013ca243185548dd37259cf21c470e09e7f937ca7f1bbee9a88406f2ed0ee408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 857ad83aa584c59b070940fa9fa44a9874e03f42ffcd4abee6ba9fffd6d4bee8 [INFO] running `Command { std: "docker" "start" "-a" "857ad83aa584c59b070940fa9fa44a9874e03f42ffcd4abee6ba9fffd6d4bee8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling triple_accel v0.3.4 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling clap v3.1.14 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bigdecimal v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling simsearch v0.2.3 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling dialoguer v0.10.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling 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] ... | [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.21s [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 1` [INFO] running `Command { std: "docker" "inspect" "857ad83aa584c59b070940fa9fa44a9874e03f42ffcd4abee6ba9fffd6d4bee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857ad83aa584c59b070940fa9fa44a9874e03f42ffcd4abee6ba9fffd6d4bee8", kill_on_drop: false }` [INFO] [stdout] 857ad83aa584c59b070940fa9fa44a9874e03f42ffcd4abee6ba9fffd6d4bee8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ce3b9262a0b579d69e797598376bf5791c13e2d2eafc1d9666f92563cd17025 [INFO] running `Command { std: "docker" "start" "-a" "4ce3b9262a0b579d69e797598376bf5791c13e2d2eafc1d9666f92563cd17025", kill_on_drop: false }` [INFO] [stderr] Compiling js-sys v0.3.57 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.30 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.30 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.30 [INFO] [stderr] Compiling costoflife v0.3.2 (/opt/rustwide/workdir) [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] ... | [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.56s [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 1` [INFO] running `Command { std: "docker" "inspect" "4ce3b9262a0b579d69e797598376bf5791c13e2d2eafc1d9666f92563cd17025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce3b9262a0b579d69e797598376bf5791c13e2d2eafc1d9666f92563cd17025", kill_on_drop: false }` [INFO] [stdout] 4ce3b9262a0b579d69e797598376bf5791c13e2d2eafc1d9666f92563cd17025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 498c66ee23e9c7f67061860805156b4aeca91ef1b426f13b29b45a5a2fabfaa6 [INFO] running `Command { std: "docker" "start" "-a" "498c66ee23e9c7f67061860805156b4aeca91ef1b426f13b29b45a5a2fabfaa6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Password` [INFO] [stderr] --> src/interaction.rs:3:55 [INFO] [stderr] | [INFO] [stderr] 3 | use dialoguer::{theme::ColorfulTheme, Confirm, Input, Password, Select}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/interaction.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 120 | / loop { [INFO] [stderr] 121 | | let v = input("how much does it cost?", NonEmpty); [INFO] [stderr] 122 | | amount = match parse_amount(&v) { [INFO] [stderr] 123 | | Some(a) => a, [INFO] [stderr] ... | [INFO] [stderr] 126 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 127 | // tags [INFO] [stderr] 128 | let mut tags: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/interaction.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | let name = input("What it is it about?", NonEmpty); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `amount` is assigned to, but never used [INFO] [stderr] --> src/interaction.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | let mut amount = parse_amount("0.0").unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_amount` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `amount` is never read [INFO] [stderr] --> src/interaction.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | amount = match parse_amount(&v) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `starts_on` [INFO] [stderr] --> src/interaction.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | let starts_on = today(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starts_on` [INFO] [stderr] [INFO] [stderr] warning: variants `Yes` and `No` are never constructed [INFO] [stderr] --> src/interaction.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum PolarAnswer { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] 10 | Yes, [INFO] [stderr] | ^^^ [INFO] [stderr] 11 | No, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `to_bool` and `from_bool` are never used [INFO] [stderr] --> src/interaction.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl PolarAnswer { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 15 | pub fn to_bool(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn from_bool(v: bool) -> PolarAnswer { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `NonEmpty` and `Empty` are never constructed [INFO] [stderr] --> src/interaction.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub enum Feat { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] 32 | NonEmpty, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 33 | Empty, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_bool` is never used [INFO] [stderr] --> src/interaction.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 36 | impl Feat { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] 37 | fn to_bool(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `confirm` is never used [INFO] [stderr] --> src/interaction.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn confirm(q: &str, def: PolarAnswer) -> PolarAnswer { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `input` is never used [INFO] [stderr] --> src/interaction.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn input(q: &str, empty: Feat) -> String { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `select_opt` is never used [INFO] [stderr] --> src/interaction.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn select_opt<'a, T: ?Sized>(q: &str, opts: Vec<(&'a str, &'a T)>) -> Option<&'a T> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `select` is never used [INFO] [stderr] --> src/interaction.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn select<'a, T: ?Sized>(q: &str, opts: Vec<(&'a str, &'a T)>) -> &'a T { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `menu` is never used [INFO] [stderr] --> src/interaction.rs:101:8 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn menu() -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `new_tx` is never used [INFO] [stderr] --> src/interaction.rs:116:8 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn new_tx() -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `costoflife` (bin "costoflife" test) generated 16 warnings (run `cargo fix --bin "costoflife" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [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 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/costoflife-8f81bd2dff2aed5b) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::test_lifetime ... ok [INFO] [stdout] test wasm_tests::test_greetings ... ok [INFO] [stdout] test utils::tests::test_parsers ... ok [INFO] [stdout] test tests::test_costoflife ... FAILED [INFO] [stdout] test wasm_tests::test_per_diem ... ok [INFO] [stdout] test tests::test_extract ... ok [INFO] [stdout] test tests::test_tx ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_costoflife stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_costoflife' panicked at src/lib.rs:437:51: [INFO] [stdout] called `Option::unwrap()` on a `None` value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58704e2156ca - std::backtrace_rs::backtrace::libunwind::trace::h88deb10bd0145eb8 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x58704e2156ca - std::backtrace_rs::backtrace::trace_unsynchronized::he1036f5481c14dff [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x58704e2156ca - std::sys::backtrace::_print_fmt::hecc345b6e70c4b20 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58704e2156ca - ::fmt::he089f96442833f67 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58704e23bf73 - core::fmt::rt::Argument::fmt::h1f77cded99c71a14 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x58704e23bf73 - core::fmt::write::h2f210ed4c94745cb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x58704e2127e3 - std::io::Write::write_fmt::he723b56f7e0bd522 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x58704e215512 - std::sys::backtrace::BacktraceLock::print::h810fbd31421329e6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x58704e216c00 - std::panicking::default_hook::{{closure}}::hbaad47ed9dc6356d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x58704e21699d - std::panicking::default_hook::h24e207139139d40a [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:319:9 [INFO] [stdout] 10: 0x58704e03d523 - as core::ops::function::Fn>::call::h63353c459bb27956 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 11: 0x58704e03d523 - test::test_main::{{closure}}::hd5af4d6c4e32fe08 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x58704e217433 - as core::ops::function::Fn>::call::h3af32c23caf5c679 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 13: 0x58704e217433 - std::panicking::rust_panic_with_hook::ha9131beeb2ddc506 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:836:13 [INFO] [stdout] 14: 0x58704e2170d6 - std::panicking::begin_panic_handler::{{closure}}::h1bba0eaeb6da506f [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:694:13 [INFO] [stdout] 15: 0x58704e215bc9 - std::sys::backtrace::__rust_end_short_backtrace::h1d1ca3eade483f4c [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x58704e216d9d - rust_begin_unwind [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:692:5 [INFO] [stdout] 17: 0x58704dfd5350 - core::panicking::panic_fmt::h896a0727a1a943f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x58704dfd53dc - core::panicking::panic::h06336e0c962d4a4a [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:145:5 [INFO] [stdout] 19: 0x58704dfd52c9 - core::option::unwrap_failed::ha2239fe7bcf32a06 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/option.rs:2015:5 [INFO] [stdout] 20: 0x58704dff7de3 - core::option::Option::unwrap::ha33b6f8c3ea3eece [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/option.rs:978:21 [INFO] [stdout] 21: 0x58704dff7de3 - costoflife::TxRecord::from::{{closure}}::hbe3c87d4d248319b [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:437:49 [INFO] [stdout] 22: 0x58704e00240c - core::option::Option::map::h0910e760935ba428 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/option.rs:1119:29 [INFO] [stdout] 23: 0x58704dff7845 - costoflife::TxRecord::from::h48a2d9174b770f4d [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:437:18 [INFO] [stdout] 24: 0x58704dff7538 - costoflife::TxRecord::new::h2b207062a3a8cce0 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:375:9 [INFO] [stdout] 25: 0x58704e0008e4 - costoflife::tests::test_costoflife::h2a977222b589dd77 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:941:13 [INFO] [stdout] 26: 0x58704e000887 - costoflife::tests::test_costoflife::{{closure}}::h48cc1db6c4eda52a [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:938:25 [INFO] [stdout] 27: 0x58704dfe4016 - core::ops::function::FnOnce::call_once::hee8254273c0b5be7 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x58704e042ccb - core::ops::function::FnOnce::call_once::h8acc80b5a33ff319 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x58704e042ccb - test::__rust_begin_short_backtrace::h52b6da716ad42b7d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:632:18 [INFO] [stdout] 30: 0x58704e041c03 - test::run_test_in_process::{{closure}}::h2580047890abbefe [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:60 [INFO] [stdout] 31: 0x58704e041c03 - as core::ops::function::FnOnce<()>>::call_once::h936f8c89d0a99c40 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x58704e041c03 - std::panicking::try::do_call::h868682cc368697f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 33: 0x58704e041c03 - std::panicking::try::h0356ffc38cbb5501 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 34: 0x58704e041c03 - std::panic::catch_unwind::h74edf102a3082536 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 35: 0x58704e041c03 - test::run_test_in_process::hc27d69576b7224e4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:27 [INFO] [stdout] 36: 0x58704e041c03 - test::run_test::{{closure}}::h9f3bfaf910429adb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:576:43 [INFO] [stdout] 37: 0x58704e005935 - test::run_test::{{closure}}::h3d537cdce8ec5816 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:606:41 [INFO] [stdout] 38: 0x58704e005935 - std::sys::backtrace::__rust_begin_short_backtrace::hb51d9a6c67ec382d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x58704e009376 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5738f3abb9603fe6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:564:17 [INFO] [stdout] 40: 0x58704e009376 - as core::ops::function::FnOnce<()>>::call_once::h5e9f4b56e45e8108 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x58704e009376 - std::panicking::try::do_call::ha36db853b2f34e23 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 42: 0x58704e009376 - std::panicking::try::h57e1aa33a0efb1be [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 43: 0x58704e009376 - std::panic::catch_unwind::hdb71a6103024936e [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 44: 0x58704e009376 - std::thread::Builder::spawn_unchecked_::{{closure}}::h8caa22218f423ab1 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:562:30 [INFO] [stdout] 45: 0x58704e009376 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb3b44780e9c053e5 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x58704e21b2ab - as core::ops::function::FnOnce>::call_once::h2649f14f1b1c150d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 47: 0x58704e21b2ab - as core::ops::function::FnOnce>::call_once::hb2ade58cb34e1bc4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 48: 0x58704e21b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::ha07e360225fa3528 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 49: 0x7797b7a1dac3 - [INFO] [stdout] 50: 0x7797b7aaea04 - clone [INFO] [stdout] 51: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_tx stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_tx' panicked at src/lib.rs:437:51: [INFO] [stdout] called `Option::unwrap()` on a `None` value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58704e2156ca - std::backtrace_rs::backtrace::libunwind::trace::h88deb10bd0145eb8 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x58704e2156ca - std::backtrace_rs::backtrace::trace_unsynchronized::he1036f5481c14dff [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x58704e2156ca - std::sys::backtrace::_print_fmt::hecc345b6e70c4b20 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58704e2156ca - ::fmt::he089f96442833f67 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58704e23bf73 - core::fmt::rt::Argument::fmt::h1f77cded99c71a14 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x58704e23bf73 - core::fmt::write::h2f210ed4c94745cb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x58704e2127e3 - std::io::Write::write_fmt::he723b56f7e0bd522 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x58704e215512 - std::sys::backtrace::BacktraceLock::print::h810fbd31421329e6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x58704e216c00 - std::panicking::default_hook::{{closure}}::hbaad47ed9dc6356d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x58704e21699d - std::panicking::default_hook::h24e207139139d40a [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:319:9 [INFO] [stdout] 10: 0x58704e03d523 - as core::ops::function::Fn>::call::h63353c459bb27956 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 11: 0x58704e03d523 - test::test_main::{{closure}}::hd5af4d6c4e32fe08 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x58704e217433 - as core::ops::function::Fn>::call::h3af32c23caf5c679 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 13: 0x58704e217433 - std::panicking::rust_panic_with_hook::ha9131beeb2ddc506 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:836:13 [INFO] [stdout] 14: 0x58704e2170d6 - std::panicking::begin_panic_handler::{{closure}}::h1bba0eaeb6da506f [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:694:13 [INFO] [stdout] 15: 0x58704e215bc9 - std::sys::backtrace::__rust_end_short_backtrace::h1d1ca3eade483f4c [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x58704e216d9d - rust_begin_unwind [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:692:5 [INFO] [stdout] 17: 0x58704dfd5350 - core::panicking::panic_fmt::h896a0727a1a943f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x58704dfd53dc - core::panicking::panic::h06336e0c962d4a4a [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:145:5 [INFO] [stdout] 19: 0x58704dfd52c9 - core::option::unwrap_failed::ha2239fe7bcf32a06 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/option.rs:2015:5 [INFO] [stdout] 20: 0x58704dff7de3 - core::option::Option::unwrap::ha33b6f8c3ea3eece [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/option.rs:978:21 [INFO] [stdout] 21: 0x58704dff7de3 - costoflife::TxRecord::from::{{closure}}::hbe3c87d4d248319b [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:437:49 [INFO] [stdout] 22: 0x58704e00240c - core::option::Option::map::h0910e760935ba428 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/option.rs:1119:29 [INFO] [stdout] 23: 0x58704dff7845 - costoflife::TxRecord::from::h48a2d9174b770f4d [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:437:18 [INFO] [stdout] 24: 0x58704dffc876 - costoflife::tests::test_tx::h85dbd991b21f5359 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:643:17 [INFO] [stdout] 25: 0x58704dffad67 - costoflife::tests::test_tx::{{closure}}::hb42adc6ae2546933 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:549:17 [INFO] [stdout] 26: 0x58704dfe4056 - core::ops::function::FnOnce::call_once::hf40acbf493be9785 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x58704e042ccb - core::ops::function::FnOnce::call_once::h8acc80b5a33ff319 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x58704e042ccb - test::__rust_begin_short_backtrace::h52b6da716ad42b7d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:632:18 [INFO] [stdout] 29: 0x58704e041c03 - test::run_test_in_process::{{closure}}::h2580047890abbefe [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:60 [INFO] [stdout] 30: 0x58704e041c03 - as core::ops::function::FnOnce<()>>::call_once::h936f8c89d0a99c40 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: 0x58704e041c03 - std::panicking::try::do_call::h868682cc368697f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 32: 0x58704e041c03 - std::panicking::try::h0356ffc38cbb5501 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 33: 0x58704e041c03 - std::panic::catch_unwind::h74edf102a3082536 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 34: 0x58704e041c03 - test::run_test_in_process::hc27d69576b7224e4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:27 [INFO] [stdout] 35: 0x58704e041c03 - test::run_test::{{closure}}::h9f3bfaf910429adb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:576:43 [INFO] [stdout] 36: 0x58704e005935 - test::run_test::{{closure}}::h3d537cdce8ec5816 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:606:41 [INFO] [stdout] 37: 0x58704e005935 - std::sys::backtrace::__rust_begin_short_backtrace::hb51d9a6c67ec382d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 38: 0x58704e009376 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5738f3abb9603fe6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:564:17 [INFO] [stdout] 39: 0x58704e009376 - as core::ops::function::FnOnce<()>>::call_once::h5e9f4b56e45e8108 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: 0x58704e009376 - std::panicking::try::do_call::ha36db853b2f34e23 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 41: 0x58704e009376 - std::panicking::try::h57e1aa33a0efb1be [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 42: 0x58704e009376 - std::panic::catch_unwind::hdb71a6103024936e [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 43: 0x58704e009376 - std::thread::Builder::spawn_unchecked_::{{closure}}::h8caa22218f423ab1 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:562:30 [INFO] [stdout] 44: 0x58704e009376 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb3b44780e9c053e5 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x58704e21b2ab - as core::ops::function::FnOnce>::call_once::h2649f14f1b1c150d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 46: 0x58704e21b2ab - as core::ops::function::FnOnce>::call_once::hb2ade58cb34e1bc4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 47: 0x58704e21b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::ha07e360225fa3528 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 48: 0x7797b7a1dac3 - [INFO] [stdout] 49: 0x7797b7aaea04 - clone [INFO] [stdout] 50: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_costoflife [INFO] [stdout] tests::test_tx [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "498c66ee23e9c7f67061860805156b4aeca91ef1b426f13b29b45a5a2fabfaa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "498c66ee23e9c7f67061860805156b4aeca91ef1b426f13b29b45a5a2fabfaa6", kill_on_drop: false }` [INFO] [stdout] 498c66ee23e9c7f67061860805156b4aeca91ef1b426f13b29b45a5a2fabfaa6