[INFO] cloning repository https://github.com/praiseunite/engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/praiseunite/engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraiseunite%2Fengine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraiseunite%2Fengine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 28b55344eaf4bcf25234dcdc5f2b39062149ec1f
[INFO] checking praiseunite/engine against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpraiseunite%2Fengine" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/praiseunite/engine
[INFO] finished tweaking git repo https://github.com/praiseunite/engine
[INFO] tweaked toml for git repo https://github.com/praiseunite/engine written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/praiseunite/engine on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/praiseunite/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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c44f507e31b4785e3921180bf78a047d62b8b71254946f905d6d1379162e2320
[INFO] running `Command { std: "docker" "start" "c44f507e31b4785e3921180bf78a047d62b8b71254946f905d6d1379162e2320", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c44f507e31b4785e3921180bf78a047d62b8b71254946f905d6d1379162e2320", 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" "c44f507e31b4785e3921180bf78a047d62b8b71254946f905d6d1379162e2320" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c44f507e31b4785e3921180bf78a047d62b8b71254946f905d6d1379162e2320", 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" "c44f507e31b4785e3921180bf78a047d62b8b71254946f905d6d1379162e2320" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking trade_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `BidOrAsk` is never used
[INFO] [stdout]  --> src/main.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum BidOrAsk {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `integral`, `fractional`, and `scaler` are never read
[INFO] [stdout]   --> src/main.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct Price {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout]  9 |     integral : u64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     fractional : u64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     scaler : u64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Price` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Limit` is never constructed
[INFO] [stdout]   --> src/main.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Limit {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl Limit {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 35 |     fn new(price : f64) -> Limit { 
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]   --> src/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | struct Order {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl  Order {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 49 |     fn new(size: f64, bid_or_ask: BidOrAsk) -> Order {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BidOrAsk` is never used
[INFO] [stdout]  --> src/main.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum BidOrAsk {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `integral`, `fractional`, and `scaler` are never read
[INFO] [stdout]   --> src/main.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct Price {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout]  9 |     integral : u64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     fractional : u64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     scaler : u64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Price` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Limit` is never constructed
[INFO] [stdout]   --> src/main.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Limit {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl Limit {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 35 |     fn new(price : f64) -> Limit { 
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]   --> src/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | struct Order {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl  Order {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 49 |     fn new(size: f64, bid_or_ask: BidOrAsk) -> Order {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] running `Command { std: "docker" "inspect" "c44f507e31b4785e3921180bf78a047d62b8b71254946f905d6d1379162e2320", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c44f507e31b4785e3921180bf78a047d62b8b71254946f905d6d1379162e2320", kill_on_drop: false }`
[INFO] [stdout] c44f507e31b4785e3921180bf78a047d62b8b71254946f905d6d1379162e2320
