[INFO] fetching crate gotp 0.1.2...
[INFO] testing gotp-0.1.2 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate gotp 0.1.2 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate gotp 0.1.2
[INFO] finished tweaking crates.io crate gotp 0.1.2
[INFO] tweaked toml for crates.io crate gotp 0.1.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate gotp 0.1.2 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 76 packages to highest compatible versions
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.6.7)
[INFO] [stderr]       Adding hex v0.3.2 (available: v0.4.3)
[INFO] [stderr]       Adding rpassword v2.1.0 (available: v7.5.4)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `gotp` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265
[INFO] running `Command { std: "docker" "start" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `gotp` (manifest) generated 1 warning
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling rpassword v2.1.0
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling gotp v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/accounting.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn save_account(acc: &str, token: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                                               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn save_account(acc: &str, token: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/accounting.rs:13:52
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn load_token(acc: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn load_token(acc: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/accounting.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn delete_account(acc: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn delete_account(acc: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/commands.rs:6:40
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn add_account() -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn add_account() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:27:56
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn delete_account(account: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn delete_account(account: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:33:56
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn generate_token(account: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn generate_token(account: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/encrypt.rs:10:87
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn encrypt_content(content: &str, password: &str) -> Result<(String, String), Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn encrypt_content(content: &str, password: &str) -> Result<(String, String), Box<dyn Error>> {
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/encrypt.rs:34:87
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn decrypt_content(content: &str, password: &str, iv: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn decrypt_content(content: &str, password: &str, iv: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/generator.rs:9:62
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn generate_otp_token(token: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]   |                                                              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn generate_otp_token(token: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]   |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:51:59
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn load_account_file(&mut self) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn load_account_file(&mut self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:85:64
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn get_token(&self, acc: String) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn get_token(&self, acc: String) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:93:69
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn delete_account(&mut self, acc: String) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn delete_account(&mut self, acc: String) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn main() -> Result<(), Box<Error>> {
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]  --> src/accounting.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]   |
[INFO] [stdout] 8 -     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout] 8 +     fh.add_account(acc.trim_end().to_owned(), token.trim_right().to_owned());
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]  --> src/accounting.rs:8:55
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout]   |                                                       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]   |
[INFO] [stdout] 8 -     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout] 8 +     fh.add_account(acc.trim_right().to_owned(), token.trim_end().to_owned());
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/accounting.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let t = fh.get_token(acc.trim_right().to_owned());
[INFO] [stdout]    |                              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 16 -     let t = fh.get_token(acc.trim_right().to_owned());
[INFO] [stdout] 16 +     let t = fh.get_token(acc.trim_end().to_owned());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/accounting.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fh.delete_account(acc.trim_right().to_owned())?;
[INFO] [stdout]    |                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 24 -     fh.delete_account(acc.trim_right().to_owned())?;
[INFO] [stdout] 24 +     fh.delete_account(acc.trim_end().to_owned())?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/commands.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     if account.trim_right().is_empty() {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 12 -     if account.trim_right().is_empty() {
[INFO] [stdout] 12 +     if account.trim_end().is_empty() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/commands.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if token.trim_right().is_empty() {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 20 -     if token.trim_right().is_empty() {
[INFO] [stdout] 20 +     if token.trim_end().is_empty() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/filehandler.rs:67:27
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let iv = split[1].trim_right();
[INFO] [stdout]    |                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 67 -         let iv = split[1].trim_right();
[INFO] [stdout] 67 +         let iv = split[1].trim_end();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/filehandler.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         &self.accounts.insert(account, token);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _ = &self.accounts.insert(account, token);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/filehandler.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 | /             &self
[INFO] [stdout] 79 | |                 .accounts
[INFO] [stdout] 80 | |                 .insert(acc_split[0].to_owned(), acc_split[1].to_owned());
[INFO] [stdout]    | |_________________________________________________________________________^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 78 |             let _ = &self
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 26.81s
[INFO] running `Command { std: "docker" "inspect" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `gotp` (manifest) generated 1 warning
[INFO] [stderr]    Compiling gotp v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/accounting.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn save_account(acc: &str, token: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                                               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn save_account(acc: &str, token: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/accounting.rs:13:52
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn load_token(acc: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn load_token(acc: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/accounting.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn delete_account(acc: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn delete_account(acc: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/commands.rs:6:40
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn add_account() -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn add_account() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:27:56
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn delete_account(account: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn delete_account(account: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:33:56
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn generate_token(account: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn generate_token(account: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/encrypt.rs:10:87
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn encrypt_content(content: &str, password: &str) -> Result<(String, String), Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn encrypt_content(content: &str, password: &str) -> Result<(String, String), Box<dyn Error>> {
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/encrypt.rs:34:87
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn decrypt_content(content: &str, password: &str, iv: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn decrypt_content(content: &str, password: &str, iv: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/generator.rs:9:62
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn generate_otp_token(token: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]   |                                                              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn generate_otp_token(token: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]   |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:51:59
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn load_account_file(&mut self) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn load_account_file(&mut self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:85:64
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn get_token(&self, acc: String) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn get_token(&self, acc: String) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filehandler.rs:93:69
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn delete_account(&mut self, acc: String) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn delete_account(&mut self, acc: String) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn main() -> Result<(), Box<Error>> {
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]  --> src/accounting.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]   |
[INFO] [stdout] 8 -     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout] 8 +     fh.add_account(acc.trim_end().to_owned(), token.trim_right().to_owned());
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]  --> src/accounting.rs:8:55
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout]   |                                                       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]   |
[INFO] [stdout] 8 -     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stdout] 8 +     fh.add_account(acc.trim_right().to_owned(), token.trim_end().to_owned());
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/accounting.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let t = fh.get_token(acc.trim_right().to_owned());
[INFO] [stdout]    |                              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 16 -     let t = fh.get_token(acc.trim_right().to_owned());
[INFO] [stdout] 16 +     let t = fh.get_token(acc.trim_end().to_owned());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/accounting.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fh.delete_account(acc.trim_right().to_owned())?;
[INFO] [stdout]    |                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 24 -     fh.delete_account(acc.trim_right().to_owned())?;
[INFO] [stdout] 24 +     fh.delete_account(acc.trim_end().to_owned())?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/commands.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     if account.trim_right().is_empty() {
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 12 -     if account.trim_right().is_empty() {
[INFO] [stdout] 12 +     if account.trim_end().is_empty() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/commands.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if token.trim_right().is_empty() {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 20 -     if token.trim_right().is_empty() {
[INFO] [stdout] 20 +     if token.trim_end().is_empty() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/filehandler.rs:67:27
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let iv = split[1].trim_right();
[INFO] [stdout]    |                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 67 -         let iv = split[1].trim_right();
[INFO] [stdout] 67 +         let iv = split[1].trim_end();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/filehandler.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         &self.accounts.insert(account, token);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _ = &self.accounts.insert(account, token);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/filehandler.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 | /             &self
[INFO] [stdout] 79 | |                 .accounts
[INFO] [stdout] 80 | |                 .insert(acc_split[0].to_owned(), acc_split[1].to_owned());
[INFO] [stdout]    | |_________________________________________________________________________^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 78 |             let _ = &self
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.41s
[INFO] running `Command { std: "docker" "inspect" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `gotp` (manifest) generated 1 warning
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/accounting.rs:4:63
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn save_account(acc: &str, token: &str) -> Result<(), Box<Error>> {
[INFO] [stderr]   |                                                               ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn save_account(acc: &str, token: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]   |                                                               +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/accounting.rs:13:52
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn load_token(acc: &str) -> Result<String, Box<Error>> {
[INFO] [stderr]    |                                                    ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn load_token(acc: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stderr]    |                                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/accounting.rs:20:52
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub fn delete_account(acc: &str) -> Result<(), Box<Error>> {
[INFO] [stderr]    |                                                    ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub fn delete_account(acc: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    |                                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/commands.rs:6:40
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub fn add_account() -> Result<(), Box<Error>> {
[INFO] [stderr]   |                                        ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub fn add_account() -> Result<(), Box<dyn Error>> {
[INFO] [stderr]   |                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/commands.rs:27:56
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn delete_account(account: &str) -> Result<(), Box<Error>> {
[INFO] [stderr]    |                                                        ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn delete_account(account: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    |                                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/commands.rs:33:56
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub fn generate_token(account: &str) -> Result<(), Box<Error>> {
[INFO] [stderr]    |                                                        ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub fn generate_token(account: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    |                                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/encrypt.rs:10:87
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub fn encrypt_content(content: &str, password: &str) -> Result<(String, String), Box<Error>> {
[INFO] [stderr]    |                                                                                       ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub fn encrypt_content(content: &str, password: &str) -> Result<(String, String), Box<dyn Error>> {
[INFO] [stderr]    |                                                                                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/encrypt.rs:34:87
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub fn decrypt_content(content: &str, password: &str, iv: &str) -> Result<String, Box<Error>> {
[INFO] [stderr]    |                                                                                       ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub fn decrypt_content(content: &str, password: &str, iv: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stderr]    |                                                                                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/generator.rs:9:62
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub fn generate_otp_token(token: &str) -> Result<String, Box<Error>> {
[INFO] [stderr]   |                                                              ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub fn generate_otp_token(token: &str) -> Result<String, Box<dyn Error>> {
[INFO] [stderr]   |                                                              +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/filehandler.rs:51:59
[INFO] [stderr]    |
[INFO] [stderr] 51 |     pub fn load_account_file(&mut self) -> Result<(), Box<Error>> {
[INFO] [stderr]    |                                                           ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 51 |     pub fn load_account_file(&mut self) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    |                                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/filehandler.rs:85:64
[INFO] [stderr]    |
[INFO] [stderr] 85 |     pub fn get_token(&self, acc: String) -> Result<String, Box<Error>> {
[INFO] [stderr]    |                                                                ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 85 |     pub fn get_token(&self, acc: String) -> Result<String, Box<dyn Error>> {
[INFO] [stderr]    |                                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/filehandler.rs:93:69
[INFO] [stderr]    |
[INFO] [stderr] 93 |     pub fn delete_account(&mut self, acc: String) -> Result<(), Box<Error>> {
[INFO] [stderr]    |                                                                     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 93 |     pub fn delete_account(&mut self, acc: String) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    |                                                                     +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:20:29
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn main() -> Result<(), Box<Error>> {
[INFO] [stderr]    |                             ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stderr]  --> src/accounting.rs:8:24
[INFO] [stderr]   |
[INFO] [stderr] 8 |     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stderr]   |                        ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] help: replace the use of the deprecated method
[INFO] [stderr]   |
[INFO] [stderr] 8 -     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stderr] 8 +     fh.add_account(acc.trim_end().to_owned(), token.trim_right().to_owned());
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stderr]  --> src/accounting.rs:8:55
[INFO] [stderr]   |
[INFO] [stderr] 8 |     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stderr]   |                                                       ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: replace the use of the deprecated method
[INFO] [stderr]   |
[INFO] [stderr] 8 -     fh.add_account(acc.trim_right().to_owned(), token.trim_right().to_owned());
[INFO] [stderr] 8 +     fh.add_account(acc.trim_right().to_owned(), token.trim_end().to_owned());
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stderr]   --> src/accounting.rs:16:30
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let t = fh.get_token(acc.trim_right().to_owned());
[INFO] [stderr]    |                              ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated method
[INFO] [stderr]    |
[INFO] [stderr] 16 -     let t = fh.get_token(acc.trim_right().to_owned());
[INFO] [stderr] 16 +     let t = fh.get_token(acc.trim_end().to_owned());
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stderr]   --> src/accounting.rs:24:27
[INFO] [stderr]    |
[INFO] [stderr] 24 |     fh.delete_account(acc.trim_right().to_owned())?;
[INFO] [stderr]    |                           ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated method
[INFO] [stderr]    |
[INFO] [stderr] 24 -     fh.delete_account(acc.trim_right().to_owned())?;
[INFO] [stderr] 24 +     fh.delete_account(acc.trim_end().to_owned())?;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stderr]   --> src/commands.rs:12:16
[INFO] [stderr]    |
[INFO] [stderr] 12 |     if account.trim_right().is_empty() {
[INFO] [stderr]    |                ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated method
[INFO] [stderr]    |
[INFO] [stderr] 12 -     if account.trim_right().is_empty() {
[INFO] [stderr] 12 +     if account.trim_end().is_empty() {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stderr]   --> src/commands.rs:20:14
[INFO] [stderr]    |
[INFO] [stderr] 20 |     if token.trim_right().is_empty() {
[INFO] [stderr]    |              ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated method
[INFO] [stderr]    |
[INFO] [stderr] 20 -     if token.trim_right().is_empty() {
[INFO] [stderr] 20 +     if token.trim_end().is_empty() {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stderr]   --> src/filehandler.rs:67:27
[INFO] [stderr]    |
[INFO] [stderr] 67 |         let iv = split[1].trim_right();
[INFO] [stderr]    |                           ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated method
[INFO] [stderr]    |
[INFO] [stderr] 67 -         let iv = split[1].trim_right();
[INFO] [stderr] 67 +         let iv = split[1].trim_end();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]   --> src/filehandler.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |         &self.accounts.insert(account, token);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 27 |         let _ = &self.accounts.insert(account, token);
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]   --> src/filehandler.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 | /             &self
[INFO] [stderr] 79 | |                 .accounts
[INFO] [stderr] 80 | |                 .insert(acc_split[0].to_owned(), acc_split[1].to_owned());
[INFO] [stderr]    | |_________________________________________________________________________^ the borrow produces a value
[INFO] [stderr]    |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 78 |             let _ = &self
[INFO] [stderr]    |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `gotp` (bin "gotp" test) generated 22 warnings (run `cargo fix --bin "gotp" -p gotp --tests` to apply 20 suggestions)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/gotp-575dd94cc70556ba)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test filehandler::tests::test_add_account ... ok
[INFO] [stdout] test filehandler::tests::test_get_token_fails_if_account_does_not_exist ... ok
[INFO] [stdout] test generator::tests::test_generate_error_when_giving_non_base32_token ... ok
[INFO] [stdout] test generator::tests::test_generate_token_is_the_same_when_called_twice_quickly ... ok
[INFO] [stdout] test generator::tests::test_generate_token ... ok
[INFO] [stdout] test filehandler::tests::test_load_account_also_creates_empty_test_file ... FAILED
[INFO] [stdout] test encrypt::tests::test_encrypt_content_bad_base32_data ... ok
[INFO] [stdout] test filehandler::tests::test_delete_account ... FAILED
[INFO] [stdout] test filehandler::tests::test_load_accountfile ... FAILED
[INFO] [stdout] test encrypt::tests::test_encrypt_content_bad_password ... ok
[INFO] [stdout] test encrypt::tests::test_encrypt_content ... ok
[INFO] [stdout] test filehandler::tests::test_delete_account_error_if_account_not_exists ... FAILED
[INFO] [stdout] test filehandler::tests::test_save_accountfile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- filehandler::tests::test_load_account_also_creates_empty_test_file stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'filehandler::tests::test_load_account_also_creates_empty_test_file' (518) panicked at src/filehandler.rs:58:14:
[INFO] [stdout] unable to create or open account file: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5ec12d9ddd31 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5ec12d9f22da - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x5ec12d9e229c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5ec12d9b97c6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5ec12d9d5b09 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x5ec12d9544a0 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5ec12d9d5cc2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5ec12d9b9872 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5ec12d9b2389 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5ec12d9ba46d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x5ec12d9f2a0c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5ec12d9f27e2 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x5ec12d94568c - <gotp[f4340b8d831c2c66]::filehandler::FileHandler>::load_account_file
[INFO] [stdout]   13:     0x5ec12d943ce1 - gotp[f4340b8d831c2c66]::filehandler::tests::test_load_account_also_creates_empty_test_file
[INFO] [stdout]   14:     0x5ec12d9472e9 - <gotp[f4340b8d831c2c66]::filehandler::tests::test_load_account_also_creates_empty_test_file::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x5ec12d94778b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x5ec12d954df5 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x5ec12d94e6b4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x5ec12d957f52 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x5ec12d9dcf79 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr] error: test failed, to rerun pass `--bin gotp`
[INFO] [stdout]   20:     0x7f2b8845ddfa - <unknown>
[INFO] [stdout]   21:     0x7f2b884f13d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- filehandler::tests::test_delete_account stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'filehandler::tests::test_delete_account' (515) panicked at src/filehandler.rs:46:14:
[INFO] [stdout] unable to create or open account file.: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5ec12d9ddd31 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5ec12d9f22da - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x5ec12d9e229c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5ec12d9b97c6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5ec12d9d5b09 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x5ec12d9544a0 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5ec12d9d5cc2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5ec12d9b9872 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5ec12d9b2389 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5ec12d9ba46d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x5ec12d9f2a0c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5ec12d9f27e2 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x5ec12d945c7b - <gotp[f4340b8d831c2c66]::filehandler::FileHandler>::save_account_file
[INFO] [stdout]   13:     0x5ec12d942e07 - gotp[f4340b8d831c2c66]::filehandler::tests::test_delete_account
[INFO] [stdout]   14:     0x5ec12d947269 - <gotp[f4340b8d831c2c66]::filehandler::tests::test_delete_account::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x5ec12d94778b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x5ec12d954df5 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x5ec12d94e6b4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x5ec12d957f52 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x5ec12d9dcf79 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f2b8845ddfa - <unknown>
[INFO] [stdout]   21:     0x7f2b884f13d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- filehandler::tests::test_load_accountfile stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'filehandler::tests::test_load_accountfile' (519) panicked at src/filehandler.rs:46:14:
[INFO] [stdout] unable to create or open account file.: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5ec12d9ddd31 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5ec12d9f22da - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x5ec12d9e229c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5ec12d9b97c6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5ec12d9d5b09 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x5ec12d9544a0 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5ec12d9d5cc2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5ec12d9b9872 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5ec12d9b2389 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5ec12d9ba46d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x5ec12d9f2a0c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5ec12d9f27e2 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x5ec12d945c7b - <gotp[f4340b8d831c2c66]::filehandler::FileHandler>::save_account_file
[INFO] [stdout]   13:     0x5ec12d9431fd - gotp[f4340b8d831c2c66]::filehandler::tests::test_load_accountfile
[INFO] [stdout]   14:     0x5ec12d947289 - <gotp[f4340b8d831c2c66]::filehandler::tests::test_load_accountfile::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x5ec12d94778b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x5ec12d954df5 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x5ec12d94e6b4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x5ec12d957f52 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x5ec12d9dcf79 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f2b8845ddfa - <unknown>
[INFO] [stdout]   21:     0x7f2b884f13d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- filehandler::tests::test_delete_account_error_if_account_not_exists stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'filehandler::tests::test_delete_account_error_if_account_not_exists' (516) panicked at src/filehandler.rs:46:14:
[INFO] [stdout] unable to create or open account file.: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5ec12d9ddd31 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5ec12d9f22da - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x5ec12d9e229c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5ec12d9b97c6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5ec12d9d5b09 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x5ec12d9544a0 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5ec12d9d5cc2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5ec12d9b9872 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5ec12d9b2389 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5ec12d9ba46d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x5ec12d9f2a0c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5ec12d9f27e2 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x5ec12d945c7b - <gotp[f4340b8d831c2c66]::filehandler::FileHandler>::save_account_file
[INFO] [stdout]   13:     0x5ec12d943f57 - gotp[f4340b8d831c2c66]::filehandler::tests::test_delete_account_error_if_account_not_exists
[INFO] [stdout]   14:     0x5ec12d947309 - <gotp[f4340b8d831c2c66]::filehandler::tests::test_delete_account_error_if_account_not_exists::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x5ec12d94778b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x5ec12d954df5 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x5ec12d94e6b4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x5ec12d957f52 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x5ec12d9dcf79 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f2b8845ddfa - <unknown>
[INFO] [stdout]   21:     0x7f2b884f13d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- filehandler::tests::test_save_accountfile stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'filehandler::tests::test_save_accountfile' (520) panicked at src/filehandler.rs:46:14:
[INFO] [stdout] unable to create or open account file.: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5ec12d9ddd31 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5ec12d9f22da - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x5ec12d9e229c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5ec12d9b97c6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5ec12d9d5b09 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x5ec12d9544a0 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5ec12d9d5cc2 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5ec12d9b9872 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5ec12d9b2389 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5ec12d9ba46d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x5ec12d9f2a0c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5ec12d9f27e2 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x5ec12d945c7b - <gotp[f4340b8d831c2c66]::filehandler::FileHandler>::save_account_file
[INFO] [stdout]   13:     0x5ec12d94381f - gotp[f4340b8d831c2c66]::filehandler::tests::test_save_accountfile
[INFO] [stdout]   14:     0x5ec12d9472a9 - <gotp[f4340b8d831c2c66]::filehandler::tests::test_save_accountfile::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x5ec12d94778b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   16:     0x5ec12d954df5 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   17:     0x5ec12d94e6b4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x5ec12d957f52 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x5ec12d9dcf79 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7f2b8845ddfa - <unknown>
[INFO] [stdout]   21:     0x7f2b884f13d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     filehandler::tests::test_delete_account
[INFO] [stdout]     filehandler::tests::test_delete_account_error_if_account_not_exists
[INFO] [stdout]     filehandler::tests::test_load_account_also_creates_empty_test_file
[INFO] [stdout]     filehandler::tests::test_load_accountfile
[INFO] [stdout]     filehandler::tests::test_save_accountfile
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 8 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265", kill_on_drop: false }`
[INFO] [stdout] b03e9676b51ed0bd60ea63188914054271d0bfc6727c0432b57a7b385c62f265
