[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 master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcointhink%2Fyith" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cointhink/yith on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-11/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1c295e73494898f0c719ed8c810cc1f030d121ad93386bcf91d729140a3f2d5a [INFO] running `Command { std: "docker" "start" "-a" "1c295e73494898f0c719ed8c810cc1f030d121ad93386bcf91d729140a3f2d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c295e73494898f0c719ed8c810cc1f030d121ad93386bcf91d729140a3f2d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c295e73494898f0c719ed8c810cc1f030d121ad93386bcf91d729140a3f2d5a", kill_on_drop: false }` [INFO] [stdout] 1c295e73494898f0c719ed8c810cc1f030d121ad93386bcf91d729140a3f2d5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fff16f6b64984a9a85b72c6f85c7f3e381cef337ec1e65ffa459ec5b8aecadaa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fff16f6b64984a9a85b72c6f85c7f3e381cef337ec1e65ffa459ec5b8aecadaa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling cfg-if v0.1.9 [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 lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling bitvec v0.15.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.1 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling sha1 v0.6.0 [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 bs58 v0.3.1 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling hex v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling rlp v0.4.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [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 derefable v0.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling backtrace v0.3.41 [INFO] [stderr] Compiling fixed-hash v0.5.2 [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.3.0 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.8.11 [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 tokio v0.2.11 [INFO] [stderr] Compiling lettre v0.9.2 [INFO] [stderr] Compiling log4rs v0.12.0 [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 tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling tokio-socks v0.2.0 [INFO] [stderr] Compiling ethereum-types v0.8.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling redis v0.15.1 [INFO] [stderr] Compiling ethereum-tx-sign v3.0.2 [INFO] [stderr] Compiling ethabi v11.0.0 [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 4m 08s [INFO] running `Command { std: "docker" "inspect" "fff16f6b64984a9a85b72c6f85c7f3e381cef337ec1e65ffa459ec5b8aecadaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff16f6b64984a9a85b72c6f85c7f3e381cef337ec1e65ffa459ec5b8aecadaa", kill_on_drop: false }` [INFO] [stdout] fff16f6b64984a9a85b72c6f85c7f3e381cef337ec1e65ffa459ec5b8aecadaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8e89f864b4c6c335ea3bed72381de55d3af3a5a8ccd71ca8903905c5b7bd159c [INFO] running `Command { std: "docker" "start" "-a" "8e89f864b4c6c335ea3bed72381de55d3af3a5a8ccd71ca8903905c5b7bd159c", 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.71s [INFO] running `Command { std: "docker" "inspect" "8e89f864b4c6c335ea3bed72381de55d3af3a5a8ccd71ca8903905c5b7bd159c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e89f864b4c6c335ea3bed72381de55d3af3a5a8ccd71ca8903905c5b7bd159c", kill_on_drop: false }` [INFO] [stdout] 8e89f864b4c6c335ea3bed72381de55d3af3a5a8ccd71ca8903905c5b7bd159c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1dc10812e176f5d873a8c95c46a10b80eb9db6947433026eba8b429a7c5d222f [INFO] running `Command { std: "docker" "start" "-a" "1dc10812e176f5d873a8c95c46a10b80eb9db6947433026eba8b429a7c5d222f", 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: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/yith-e0e94e14cd7a042c) [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_encode_bytes ... ok [INFO] [stdout] test eth::tests::test_encode_uint256 ... ok [INFO] [stdout] test eth::tests::test_hash_msg ... ok [INFO] [stdout] test eth::tests::test_left_pad_zero ... ok [INFO] [stdout] test eth::tests::test_pubkey_to_addr ... ok [INFO] [stdout] test exchange::tests::test_quantity_in_base_units ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_exchange_hash ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_amount_to_units ... ok [INFO] [stdout] test exchange::tests::test_str_to_chopped_f64 ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_hexstr_to_hashbytes ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_float_to_string_precision ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_fill_data ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_hash ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_tokens ... ok [INFO] [stdout] test price::tests::test_lookup ... 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_exchange_tokens ... ok [INFO] [stdout] test exchanges::idex::tests::test_order_params_sign ... ok [INFO] [stdout] test eth::tests::test_sign_bytes_vrs ... ok [INFO] [stdout] test eth::tests::test_sign_bytes ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_sign ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_order_sign ... ok [INFO] [stdout] test exchanges::ddex3::tests::test_build_token ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_fillgroup_sigs ... ok [INFO] [stdout] test exchanges::idex::tests::test_order_params_hash ... ok [INFO] [stdout] test exchanges::oasis::tests::test_build_abi_data ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--bin yith' [INFO] [stdout] test eth::tests::test_recover_sig_addr ... ok [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: 0x558d0c2484e0 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x558d0c2484e0 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x558d0c2484e0 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x558d0c2484e0 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x558d0c26c8fc - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x558d0c245555 - std::io::Write::write_fmt::h6f1a9b91376a1376 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x558d0c24a64b - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x558d0c24a64b - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x558d0c24a64b - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x558d0c24a15c - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x558d0c24acf1 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x558d0c24a7f7 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x558d0c2489bc - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x558d0c24a759 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x558d0c1074c1 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x558d0c1075b3 - core::result::unwrap_failed::hf79563fef9d11ab8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x558d0c1095c4 - core::result::Result::unwrap::h5b28178695595793 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x558d0c1152f9 - yith::exchanges::oasis::read_abi::h52a408a89e41cc99 [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:158:16 [INFO] [stdout] 18: 0x558d0c129858 - yith::exchanges::oasis::tests::test_build_abi_data::h1e953882750254de [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:387:24 [INFO] [stdout] 19: 0x558d0c12980a - yith::exchanges::oasis::tests::test_build_abi_data::{{closure}}::hcc3beec845327088 [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:385:5 [INFO] [stdout] 20: 0x558d0c1327ae - core::ops::function::FnOnce::call_once::h33e6544f0a0e49aa [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x558d0c169cf3 - core::ops::function::FnOnce::call_once::h673fbe3f96486fd2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x558d0c169cf3 - test::__rust_begin_short_backtrace::h8eedc24e104ef6a0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:577:5 [INFO] [stdout] 23: 0x558d0c1687a0 - as core::ops::function::FnOnce>::call_once::h028d0969d3f94d78 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 24: 0x558d0c1687a0 - as core::ops::function::FnOnce<()>>::call_once::h7634b01590b1722b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 25: 0x558d0c1687a0 - std::panicking::try::do_call::hf74f869706dec63b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x558d0c1687a0 - std::panicking::try::hd0b7346ebfaaae44 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x558d0c1687a0 - std::panic::catch_unwind::hdbf6904f7c253080 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 28: 0x558d0c1687a0 - test::run_test_in_process::h87e95a014ac91067 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:600:18 [INFO] [stdout] 29: 0x558d0c1687a0 - test::run_test::run_test_inner::{{closure}}::hdd69ae44aaab3470 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x558d0c143a72 - test::run_test::run_test_inner::{{closure}}::hc159305704d5b68a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x558d0c143a72 - std::sys_common::backtrace::__rust_begin_short_backtrace::h33d8a8ad5f788fcc [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x558d0c1477e8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6181011ddf4b8353 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 33: 0x558d0c1477e8 - as core::ops::function::FnOnce<()>>::call_once::hf924ea0a0f25a1c0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 34: 0x558d0c1477e8 - std::panicking::try::do_call::hd58061792d05fa5c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x558d0c1477e8 - std::panicking::try::h3080747417e5af37 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x558d0c1477e8 - std::panic::catch_unwind::hfeba515dcf36cb66 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 37: 0x558d0c1477e8 - std::thread::Builder::spawn_unchecked::{{closure}}::h29d57a62faff749b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 38: 0x558d0c1477e8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h44709d312d2a9c59 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x558d0c24f7a7 - as core::ops::function::FnOnce>::call_once::h902e2cf6655e1b0c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x558d0c24f7a7 - as core::ops::function::FnOnce>::call_once::h893a5452154309d1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 41: 0x558d0c24f7a7 - std::sys::unix::thread::Thread::new::thread_start::hdedcb57c96ab37cd [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 42: 0x7f4c3580d609 - start_thread [INFO] [stdout] 43: 0x7f4c355dd293 - 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.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1dc10812e176f5d873a8c95c46a10b80eb9db6947433026eba8b429a7c5d222f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dc10812e176f5d873a8c95c46a10b80eb9db6947433026eba8b429a7c5d222f", kill_on_drop: false }` [INFO] [stdout] 1dc10812e176f5d873a8c95c46a10b80eb9db6947433026eba8b429a7c5d222f