[INFO] cloning repository https://github.com/cointhink/yith [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cointhink/yith" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcointhink%2Fyith", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcointhink%2Fyith'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 350932f93af2a2f43c7ceede44abcf8929e94232 [INFO] testing cointhink/yith against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcointhink%2Fyith" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cointhink/yith on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cointhink/yith [INFO] finished tweaking git repo https://github.com/cointhink/yith [INFO] tweaked toml for git repo https://github.com/cointhink/yith written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/cointhink/yith already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d0c1ee8915b5c366e86c7839fb507a0202d4c311efabe5f560b4dc7ecee61e4 [INFO] running `Command { std: "docker" "start" "-a" "3d0c1ee8915b5c366e86c7839fb507a0202d4c311efabe5f560b4dc7ecee61e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d0c1ee8915b5c366e86c7839fb507a0202d4c311efabe5f560b4dc7ecee61e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d0c1ee8915b5c366e86c7839fb507a0202d4c311efabe5f560b4dc7ecee61e4", kill_on_drop: false }` [INFO] [stdout] 3d0c1ee8915b5c366e86c7839fb507a0202d4c311efabe5f560b4dc7ecee61e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb706811ab6ec30a48cf1d287ad13fa8693efdd664358f5deff2586dddf46b21 [INFO] running `Command { std: "docker" "start" "-a" "fb706811ab6ec30a48cf1d287ad13fa8693efdd664358f5deff2586dddf46b21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling bitvec v0.15.2 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling tiny-keccak v2.0.1 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling hex v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling rlp v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling derefable v0.1.0 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling fixed-hash v0.5.2 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.41 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling bigdecimal v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.47 [INFO] [stderr] Compiling parity-scale-codec v1.1.2 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling impl-serde v0.3.0 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling ethbloom v0.8.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling lettre v0.9.2 [INFO] [stderr] Compiling log4rs v0.12.0 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling lettre_email v0.9.2 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.6.2 [INFO] [stderr] Compiling ethereum-types v0.8.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling tokio-socks v0.2.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling redis v0.15.1 [INFO] [stderr] Compiling ethabi v11.0.0 [INFO] [stderr] Compiling ethereum-tx-sign v3.0.2 [INFO] [stderr] Compiling hyper v0.13.2 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.1 [INFO] [stderr] Compiling yith v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `quote_token` [INFO] [stdout] --> src/exchanges/switcheo.rs:1105:60 [INFO] [stdout] | [INFO] [stdout] 1105 | pub fn fill_display(fill: &Fill, base_token: &TokenDetail, quote_token: &TokenDetail) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quote_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quote_token` [INFO] [stdout] --> src/exchanges/switcheo.rs:1116:5 [INFO] [stdout] | [INFO] [stdout] 1116 | quote_token: &TokenDetail, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quote_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `privkey` [INFO] [stdout] --> src/exchanges/zeroex.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | privkey: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_privkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sigparts_to_vrs` [INFO] [stdout] --> src/eth.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn sigparts_to_vrs(v: u8, r: [u8; 32], s: [u8; 32]) -> [u8; 65] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `recover_sig_addr` [INFO] [stdout] --> src/eth.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn recover_sig_addr(msg: &[u8], v: u8, r: [u8; 32], s: [u8; 32]) -> [u8; 20] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode_bytes` [INFO] [stdout] --> src/eth.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn encode_bytes(bytes: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `right_pad_zero` [INFO] [stdout] --> src/eth.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn right_pad_zero(bytes: Vec, block_width: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `order_hash` [INFO] [stdout] --> src/exchanges/zeroex.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn order_hash(form: &OrderForm) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `order_sign` [INFO] [stdout] --> src/exchanges/zeroex.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn order_sign(privkey_bytes: &Vec, exg_hash: [u8; 32]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `order_tokens` [INFO] [stdout] --> src/exchanges/zeroex.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn order_tokens(form: &OrderForm) -> ethabi::Token { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `order_encode_old` [INFO] [stdout] --> src/exchanges/zeroex.rs:494:8 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn order_encode_old(form: &OrderForm) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hexstr_to_hashbytes` [INFO] [stdout] --> src/exchanges/zeroex.rs:531:8 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn hexstr_to_hashbytes(msg_str: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exchange_order_tokens` [INFO] [stdout] --> src/exchanges/zeroex.rs:535:8 [INFO] [stdout] | [INFO] [stdout] 535 | pub fn exchange_order_tokens(order_hash: [u8; 32], contract_addr: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eip712_exchange_hash` [INFO] [stdout] --> src/exchanges/zeroex.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn eip712_exchange_hash(contract_addr: &str) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `headers` [INFO] [stdout] --> src/http.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn headers(self, headers: reqwest::header::HeaderMap) -> LoggingBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "fb706811ab6ec30a48cf1d287ad13fa8693efdd664358f5deff2586dddf46b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb706811ab6ec30a48cf1d287ad13fa8693efdd664358f5deff2586dddf46b21", kill_on_drop: false }` [INFO] [stdout] fb706811ab6ec30a48cf1d287ad13fa8693efdd664358f5deff2586dddf46b21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f02e53203ca7f0a6700d9b6b55fcd8272100c6b6752e2b7f925cfc44d27e197 [INFO] running `Command { std: "docker" "start" "-a" "0f02e53203ca7f0a6700d9b6b55fcd8272100c6b6752e2b7f925cfc44d27e197", kill_on_drop: false }` [INFO] [stderr] Compiling yith v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/price.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/exchanges/idex.rs:809:13 [INFO] [stdout] | [INFO] [stdout] 809 | let address = eth::privkey_to_addr(PRIVKEY_DDEX3); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idex_contract` [INFO] [stdout] --> src/exchanges/idex.rs:829:13 [INFO] [stdout] | [INFO] [stdout] 829 | let idex_contract = "0x2a0c0dbecc7e4d658f48e01e3fa353f44050c208"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_idex_contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `good_hash` [INFO] [stdout] --> src/exchanges/idex.rs:831:13 [INFO] [stdout] | [INFO] [stdout] 831 | let good_hash = "0x385777b82d67f8368848ccd56f6ad04159bb6fc1075ae06910abb597c5a7c6a0"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_good_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quote_token` [INFO] [stdout] --> src/exchanges/switcheo.rs:1105:60 [INFO] [stdout] | [INFO] [stdout] 1105 | pub fn fill_display(fill: &Fill, base_token: &TokenDetail, quote_token: &TokenDetail) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quote_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quote_token` [INFO] [stdout] --> src/exchanges/switcheo.rs:1116:5 [INFO] [stdout] | [INFO] [stdout] 1116 | quote_token: &TokenDetail, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quote_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `privkey` [INFO] [stdout] --> src/exchanges/zeroex.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | privkey: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_privkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `headers` [INFO] [stdout] --> src/http.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn headers(self, headers: reqwest::header::HeaderMap) -> LoggingBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.00s [INFO] running `Command { std: "docker" "inspect" "0f02e53203ca7f0a6700d9b6b55fcd8272100c6b6752e2b7f925cfc44d27e197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f02e53203ca7f0a6700d9b6b55fcd8272100c6b6752e2b7f925cfc44d27e197", kill_on_drop: false }` [INFO] [stdout] 0f02e53203ca7f0a6700d9b6b55fcd8272100c6b6752e2b7f925cfc44d27e197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 307989822d74545089ddf8fc743ac126ff233d91328b3900219cec9a3100d427 [INFO] running `Command { std: "docker" "start" "-a" "307989822d74545089ddf8fc743ac126ff233d91328b3900219cec9a3100d427", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/price.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 111 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/exchanges/idex.rs:809:13 [INFO] [stderr] | [INFO] [stderr] 809 | let address = eth::privkey_to_addr(PRIVKEY_DDEX3); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idex_contract` [INFO] [stderr] --> src/exchanges/idex.rs:829:13 [INFO] [stderr] | [INFO] [stderr] 829 | let idex_contract = "0x2a0c0dbecc7e4d658f48e01e3fa353f44050c208"; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_idex_contract` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `good_hash` [INFO] [stderr] --> src/exchanges/idex.rs:831:13 [INFO] [stderr] | [INFO] [stderr] 831 | let good_hash = "0x385777b82d67f8368848ccd56f6ad04159bb6fc1075ae06910abb597c5a7c6a0"; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_good_hash` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `quote_token` [INFO] [stderr] --> src/exchanges/switcheo.rs:1105:60 [INFO] [stderr] | [INFO] [stderr] 1105 | pub fn fill_display(fill: &Fill, base_token: &TokenDetail, quote_token: &TokenDetail) -> String { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quote_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `quote_token` [INFO] [stderr] --> src/exchanges/switcheo.rs:1116:5 [INFO] [stderr] | [INFO] [stderr] 1116 | quote_token: &TokenDetail, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quote_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `privkey` [INFO] [stderr] --> src/exchanges/zeroex.rs:225:9 [INFO] [stderr] | [INFO] [stderr] 225 | privkey: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_privkey` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `headers` [INFO] [stderr] --> src/http.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn headers(self, headers: reqwest::header::HeaderMap) -> LoggingBuilder { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `yith` (bin "yith" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/yith-c75d7bbcfaa7869f) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test eth::tests::test_encode_addr2 ... ok [INFO] [stdout] test eth::tests::test_ethsign_hash_msg ... ok [INFO] [stdout] test eth::tests::test_left_pad_zero ... ok [INFO] [stdout] test eth::tests::test_hash_msg ... ok [INFO] [stdout] test eth::tests::test_encode_bytes ... ok [INFO] [stdout] test exchange::tests::test_quantity_in_base_units ... ok [INFO] [stdout] test eth::tests::test_pubkey_to_addr ... ok [INFO] [stdout] test exchange::tests::test_str_to_chopped_f64 ... ok [INFO] [stdout] test eth::tests::test_encode_uint256 ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_amount_to_units ... ok [INFO] [stdout] test eth::tests::test_sign_bytes_vrs ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_hexstr_to_hashbytes ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_units_to_amount ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_eip712_domain_sep ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_tokens ... ok [INFO] [stdout] test price::tests::test_lookup ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_hash ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_exchange_tokens ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_fill_data ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_float_to_string_precision ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_exchange_hash ... ok [INFO] [stdout] test eth::tests::test_sign_bytes ... ok [INFO] [stdout] test exchanges::ddex3::tests::test_build_token ... ok [INFO] [stdout] test exchanges::idex::tests::test_order_params_sign ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_sign ... ok [INFO] [stdout] test eth::tests::test_recover_sig_addr ... ok [INFO] [stdout] test exchanges::idex::tests::test_order_params_hash ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_fillgroup_sigs ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_order_sign ... ok [INFO] [stdout] test exchanges::oasis::tests::test_build_abi_data ... FAILED [INFO] [stdout] test exchanges::ddex4::tests::test_build_token ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- exchanges::oasis::tests::test_build_abi_data stdout ---- [INFO] [stdout] thread 'exchanges::oasis::tests::test_build_abi_data' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/exchanges/oasis.rs:158:24 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5556c23e87f0 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5556c23e87f0 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5556c23e87f0 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5556c23e87f0 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5556c240c83c - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x5556c23e58a5 - std::io::Write::write_fmt::h7728c39ea5632753 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x5556c23ea95b - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5556c23ea95b - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5556c23ea95b - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5556c23ea46c - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5556c23eb024 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5556c23eab07 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x5556c23e8cec - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5556c23eaa69 - rust_begin_unwind [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x5556c22af3c1 - core::panicking::panic_fmt::h12a3a3c256485fca [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x5556c22af4b3 - core::result::unwrap_failed::h2d8d0952e3250de9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1599:5 [INFO] [stdout] 16: 0x5556c22c6304 - core::result::Result::unwrap::hbbd5e474457fe2d6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1281:23 [INFO] [stdout] 17: 0x5556c22b92e9 - yith::exchanges::oasis::read_abi::hecf669ec11d1a7a5 [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:158:16 [INFO] [stdout] 18: 0x5556c22c9b18 - yith::exchanges::oasis::tests::test_build_abi_data::h50880f0f7b64fac4 [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:387:24 [INFO] [stdout] 19: 0x5556c22c9aca - yith::exchanges::oasis::tests::test_build_abi_data::{{closure}}::h4ad08e7acfc6f0f9 [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:385:5 [INFO] [stdout] 20: 0x5556c22cfaee - core::ops::function::FnOnce::call_once::h20504885d1391210 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5556c231ef23 - core::ops::function::FnOnce::call_once::h5aba9a5d361d6c79 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5556c231ef23 - test::__rust_begin_short_backtrace::h705bb53b2b1d45e6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:578:5 [INFO] [stdout] 23: 0x5556c231d9d8 - as core::ops::function::FnOnce>::call_once::ha20f614d7c0b2b6d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 24: 0x5556c231d9d8 - as core::ops::function::FnOnce<()>>::call_once::hf02f19eeb64ceabd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 25: 0x5556c231d9d8 - std::panicking::try::do_call::h4bfab65eb3b4b036 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x5556c231d9d8 - std::panicking::try::h6613a46a6d2b6f88 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x5556c231d9d8 - std::panic::catch_unwind::h9f07b17b60991273 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 28: 0x5556c231d9d8 - test::run_test_in_process::hc38797eecf07854f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:601:18 [INFO] [stdout] 29: 0x5556c231d9d8 - test::run_test::run_test_inner::{{closure}}::hac209db8bce0fd77 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:493:39 [INFO] [stdout] 30: 0x5556c22ec16d - test::run_test::run_test_inner::{{closure}}::h4aefdd4b4a423e20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:520:37 [INFO] [stdout] 31: 0x5556c22ec16d - std::sys_common::backtrace::__rust_begin_short_backtrace::h652c9e2663704700 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x5556c22f0948 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd84fd5e0b5b1f45f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 33: 0x5556c22f0948 - as core::ops::function::FnOnce<()>>::call_once::he23556962a2ae14b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 34: 0x5556c22f0948 - std::panicking::try::do_call::h67d4f93e1fbaa5f9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x5556c22f0948 - std::panicking::try::h396886e678db815e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x5556c22f0948 - std::panic::catch_unwind::hc1d64dcecf0a00e0 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 37: 0x5556c22f0948 - std::thread::Builder::spawn_unchecked::{{closure}}::hc2644cf33cb61d8e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 38: 0x5556c22f0948 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4473c2c77b66963f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5556c23efb97 - as core::ops::function::FnOnce>::call_once::h6bff7798948b1075 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x5556c23efb97 - as core::ops::function::FnOnce>::call_once::hc2d25ac38f6b2342 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 41: 0x5556c23efb97 - std::sys::unix::thread::Thread::new::thread_start::hbba5bc368baac205 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17 [INFO] [stdout] 42: 0x7f525549d609 - start_thread [INFO] [stdout] 43: 0x7f525526d293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] exchanges::oasis::tests::test_build_abi_data [INFO] [stdout] [INFO] [stdout] test result: FAILED. 30 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin yith' [INFO] running `Command { std: "docker" "inspect" "307989822d74545089ddf8fc743ac126ff233d91328b3900219cec9a3100d427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "307989822d74545089ddf8fc743ac126ff233d91328b3900219cec9a3100d427", kill_on_drop: false }` [INFO] [stdout] 307989822d74545089ddf8fc743ac126ff233d91328b3900219cec9a3100d427