[INFO] cloning repository https://github.com/ZCKun/DatProcess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZCKun/DatProcess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZCKun%2FDatProcess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZCKun%2FDatProcess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3751dc2fb15f3887c7dddc4b58a953e92c182efb [INFO] testing ZCKun/DatProcess against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZCKun%2FDatProcess" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZCKun/DatProcess on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZCKun/DatProcess [INFO] finished tweaking git repo https://github.com/ZCKun/DatProcess [INFO] tweaked toml for git repo https://github.com/ZCKun/DatProcess written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/ZCKun/DatProcess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45187501570c022e30781784945a582ff3ec26dd7d4347e6faac553fb0e53393 [INFO] running `Command { std: "docker" "start" "-a" "45187501570c022e30781784945a582ff3ec26dd7d4347e6faac553fb0e53393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45187501570c022e30781784945a582ff3ec26dd7d4347e6faac553fb0e53393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45187501570c022e30781784945a582ff3ec26dd7d4347e6faac553fb0e53393", kill_on_drop: false }` [INFO] [stdout] 45187501570c022e30781784945a582ff3ec26dd7d4347e6faac553fb0e53393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae817f4b360ad75e1be61f7d57cf439f773c8b815c4fbf96514fd85461ebed25 [INFO] running `Command { std: "docker" "start" "-a" "ae817f4b360ad75e1be61f7d57cf439f773c8b815c4fbf96514fd85461ebed25", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling DatProcess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected value, found struct `Vec` [INFO] [stdout] --> src/main.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | orders: Vec, [INFO] [stdout] | ^^^ help: use struct literal syntax instead: `Vec { buf: val, len: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Vec` [INFO] [stdout] --> src/main.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | trades: Vec [INFO] [stdout] | ^^^ help: use struct literal syntax instead: `Vec { buf: val, len: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `file_path` in this scope [INFO] [stdout] --> src/main.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | let mut reader = DatReader::new(file_path, call_back); [INFO] [stdout] | ^^^^^^^^^ help: you might have meant to use the available field: `self.file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `call_back` in this scope [INFO] [stdout] --> src/main.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 56 | let mut reader = DatReader::new(file_path, call_back); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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 imports: `SeekFrom`, `Seek` [INFO] [stdout] --> src/dat_reader.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Read, BufRead, BufReader, SeekFrom, Seek}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SzL2Order`, `SzL2Trans` [INFO] [stdout] --> src/dat_reader.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::mdt_struct::{SzL2Order, SzL2Trans}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mdt_type::DataType` [INFO] [stdout] --> src/dat_reader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::mdt_type::DataType; [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] error: aborting due to 4 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `DatProcess` due to 5 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae817f4b360ad75e1be61f7d57cf439f773c8b815c4fbf96514fd85461ebed25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae817f4b360ad75e1be61f7d57cf439f773c8b815c4fbf96514fd85461ebed25", kill_on_drop: false }` [INFO] [stdout] ae817f4b360ad75e1be61f7d57cf439f773c8b815c4fbf96514fd85461ebed25