[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 beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcointhink%2Fyith" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cointhink/yith on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derefable v0.1.0 [INFO] [stderr] Downloaded ethabi v11.0.0 [INFO] [stderr] Downloaded tokio-socks v0.2.0 [INFO] [stderr] Downloaded ethereum-tx-sign v3.0.2 [INFO] [stderr] Downloaded parity-scale-codec v1.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 528747411dc7e2fc292503962be29a86ac3000ae7c4ac78d51fd45a2972eaf2f [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" "528747411dc7e2fc292503962be29a86ac3000ae7c4ac78d51fd45a2972eaf2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "528747411dc7e2fc292503962be29a86ac3000ae7c4ac78d51fd45a2972eaf2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528747411dc7e2fc292503962be29a86ac3000ae7c4ac78d51fd45a2972eaf2f", kill_on_drop: false }` [INFO] [stdout] 528747411dc7e2fc292503962be29a86ac3000ae7c4ac78d51fd45a2972eaf2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 866d8ee49a8cd4f977542691338d69fd4f60ad804631e46564a8b1a8a88c101a [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" "866d8ee49a8cd4f977542691338d69fd4f60ad804631e46564a8b1a8a88c101a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling bitvec v0.15.2 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tiny-keccak v2.0.1 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling hex v0.4.1 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling rlp v0.4.5 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand v0.7.3 [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 bigdecimal v0.1.0 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling fixed-hash v0.5.2 [INFO] [stderr] Compiling backtrace v0.3.41 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling derefable 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_derive v0.1.6 [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 serde v1.0.104 [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 lettre v0.9.2 [INFO] [stderr] Compiling log4rs v0.12.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.6.2 [INFO] [stderr] Compiling lettre_email v0.9.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 3m 49s [INFO] running `Command { std: "docker" "inspect" "866d8ee49a8cd4f977542691338d69fd4f60ad804631e46564a8b1a8a88c101a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866d8ee49a8cd4f977542691338d69fd4f60ad804631e46564a8b1a8a88c101a", kill_on_drop: false }` [INFO] [stdout] 866d8ee49a8cd4f977542691338d69fd4f60ad804631e46564a8b1a8a88c101a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aef8fc58c0b2ad7792ab8b43237b999a7b7d19aac432717223588cf7e903de0b [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" "aef8fc58c0b2ad7792ab8b43237b999a7b7d19aac432717223588cf7e903de0b", 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 14.46s [INFO] running `Command { std: "docker" "inspect" "aef8fc58c0b2ad7792ab8b43237b999a7b7d19aac432717223588cf7e903de0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef8fc58c0b2ad7792ab8b43237b999a7b7d19aac432717223588cf7e903de0b", kill_on_drop: false }` [INFO] [stdout] aef8fc58c0b2ad7792ab8b43237b999a7b7d19aac432717223588cf7e903de0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4165a12462be0df286307f62e6fe238ae578e56adb8c834a50b115718b3c63b8 [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" "4165a12462be0df286307f62e6fe238ae578e56adb8c834a50b115718b3c63b8", 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 /opt/rustwide/target/debug/deps/yith-101c4f9680c52cd4 [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test eth::tests::test_ethsign_hash_msg ... ok [INFO] [stdout] test eth::tests::test_encode_uint256 ... ok [INFO] [stdout] test eth::tests::test_pubkey_to_addr ... 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_encode_addr2 ... ok [INFO] [stdout] test eth::tests::test_encode_bytes ... ok [INFO] [stdout] test exchange::tests::test_quantity_in_base_units ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_units_to_amount ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_exchange_tokens ... ok [INFO] [stdout] test exchange::tests::test_str_to_chopped_f64 ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_amount_to_units ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_hash ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_eip712_domain_sep ... 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 price::tests::test_lookup ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_hexstr_to_hashbytes ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_tokens ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_order_fill_data ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_order_sign ... ok [INFO] [stdout] test eth::tests::test_sign_bytes_vrs ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_fillgroup_sigs ... ok [INFO] [stdout] test eth::tests::test_sign_bytes ... ok [INFO] [stdout] test exchanges::idex::tests::test_order_params_hash ... 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 exchanges::oasis::tests::test_build_abi_data ... FAILED [INFO] [stdout] test exchanges::ddex3::tests::test_build_token ... ok [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: 0x56231fc0f147 - std::backtrace_rs::backtrace::libunwind::trace::hcd6e187547b8deec [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56231fc0f147 - std::backtrace_rs::backtrace::trace_unsynchronized::hde10036eb783fbc7 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56231fc0f147 - std::sys_common::backtrace::_print_fmt::h63987b8f86dfc82a [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56231fc0f147 - ::fmt::hc33f3ac4cc9c4196 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56231fc311dc - core::fmt::write::hfdcdeb08fb2b3afa [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x56231fc0b5c2 - std::io::Write::write_fmt::h28c53dc51251a293 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x56231fc113f5 - std::sys_common::backtrace::_print::hf179508b01f66878 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56231fc113f5 - std::sys_common::backtrace::print::ha97d11adb39266a6 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56231fc113f5 - std::panicking::default_hook::{{closure}}::h8da9985a98bd1582 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56231fc10f82 - std::panicking::default_hook::hbc0ee792993c2ef2 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x56231fc11b91 - std::panicking::rust_panic_with_hook::h9fb9cda33a10f084 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x56231fc116d7 - std::panicking::begin_panic_handler::{{closure}}::hf3e83396e085962e [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x56231fc0f60c - std::sys_common::backtrace::__rust_end_short_backtrace::hac151ac4c1e3252d [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x56231fc11639 - rust_begin_unwind [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x56231fc2fb91 - core::panicking::panic_fmt::hf6d8a92b065b8f97 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x56231fc2f9b3 - core::option::expect_none_failed::ha72f299eca314ad7 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x56231fad9e07 - core::result::Result::unwrap::h9e68799d4d79fea4 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/result.rs:973:23 [INFO] [stdout] 17: 0x56231fae0be2 - yith::exchanges::oasis::read_abi::h9dd7998acd6d4bbe [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:158:16 [INFO] [stdout] 18: 0x56231facba1b - yith::exchanges::oasis::tests::test_build_abi_data::h6e9d36e52d992eb9 [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:387:24 [INFO] [stdout] 19: 0x56231facb9ca - yith::exchanges::oasis::tests::test_build_abi_data::{{closure}}::hb953d4fafbd2ab79 [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:385:5 [INFO] [stdout] 20: 0x56231fad461e - core::ops::function::FnOnce::call_once::he4c16030366e00c8 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x56231fb254f3 - core::ops::function::FnOnce::call_once::ha61d5393ae51ae22 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x56231fb254f3 - test::__rust_begin_short_backtrace::h4a8691b5281c1f3b [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/test/src/lib.rs:516:5 [INFO] [stdout] 23: 0x56231fb23de6 - as core::ops::function::FnOnce>::call_once::hd25ba61494055ad3 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/alloc/src/boxed.rs:1328:9 [INFO] [stdout] 24: 0x56231fb23de6 - as core::ops::function::FnOnce<()>>::call_once::h052fde7b846767ba [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:322:9 [INFO] [stdout] 25: 0x56231fb23de6 - std::panicking::try::do_call::h04571a1da6838ba1 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:379:40 [INFO] [stdout] 26: 0x56231fb23de6 - std::panicking::try::h758f090614125cbe [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:343:19 [INFO] [stdout] 27: 0x56231fb23de6 - std::panic::catch_unwind::h0c48513d5a021d3c [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:396:14 [INFO] [stdout] 28: 0x56231fb23de6 - test::run_test_in_process::hee75babaaac3822f [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/test/src/lib.rs:538:18 [INFO] [stdout] 29: 0x56231fb23de6 - test::run_test::run_test_inner::{{closure}}::h2920dea75d7f0c1e [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/test/src/lib.rs:449:39 [INFO] [stdout] 30: 0x56231fafc0f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha23dff608830db13 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x56231fb00e8d - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hacce322dead3a799 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 32: 0x56231fb00e8d - as core::ops::function::FnOnce<()>>::call_once::h4f0bc9c26ead0a27 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:322:9 [INFO] [stdout] 33: 0x56231fb00e8d - std::panicking::try::do_call::h1b9f282fb0c383b3 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:379:40 [INFO] [stdout] 34: 0x56231fb00e8d - std::panicking::try::hed1ebed51b133ee4 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:343:19 [INFO] [stdout] 35: 0x56231fb00e8d - std::panic::catch_unwind::h072a2b19fd39a474 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:396:14 [INFO] [stdout] 36: 0x56231fb00e8d - std::thread::Builder::spawn_unchecked::{{closure}}::hb02c6b2d3ff18bc2 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 37: 0x56231fb00e8d - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb512c5d27b4adb83 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x56231fc176ea - as core::ops::function::FnOnce>::call_once::hdbb9ff71143eaad6 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/alloc/src/boxed.rs:1328:9 [INFO] [stdout] 39: 0x56231fc176ea - as core::ops::function::FnOnce>::call_once::h9dbde95cefb8368c [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/alloc/src/boxed.rs:1328:9 [INFO] [stdout] 40: 0x56231fc176ea - std::sys::unix::thread::Thread::new::thread_start::hc76032c38affd972 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 41: 0x7fb680cfd609 - start_thread [INFO] [stdout] 42: 0x7fb680acd293 - clone [INFO] [stdout] 43: 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.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin yith' [INFO] running `Command { std: "docker" "inspect" "4165a12462be0df286307f62e6fe238ae578e56adb8c834a50b115718b3c63b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4165a12462be0df286307f62e6fe238ae578e56adb8c834a50b115718b3c63b8", kill_on_drop: false }` [INFO] [stdout] 4165a12462be0df286307f62e6fe238ae578e56adb8c834a50b115718b3c63b8