[INFO] cloning repository https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdelrahmanAbuReidy%2FRust-Real-Time-Stock-Trading-System", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdelrahmanAbuReidy%2FRust-Real-Time-Stock-Trading-System'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdd5ed7c0d284e135a7718322b29701ac868fa12 [INFO] testing AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdelrahmanAbuReidy%2FRust-Real-Time-Stock-Trading-System" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System [INFO] finished tweaking git repo https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System [INFO] tweaked toml for git repo https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AbdelrahmanAbuReidy/Rust-Real-Time-Stock-Trading-System 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.134 [INFO] [stderr] Downloaded cookie-factory v0.2.4 [INFO] [stderr] Downloaded input_buffer v0.5.0 [INFO] [stderr] Downloaded is-terminal v0.4.13 [INFO] [stderr] Downloaded mio-extras v2.0.6 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.99 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.99 [INFO] [stderr] Downloaded net2 v0.2.39 [INFO] [stderr] Downloaded cpu-monitor v0.1.1 [INFO] [stderr] Downloaded linux_proc v0.1.1 [INFO] [stderr] Downloaded perf_monitor v0.2.1 [INFO] [stderr] Downloaded glob v0.3.1 [INFO] [stderr] Downloaded thiserror-impl v2.0.9 [INFO] [stderr] Downloaded unicode-ident v1.0.14 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded cpufeatures v0.2.16 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.99 [INFO] [stderr] Downloaded amq-protocol-types v1.2.0 [INFO] [stderr] Downloaded amq-protocol-codegen v1.4.0 [INFO] [stderr] Downloaded amq-protocol v1.4.0 [INFO] [stderr] Downloaded semver v1.0.24 [INFO] [stderr] Downloaded serde_derive v1.0.216 [INFO] [stderr] Downloaded built v0.5.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Downloaded wasm-bindgen v0.2.99 [INFO] [stderr] Downloaded snafu-derive v0.7.5 [INFO] [stderr] Downloaded tempfile v3.14.0 [INFO] [stderr] Downloaded thiserror v2.0.9 [INFO] [stderr] Downloaded cargo-lock v8.0.3 [INFO] [stderr] Downloaded mach v0.3.2 [INFO] [stderr] Downloaded bytes v1.9.0 [INFO] [stderr] Downloaded snafu v0.7.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.92 [INFO] [stderr] Downloaded security-framework-sys v2.13.0 [INFO] [stderr] Downloaded clap v4.5.23 [INFO] [stderr] Downloaded amiquip v0.4.2 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded handlebars v1.1.0 [INFO] [stderr] Downloaded serde v1.0.216 [INFO] [stderr] Downloaded cc v1.2.5 [INFO] [stderr] Downloaded js-sys v0.3.76 [INFO] [stderr] Downloaded openssl-sys v0.9.104 [INFO] [stderr] Downloaded nom v4.2.3 [INFO] [stderr] Downloaded clap_builder v4.5.23 [INFO] [stderr] Downloaded syn v2.0.91 [INFO] [stderr] Downloaded openssl v0.10.68 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded rustix v0.38.42 [INFO] [stderr] Downloaded bindgen v0.59.2 [INFO] [stderr] Downloaded web-sys v0.3.76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e [INFO] running `Command { std: "docker" "start" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e", 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" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling linux_proc v0.1.1 [INFO] [stderr] Compiling input_buffer v0.5.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling cpu-monitor v0.1.1 [INFO] [stderr] Compiling cpu-time v1.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling perf_monitor v0.2.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling cargo-lock v8.0.3 [INFO] [stderr] Compiling amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling built v0.5.2 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Compiling amiquip v0.4.2 [INFO] [stderr] Compiling rts_assignment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/stock_inventory.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | for (i,message) in consumer.receiver().iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `percentage_change` [INFO] [stdout] --> src/lib.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let percentage_change = fluctuation * 100.0; // Convert fluctuation to percentage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentage_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client` and `Stock` [INFO] [stdout] --> src/trading/trading.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use client::{generate_client, Client, Stock}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/stock_inventory.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | for (i,message) in consumer.receiver().iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/trading/broker.rs:258:54 [INFO] [stdout] | [INFO] [stdout] 258 | fn process_buy_order(&mut self, client: &Client, i: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/trading/broker.rs:313:55 [INFO] [stdout] | [INFO] [stdout] 313 | fn process_sell_order(&mut self, client: &Client, i: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stocks` [INFO] [stdout] --> src/trading/trading.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | if let Ok(Some(stocks)) = broker_locked.receive_orders_from_queue() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling amq-protocol-types v1.2.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Compiling amiquip v0.4.2 [INFO] [stderr] Compiling rts_assignment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/stock_inventory.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | for (i,message) in consumer.receiver().iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `percentage_change` [INFO] [stdout] --> src/lib.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let percentage_change = fluctuation * 100.0; // Convert fluctuation to percentage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentage_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client` and `Stock` [INFO] [stdout] --> src/trading/trading.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use client::{generate_client, Client, Stock}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/stock_inventory.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | for (i,message) in consumer.receiver().iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/stock_inventory.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | for (i,message) in consumer.receiver().iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/trading/broker.rs:258:54 [INFO] [stdout] | [INFO] [stdout] 258 | fn process_buy_order(&mut self, client: &Client, i: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/trading/broker.rs:313:55 [INFO] [stdout] | [INFO] [stdout] 313 | fn process_sell_order(&mut self, client: &Client, i: usize) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `percentage_change` [INFO] [stdout] --> src/lib.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let percentage_change = fluctuation * 100.0; // Convert fluctuation to percentage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentage_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stocks` [INFO] [stdout] --> src/trading/trading.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | if let Ok(Some(stocks)) = broker_locked.receive_orders_from_queue() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 50.92s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/stock_inventory.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | for (i,message) in consumer.receiver().iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `percentage_change` [INFO] [stderr] --> src/lib.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | let percentage_change = fluctuation * 100.0; // Convert fluctuation to percentage [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentage_change` [INFO] [stderr] [INFO] [stderr] warning: `rts_assignment` (lib) generated 2 warnings (run `cargo fix --lib -p rts_assignment` to apply 2 suggestions) [INFO] [stderr] warning: unused imports: `Client` and `Stock` [INFO] [stderr] --> src/trading/trading.rs:11:31 [INFO] [stderr] | [INFO] [stderr] 11 | use client::{generate_client, Client, Stock}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/trading/broker.rs:258:54 [INFO] [stderr] | [INFO] [stderr] 258 | fn process_buy_order(&mut self, client: &Client, i: usize) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/trading/broker.rs:313:55 [INFO] [stderr] | [INFO] [stderr] 313 | fn process_sell_order(&mut self, client: &Client, i: usize) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stocks` [INFO] [stderr] --> src/trading/trading.rs:61:32 [INFO] [stderr] | [INFO] [stderr] 61 | if let Ok(Some(stocks)) = broker_locked.receive_orders_from_queue() { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stocks` [INFO] [stderr] [INFO] [stderr] warning: `rts_assignment` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `rts_assignment` (bin "stock" test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `rts_assignment` (bin "trading" test) generated 4 warnings (run `cargo fix --bin "trading" -p rts_assignment --tests` to apply 4 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/rts_assignment-d0a52e71068034ea) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/stock-972c462de5cab1c8) [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] [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] [stderr] Running unittests src/trading/trading.rs (/opt/rustwide/target/release/deps/trading-317d0f16fcc8b8d0) [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] [stderr] Doc-tests rts_assignment [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" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e", kill_on_drop: false }` [INFO] [stdout] 531a5b2a9f3d238d5e86754557dee04946d71a879f3b34c3d0c9602f7a406f1e