[INFO] cloning repository https://github.com/kotone-shiinoha/bitflyer_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kotone-shiinoha/bitflyer_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkotone-shiinoha%2Fbitflyer_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkotone-shiinoha%2Fbitflyer_tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d8c14caa8d5451e55036cd7ad15e48b46602b7e [INFO] testing kotone-shiinoha/bitflyer_tools against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkotone-shiinoha%2Fbitflyer_tools" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kotone-shiinoha/bitflyer_tools [INFO] finished tweaking git repo https://github.com/kotone-shiinoha/bitflyer_tools [INFO] tweaked toml for git repo https://github.com/kotone-shiinoha/bitflyer_tools written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kotone-shiinoha/bitflyer_tools on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kotone-shiinoha/bitflyer_tools 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a80f8262c763ab2f9c3b1f9f1c9b2f379327bcfe4bb63affeb6d6f28b33a97e [INFO] running `Command { std: "docker" "start" "-a" "0a80f8262c763ab2f9c3b1f9f1c9b2f379327bcfe4bb63affeb6d6f28b33a97e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a80f8262c763ab2f9c3b1f9f1c9b2f379327bcfe4bb63affeb6d6f28b33a97e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a80f8262c763ab2f9c3b1f9f1c9b2f379327bcfe4bb63affeb6d6f28b33a97e", kill_on_drop: false }` [INFO] [stdout] 0a80f8262c763ab2f9c3b1f9f1c9b2f379327bcfe4bb63affeb6d6f28b33a97e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2b7352f96d0fd487972259ec3d3912bbcde2ea932eb17a8d772bc89ebf9d80e [INFO] running `Command { std: "docker" "start" "-a" "a2b7352f96d0fd487972259ec3d3912bbcde2ea932eb17a8d772bc89ebf9d80e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling rust_decimal v1.23.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.17.2 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling rust_decimal_macros v1.23.1 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling bitflyer_tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `mid_price`, `bids`, and `asks` are never read [INFO] [stdout] --> src/datatypes/board.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | mid_price: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | bids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | asks: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PATH` is never used [INFO] [stdout] --> src/datatypes/cancel_order.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const PATH: &'static str = "/v1/me/cancelchildorder"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `product_code` and `child_order_id` are never read [INFO] [stdout] --> src/datatypes/cancel_order.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CancelOrder<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 4 | product_code: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | child_order_id: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `product_code` and `child_order_acceptance_id` are never read [INFO] [stdout] --> src/datatypes/cancel_order.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CancelOrderByAcceptanceId<'a> { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 9 | product_code: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | child_order_acceptance_id: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/datatypes/execution.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Execution { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | price: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | exec_date: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | buy_child_order_acceptance_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | sell_child_order_acceptance_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `async` keyword is missing from the function declaration [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bitflyer_tools::orderbook` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use bitflyer_tools::orderbook::OrderBook; [INFO] [stdout] | ^^^^^^^^^ could not find `orderbook` in `bitflyer_tools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | println!("{}", serde_json::to_value(json)); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitflyer_tools` (bin "bitflyer_tools") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "a2b7352f96d0fd487972259ec3d3912bbcde2ea932eb17a8d772bc89ebf9d80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2b7352f96d0fd487972259ec3d3912bbcde2ea932eb17a8d772bc89ebf9d80e", kill_on_drop: false }` [INFO] [stdout] a2b7352f96d0fd487972259ec3d3912bbcde2ea932eb17a8d772bc89ebf9d80e