[INFO] cloning repository https://github.com/gallynaut/serum-twap
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gallynaut/serum-twap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallynaut%2Fserum-twap", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallynaut%2Fserum-twap'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] debe975c7649103b86f17f71e6b03b7c9cfc52bb
[INFO] building gallynaut/serum-twap against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallynaut%2Fserum-twap" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gallynaut/serum-twap
[INFO] finished tweaking git repo https://github.com/gallynaut/serum-twap
[INFO] tweaked toml for git repo https://github.com/gallynaut/serum-twap written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gallynaut/serum-twap on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gallynaut/serum-twap 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.27
[INFO] [stderr]   Downloaded redox_syscall v0.2.9
[INFO] [stderr]   Downloaded native-tls v0.2.7
[INFO] [stderr]   Downloaded serde_derive v1.0.126
[INFO] [stderr]   Downloaded security-framework-sys v2.3.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.20
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.24
[INFO] [stderr]   Downloaded openssl-sys v0.9.65
[INFO] [stderr]   Downloaded addr2line v0.15.2
[INFO] [stderr]   Downloaded cc v1.0.68
[INFO] [stderr]   Downloaded backtrace v0.3.60
[INFO] [stderr]   Downloaded security-framework v2.3.1
[INFO] [stderr]   Downloaded hyper v0.14.9
[INFO] [stderr]   Downloaded openssl v0.10.35
[INFO] [stderr]   Downloaded object v0.25.3
[INFO] [stderr]   Downloaded syn v1.0.73
[INFO] [stderr]   Downloaded tokio v1.7.1
[INFO] [stderr]   Downloaded libc v0.2.97
[INFO] [stderr]   Downloaded gimli v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c349494225c3be7a8bb06486ee34ac6b7a29a273a5a7c5efa8cf874a69d9e392
[INFO] running `Command { std: "docker" "start" "-a" "c349494225c3be7a8bb06486ee34ac6b7a29a273a5a7c5efa8cf874a69d9e392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c349494225c3be7a8bb06486ee34ac6b7a29a273a5a7c5efa8cf874a69d9e392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c349494225c3be7a8bb06486ee34ac6b7a29a273a5a7c5efa8cf874a69d9e392", kill_on_drop: false }`
[INFO] [stdout] c349494225c3be7a8bb06486ee34ac6b7a29a273a5a7c5efa8cf874a69d9e392
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b518fdf097bfe2b4302c9bb853fe9eed641a0550223061c2788b5113b72a5cc
[INFO] running `Command { std: "docker" "start" "-a" "9b518fdf097bfe2b4302c9bb853fe9eed641a0550223061c2788b5113b72a5cc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling futures-core v0.3.15
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling tokio v1.7.1
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling futures-task v0.3.15
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling openssl v0.10.35
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling openssl-sys v0.9.65
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling futures-sink v0.3.15
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling httparse v1.4.1
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling backtrace v0.3.60
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling socket2 v0.4.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling http-body v0.4.2
[INFO] [stderr]    Compiling httpdate v1.0.1
[INFO] [stderr]    Compiling gimli v0.24.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling object v0.25.3
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling rustc-demangle v0.1.20
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling addr2line v0.15.2
[INFO] [stderr]    Compiling tokio-macros v1.2.0
[INFO] [stderr]    Compiling tokio-util v0.6.7
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling hyper v0.14.9
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.4
[INFO] [stderr]    Compiling serum-twap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `volume` is never read
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct OHLC {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     volume: Option<f64>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OHLC` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> src/main.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl OHLC {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn print(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `market`, `size`, `side`, `order_id`, `fee_cost`, and `market_address` are never read
[INFO] [stdout]   --> src/main.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct MarketData {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 71 |     market: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 72 |     price: f64,
[INFO] [stdout] 73 |     size: f64,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 74 |     side: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 75 |     time: f64,
[INFO] [stdout] 76 |     order_id: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 77 |     fee_cost: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 78 |     market_address: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MarketData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `success` is never read
[INFO] [stdout]    --> src/main.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | struct GetMarketsResponse {
[INFO] [stdout]     |        ------------------ field in this struct
[INFO] [stdout] 143 |     success: bool,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GetMarketsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `interval` and `debug` are never read
[INFO] [stdout]  --> src/config.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Config {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 6 |     pub symbol: String,
[INFO] [stdout] 7 |     pub interval: Duration,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 8 |     pub debug: bool,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s
[INFO] running `Command { std: "docker" "inspect" "9b518fdf097bfe2b4302c9bb853fe9eed641a0550223061c2788b5113b72a5cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b518fdf097bfe2b4302c9bb853fe9eed641a0550223061c2788b5113b72a5cc", kill_on_drop: false }`
[INFO] [stdout] 9b518fdf097bfe2b4302c9bb853fe9eed641a0550223061c2788b5113b72a5cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] edefb996af69c256e31c7d15d83957dc21c392c44e6cfdbad8018c13cccd66c6
[INFO] running `Command { std: "docker" "start" "-a" "edefb996af69c256e31c7d15d83957dc21c392c44e6cfdbad8018c13cccd66c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling serum-twap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `volume` is never read
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct OHLC {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     volume: Option<f64>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OHLC` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> src/main.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl OHLC {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn print(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `market`, `size`, `side`, `order_id`, `fee_cost`, and `market_address` are never read
[INFO] [stdout]   --> src/main.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct MarketData {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 71 |     market: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 72 |     price: f64,
[INFO] [stdout] 73 |     size: f64,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 74 |     side: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 75 |     time: f64,
[INFO] [stdout] 76 |     order_id: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 77 |     fee_cost: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 78 |     market_address: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MarketData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `success` is never read
[INFO] [stdout]    --> src/main.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | struct GetMarketsResponse {
[INFO] [stdout]     |        ------------------ field in this struct
[INFO] [stdout] 143 |     success: bool,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GetMarketsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `interval` and `debug` are never read
[INFO] [stdout]  --> src/config.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Config {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 6 |     pub symbol: String,
[INFO] [stdout] 7 |     pub interval: Duration,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 8 |     pub debug: bool,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] running `Command { std: "docker" "inspect" "edefb996af69c256e31c7d15d83957dc21c392c44e6cfdbad8018c13cccd66c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edefb996af69c256e31c7d15d83957dc21c392c44e6cfdbad8018c13cccd66c6", kill_on_drop: false }`
[INFO] [stdout] edefb996af69c256e31c7d15d83957dc21c392c44e6cfdbad8018c13cccd66c6
