[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 nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluisburigo%2Finfinity-codefest" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/luisburigo/infinity-codefest on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-7-tc2/source/Cargo.toml
[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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 851f89775f2c5c28887934fde3f029625e95edbf9d432e976c0ddec9dcf7c40e
[INFO] running `Command { std: "docker" "start" "-a" "851f89775f2c5c28887934fde3f029625e95edbf9d432e976c0ddec9dcf7c40e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "851f89775f2c5c28887934fde3f029625e95edbf9d432e976c0ddec9dcf7c40e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "851f89775f2c5c28887934fde3f029625e95edbf9d432e976c0ddec9dcf7c40e", kill_on_drop: false }`
[INFO] [stdout] 851f89775f2c5c28887934fde3f029625e95edbf9d432e976c0ddec9dcf7c40e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b6df553a910e9476e4c911b9bcfa5d19755c654f33e5891548827a216aa0b90e
[INFO] running `Command { std: "docker" "start" "-a" "b6df553a910e9476e4c911b9bcfa5d19755c654f33e5891548827a216aa0b90e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling bytes v1.6.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling cc v1.1.6
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[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 same-file v1.0.6
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling mio v1.0.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling cookie-factory v0.2.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling hybrid-array v0.2.0-rc.9
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling crypto-common v0.2.0-rc.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 tokio v1.39.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling pest v2.7.11
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling secp256k1-sys v0.10.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling pest_meta v2.7.11
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling snafu-derive v0.7.5
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling pest_generator v2.7.11
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling pest_derive v2.7.11
[INFO] [stderr]    Compiling amq-protocol-types v1.2.0
[INFO] [stderr]    Compiling handlebars v1.1.0
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling block-buffer v0.11.0-rc.0
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]    Compiling cargo-lock v8.0.3
[INFO] [stderr]    Compiling amq-protocol-codegen v1.4.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling built v0.5.2
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling const-oid v0.10.0-rc.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling amiquip v0.4.2
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]    Compiling amq-protocol v1.4.0
[INFO] [stderr]    Compiling digest v0.11.0-pre.9
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling hyper-util v0.1.6
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling snafu v0.7.5
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling input_buffer v0.5.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling keccak v0.2.0-pre.0
[INFO] [stderr]    Compiling validator v0.16.1
[INFO] [stderr]    Compiling sha3 v0.11.0-pre.4
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling uuid v1.10.0
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling secp256k1 v0.29.0
[INFO] [stderr]    Compiling hex v0.4.3
[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)]` 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)]` 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)]` 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: field `0` is never read
[INFO] [stdout]   --> src/types/user/event.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Amiquip(amiquip::Error),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserEventError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Amiquip(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types/user/event.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Serde(serde_json::Error),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserEventError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Serde(()),
[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)]` 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 2m 15s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "b6df553a910e9476e4c911b9bcfa5d19755c654f33e5891548827a216aa0b90e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6df553a910e9476e4c911b9bcfa5d19755c654f33e5891548827a216aa0b90e", kill_on_drop: false }`
[INFO] [stdout] b6df553a910e9476e4c911b9bcfa5d19755c654f33e5891548827a216aa0b90e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a026280a4b3f1794644a429f60a00e3e46430c6bc46d7fe9bc83704c16440ca
[INFO] running `Command { std: "docker" "start" "-a" "4a026280a4b3f1794644a429f60a00e3e46430c6bc46d7fe9bc83704c16440ca", 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)]` 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)]` 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)]` 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: field `0` is never read
[INFO] [stdout]   --> src/types/user/event.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Amiquip(amiquip::Error),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserEventError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Amiquip(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/types/user/event.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Serde(serde_json::Error),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserEventError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Serde(()),
[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)]` 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 1.68s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "4a026280a4b3f1794644a429f60a00e3e46430c6bc46d7fe9bc83704c16440ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a026280a4b3f1794644a429f60a00e3e46430c6bc46d7fe9bc83704c16440ca", kill_on_drop: false }`
[INFO] [stdout] 4a026280a4b3f1794644a429f60a00e3e46430c6bc46d7fe9bc83704c16440ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bc0755f664783c8c563f49c27952b3ea6e9968dade4c1cb76650f79815f26d45
[INFO] running `Command { std: "docker" "start" "-a" "bc0755f664783c8c563f49c27952b3ea6e9968dade4c1cb76650f79815f26d45", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Transaction`
[INFO] [stderr]  --> src/main.rs:7:55
[INFO] [stderr]   |
[INFO] [stderr] 7 | use crate::types::transaction::types::{ToTransaction, Transaction, TransactionStatus};
[INFO] [stderr]   |                                                       ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` 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)]` 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)]` 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: field `0` is never read
[INFO] [stderr]   --> src/types/user/event.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Amiquip(amiquip::Error),
[INFO] [stderr]    |     ------- ^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UserEventError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Amiquip(()),
[INFO] [stderr]    |             ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/types/user/event.rs:13:11
[INFO] [stderr]    |
[INFO] [stderr] 13 |     Serde(serde_json::Error),
[INFO] [stderr]    |     ----- ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UserEventError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 13 |     Serde(()),
[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)]` 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 24 warnings (run `cargo fix --bin "infinity-codefest" --tests` to apply 19 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[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 1`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/infinity_codefest-9b917454a903c1df)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test modules::currency::conversion::tests::test_convert_ic_eth ... ok
[INFO] [stdout] test modules::currency::conversion::tests::test_convert_usd_btc ... ok
[INFO] [stdout] test modules::currency::conversion::tests::test_convert_eth_btc ... ok
[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' 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:     0x5f1fab21766a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f1fab21766a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f1fab21766a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f1fab21766a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f1fab23ef83 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f1fab23ef83 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x5f1fab2141c3 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x5f1fab2174b2 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f1fab218a8f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x5f1fab2188a8 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x5f1fab1e0d83 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x5f1fab1e0d83 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5f1fab219583 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x5f1fab219583 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x5f1fab21923a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13
[INFO] [stdout]   15:     0x5f1fab217b69 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x5f1fab218ecd - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x5f1fab23d680 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f1fab23d9a2 - core::panicking::assert_failed_inner::h538bec7c1374cd9c
[INFO] [stdout]   19:     0x5f1fab1a665a - core::panicking::assert_failed::h7623efdb2cb44447
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:364:5
[INFO] [stdout]   20:     0x5f1fab1a694b - infinity_codefest::modules::currency::conversion::tests::test_convert_usd_brl::h4e69f081cbdbe4db
[INFO] [stdout]                                at /opt/rustwide/workdir/src/modules/currency/conversion.rs:43:9
[INFO] [stdout]   21:     0x5f1fab1a6877 - infinity_codefest::modules::currency::conversion::tests::test_convert_usd_brl::{{closure}}::h30eecf3e416b6602
[INFO] [stdout]                                at /opt/rustwide/workdir/src/modules/currency/conversion.rs:34:30
[INFO] [stdout]   22:     0x5f1fab1a6536 - core::ops::function::FnOnce::call_once::h8694319870dd1e96
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5f1fab1e64db - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f1fab1e64db - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   25:     0x5f1fab1e5413 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   26:     0x5f1fab1e5413 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x5f1fab1e5413 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   28:     0x5f1fab1e5413 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   29:     0x5f1fab1e5413 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x5f1fab1e5413 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   31:     0x5f1fab1e5413 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   32:     0x5f1fab1a84f5 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   33:     0x5f1fab1a84f5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   34:     0x5f1fab1abdda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x5f1fab1abdda - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x5f1fab1abdda - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   37:     0x5f1fab1abdda - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   38:     0x5f1fab1abdda - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x5f1fab1abdda - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x5f1fab1abdda - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5f1fab21d4bb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   42:     0x5f1fab21d4bb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   43:     0x5f1fab21d4bb - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   44:     0x7c6720210ac3 - <unknown>
[INFO] [stdout]   45:     0x7c67202a1a04 - 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.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin infinity-codefest`
[INFO] running `Command { std: "docker" "inspect" "bc0755f664783c8c563f49c27952b3ea6e9968dade4c1cb76650f79815f26d45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc0755f664783c8c563f49c27952b3ea6e9968dade4c1cb76650f79815f26d45", kill_on_drop: false }`
[INFO] [stdout] bc0755f664783c8c563f49c27952b3ea6e9968dade4c1cb76650f79815f26d45
