[INFO] cloning repository https://github.com/MoonRainMelody/RUST
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MoonRainMelody/RUST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoonRainMelody%2FRUST", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoonRainMelody%2FRUST'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a729a7a6b2c49334853bb1465e95763419b91e00
[INFO] checking MoonRainMelody/RUST/a729a7a6b2c49334853bb1465e95763419b91e00 against 0cefa27fe3deee26fc98ee44249406358d9f0d26 for pr-164789
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoonRainMelody%2FRUST" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MoonRainMelody/RUST
[INFO] finished tweaking git repo https://github.com/MoonRainMelody/RUST
[INFO] tweaked toml for git repo https://github.com/MoonRainMelody/RUST written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MoonRainMelody/RUST on toolchain 0cefa27fe3deee26fc98ee44249406358d9f0d26
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MoonRainMelody/RUST 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" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded compression-codecs v0.4.33
[INFO] [stderr]   Downloaded async-compression v0.4.34
[INFO] [stderr]   Downloaded metrics-exporter-prometheus v0.13.1
[INFO] [stderr]   Downloaded metrics-util v0.16.3
[INFO] [stderr]   Downloaded metrics v0.22.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8a2944366f4204c70039cc160e63e9b6d1996936bf0a71be43ee73b834ee7e12
[INFO] running `Command { std: "docker" "start" "8a2944366f4204c70039cc160e63e9b6d1996936bf0a71be43ee73b834ee7e12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8a2944366f4204c70039cc160e63e9b6d1996936bf0a71be43ee73b834ee7e12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8a2944366f4204c70039cc160e63e9b6d1996936bf0a71be43ee73b834ee7e12" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8a2944366f4204c70039cc160e63e9b6d1996936bf0a71be43ee73b834ee7e12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8a2944366f4204c70039cc160e63e9b6d1996936bf0a71be43ee73b834ee7e12" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling cc v1.2.48
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking compression-core v0.4.31
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]     Checking winnow v0.7.14
[INFO] [stderr]     Checking pest v2.8.4
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking sketches-ddsketch v0.2.2
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking clap_lex v0.7.6
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking clap_builder v4.5.53
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking compression-codecs v0.4.33
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling pest_meta v2.8.4
[INFO] [stderr]     Checking clap v4.5.53
[INFO] [stderr]     Checking quanta v0.12.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling pest_generator v2.8.4
[INFO] [stderr]    Compiling zerocopy-derive v0.8.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pest_derive v2.8.4
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking metrics v0.22.4
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking metrics-util v0.16.3
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking async-compression v0.4.34
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.18
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking metrics-exporter-prometheus v0.13.1
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking factorization-service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]   --> src/miner.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | use num_traits::{One, Zero, ToPrimitive};
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tempfile`
[INFO] [stdout]    --> src/config.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |     use tempfile::tempdir;
[INFO] [stdout]     |         ^^^^^^^^ use of unresolved module or unlinked crate `tempfile`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/miner.rs:284:55
[INFO] [stdout]     |
[INFO] [stdout] 284 |     fn generate_number_for_task(task_type: &TaskType, config: &MiningConfig) -> BigUint {
[INFO] [stdout]     |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `operation`
[INFO] [stdout]   --> src/metrics.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn record_cache_operation(&self, operation: &str, hit_rate: f64, size: usize) {
[INFO] [stdout]    |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hit_rate`
[INFO] [stdout]   --> src/metrics.rs:48:59
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn record_cache_operation(&self, operation: &str, hit_rate: f64, size: usize) {
[INFO] [stdout]    |                                                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/metrics.rs:48:74
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn record_cache_operation(&self, operation: &str, hit_rate: f64, size: usize) {
[INFO] [stdout]    |                                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration`
[INFO] [stdout]   --> src/metrics.rs:55:74
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn record_mining_operation(&self, completed: bool, cached: bool, duration: Duration) {
[INFO] [stdout]    |                                                                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/miner.rs:494:56
[INFO] [stdout]     |
[INFO] [stdout] 494 |         let result = Miner::process_mining_task(&task, &cache, &config).await;
[INFO] [stdout]     |                      --------------------------        ^^^^^^ expected `&Arc<dyn Cache>`, found `&Arc<SimpleCache>`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Arc<(dyn cache::Cache + 'static)>`
[INFO] [stdout]                found reference `&Arc<cache::SimpleCache>`
[INFO] [stdout]     = help: `cache::SimpleCache` implements `Cache` so you could box the found value and coerce it to the trait object `Box<dyn Cache>`, you will have to change the expected type as well
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/miner.rs:150:14
[INFO] [stdout]     |
[INFO] [stdout] 150 |     async fn process_mining_task(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 151 |         task: &MiningTask,
[INFO] [stdout] 152 |         cache: &Arc<dyn Cache>,
[INFO] [stdout]     |         ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache` is never read
[INFO] [stdout]   --> src/miner.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Miner {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     cache: Arc<dyn Cache>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `api::FactorizeRequest: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/api.rs:413:42
[INFO] [stdout]      |
[INFO] [stdout]  413 |         let json = serde_json::to_string(&request).unwrap();
[INFO] [stdout]      |                    --------------------- ^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                    |
[INFO] [stdout]      |                    required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Serialize` is not implemented for `api::FactorizeRequest`
[INFO] [stdout]     --> src/api.rs:43:1
[INFO] [stdout]      |
[INFO] [stdout]   43 | pub struct FactorizeRequest {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `api::FactorizeRequest` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 201 others
[INFO] [stdout] note: required by a bound in `serde_json::to_string`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.145/src/ser.rs:2247:17
[INFO] [stdout]      |
[INFO] [stdout] 2245 | pub fn to_string<T>(value: &T) -> Result<String>
[INFO] [stdout] 2246 | where
[INFO] [stdout] 2247 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `config`
[INFO] [stdout]    --> src/scheduler.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let config = ThreadingConfig::default();
[INFO] [stdout]     |             ------ move occurs because `config` has type `config::ThreadingConfig`, which does not implement the `Copy` trait
[INFO] [stdout] 283 |         let scheduler = TaskScheduler::new(config);
[INFO] [stdout]     |                                            ------ value moved here
[INFO] [stdout] 284 |
[INFO] [stdout] 285 |         let total = config.get_total_cores();
[INFO] [stdout]     |                     ^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in method `new` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/scheduler.rs:29:24
[INFO] [stdout]     |
[INFO] [stdout]  29 |     pub fn new(config: ThreadingConfig) -> Self {
[INFO] [stdout]     |            ---         ^^^^^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]     |            |
[INFO] [stdout]     |            in this method
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 283 |         let scheduler = TaskScheduler::new(config.clone());
[INFO] [stdout]     |                                                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_mining`
[INFO] [stdout]    --> src/scheduler.rs:325:13
[INFO] [stdout]     |
[INFO] [stdout] 325 |         let initial_mining = scheduler.get_mining_threads();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_mining`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_mining`
[INFO] [stdout]    --> src/scheduler.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let new_mining = scheduler.get_mining_threads();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_mining`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `config`
[INFO] [stdout]    --> src/scheduler.rs:357:25
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let config = ThreadingConfig {
[INFO] [stdout]     |             ------ move occurs because `config` has type `config::ThreadingConfig`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 352 |         let scheduler = TaskScheduler::new(config);
[INFO] [stdout]     |                                            ------ value moved here
[INFO] [stdout] ...
[INFO] [stdout] 357 |         let threshold = config.get_total_cores() * 2;
[INFO] [stdout]     |                         ^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in method `new` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/scheduler.rs:29:24
[INFO] [stdout]     |
[INFO] [stdout]  29 |     pub fn new(config: ThreadingConfig) -> Self {
[INFO] [stdout]     |            ---         ^^^^^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]     |            |
[INFO] [stdout]     |            in this method
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 352 |         let scheduler = TaskScheduler::new(config.clone());
[INFO] [stdout]     |                                                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `config`
[INFO] [stdout]    --> src/scheduler.rs:379:21
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let config = ThreadingConfig::default();
[INFO] [stdout]     |             ------ move occurs because `config` has type `config::ThreadingConfig`, which does not implement the `Copy` trait
[INFO] [stdout] 372 |         let scheduler = TaskScheduler::new(config);
[INFO] [stdout]     |                                            ------ value moved here
[INFO] [stdout] ...
[INFO] [stdout] 379 |         let total = config.get_total_cores();
[INFO] [stdout]     |                     ^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in method `new` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/scheduler.rs:29:24
[INFO] [stdout]     |
[INFO] [stdout]  29 |     pub fn new(config: ThreadingConfig) -> Self {
[INFO] [stdout]     |            ---         ^^^^^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]     |            |
[INFO] [stdout]     |            in this method
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 372 |         let scheduler = TaskScheduler::new(config.clone());
[INFO] [stdout]     |                                                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/miner.rs:284:55
[INFO] [stdout]     |
[INFO] [stdout] 284 |     fn generate_number_for_task(task_type: &TaskType, config: &MiningConfig) -> BigUint {
[INFO] [stdout]     |                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `operation`
[INFO] [stdout]   --> src/metrics.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn record_cache_operation(&self, operation: &str, hit_rate: f64, size: usize) {
[INFO] [stdout]    |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hit_rate`
[INFO] [stdout]   --> src/metrics.rs:48:59
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn record_cache_operation(&self, operation: &str, hit_rate: f64, size: usize) {
[INFO] [stdout]    |                                                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/metrics.rs:48:74
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn record_cache_operation(&self, operation: &str, hit_rate: f64, size: usize) {
[INFO] [stdout]    |                                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `duration`
[INFO] [stdout]   --> src/metrics.rs:55:74
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn record_mining_operation(&self, completed: bool, cached: bool, duration: Duration) {
[INFO] [stdout]    |                                                                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `factorization-service` (lib test) due to 6 previous errors; 7 warnings emitted
[INFO] [stderr] warning: unused dependency `chrono`
[INFO] [stderr]   --> Cargo.toml:22:15
[INFO] [stderr]    |
[INFO] [stderr] 22 | [dependencies.chrono]
[INFO] [stderr]    |               ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `chrono`
[INFO] [stderr] warning: unused dependency `config`
[INFO] [stderr]  --> Cargo.toml:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | config = "0.14"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `config`
[INFO] [stderr] warning: unused dependency `futures`
[INFO] [stderr]   --> Cargo.toml:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | futures = "0.3"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `futures`
[INFO] [stderr] warning: unused dependency `metrics-exporter-prometheus`
[INFO] [stderr]   --> Cargo.toml:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | metrics-exporter-prometheus = "0.13"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `metrics-exporter-prometheus`
[INFO] [stderr] warning: unused dependency `reqwest`
[INFO] [stderr]   --> Cargo.toml:30:15
[INFO] [stderr]    |
[INFO] [stderr] 30 | [dependencies.reqwest]
[INFO] [stderr]    |               ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `reqwest`
[INFO] [stderr] warning: `factorization-service` (manifest) generated 5 warnings
[INFO] running `Command { std: "docker" "inspect" "8a2944366f4204c70039cc160e63e9b6d1996936bf0a71be43ee73b834ee7e12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a2944366f4204c70039cc160e63e9b6d1996936bf0a71be43ee73b834ee7e12", kill_on_drop: false }`
[INFO] [stdout] 8a2944366f4204c70039cc160e63e9b6d1996936bf0a71be43ee73b834ee7e12
