[INFO] cloning repository https://github.com/luisburigo/infinity-codefest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luisburigo/infinity-codefest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisburigo%2Finfinity-codefest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisburigo%2Finfinity-codefest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 86c5980142dee7d5b46d39b0a54dbf1f37468b61
[INFO] testing luisburigo/infinity-codefest against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisburigo%2Finfinity-codefest" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/luisburigo/infinity-codefest
[INFO] finished tweaking git repo https://github.com/luisburigo/infinity-codefest
[INFO] tweaked toml for git repo https://github.com/luisburigo/infinity-codefest written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/luisburigo/infinity-codefest on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/luisburigo/infinity-codefest 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ccd6602df38a1f1b00c3eba6bfe61a6614c1a90cf8543d038f3e62f6cdd7b22
[INFO] running `Command { std: "docker" "start" "-a" "0ccd6602df38a1f1b00c3eba6bfe61a6614c1a90cf8543d038f3e62f6cdd7b22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ccd6602df38a1f1b00c3eba6bfe61a6614c1a90cf8543d038f3e62f6cdd7b22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ccd6602df38a1f1b00c3eba6bfe61a6614c1a90cf8543d038f3e62f6cdd7b22", kill_on_drop: false }`
[INFO] [stdout] 0ccd6602df38a1f1b00c3eba6bfe61a6614c1a90cf8543d038f3e62f6cdd7b22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd9e3e94910a8759e653569069ee40cd3e3b1378d3a18ae67634c56d3edc501f
[INFO] running `Command { std: "docker" "start" "-a" "fd9e3e94910a8759e653569069ee40cd3e3b1378d3a18ae67634c56d3edc501f", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling bytes v1.6.1
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling cc v1.1.6
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling cookie-factory v0.2.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v1.0.1
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling hybrid-array v0.2.0-rc.9
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling const-oid v0.10.0-rc.0
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling secp256k1-sys v0.10.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling crypto-common v0.2.0-rc.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling input_buffer v0.5.0
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling keccak v0.2.0-pre.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling block-buffer v0.11.0-rc.0
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling digest v0.11.0-pre.9
[INFO] [stderr]    Compiling sha3 v0.11.0-pre.4
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling snafu-derive v0.7.5
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]    Compiling secp256k1 v0.29.0
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tokio v1.39.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling pest v2.7.11
[INFO] [stderr]    Compiling snafu v0.7.5
[INFO] [stderr]    Compiling pest_meta v2.7.11
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling pest_generator v2.7.11
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling pest_derive v2.7.11
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling uuid v1.10.0
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling handlebars v1.1.0
[INFO] [stderr]    Compiling amq-protocol-types v1.2.0
[INFO] [stderr]    Compiling cargo-lock v8.0.3
[INFO] [stderr]    Compiling validator v0.16.1
[INFO] [stderr]    Compiling hyper-util v0.1.6
[INFO] [stderr]    Compiling built v0.5.2
[INFO] [stderr]    Compiling amq-protocol-codegen v1.4.0
[INFO] [stderr]    Compiling amiquip v0.4.2
[INFO] [stderr]    Compiling amq-protocol v1.4.0
[INFO] [stderr]    Compiling redis v0.26.0
[INFO] [stderr]    Compiling infinity-codefest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]  --> src/main.rs:7:55
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::types::transaction::types::{ToTransaction, Transaction, TransactionStatus};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `redis::RedisError`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use redis::RedisError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `PublicKey`, and `Secp256k1`
[INFO] [stdout]   --> src/main.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use secp256k1::{Error, PublicKey, Secp256k1};
[INFO] [stdout]    |                 ^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TransactionStatus` and `Transaction`
[INFO] [stdout]   --> src/handlers/user.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::types::transaction::types::{Transaction, TransactionStatus};
[INFO] [stdout]    |                                        ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::currency::Currencies`
[INFO] [stdout]  --> src/handlers/transaction.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::currency::Currencies;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TransactionIdentifiers` and `TransactionsByType`
[INFO] [stdout]  --> src/handlers/transaction.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Transaction, TransactionIdentifiers, TransactionStatus, TransactionsByType,
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^^                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]   --> src/handlers/transaction.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use chrono::Utc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Message`, `PublicKey`, and `Secp256k1`
[INFO] [stdout]  --> src/modules/transaction/service.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use secp256k1::{Message, PublicKey, Secp256k1};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `secp256k1::ecdsa::Signature`
[INFO] [stdout]  --> src/modules/transaction/service.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use secp256k1::ecdsa::Signature;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Keccak256`
[INFO] [stdout]  --> src/modules/transaction/service.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sha3::{Digest, Keccak256};
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromPrimitive` and `ToPrimitive`
[INFO] [stdout]  --> src/modules/currency/conversion.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rust_decimal::prelude::{FromPrimitive, ToPrimitive};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/modules/currency/conversion.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToUser`
[INFO] [stdout]  --> src/producers/user.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::types::user::types::{ToUser, User, UserStatus};
[INFO] [stdout]   |                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreatedUserEventPayload` and `PendingUserEventPayload`
[INFO] [stdout]  --> src/producers/transaction.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::types::user::event::{CreatedUserEventPayload, PendingUserEventPayload};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `UserStatus` and `User`
[INFO] [stdout]  --> src/producers/transaction.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::user::types::{User, UserStatus};
[INFO] [stdout]   |                                 ^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/modules/transaction/service.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sha3::{Digest, Keccak256};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/consumers/user.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn start(mut connection: &mut Connection) -> Result<Self, amiquip::Error> {
[INFO] [stdout]    |                  ----^^^^^^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/consumers/transaction.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn start(mut connection: &mut Connection) -> Result<Self, amiquip::Error> {
[INFO] [stdout]   |                  ----^^^^^^^^^^
[INFO] [stdout]   |                  |
[INFO] [stdout]   |                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/modules/transaction/service.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut sender: Result<User, RedisError> = match get_user(payload.sender.unwrap()) {
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/modules/transaction/service.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut receiver: Result<User, RedisError> = match get_user(payload.receiver.unwrap()) {
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/modules/user/service.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Ok(data) => {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:62:29
[INFO] [stdout]    |
[INFO] [stdout] 62 |                         let mut user = payload.to_user();
[INFO] [stdout]    |                             ----^^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UserEventError` is never used
[INFO] [stdout]   --> src/types/user/event.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum UserEventError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TxHash` is never used
[INFO] [stdout]   --> src/types/transaction/types.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum TxHash {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TransactionIdentifiers` is never constructed
[INFO] [stdout]   --> src/types/transaction/types.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct TransactionIdentifiers {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TransactionsByType` is never constructed
[INFO] [stdout]   --> src/types/transaction/types.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct TransactionsByType {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateTransactionPayload` is never constructed
[INFO] [stdout]   --> src/types/transaction/types.rs:98:12
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub struct CreateTransactionPayload {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:104:41
[INFO] [stdout]     |
[INFO] [stdout] 104 | / ...                   transaction_producer
[INFO] [stdout] 105 | | ...                       .publish(transaction.clone());
[INFO] [stdout]     | |_______________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[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] 104 |                                         let _ = transaction_producer
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "fd9e3e94910a8759e653569069ee40cd3e3b1378d3a18ae67634c56d3edc501f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd9e3e94910a8759e653569069ee40cd3e3b1378d3a18ae67634c56d3edc501f", kill_on_drop: false }`
[INFO] [stdout] fd9e3e94910a8759e653569069ee40cd3e3b1378d3a18ae67634c56d3edc501f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cddec011cfc2a0fa9edece9241304f906d478f1ffeab3e56ac314e1faf8f26ba
[INFO] running `Command { std: "docker" "start" "-a" "cddec011cfc2a0fa9edece9241304f906d478f1ffeab3e56ac314e1faf8f26ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling infinity-codefest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]  --> src/main.rs:7:55
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::types::transaction::types::{ToTransaction, Transaction, TransactionStatus};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `redis::RedisError`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use redis::RedisError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `PublicKey`, and `Secp256k1`
[INFO] [stdout]   --> src/main.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use secp256k1::{Error, PublicKey, Secp256k1};
[INFO] [stdout]    |                 ^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TransactionStatus` and `Transaction`
[INFO] [stdout]   --> src/handlers/user.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::types::transaction::types::{Transaction, TransactionStatus};
[INFO] [stdout]    |                                        ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::currency::Currencies`
[INFO] [stdout]  --> src/handlers/transaction.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::currency::Currencies;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TransactionIdentifiers` and `TransactionsByType`
[INFO] [stdout]  --> src/handlers/transaction.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Transaction, TransactionIdentifiers, TransactionStatus, TransactionsByType,
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^^                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]   --> src/handlers/transaction.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use chrono::Utc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Message`, `PublicKey`, and `Secp256k1`
[INFO] [stdout]  --> src/modules/transaction/service.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use secp256k1::{Message, PublicKey, Secp256k1};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `secp256k1::ecdsa::Signature`
[INFO] [stdout]  --> src/modules/transaction/service.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use secp256k1::ecdsa::Signature;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Keccak256`
[INFO] [stdout]  --> src/modules/transaction/service.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sha3::{Digest, Keccak256};
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromPrimitive` and `ToPrimitive`
[INFO] [stdout]  --> src/modules/currency/conversion.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rust_decimal::prelude::{FromPrimitive, ToPrimitive};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToUser`
[INFO] [stdout]  --> src/producers/user.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::types::user::types::{ToUser, User, UserStatus};
[INFO] [stdout]   |                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreatedUserEventPayload` and `PendingUserEventPayload`
[INFO] [stdout]  --> src/producers/transaction.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::types::user::event::{CreatedUserEventPayload, PendingUserEventPayload};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `UserStatus` and `User`
[INFO] [stdout]  --> src/producers/transaction.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::user::types::{User, UserStatus};
[INFO] [stdout]   |                                 ^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/modules/transaction/service.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sha3::{Digest, Keccak256};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/consumers/user.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn start(mut connection: &mut Connection) -> Result<Self, amiquip::Error> {
[INFO] [stdout]    |                  ----^^^^^^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/consumers/transaction.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn start(mut connection: &mut Connection) -> Result<Self, amiquip::Error> {
[INFO] [stdout]   |                  ----^^^^^^^^^^
[INFO] [stdout]   |                  |
[INFO] [stdout]   |                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/modules/transaction/service.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut sender: Result<User, RedisError> = match get_user(payload.sender.unwrap()) {
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/modules/transaction/service.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut receiver: Result<User, RedisError> = match get_user(payload.receiver.unwrap()) {
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/modules/user/service.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Ok(data) => {
[INFO] [stdout]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:62:29
[INFO] [stdout]    |
[INFO] [stdout] 62 |                         let mut user = payload.to_user();
[INFO] [stdout]    |                             ----^^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UserEventError` is never used
[INFO] [stdout]   --> src/types/user/event.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum UserEventError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TxHash` is never used
[INFO] [stdout]   --> src/types/transaction/types.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum TxHash {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TransactionIdentifiers` is never constructed
[INFO] [stdout]   --> src/types/transaction/types.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct TransactionIdentifiers {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TransactionsByType` is never constructed
[INFO] [stdout]   --> src/types/transaction/types.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct TransactionsByType {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateTransactionPayload` is never constructed
[INFO] [stdout]   --> src/types/transaction/types.rs:98:12
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub struct CreateTransactionPayload {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:104:41
[INFO] [stdout]     |
[INFO] [stdout] 104 | / ...                   transaction_producer
[INFO] [stdout] 105 | | ...                       .publish(transaction.clone());
[INFO] [stdout]     | |_______________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[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] 104 |                                         let _ = transaction_producer
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.18s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "cddec011cfc2a0fa9edece9241304f906d478f1ffeab3e56ac314e1faf8f26ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cddec011cfc2a0fa9edece9241304f906d478f1ffeab3e56ac314e1faf8f26ba", kill_on_drop: false }`
[INFO] [stdout] cddec011cfc2a0fa9edece9241304f906d478f1ffeab3e56ac314e1faf8f26ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 056c944a78e94c44b827d20b479e3ff676b0c855c45cb5d825074d27264f8072
[INFO] running `Command { std: "docker" "start" "-a" "056c944a78e94c44b827d20b479e3ff676b0c855c45cb5d825074d27264f8072", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Transaction`
[INFO] [stdout] 
[INFO] [stderr]  --> src/main.rs:7:55
[INFO] [stdout] running 4 tests
[INFO] [stderr]   |
[INFO] [stdout] test modules::currency::conversion::tests::test_convert_eth_btc ... ok
[INFO] [stderr] 7 | use crate::types::transaction::types::{ToTransaction, Transaction, TransactionStatus};
[INFO] [stdout] test modules::currency::conversion::tests::test_convert_ic_eth ... ok
[INFO] [stderr]   |                                                       ^^^^^^^^^^^
[INFO] [stdout] test modules::currency::conversion::tests::test_convert_usd_btc ... ok
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `redis::RedisError`
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use redis::RedisError;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Error`, `PublicKey`, and `Secp256k1`
[INFO] [stderr]   --> src/main.rs:13:17
[INFO] [stderr]    |
[INFO] [stderr] 13 | use secp256k1::{Error, PublicKey, Secp256k1};
[INFO] [stderr]    |                 ^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `TransactionStatus` and `Transaction`
[INFO] [stderr]   --> src/handlers/user.rs:10:40
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::types::transaction::types::{Transaction, TransactionStatus};
[INFO] [stderr]    |                                        ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::types::currency::Currencies`
[INFO] [stderr]  --> src/handlers/transaction.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::types::currency::Currencies;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `TransactionIdentifiers` and `TransactionsByType`
[INFO] [stderr]  --> src/handlers/transaction.rs:7:18
[INFO] [stderr]   |
[INFO] [stderr] 7 |     Transaction, TransactionIdentifiers, TransactionStatus, TransactionsByType,
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^^^^^^^^                     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::Utc`
[INFO] [stderr]   --> src/handlers/transaction.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use chrono::Utc;
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Message`, `PublicKey`, and `Secp256k1`
[INFO] [stderr]  --> src/modules/transaction/service.rs:6:17
[INFO] [stderr]   |
[INFO] [stderr] 6 | use secp256k1::{Message, PublicKey, Secp256k1};
[INFO] [stderr]   |                 ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `secp256k1::ecdsa::Signature`
[INFO] [stderr]  --> src/modules/transaction/service.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use secp256k1::ecdsa::Signature;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Keccak256`
[INFO] [stderr]  --> src/modules/transaction/service.rs:8:20
[INFO] [stderr]   |
[INFO] [stderr] 8 | use sha3::{Digest, Keccak256};
[INFO] [stderr]   |                    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `FromPrimitive` and `ToPrimitive`
[INFO] [stderr]  --> src/modules/currency/conversion.rs:1:29
[INFO] [stderr]   |
[INFO] [stderr] 1 | use rust_decimal::prelude::{FromPrimitive, ToPrimitive};
[INFO] [stderr]   |                             ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ToUser`
[INFO] [stderr]  --> src/producers/user.rs:3:33
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::types::user::types::{ToUser, User, UserStatus};
[INFO] [stderr]   |                                 ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `CreatedUserEventPayload` and `PendingUserEventPayload`
[INFO] [stderr]  --> src/producers/transaction.rs:4:33
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::types::user::event::{CreatedUserEventPayload, PendingUserEventPayload};
[INFO] [stderr]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `UserStatus` and `User`
[INFO] [stderr]  --> src/producers/transaction.rs:5:33
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::types::user::types::{User, UserStatus};
[INFO] [stderr]   |                                 ^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Digest`
[INFO] [stderr]  --> src/modules/transaction/service.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | use sha3::{Digest, Keccak256};
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/consumers/user.rs:29:18
[INFO] [stderr]    |
[INFO] [stderr] 29 |     pub fn start(mut connection: &mut Connection) -> Result<Self, amiquip::Error> {
[INFO] [stderr]    |                  ----^^^^^^^^^^
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/consumers/transaction.rs:9:18
[INFO] [stderr]   |
[INFO] [stderr] 9 |     pub fn start(mut connection: &mut Connection) -> Result<Self, amiquip::Error> {
[INFO] [stderr]   |                  ----^^^^^^^^^^
[INFO] [stderr]   |                  |
[INFO] [stderr]   |                  help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/modules/transaction/service.rs:33:9
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let mut sender: Result<User, RedisError> = match get_user(payload.sender.unwrap()) {
[INFO] [stderr]    |         ----^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/modules/transaction/service.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let mut receiver: Result<User, RedisError> = match get_user(payload.receiver.unwrap()) {
[INFO] [stderr]    |         ----^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]   --> src/modules/user/service.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 20 |         Ok(data) => {
[INFO] [stderr]    |            ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:62:29
[INFO] [stderr]    |
[INFO] [stderr] 62 |                         let mut user = payload.to_user();
[INFO] [stderr]    |                             ----^^^^
[INFO] [stderr]    |                             |
[INFO] [stderr]    |                             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: enum `UserEventError` is never used
[INFO] [stderr]   --> src/types/user/event.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub enum UserEventError {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `TxHash` is never used
[INFO] [stderr]   --> src/types/transaction/types.rs:63:10
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub enum TxHash {
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TransactionIdentifiers` is never constructed
[INFO] [stderr]   --> src/types/transaction/types.rs:84:12
[INFO] [stderr]    |
[INFO] [stderr] 84 | pub struct TransactionIdentifiers {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TransactionsByType` is never constructed
[INFO] [stderr]   --> src/types/transaction/types.rs:91:12
[INFO] [stderr]    |
[INFO] [stderr] 91 | pub struct TransactionsByType {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CreateTransactionPayload` is never constructed
[INFO] [stderr]   --> src/types/transaction/types.rs:98:12
[INFO] [stderr]    |
[INFO] [stderr] 98 | pub struct CreateTransactionPayload {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:104:41
[INFO] [stderr]     |
[INFO] [stderr] 104 | / ...                   transaction_producer
[INFO] [stderr] 105 | | ...                       .publish(transaction.clone());
[INFO] [stderr]     | |_______________________________________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[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] 104 |                                         let _ = transaction_producer
[INFO] [stderr]     |                                         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `infinity-codefest` (bin "infinity-codefest" test) generated 27 warnings (run `cargo fix --bin "infinity-codefest" -p infinity-codefest --tests` to apply 20 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/infinity_codefest-a982dad95b8d780b)
[INFO] [stdout] test modules::currency::conversion::tests::test_convert_usd_brl ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- modules::currency::conversion::tests::test_convert_usd_brl stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'modules::currency::conversion::tests::test_convert_usd_brl' (26) panicked at src/modules/currency/conversion.rs:43:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 20.0
[INFO] [stdout]  right: 200.0
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5a68511ff552 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a68511ff552 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a68511ff552 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5a68511ff552 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5a685120f7bf - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5a685120f7bf - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5a68511cd023 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5a68511cd023 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5a68511d8dc2 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5a68511dd89f - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5a68511dd731 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5a685119fe3e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5a685119fe3e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5a68511ddeaf - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5a68511ddeaf - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5a68511ddd0a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5a68511d8ef9 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5a68511c17ed - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5a6851216f00 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a6851216da3 - core::panicking::assert_failed_inner::h865658b89c1b891d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:444:17
[INFO] [stdout]   20:     0x5a685117f08f - core::panicking::assert_failed::h96477a07679c0412
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:399:5
[INFO] [stdout]   21:     0x5a685117f4c8 - infinity_codefest::modules::currency::conversion::tests::test_convert_usd_brl::h6f4b5985d533d14e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/modules/currency/conversion.rs:43:9
[INFO] [stdout]   22:     0x5a685117f4e7 - infinity_codefest::modules::currency::conversion::tests::test_convert_usd_brl::{{closure}}::hd4181960ebd89629
[INFO] [stdout]                                at /opt/rustwide/workdir/src/modules/currency/conversion.rs:34:30
[INFO] [stdout]   23:     0x5a685117ef96 - core::ops::function::FnOnce::call_once::h85e5b097bdb6b022
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5a685119fc3b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a685119fc3b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5a68511b3c9d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5a68511b3c9d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5a68511b3c9d - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x5a68511b3c9d - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x5a68511b3c9d - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5a68511b3c9d - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5a68511b3c9d - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5a685118d1e4 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5a685118d1e4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5a6851190a3a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   36:     0x5a6851190a3a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5a6851190a3a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   38:     0x5a6851190a3a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   39:     0x5a6851190a3a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5a6851190a3a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   41:     0x5a6851190a3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5a68511d42ff - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   43:     0x5a68511d42ff - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   44:     0x753cd3ea9aa4 - <unknown>
[INFO] [stdout]   45:     0x753cd3f36a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     modules::currency::conversion::tests::test_convert_usd_brl
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin infinity-codefest`
[INFO] running `Command { std: "docker" "inspect" "056c944a78e94c44b827d20b479e3ff676b0c855c45cb5d825074d27264f8072", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "056c944a78e94c44b827d20b479e3ff676b0c855c45cb5d825074d27264f8072", kill_on_drop: false }`
[INFO] [stdout] 056c944a78e94c44b827d20b479e3ff676b0c855c45cb5d825074d27264f8072
