[INFO] cloning repository https://github.com/deepesh-sr/prediction_market_engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deepesh-sr/prediction_market_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepesh-sr%2Fprediction_market_engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepesh-sr%2Fprediction_market_engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd3c96e5774ddea9a497bc7f5d822aaff2c414ba
[INFO] checking deepesh-sr/prediction_market_engine against e3d12f3322cb00126b2208c6b9df3ac4467951f5 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepesh-sr%2Fprediction_market_engine" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/deepesh-sr/prediction_market_engine
[INFO] finished tweaking git repo https://github.com/deepesh-sr/prediction_market_engine
[INFO] tweaked toml for git repo https://github.com/deepesh-sr/prediction_market_engine written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/deepesh-sr/prediction_market_engine on toolchain e3d12f3322cb00126b2208c6b9df3ac4467951f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/deepesh-sr/prediction_market_engine 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" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a6d783fd0220d4931773dc1b6569f676e30f09c05a7e427a3a9ec2cd8372cd53
[INFO] running `Command { std: "docker" "start" "a6d783fd0220d4931773dc1b6569f676e30f09c05a7e427a3a9ec2cd8372cd53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6d783fd0220d4931773dc1b6569f676e30f09c05a7e427a3a9ec2cd8372cd53", 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" "a6d783fd0220d4931773dc1b6569f676e30f09c05a7e427a3a9ec2cd8372cd53" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6d783fd0220d4931773dc1b6569f676e30f09c05a7e427a3a9ec2cd8372cd53", 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" "a6d783fd0220d4931773dc1b6569f676e30f09c05a7e427a3a9ec2cd8372cd53" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking tungstenite v0.28.0
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tokio-tungstenite v0.28.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.8
[INFO] [stderr]     Checking prediction_market_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `OrderRequest` is more private than the item `submit_order`
[INFO] [stdout]   --> src/main.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | / pub async fn submit_order(
[INFO] [stdout] 50 | |     State(state): State<Arc<AppState>>,
[INFO] [stdout] 51 | |     Json(payload) : Json<OrderRequest>
[INFO] [stdout] 52 | | )->Result<Json<OrderResponse>, String>{
[INFO] [stdout]    | |______________________________________^ function `submit_order` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OrderRequest` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct OrderRequest{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `OrderResponse` is more private than the item `submit_order`
[INFO] [stdout]   --> src/main.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | / pub async fn submit_order(
[INFO] [stdout] 50 | |     State(state): State<Arc<AppState>>,
[INFO] [stdout] 51 | |     Json(payload) : Json<OrderRequest>
[INFO] [stdout] 52 | | )->Result<Json<OrderResponse>, String>{
[INFO] [stdout]    | |______________________________________^ function `submit_order` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OrderResponse` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct OrderResponse{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `OrderBookResponse` is more private than the item `get_orderbook`
[INFO] [stdout]   --> src/main.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | / pub async fn get_orderbook (
[INFO] [stdout] 80 | |     State(state): State<Arc<AppState>>
[INFO] [stdout] 81 | | )-> Result<Json<OrderBookResponse>, String>{
[INFO] [stdout]    | |___________________________________________^ function `get_orderbook` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OrderBookResponse` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | struct OrderBookResponse {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `OrderRequest` is more private than the item `submit_order`
[INFO] [stdout]   --> src/main.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | / pub async fn submit_order(
[INFO] [stdout] 50 | |     State(state): State<Arc<AppState>>,
[INFO] [stdout] 51 | |     Json(payload) : Json<OrderRequest>
[INFO] [stdout] 52 | | )->Result<Json<OrderResponse>, String>{
[INFO] [stdout]    | |______________________________________^ function `submit_order` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OrderRequest` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct OrderRequest{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `OrderResponse` is more private than the item `submit_order`
[INFO] [stdout]   --> src/main.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | / pub async fn submit_order(
[INFO] [stdout] 50 | |     State(state): State<Arc<AppState>>,
[INFO] [stdout] 51 | |     Json(payload) : Json<OrderRequest>
[INFO] [stdout] 52 | | )->Result<Json<OrderResponse>, String>{
[INFO] [stdout]    | |______________________________________^ function `submit_order` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OrderResponse` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct OrderResponse{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `OrderBookResponse` is more private than the item `get_orderbook`
[INFO] [stdout]   --> src/main.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | / pub async fn get_orderbook (
[INFO] [stdout] 80 | |     State(state): State<Arc<AppState>>
[INFO] [stdout] 81 | | )-> Result<Json<OrderBookResponse>, String>{
[INFO] [stdout]    | |___________________________________________^ function `get_orderbook` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OrderBookResponse` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | struct OrderBookResponse {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.10s
[INFO] running `Command { std: "docker" "inspect" "a6d783fd0220d4931773dc1b6569f676e30f09c05a7e427a3a9ec2cd8372cd53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6d783fd0220d4931773dc1b6569f676e30f09c05a7e427a3a9ec2cd8372cd53", kill_on_drop: false }`
[INFO] [stdout] a6d783fd0220d4931773dc1b6569f676e30f09c05a7e427a3a9ec2cd8372cd53
