[INFO] cloning repository https://github.com/Cylon-bot/Stock-Market-Creation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cylon-bot/Stock-Market-Creation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCylon-bot%2FStock-Market-Creation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCylon-bot%2FStock-Market-Creation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd1af2890ebc701b4f423237469b6b058fa74804
[INFO] checking Cylon-bot/Stock-Market-Creation against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCylon-bot%2FStock-Market-Creation" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Cylon-bot/Stock-Market-Creation
[INFO] finished tweaking git repo https://github.com/Cylon-bot/Stock-Market-Creation
[INFO] tweaked toml for git repo https://github.com/Cylon-bot/Stock-Market-Creation written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Cylon-bot/Stock-Market-Creation on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Cylon-bot/Stock-Market-Creation 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.104
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b1fe5f24379bea3c3b6f8ec90df0d60ebf05966e365cfbfa007945373a3f406
[INFO] running `Command { std: "docker" "start" "-a" "6b1fe5f24379bea3c3b6f8ec90df0d60ebf05966e365cfbfa007945373a3f406", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b1fe5f24379bea3c3b6f8ec90df0d60ebf05966e365cfbfa007945373a3f406", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b1fe5f24379bea3c3b6f8ec90df0d60ebf05966e365cfbfa007945373a3f406", kill_on_drop: false }`
[INFO] [stdout] 6b1fe5f24379bea3c3b6f8ec90df0d60ebf05966e365cfbfa007945373a3f406
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 56a9bdd7e8afc32519507d399580b2ebb0937a6d78b3cd91cf4c25b47ccf01dc
[INFO] running `Command { std: "docker" "start" "-a" "56a9bdd7e8afc32519507d399580b2ebb0937a6d78b3cd91cf4c25b47ccf01dc", kill_on_drop: false }`
[INFO] [stderr] warning: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] [stderr]    Compiling cc v1.0.104
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling tinyvec v1.6.1
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling sqlformat v0.2.4
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling unicode-properties v0.1.1
[INFO] [stderr]    Compiling uuid v1.10.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking stock_market_creation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/postgres_connection.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |           let candle = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 62 | |             r#"
[INFO] [stdout] 63 | |             SELECT * FROM tick100
[INFO] [stdout] 64 | |             WHERE candle_id = $1;
[INFO] [stdout] 65 | |         "#,
[INFO] [stdout] 66 | |             candle_id
[INFO] [stdout] 67 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/postgres_connection.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |           let candle = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 62 | |             r#"
[INFO] [stdout] 63 | |             SELECT * FROM tick100
[INFO] [stdout] 64 | |             WHERE candle_id = $1;
[INFO] [stdout] 65 | |         "#,
[INFO] [stdout] 66 | |             candle_id
[INFO] [stdout] 67 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/postgres_connection.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | /         sqlx::query!(
[INFO] [stdout] 82 | |             r#"
[INFO] [stdout] 83 | |                 INSERT INTO tick100 (candle_id, open, close, high, low)
[INFO] [stdout] 84 | |                 VALUES ($1, $2, $3, $4, $5);
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |             candle.low,
[INFO] [stdout] 91 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/database/postgres_connection.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | /         sqlx::query!(
[INFO] [stdout] 82 | |             r#"
[INFO] [stdout] 83 | |                 INSERT INTO tick100 (candle_id, open, close, high, low)
[INFO] [stdout] 84 | |                 VALUES ($1, $2, $3, $4, $5);
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |             candle.low,
[INFO] [stdout] 91 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/process.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     loop {
[INFO] [stdout] 23 | |         let mut tx: database::StateTransaction = database_connector.init_writer().await?;
[INFO] [stdout] 24 | |         let playing_player = &mut all_player[0];
[INFO] [stdout] 25 | |         let (buy_ids_to_remove, sell_ids_to_remove) = playing_player.removing_pending_orders();
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         println!("number of candle created: {}", candle_id);
[INFO] [stdout] 80 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 81 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/process.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     loop {
[INFO] [stdout] 23 | |         let mut tx: database::StateTransaction = database_connector.init_writer().await?;
[INFO] [stdout] 24 | |         let playing_player = &mut all_player[0];
[INFO] [stdout] 25 | |         let (buy_ids_to_remove, sell_ids_to_remove) = playing_player.removing_pending_orders();
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         println!("number of candle created: {}", candle_id);
[INFO] [stdout] 80 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 81 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/database/postgres_connection.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |           let candle = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 62 | |             r#"
[INFO] [stdout] 63 | |             SELECT * FROM tick100
[INFO] [stdout] 64 | |             WHERE candle_id = $1;
[INFO] [stdout] ...  |
[INFO] [stdout] 68 | |         .fetch_optional(&self.pool)
[INFO] [stdout] 69 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/database/postgres_connection.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 |         .map(|row_opt| {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 71 |             row_opt.map(|row| Candle::new(row.candle_id, row.open, row.close, row.high, row.low))
[INFO] [stdout]    |             ------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 70 |         .map(|row_opt: /* Type */| {
[INFO] [stdout]    |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/database/postgres_connection.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | /         sqlx::query!(
[INFO] [stdout] 82 | |             r#"
[INFO] [stdout] 83 | |                 INSERT INTO tick100 (candle_id, open, close, high, low)
[INFO] [stdout] 84 | |                 VALUES ($1, $2, $3, $4, $5);
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |         .execute(&mut *self.0)
[INFO] [stdout] 93 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/database/postgres_connection.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |           let candle = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 62 | |             r#"
[INFO] [stdout] 63 | |             SELECT * FROM tick100
[INFO] [stdout] 64 | |             WHERE candle_id = $1;
[INFO] [stdout] ...  |
[INFO] [stdout] 68 | |         .fetch_optional(&self.pool)
[INFO] [stdout] 69 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/database/postgres_connection.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 |         .map(|row_opt| {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 71 |             row_opt.map(|row| Candle::new(row.candle_id, row.open, row.close, row.high, row.low))
[INFO] [stdout]    |             ------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 70 |         .map(|row_opt: /* Type */| {
[INFO] [stdout]    |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/database/postgres_connection.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | /         sqlx::query!(
[INFO] [stdout] 82 | |             r#"
[INFO] [stdout] 83 | |                 INSERT INTO tick100 (candle_id, open, close, high, low)
[INFO] [stdout] 84 | |                 VALUES ($1, $2, $3, $4, $5);
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |         .execute(&mut *self.0)
[INFO] [stdout] 93 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stock_market_creation` (bin "stock_market_creation") due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stock_market_creation` (bin "stock_market_creation" test) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "56a9bdd7e8afc32519507d399580b2ebb0937a6d78b3cd91cf4c25b47ccf01dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56a9bdd7e8afc32519507d399580b2ebb0937a6d78b3cd91cf4c25b47ccf01dc", kill_on_drop: false }`
[INFO] [stdout] 56a9bdd7e8afc32519507d399580b2ebb0937a6d78b3cd91cf4c25b47ccf01dc
