[INFO] cloning repository https://github.com/estainit/diamond [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/estainit/diamond" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Festainit%2Fdiamond", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Festainit%2Fdiamond'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c1d7f8dcb4fff519d99a1162693b234236130ac [INFO] testing estainit/diamond against try#6c5b2f071bf9fe3a4b05942f31d42d076171aa61 for pr-115315 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Festainit%2Fdiamond" "/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/estainit/diamond on toolchain 6c5b2f071bf9fe3a4b05942f31d42d076171aa61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/estainit/diamond [INFO] finished tweaking git repo https://github.com/estainit/diamond [INFO] tweaked toml for git repo https://github.com/estainit/diamond written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/estainit/diamond 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" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ec2a38a5144a9d631d7b30d27f6d1f6917c997779637e228755997a37fc7403 [INFO] running `Command { std: "docker" "start" "-a" "7ec2a38a5144a9d631d7b30d27f6d1f6917c997779637e228755997a37fc7403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ec2a38a5144a9d631d7b30d27f6d1f6917c997779637e228755997a37fc7403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ec2a38a5144a9d631d7b30d27f6d1f6917c997779637e228755997a37fc7403", kill_on_drop: false }` [INFO] [stdout] 7ec2a38a5144a9d631d7b30d27f6d1f6917c997779637e228755997a37fc7403 [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" "-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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 220f3faee43f388e4e4ba49983a8428284b9c209bd8beed293b1988d412a8a84 [INFO] running `Command { std: "docker" "start" "-a" "220f3faee43f388e4e4ba49983a8428284b9c209bd8beed293b1988d412a8a84", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling base64ct v1.5.1 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling block-padding v0.3.2 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling const-oid v0.9.0 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling der v0.6.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling postgres-protocol v0.6.4 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling aes v0.8.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling secp256k1-sys v0.6.0 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling pkcs5 v0.5.0 [INFO] [stderr] Compiling postgres-types v0.2.3 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling time v0.3.12 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling thread-id v4.0.0 [INFO] [stderr] Compiling email-encoding v0.1.3 [INFO] [stderr] Compiling arc-swap v1.5.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling email_address v0.2.3 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling quoted_printable v0.4.5 [INFO] [stderr] Compiling urlencoding v1.3.3 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling pkcs1 v0.4.0 [INFO] [stderr] Compiling configparser v3.0.1 [INFO] [stderr] Compiling bech32 v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling actix-web-codegen v4.0.1 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling imap-proto v0.10.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling secp256k1 v0.24.0 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling lettre v0.10.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling imap v2.4.1 [INFO] [stderr] Compiling log4rs v1.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.11.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tokio-postgres v0.7.6 [INFO] [stderr] Compiling postgres v0.19.3 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.2.1 [INFO] [stderr] Compiling warp v0.2.5 [INFO] [stderr] Compiling actix-web v4.1.0 [INFO] [stderr] Compiling actix-cors v0.6.2 [INFO] [stderr] Compiling diamond v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `retrieve_voter_percentages` [INFO] [stdout] --> src/lib/dag/normal_block/import_coins/coin_analyzer.rs:9:80 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::lib::transactions::basic_transactions::coins::suspect_trx_handler::{retrieve_voter_percentages}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input_exist_in_referred_block` is never read [INFO] [stdout] --> src/lib/dag/super_control_til_coinbase_minting.rs:453:25 [INFO] [stdout] | [INFO] [stdout] 453 | input_exist_in_referred_block |= true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/transactions/basic_transactions/signature_structure_handler/create_m_of_n_merkle.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | for mut an_unlock_set in unlock_sets [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: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib/block/block_types/block_normal/normal_block.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | drop(&double_spends); [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&SpendCoinsList` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib/block/block_types/block_normal/normal_block.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | drop(&tmp_fv_block); [INFO] [stdout] | ^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Block` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib/block/block_types/block_normal/normal_block.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | drop(&double_spends); [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&SpendCoinsList` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/lib/dag/normal_block/import_coins/import_normal_block_coins.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | if block_inspect_container.m_block_dp_cost_backer_final < 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib/dag/normal_block/import_coins/import_normal_block_coins.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | drop(&block_inspect_container); [INFO] [stdout] | ^^^^^------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&CoinImportDataContainer` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/database/abs_psql.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | m_field_name: field_name.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib/database/abs_psql.rs:762:28 [INFO] [stdout] | [INFO] [stdout] 762 | let the_key = a_key.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/database/db_handler.rs:186:27 [INFO] [stdout] | [INFO] [stdout] 186 | let qstr = a_query.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/database/db_handler.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | let qstr = a_query.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib/machine/machine_buffer/broadcast_block.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | drop(&block); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Block` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, imap-proto v0.10.2, multipart v0.17.1, nom v5.1.2, rustc-serialize v0.3.24, traitobject v0.1.0 [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" "220f3faee43f388e4e4ba49983a8428284b9c209bd8beed293b1988d412a8a84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220f3faee43f388e4e4ba49983a8428284b9c209bd8beed293b1988d412a8a84", kill_on_drop: false }` [INFO] [stdout] 220f3faee43f388e4e4ba49983a8428284b9c209bd8beed293b1988d412a8a84 [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" "-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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60e02b5e781cf63b897aa4a47facfc7d4a863d06ef85bd3f8a08eee80e210ad5 [INFO] running `Command { std: "docker" "start" "-a" "60e02b5e781cf63b897aa4a47facfc7d4a863d06ef85bd3f8a08eee80e210ad5", kill_on_drop: false }` [INFO] [stderr] Compiling diamond v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `retrieve_voter_percentages` [INFO] [stdout] --> src/lib/dag/normal_block/import_coins/coin_analyzer.rs:9:80 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::lib::transactions::basic_transactions::coins::suspect_trx_handler::{retrieve_voter_percentages}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value::String` [INFO] [stdout] --> src/tests/unit_tests/app_tests/date_tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input_exist_in_referred_block` is never read [INFO] [stdout] --> src/lib/dag/super_control_til_coinbase_minting.rs:453:25 [INFO] [stdout] | [INFO] [stdout] 453 | input_exist_in_referred_block |= true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/transactions/basic_transactions/signature_structure_handler/create_m_of_n_merkle.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | for mut an_unlock_set in unlock_sets [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: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib/block/block_types/block_normal/normal_block.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | drop(&double_spends); [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&SpendCoinsList` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib/block/block_types/block_normal/normal_block.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | drop(&tmp_fv_block); [INFO] [stdout] | ^^^^^-------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Block` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib/block/block_types/block_normal/normal_block.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | drop(&double_spends); [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&SpendCoinsList` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/lib/dag/normal_block/import_coins/import_normal_block_coins.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | if block_inspect_container.m_block_dp_cost_backer_final < 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib/dag/normal_block/import_coins/import_normal_block_coins.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | drop(&block_inspect_container); [INFO] [stdout] | ^^^^^------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&CoinImportDataContainer` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/database/abs_psql.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | m_field_name: field_name.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib/database/abs_psql.rs:762:28 [INFO] [stdout] | [INFO] [stdout] 762 | let the_key = a_key.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/database/db_handler.rs:186:27 [INFO] [stdout] | [INFO] [stdout] 186 | let qstr = a_query.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib/database/db_handler.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | let qstr = a_query.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib/machine/machine_buffer/broadcast_block.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | drop(&block); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Block` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, imap-proto v0.10.2, multipart v0.17.1, nom v5.1.2, rustc-serialize v0.3.24, traitobject v0.1.0 [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" "60e02b5e781cf63b897aa4a47facfc7d4a863d06ef85bd3f8a08eee80e210ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60e02b5e781cf63b897aa4a47facfc7d4a863d06ef85bd3f8a08eee80e210ad5", kill_on_drop: false }` [INFO] [stdout] 60e02b5e781cf63b897aa4a47facfc7d4a863d06ef85bd3f8a08eee80e210ad5 [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" "-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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3de97292e618b466786585e99bc1c5d0fa63b677cff707ee3dac38c8866a09e1 [INFO] running `Command { std: "docker" "start" "-a" "3de97292e618b466786585e99bc1c5d0fa63b677cff707ee3dac38c8866a09e1", kill_on_drop: false }` [INFO] [stderr] warning: found module declaration for lib.rs [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | mod lib; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lib.rs is the root of this crate's library target [INFO] [stderr] = help: to refer to it from other targets, use the library's name as the path [INFO] [stderr] = note: `#[warn(special_module_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `retrieve_voter_percentages` [INFO] [stderr] --> src/lib/dag/normal_block/import_coins/coin_analyzer.rs:9:80 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lib::transactions::basic_transactions::coins::suspect_trx_handler::{retrieve_voter_percentages}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value::String` [INFO] [stderr] --> src/tests/unit_tests/app_tests/date_tests.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json::Value::String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `input_exist_in_referred_block` is never read [INFO] [stderr] --> src/lib/dag/super_control_til_coinbase_minting.rs:453:25 [INFO] [stderr] | [INFO] [stderr] 453 | input_exist_in_referred_block |= true; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib/transactions/basic_transactions/signature_structure_handler/create_m_of_n_merkle.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | for mut an_unlock_set in unlock_sets [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: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/lib/block/block_types/block_normal/normal_block.rs:377:17 [INFO] [stderr] | [INFO] [stderr] 377 | drop(&double_spends); [INFO] [stderr] | ^^^^^--------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&SpendCoinsList` [INFO] [stderr] | [INFO] [stderr] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/lib/block/block_types/block_normal/normal_block.rs:423:17 [INFO] [stderr] | [INFO] [stderr] 423 | drop(&tmp_fv_block); [INFO] [stderr] | ^^^^^-------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&Block` [INFO] [stderr] | [INFO] [stderr] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/lib/block/block_types/block_normal/normal_block.rs:439:17 [INFO] [stderr] | [INFO] [stderr] 439 | drop(&double_spends); [INFO] [stderr] | ^^^^^--------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&SpendCoinsList` [INFO] [stderr] | [INFO] [stderr] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/lib/dag/normal_block/import_coins/import_normal_block_coins.rs:179:12 [INFO] [stderr] | [INFO] [stderr] 179 | if block_inspect_container.m_block_dp_cost_backer_final < 0 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/lib/dag/normal_block/import_coins/import_normal_block_coins.rs:346:5 [INFO] [stderr] | [INFO] [stderr] 346 | drop(&block_inspect_container); [INFO] [stderr] | ^^^^^------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&CoinImportDataContainer` [INFO] [stderr] | [INFO] [stderr] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib/database/abs_psql.rs:66:33 [INFO] [stderr] | [INFO] [stderr] 66 | m_field_name: field_name.clone(), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/lib/database/abs_psql.rs:762:28 [INFO] [stderr] | [INFO] [stderr] 762 | let the_key = a_key.clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib/database/db_handler.rs:186:27 [INFO] [stderr] | [INFO] [stderr] 186 | let qstr = a_query.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib/database/db_handler.rs:199:27 [INFO] [stderr] | [INFO] [stderr] 199 | let qstr = a_query.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/lib/machine/machine_buffer/broadcast_block.rs:143:5 [INFO] [stderr] | [INFO] [stderr] 143 | drop(&block); [INFO] [stderr] | ^^^^^------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&Block` [INFO] [stderr] | [INFO] [stderr] = note: use `let _ = ...` to ignore the expression or result [INFO] [stderr] [INFO] [stderr] warning: `diamond` (bin "diamond" test) generated 15 warnings (run `cargo fix --bin "diamond" --tests` to apply 6 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, imap-proto v0.10.2, multipart v0.17.1, nom v5.1.2, rustc-serialize v0.3.24, traitobject v0.1.0 [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/diamond-dced7ef943931d9e) [INFO] [stdout] [INFO] [stdout] running 84 tests [INFO] [stdout] test tests::unit_tests::crypto::cpgp::tests_crypto_cpgp::test_autogen_pgp_1 ... ignored [INFO] [stdout] test tests::unit_tests::crypto::cpgp::tests_crypto_cpgp::test_autogen_pgp_long ... ignored [INFO] [stdout] test tests::unit_tests::app_tests::date_tests::tests_time_funcs::test_1 ... ok [INFO] [stdout] test tests::unit_tests::crypto::aes::tests_crypto_aes::test_autogen_aes_3 ... ok [INFO] [stdout] test tests::unit_tests::crypto::aes::tests_crypto_aes::test_autogen_aes_2 ... ok [INFO] [stdout] test tests::unit_tests::crypto::aes::tests_crypto_aes::test_autogen_aes_1 ... ok [INFO] [stdout] test tests::unit_tests::crypto::aes::tests_crypto_aes::test_autogen_aes_4 ... ok [INFO] [stdout] test tests::unit_tests::crypto::general_crypto::tests_crypto::test_b64 ... ok [INFO] [stdout] test tests::unit_tests::crypto::general_crypto::tests_crypto::test_bech32_encode ... ok [INFO] [stdout] test tests::unit_tests::crypto::general_crypto::tests_crypto::test_keccak256 ... ok [INFO] [stdout] test tests::unit_tests::crypto::general_crypto::tests_crypto::test_bech32 ... ok [INFO] [stdout] test tests::unit_tests::crypto::rsa::tests_crypto_rsa::test_autogen_rsa_key_pairs ... ignored [INFO] [stdout] test tests::unit_tests::crypto::general_crypto::tests_crypto::test_sha256 ... ok [INFO] [stdout] test tests::unit_tests::crypto::rsa::tests_crypto_rsa::test_autogen_rsa_key_pairs_default ... ignored [INFO] [stdout] test tests::unit_tests::cutils_tests::test_array_funcs::test_array_funcs::test_array_diff ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_chunk_string_list::chunk_string_list::test_chunk_string_2 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_chunk_string_list::chunk_string_list::test1 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_chunk_string_list::chunk_string_list::test_chunk_string_1_1 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_chunk_string_list::chunk_string_list::test_chunk_string_1_2 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_chunk_string_list::chunk_string_list::test_chunk_string_3 ... ok [INFO] [stdout] test tests::unit_tests::crypto::rsa::tests_crypto_rsa::test_js_generated_keys_2 ... ok [INFO] [stdout] test tests::unit_tests::crypto::rsa::tests_crypto_rsa::test_js_generated_keys_enc_dec ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_10 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_12 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_1 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_13 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_14 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_11 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_15 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_17 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_2 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_email_parsing::tests_wrapping_uwrapping::test_strip_break_1 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_16 ... ok [INFO] [stdout] test tests::unit_tests::crypto::ecdsa::tests_crypto_ecdsa::test_sign_verification ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_23 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_25 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_24 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_22 ... ok [INFO] [stdout] test tests::unit_tests::crypto::ecdsa::tests_crypto_ecdsa::test_autogen_ecdsa_key_pair ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_27 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_3 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_4 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_5 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_20 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_21 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_6 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_26 ... ok [INFO] [stdout] test tests::unit_tests::crypto::rsa::tests_crypto_rsa::test_js_generated_keys_1 ... ok [INFO] [stdout] test tests::unit_tests::crypto::rsa::tests_crypto_rsa::test_cpp_generated_keys_2 ... ok [INFO] [stdout] test tests::unit_tests::crypto::rsa::tests_crypto_rsa::test_cpp_generated_keys_1 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_8 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_time_funcs::tests_cycle_times::test_time_func_1 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_clone_vec::merkel_tests_1::test_clone_vec ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_time_funcs::tests_cycle_times::tests_years_before ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_hash::tests_hash::test_hash_1 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_clone_vec::merkel_tests_1::test_clone_vvec ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_logarithm::tests_logarithm::test_logarithm_7 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_cycle_times::tests_cycle_times::test_cb_info ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_cycle_times::tests_cycle_times::tests_convert_float_to_string3 ... ok [INFO] [stdout] test tests::unit_tests::crypto::ecdsa::tests_crypto_ecdsa::test_prive_to_pub ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_cycle_times::tests_cycle_times::tests_convert_float_to_string4 ... ok [INFO] [stdout] test tests::unit_tests::merkle::do_hash_a_node::do_hash_a_node::test_1 ... ok [INFO] [stdout] test tests::unit_tests::merkle::merkle_1::merkel_tests_1::test_do_merkle ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_cycle_times::tests_cycle_times::tests_convert_float_to_string2 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_cycle_times::tests_cycle_times::tests_convert_float_to_string1 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_time_funcs::tests_cycle_times::tests_minutes_before ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_cycle_times::tests_cycle_times::test_ature_times ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_cycle_times::tests_cycle_times::tests_1 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_cycle_times::tests_cycle_times::tests_version_controls ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_cycle_times::tests_cycle_times::test_time_func_1 ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::tests_cycle_times::tests_cycle_times::test_date_range ... ok [INFO] [stdout] test tests::unit_tests::merkle::merkle_2::merkel_tests_2::test_2_leaves_a ... ok [INFO] [stdout] test tests::unit_tests::merkle::merkle_1::merkel_tests_1::tests_1_leave ... ok [INFO] [stdout] test tests::unit_tests::merkle::merkle_2::merkel_tests_2::test_2_leaves_c ... ok [INFO] [stdout] test tests::unit_tests::premutations_test::merkel_tests_2::test_premutations_1 ... ok [INFO] [stdout] test tests::unit_tests::premutations_test::merkel_tests_2::test_premutations_2 ... ok [INFO] [stdout] test tests::unit_tests::merkle::merkle_5::merkel_tests_3::test_3_leaves_a ... ok [INFO] [stdout] test tests::unit_tests::merkle::merkle_3::merkel_tests_3::test_3_leaves_b ... ok [INFO] [stdout] test tests::unit_tests::premutations_test::merkel_tests_2::test_premutations_3 ... ok [INFO] [stdout] test tests::unit_tests::merkle::merkle_3::merkel_tests_3::test_3_leaves_c ... ok [INFO] [stdout] test tests::unit_tests::merkle::merkle_2::merkel_tests_2::test_2_leaves_b ... ok [INFO] [stdout] test tests::unit_tests::merkle::merkle_3::merkel_tests_3::test_3_leaves_d ... ok [INFO] [stdout] test tests::unit_tests::merkle::merkle_3::merkel_tests_3::test_3_leaves_a ... ok [INFO] [stdout] test tests::unit_tests::cutils_tests::test_chunk_string_list::chunk_string_list::test_do_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 80 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3de97292e618b466786585e99bc1c5d0fa63b677cff707ee3dac38c8866a09e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de97292e618b466786585e99bc1c5d0fa63b677cff707ee3dac38c8866a09e1", kill_on_drop: false }` [INFO] [stdout] 3de97292e618b466786585e99bc1c5d0fa63b677cff707ee3dac38c8866a09e1