[INFO] cloning repository https://github.com/nishapant/mini_exchange [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nishapant/mini_exchange" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnishapant%2Fmini_exchange", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnishapant%2Fmini_exchange'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5cdf4273a940648e42b9990d5cdf8dcc3e8cd1bc [INFO] checking nishapant/mini_exchange against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnishapant%2Fmini_exchange" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nishapant/mini_exchange on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/nishapant/mini_exchange [INFO] finished tweaking git repo https://github.com/nishapant/mini_exchange [INFO] tweaked toml for git repo https://github.com/nishapant/mini_exchange written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nishapant/mini_exchange 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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking nishapant/mini_exchange against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnishapant%2Fmini_exchange" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nishapant/mini_exchange on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/nishapant/mini_exchange [INFO] finished tweaking git repo https://github.com/nishapant/mini_exchange [INFO] tweaked toml for git repo https://github.com/nishapant/mini_exchange written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nishapant/mini_exchange 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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking nishapant/mini_exchange against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnishapant%2Fmini_exchange" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nishapant/mini_exchange on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/nishapant/mini_exchange [INFO] finished tweaking git repo https://github.com/nishapant/mini_exchange [INFO] tweaked toml for git repo https://github.com/nishapant/mini_exchange written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nishapant/mini_exchange 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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntest_timeout v0.7.5 [INFO] [stderr] Downloaded ntest v0.7.5 [INFO] [stderr] Downloaded ntest_test_cases v0.7.5 [INFO] [stderr] Downloaded text_io v0.1.10 [INFO] [stderr] Downloaded ntest_proc_macro_helper v0.7.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f5da35d68a97830bbe1d406d26ad39c626115c723e28d165a6877e120b47115 [INFO] running `Command { std: "docker" "start" "-a" "1f5da35d68a97830bbe1d406d26ad39c626115c723e28d165a6877e120b47115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f5da35d68a97830bbe1d406d26ad39c626115c723e28d165a6877e120b47115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f5da35d68a97830bbe1d406d26ad39c626115c723e28d165a6877e120b47115", kill_on_drop: false }` [INFO] [stdout] 1f5da35d68a97830bbe1d406d26ad39c626115c723e28d165a6877e120b47115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb161b935306da88ce6477ed62295d88de35a1585fd934de87560987f9397562 [INFO] running `Command { std: "docker" "start" "-a" "eb161b935306da88ce6477ed62295d88de35a1585fd934de87560987f9397562", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling ntest_proc_macro_helper v0.7.5 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking text_io v0.1.10 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling ntest_test_cases v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling ntest_timeout v0.7.5 [INFO] [stderr] Checking ntest v0.7.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking group_05_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/client.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | temp: u64 = read!("{}\n"); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 31 | let temp: u64 = read!("{}\n"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/client.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | temp: u64 = read!("{}\n"); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 31 | let temp: u64 = read!("{}\n"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderType` [INFO] [stdout] --> src/client.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::trade::{Trade, TradeType, OrderType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Limit`, `Market` [INFO] [stdout] --> src/client.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::trade::OrderType::{Limit, Market}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OrderType`, `TradeType` [INFO] [stdout] --> src/gateway.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::trade::{Trade, TradeType, OrderType}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `Ordering` [INFO] [stdout] --> src/gateway.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OrderType`, `TradeType` [INFO] [stdout] --> src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::trade::{Trade, TradeType, OrderType}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TradeType` in this scope [INFO] [stdout] --> src/orderbook.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn generate_random_market(input_trade_type: TradeType) -> Trade { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::TradeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TradeType` in this scope [INFO] [stdout] --> src/orderbook.rs:253:52 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn generate_random_limit(input_trade_type: TradeType) -> Trade { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::TradeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trade` [INFO] [stdout] --> src/orderbook.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | use crate::trade; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderType` [INFO] [stdout] --> src/client.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::trade::{Trade, TradeType, OrderType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Limit`, `Market` [INFO] [stdout] --> src/client.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::trade::OrderType::{Limit, Market}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OrderType`, `TradeType` [INFO] [stdout] --> src/gateway.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::trade::{Trade, TradeType, OrderType}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `Ordering` [INFO] [stdout] --> src/gateway.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OrderType`, `TradeType` [INFO] [stdout] --> src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::trade::{Trade, TradeType, OrderType}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `group_05_project` (bin "group_05_project") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:215:23 [INFO] [stdout] | [INFO] [stdout] 215 | let num = rng.gen::(); [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | trader_id: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 224 | stock_id: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | order_id: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:228:29 [INFO] [stdout] | [INFO] [stdout] 228 | unit_price: rng.gen::(), //price of share in cents so we do not have to deal w super long decimals [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | qty: rng.gen::(), //number of the item they want to buy or sell [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | expiration_date: rng.gen::(), //immediate fill, end_of_day, 90 day? unsure what common types there are [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | let num = rng.gen::(); [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:240:28 [INFO] [stdout] | [INFO] [stdout] 240 | trader_id: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:241:27 [INFO] [stdout] | [INFO] [stdout] 241 | stock_id: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:242:27 [INFO] [stdout] | [INFO] [stdout] 242 | order_id: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | unit_price: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | qty: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:248:34 [INFO] [stdout] | [INFO] [stdout] 248 | expiration_date: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 255 | let num = rng.gen::(); [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:257:28 [INFO] [stdout] | [INFO] [stdout] 257 | trader_id: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:258:27 [INFO] [stdout] | [INFO] [stdout] 258 | stock_id: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | order_id: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | unit_price: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:263:22 [INFO] [stdout] | [INFO] [stdout] 263 | qty: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/orderbook.rs:265:34 [INFO] [stdout] | [INFO] [stdout] 265 | expiration_date: rng.gen::(), [INFO] [stdout] | ^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn gen(&mut self) -> T [INFO] [stdout] | --- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `group_05_project` (bin "group_05_project" test) due to 25 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb161b935306da88ce6477ed62295d88de35a1585fd934de87560987f9397562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb161b935306da88ce6477ed62295d88de35a1585fd934de87560987f9397562", kill_on_drop: false }` [INFO] [stdout] eb161b935306da88ce6477ed62295d88de35a1585fd934de87560987f9397562