[INFO] cloning repository https://github.com/EccoMoonProject/bank-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EccoMoonProject/bank-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEccoMoonProject%2Fbank-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEccoMoonProject%2Fbank-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e92f11521cd5d28d20373428dd28451cfd98c5c [INFO] testing EccoMoonProject/bank-app against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEccoMoonProject%2Fbank-app" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EccoMoonProject/bank-app on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EccoMoonProject/bank-app [INFO] finished tweaking git repo https://github.com/EccoMoonProject/bank-app [INFO] tweaked toml for git repo https://github.com/EccoMoonProject/bank-app written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EccoMoonProject/bank-app 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo_metadata v0.15.0 [INFO] [stderr] Downloaded parse-display v0.5.5 [INFO] [stderr] Downloaded wildmatch v2.1.1 [INFO] [stderr] Downloaded structmeta-derive v0.1.5 [INFO] [stderr] Downloaded rusty-money v0.4.1 [INFO] [stderr] Downloaded ftp v3.0.1 [INFO] [stderr] Downloaded duckscript v0.7.3 [INFO] [stderr] Downloaded whoami v1.2.1 [INFO] [stderr] Downloaded duckscriptsdk v0.8.13 [INFO] [stderr] Downloaded rust_decimal v1.26.0 [INFO] [stderr] Downloaded attohttpc v0.19.1 [INFO] [stderr] Downloaded serde_ignored v0.1.5 [INFO] [stderr] Downloaded ulid v0.5.0 [INFO] [stderr] Downloaded git_info v0.1.2 [INFO] [stderr] Downloaded cliparser v0.1.2 [INFO] [stderr] Downloaded java-properties v1.4.1 [INFO] [stderr] Downloaded rust_decimal_macros v1.26.0 [INFO] [stderr] Downloaded parse-display-derive v0.5.5 [INFO] [stderr] Downloaded fragile v1.2.1 [INFO] [stderr] Downloaded rust_info v0.3.2 [INFO] [stderr] Downloaded structmeta v0.1.5 [INFO] [stderr] Downloaded fsio v0.3.1 [INFO] [stderr] Downloaded cargo-make v0.35.15 [INFO] [stderr] Downloaded ci_info v0.14.5 [INFO] [stderr] Downloaded shell2batch v0.4.4 [INFO] [stderr] Downloaded envmnt v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2c024875acd5431007d765c22be55a10fc625d7a6f7e5749178d2e52aa948a8 [INFO] running `Command { std: "docker" "start" "-a" "a2c024875acd5431007d765c22be55a10fc625d7a6f7e5749178d2e52aa948a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2c024875acd5431007d765c22be55a10fc625d7a6f7e5749178d2e52aa948a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c024875acd5431007d765c22be55a10fc625d7a6f7e5749178d2e52aa948a8", kill_on_drop: false }` [INFO] [stdout] a2c024875acd5431007d765c22be55a10fc625d7a6f7e5749178d2e52aa948a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d2f0cc24af73e1cc74ec5c1d952db1b5047367bde631167b4e92e4e6b428312 [INFO] running `Command { std: "docker" "start" "-a" "8d2f0cc24af73e1cc74ec5c1d952db1b5047367bde631167b4e92e4e6b428312", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling fsio v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling rust_decimal v1.26.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling pq-sys v0.4.7 [INFO] [stderr] Compiling globset v0.4.9 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling wildmatch v2.1.1 [INFO] [stderr] Compiling attohttpc v0.19.1 [INFO] [stderr] Compiling ftp v3.0.1 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling meval v0.2.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling java-properties v1.4.1 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling duckscript v0.7.3 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.46 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling rust_decimal_macros v1.26.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling ctrlc v3.2.2 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling run_script v0.9.0 [INFO] [stderr] Compiling shell2batch v0.4.4 [INFO] [stderr] Compiling fern v0.6.1 [INFO] [stderr] Compiling rust_info v0.3.2 [INFO] [stderr] Compiling fragile v1.2.1 [INFO] [stderr] Compiling git_info v0.1.2 [INFO] [stderr] Compiling cliparser v0.1.2 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling rusty-money v0.4.1 [INFO] [stderr] Compiling ulid v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling structmeta-derive v0.1.5 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling structmeta v0.1.5 [INFO] [stderr] Compiling parse-display-derive v0.5.5 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling derive_builder v0.10.2 [INFO] [stderr] Compiling lenient_semver_version_builder v0.4.2 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling lenient_semver_parser v0.4.2 [INFO] [stderr] Compiling envmnt v0.10.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling duckscriptsdk v0.8.13 [INFO] [stderr] Compiling cargo_metadata v0.15.0 [INFO] [stderr] Compiling ci_info v0.14.5 [INFO] [stderr] Compiling lenient_semver v0.4.2 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_ignored v0.1.5 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling cargo-make v0.35.15 [INFO] [stderr] Compiling tonic v0.5.2 [INFO] [stderr] Compiling mockall v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling parse-display v0.5.5 [INFO] [stderr] error: could not compile `diesel` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name diesel /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="32-column-tables"' --cfg 'feature="bitflags"' --cfg 'feature="default"' --cfg 'feature="postgres"' --cfg 'feature="pq-sys"' --cfg 'feature="with-deprecated"' -C metadata=6d17de5bf1ed46ac -C extra-filename=-6d17de5bf1ed46ac --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-560efdb99b117eef.rmeta --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-a1f9de351ee5c7d4.rmeta --extern diesel_derives=/opt/rustwide/target/debug/deps/libdiesel_derives-7cbf84dbd50699a1.so --extern pq_sys=/opt/rustwide/target/debug/deps/libpq_sys-39a8d22922bcb31d.rmeta --cap-lints allow --cap-lints=forbid -Copt-level=3 -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8d2f0cc24af73e1cc74ec5c1d952db1b5047367bde631167b4e92e4e6b428312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d2f0cc24af73e1cc74ec5c1d952db1b5047367bde631167b4e92e4e6b428312", kill_on_drop: false }` [INFO] [stdout] 8d2f0cc24af73e1cc74ec5c1d952db1b5047367bde631167b4e92e4e6b428312 [INFO] testing EccoMoonProject/bank-app against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEccoMoonProject%2Fbank-app" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EccoMoonProject/bank-app on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EccoMoonProject/bank-app [INFO] finished tweaking git repo https://github.com/EccoMoonProject/bank-app [INFO] tweaked toml for git repo https://github.com/EccoMoonProject/bank-app written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EccoMoonProject/bank-app 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b037f491b84f09947a633056624c55917efb00a11e29dfd3c459ff01ebffea83 [INFO] running `Command { std: "docker" "start" "-a" "b037f491b84f09947a633056624c55917efb00a11e29dfd3c459ff01ebffea83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b037f491b84f09947a633056624c55917efb00a11e29dfd3c459ff01ebffea83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b037f491b84f09947a633056624c55917efb00a11e29dfd3c459ff01ebffea83", kill_on_drop: false }` [INFO] [stdout] b037f491b84f09947a633056624c55917efb00a11e29dfd3c459ff01ebffea83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbf046ad3b1bd41334bf19b1f29c3d810a958eb9fbecb9f0fc7642caa4f1b439 [INFO] running `Command { std: "docker" "start" "-a" "dbf046ad3b1bd41334bf19b1f29c3d810a958eb9fbecb9f0fc7642caa4f1b439", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling fsio v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling rust_decimal v1.26.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling pq-sys v0.4.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling globset v0.4.9 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling wildmatch v2.1.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling attohttpc v0.19.1 [INFO] [stderr] Compiling meval v0.2.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling ftp v3.0.1 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling java-properties v1.4.1 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling duckscript v0.7.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.46 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling rust_decimal_macros v1.26.0 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling ctrlc v3.2.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling run_script v0.9.0 [INFO] [stderr] Compiling shell2batch v0.4.4 [INFO] [stderr] Compiling fern v0.6.1 [INFO] [stderr] Compiling git_info v0.1.2 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling fragile v1.2.1 [INFO] [stderr] Compiling cliparser v0.1.2 [INFO] [stderr] Compiling rust_info v0.3.2 [INFO] [stderr] Compiling ulid v0.5.0 [INFO] [stderr] Compiling rusty-money v0.4.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling structmeta-derive v0.1.5 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling structmeta v0.1.5 [INFO] [stderr] Compiling parse-display-derive v0.5.5 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling derive_builder v0.10.2 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling lenient_semver_version_builder v0.4.2 [INFO] [stderr] Compiling lenient_semver_parser v0.4.2 [INFO] [stderr] Compiling envmnt v0.10.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling cargo_metadata v0.15.0 [INFO] [stderr] Compiling duckscriptsdk v0.8.13 [INFO] [stderr] Compiling ci_info v0.14.5 [INFO] [stderr] Compiling lenient_semver v0.4.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_ignored v0.1.5 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.5.2 [INFO] [stderr] Compiling cargo-make v0.35.15 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling parse-display v0.5.5 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling mockall v0.10.2 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling rust-bank v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hash` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{fs, hash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> src/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha512` [INFO] [stdout] --> src/auth.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Digest, Sha256, Sha512}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/wallet.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/auth.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Digest, Sha256, Sha512}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ten_millis` [INFO] [stdout] --> src/wallet.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let ten_millis = time::Duration::from_millis(100); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ten_millis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_Wallet` [INFO] [stdout] --> src/wallet.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let user_Wallet = add_wallet_data(&input_id, &trimmed, &input_currency); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_Wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut struct_hash: TxHash = serde_json::from_str(&data).expect("Unable to"); [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: function `deposit_eur` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn deposit_eur(iso_standard: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_eur_data` is never used [INFO] [stdout] --> src/money.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn get_eur_data(amount: i64,name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fs::write(path, updated_wallet); [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] 46 | let _ = fs::write(path, updated_wallet); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | fs::write("./src/data/wallet.json", updated_wallet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = fs::write("./src/data/wallet.json", updated_wallet); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | fs::write(path, updated_wallet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = fs::write(path, updated_wallet); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | fs::write(path_credits, updated_credits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 159 | let _ = fs::write(path_credits, updated_credits); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/auth.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fs::write("./src/data/txhash.json", serialized); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = fs::write("./src/data/txhash.json", serialized); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `idData` should have a snake case name [INFO] [stdout] --> src/wallet.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn add_wallet_data(idData: &String, depositData: &u128, currencyData: &String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `id_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `depositData` should have a snake case name [INFO] [stdout] --> src/wallet.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn add_wallet_data(idData: &String, depositData: &u128, currencyData: &String) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `deposit_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currencyData` should have a snake case name [INFO] [stdout] --> src/wallet.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn add_wallet_data(idData: &String, depositData: &u128, currencyData: &String) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `currency_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/wallet.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fs::write("src/data/wallet.json", serialized); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = fs::write("src/data/wallet.json", serialized); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `user_Wallet` should have a snake case name [INFO] [stdout] --> src/wallet.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let user_Wallet = add_wallet_data(&input_id, &trimmed, &input_currency); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `user_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/credits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fs::write("src/data/credits.json", serialized); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = fs::write("src/data/credits.json", serialized); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7m 36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "dbf046ad3b1bd41334bf19b1f29c3d810a958eb9fbecb9f0fc7642caa4f1b439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbf046ad3b1bd41334bf19b1f29c3d810a958eb9fbecb9f0fc7642caa4f1b439", kill_on_drop: false }` [INFO] [stdout] dbf046ad3b1bd41334bf19b1f29c3d810a958eb9fbecb9f0fc7642caa4f1b439 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40aba3e58f2772d06a661d0661ddaeb896343df240b7c2ec55353867fdaeb213 [INFO] running `Command { std: "docker" "start" "-a" "40aba3e58f2772d06a661d0661ddaeb896343df240b7c2ec55353867fdaeb213", kill_on_drop: false }` [INFO] [stderr] Compiling rust-bank v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hash` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{fs, hash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> src/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha512` [INFO] [stdout] --> src/auth.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Digest, Sha256, Sha512}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/wallet.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/auth.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Digest, Sha256, Sha512}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ten_millis` [INFO] [stdout] --> src/wallet.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let ten_millis = time::Duration::from_millis(100); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ten_millis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_Wallet` [INFO] [stdout] --> src/wallet.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let user_Wallet = add_wallet_data(&input_id, &trimmed, &input_currency); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_Wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut struct_hash: TxHash = serde_json::from_str(&data).expect("Unable to"); [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: function `deposit_eur` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn deposit_eur(iso_standard: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_eur_data` is never used [INFO] [stdout] --> src/money.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn get_eur_data(amount: i64,name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fs::write(path, updated_wallet); [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] 46 | let _ = fs::write(path, updated_wallet); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | fs::write("./src/data/wallet.json", updated_wallet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = fs::write("./src/data/wallet.json", updated_wallet); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | fs::write(path, updated_wallet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = fs::write(path, updated_wallet); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | fs::write(path_credits, updated_credits); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 159 | let _ = fs::write(path_credits, updated_credits); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/auth.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fs::write("./src/data/txhash.json", serialized); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = fs::write("./src/data/txhash.json", serialized); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `idData` should have a snake case name [INFO] [stdout] --> src/wallet.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn add_wallet_data(idData: &String, depositData: &u128, currencyData: &String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `id_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `depositData` should have a snake case name [INFO] [stdout] --> src/wallet.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn add_wallet_data(idData: &String, depositData: &u128, currencyData: &String) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `deposit_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currencyData` should have a snake case name [INFO] [stdout] --> src/wallet.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn add_wallet_data(idData: &String, depositData: &u128, currencyData: &String) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `currency_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/wallet.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fs::write("src/data/wallet.json", serialized); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = fs::write("src/data/wallet.json", serialized); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `user_Wallet` should have a snake case name [INFO] [stdout] --> src/wallet.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let user_Wallet = add_wallet_data(&input_id, &trimmed, &input_currency); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `user_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/credits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fs::write("src/data/credits.json", serialized); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = fs::write("src/data/credits.json", serialized); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "40aba3e58f2772d06a661d0661ddaeb896343df240b7c2ec55353867fdaeb213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40aba3e58f2772d06a661d0661ddaeb896343df240b7c2ec55353867fdaeb213", kill_on_drop: false }` [INFO] [stdout] 40aba3e58f2772d06a661d0661ddaeb896343df240b7c2ec55353867fdaeb213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5128cff85a1c90deaa70b8a9a41f2287cc4adc90781457d5977b0ce89dd3bfca [INFO] running `Command { std: "docker" "start" "-a" "5128cff85a1c90deaa70b8a9a41f2287cc4adc90781457d5977b0ce89dd3bfca", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `hash` [INFO] [stderr] --> src/main.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use std::{fs, hash}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `thread`, `time` [INFO] [stderr] --> src/main.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use std::{thread, time}; [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hex_literal::hex` [INFO] [stderr] --> src/auth.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use hex_literal::hex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Sha512` [INFO] [stderr] --> src/auth.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | use sha2::{Digest, Sha256, Sha512}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/auth.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `thread` [INFO] [stderr] --> src/wallet.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{thread, time}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Digest` [INFO] [stderr] --> src/auth.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use sha2::{Digest, Sha256, Sha512}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ten_millis` [INFO] [stderr] --> src/wallet.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let ten_millis = time::Duration::from_millis(100); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ten_millis` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_Wallet` [INFO] [stderr] --> src/wallet.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | let user_Wallet = add_wallet_data(&input_id, &trimmed, &input_currency); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_Wallet` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 111 | let mut struct_hash: TxHash = serde_json::from_str(&data).expect("Unable to"); [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: function `deposit_eur` is never used [INFO] [stderr] --> src/main.rs:66:4 [INFO] [stderr] | [INFO] [stderr] 66 | fn deposit_eur(iso_standard: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_eur_data` is never used [INFO] [stderr] --> src/money.rs:42:15 [INFO] [stderr] | [INFO] [stderr] 42 | pub(crate) fn get_eur_data(amount: i64,name: &str) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | fs::write(path, updated_wallet); [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] 46 | let _ = fs::write(path, updated_wallet); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | fs::write("./src/data/wallet.json", updated_wallet); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 100 | let _ = fs::write("./src/data/wallet.json", updated_wallet); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | fs::write(path, updated_wallet); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 158 | let _ = fs::write(path, updated_wallet); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:159:13 [INFO] [stderr] | [INFO] [stderr] 159 | fs::write(path_credits, updated_credits); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 159 | let _ = fs::write(path_credits, updated_credits); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/auth.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | fs::write("./src/data/txhash.json", serialized); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 41 | let _ = fs::write("./src/data/txhash.json", serialized); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: variable `idData` should have a snake case name [INFO] [stderr] --> src/wallet.rs:13:31 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn add_wallet_data(idData: &String, depositData: &u128, currencyData: &String) { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `id_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `depositData` should have a snake case name [INFO] [stderr] --> src/wallet.rs:13:48 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn add_wallet_data(idData: &String, depositData: &u128, currencyData: &String) { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `deposit_data` [INFO] [stderr] [INFO] [stderr] warning: variable `currencyData` should have a snake case name [INFO] [stderr] --> src/wallet.rs:13:68 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn add_wallet_data(idData: &String, depositData: &u128, currencyData: &String) { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `currency_data` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/wallet.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | fs::write("src/data/wallet.json", serialized); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 22 | let _ = fs::write("src/data/wallet.json", serialized); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: variable `user_Wallet` should have a snake case name [INFO] [stderr] --> src/wallet.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | let user_Wallet = add_wallet_data(&input_id, &trimmed, &input_currency); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `user_wallet` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/credits.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | fs::write("src/data/credits.json", serialized); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 19 | let _ = fs::write("src/data/credits.json", serialized); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `rust-bank` (bin "rust-bank" test) generated 23 warnings (run `cargo fix --bin "rust-bank" --tests` to apply 7 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: fs_extra v1.2.0, nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_bank-fef6ae37faf62179) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5128cff85a1c90deaa70b8a9a41f2287cc4adc90781457d5977b0ce89dd3bfca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5128cff85a1c90deaa70b8a9a41f2287cc4adc90781457d5977b0ce89dd3bfca", kill_on_drop: false }` [INFO] [stdout] 5128cff85a1c90deaa70b8a9a41f2287cc4adc90781457d5977b0ce89dd3bfca