[INFO] cloning repository https://github.com/ZCKun/DatLOB
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZCKun/DatLOB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZCKun%2FDatLOB", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZCKun%2FDatLOB'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7f219f2820c59a295aaf29c9ad17539b84436cfe
[INFO] testing ZCKun/DatLOB against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZCKun%2FDatLOB" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ZCKun/DatLOB on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ZCKun/DatLOB
[INFO] finished tweaking git repo https://github.com/ZCKun/DatLOB
[INFO] tweaked toml for git repo https://github.com/ZCKun/DatLOB written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ZCKun/DatLOB 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 047a13fd710bc48bcd233faf6a644b7c1be173e5e14bb03d4e1882f8a19b5a82
[INFO] running `Command { std: "docker" "start" "-a" "047a13fd710bc48bcd233faf6a644b7c1be173e5e14bb03d4e1882f8a19b5a82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "047a13fd710bc48bcd233faf6a644b7c1be173e5e14bb03d4e1882f8a19b5a82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "047a13fd710bc48bcd233faf6a644b7c1be173e5e14bb03d4e1882f8a19b5a82", kill_on_drop: false }`
[INFO] [stdout] 047a13fd710bc48bcd233faf6a644b7c1be173e5e14bb03d4e1882f8a19b5a82
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 781c04241000e718c884ffbeb361d94b56c4c51b5aa1f523ee03c153dd78f8e9
[INFO] running `Command { std: "docker" "start" "-a" "781c04241000e718c884ffbeb361d94b56c4c51b5aa1f523ee03c153dd78f8e9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling LimitOrderBook v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]   --> src/dat_reader.rs:75:67
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 let order = unsafe { cast_ref::<SzL2Order>(&data, i) };
[INFO] [stdout]    |                                                                   ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]   --> src/dat_reader.rs:78:67
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 let trade = unsafe { cast_ref::<SzL2Trans>(&data, i) };
[INFO] [stdout]    |                                                                   ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/main.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufReader, Read};
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ByteOrder`, `LittleEndian`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use byteorder::{LittleEndian, ByteOrder};
[INFO] [stdout]   |                 ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Header`
[INFO] [stdout]  --> src/main.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::dat_reader::{Header, DatReader};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mdt_type::DataType`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::mdt_type::DataType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `any::Any`, `format`
[INFO] [stdout]  --> src/book.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{any::Any, collections::BTreeMap, fmt::{Display, format}};
[INFO] [stdout]   |           ^^^^^^^^                                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::error::Category::Data`
[INFO] [stdout]  --> src/dat_reader.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::error::Category::Data;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SZSE_L2_Status` should have an upper camel case name
[INFO] [stdout]  --> src/mdt_type.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     SZSE_L2_Status = 0x00202007,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SzseL2Status`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SZSE_L2_Order` should have an upper camel case name
[INFO] [stdout]  --> src/mdt_type.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     SZSE_L2_Order = 0x00202006,
[INFO] [stdout]   |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SzseL2Order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SZSE_L2_Index` should have an upper camel case name
[INFO] [stdout]  --> src/mdt_type.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     SZSE_L2_Index = 0x00202003,
[INFO] [stdout]   |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SzseL2Index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SZSE_L2_Transaction` should have an upper camel case name
[INFO] [stdout]  --> src/mdt_type.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     SZSE_L2_Transaction = 0x00202002,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SzseL2Transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SZSE_L2_Quotation` should have an upper camel case name
[INFO] [stdout]  --> src/mdt_type.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     SZSE_L2_Quotation = 0x00202001,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SzseL2Quotation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SSE_L2_Status` should have an upper camel case name
[INFO] [stdout]  --> src/mdt_type.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     SSE_L2_Status = 0x00102000,
[INFO] [stdout]   |     ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SseL2Status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SSE_L2_Order` should have an upper camel case name
[INFO] [stdout]  --> src/mdt_type.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     SSE_L2_Order = 0x00102006,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SseL2Order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SSE_L2_Index` should have an upper camel case name
[INFO] [stdout]   --> src/mdt_type.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     SSE_L2_Index = 0x00102003,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SseL2Index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SSE_L2_Transaction` should have an upper camel case name
[INFO] [stdout]   --> src/mdt_type.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     SSE_L2_Transaction = 0x00102002,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SseL2Transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SSE_L2_Quotation` should have an upper camel case name
[INFO] [stdout]   --> src/mdt_type.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     SSE_L2_Quotation = 0x00102001,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SseL2Quotation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SSE_L2_Auction` should have an upper camel case name
[INFO] [stdout]   --> src/mdt_type.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     SSE_L2_Auction = 0x00102004,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SseL2Auction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SSE_L2_Overview` should have an upper camel case name
[INFO] [stdout]   --> src/mdt_type.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     SSE_L2_Overview = 0x00102005,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SseL2Overview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/main.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufReader, Read};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `LimitOrderBook` (bin "LimitOrderBook") due to 3 previous errors; 19 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "781c04241000e718c884ffbeb361d94b56c4c51b5aa1f523ee03c153dd78f8e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "781c04241000e718c884ffbeb361d94b56c4c51b5aa1f523ee03c153dd78f8e9", kill_on_drop: false }`
[INFO] [stdout] 781c04241000e718c884ffbeb361d94b56c4c51b5aa1f523ee03c153dd78f8e9
