[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.49.0 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-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cointhink/yith on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-8/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.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.49.0" "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] d36fa08afbf6c3a516e4a2a943ebe96bc536a73de4803b88e06650f9f0ef50d6 [INFO] running `Command { std: "docker" "start" "-a" "d36fa08afbf6c3a516e4a2a943ebe96bc536a73de4803b88e06650f9f0ef50d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d36fa08afbf6c3a516e4a2a943ebe96bc536a73de4803b88e06650f9f0ef50d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d36fa08afbf6c3a516e4a2a943ebe96bc536a73de4803b88e06650f9f0ef50d6", kill_on_drop: false }` [INFO] [stdout] d36fa08afbf6c3a516e4a2a943ebe96bc536a73de4803b88e06650f9f0ef50d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.49.0" "build" "--frozen" "--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] 693dcd6dd999b604949fecaf32e25fa4376becf4fa6dbe1e70009e8a2cab59f5 [INFO] running `Command { std: "docker" "start" "-a" "693dcd6dd999b604949fecaf32e25fa4376becf4fa6dbe1e70009e8a2cab59f5", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling bitvec v0.15.2 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling tiny-keccak v2.0.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling hex v0.4.1 [INFO] [stderr] Compiling bs58 v0.3.1 [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 fast_chemail v0.9.6 [INFO] [stderr] Compiling rlp v0.4.5 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling crc32fast v1.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 rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling derefable v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.47 [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 combine v3.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling num-bigint v0.2.6 [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 mio v0.6.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling parity-scale-codec v1.1.2 [INFO] [stderr] Compiling fixed-hash v0.5.2 [INFO] [stderr] Compiling ethbloom v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling log4rs v0.12.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling bigdecimal v0.1.0 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling backtrace v0.3.41 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.4 [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 lettre v0.9.2 [INFO] [stderr] Compiling ethereum-types v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling redis v0.15.1 [INFO] [stderr] Compiling tokio-socks v0.2.0 [INFO] [stderr] Compiling ethereum-tx-sign v3.0.2 [INFO] [stderr] Compiling ethabi v11.0.0 [INFO] [stderr] Compiling lettre_email v0.9.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 11s [INFO] running `Command { std: "docker" "inspect" "693dcd6dd999b604949fecaf32e25fa4376becf4fa6dbe1e70009e8a2cab59f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "693dcd6dd999b604949fecaf32e25fa4376becf4fa6dbe1e70009e8a2cab59f5", kill_on_drop: false }` [INFO] [stdout] 693dcd6dd999b604949fecaf32e25fa4376becf4fa6dbe1e70009e8a2cab59f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a74e8dbeb5f409e818f86a6df69359e8746ebe4892c81574e773d99b6cf6f48 [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" "3a74e8dbeb5f409e818f86a6df69359e8746ebe4892c81574e773d99b6cf6f48", 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 17.40s [INFO] running `Command { std: "docker" "inspect" "3a74e8dbeb5f409e818f86a6df69359e8746ebe4892c81574e773d99b6cf6f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a74e8dbeb5f409e818f86a6df69359e8746ebe4892c81574e773d99b6cf6f48", kill_on_drop: false }` [INFO] [stdout] 3a74e8dbeb5f409e818f86a6df69359e8746ebe4892c81574e773d99b6cf6f48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06ab4f50c826ee7a3d9cde0f64bff328bd493b90f2ce99b31710c066926e9119 [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" "06ab4f50c826ee7a3d9cde0f64bff328bd493b90f2ce99b31710c066926e9119", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.57s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/yith-14387a26db078356 [INFO] [stdout] running 31 tests [INFO] [stdout] test eth::tests::test_encode_addr2 ... ok [INFO] [stdout] test eth::tests::test_encode_uint256 ... ok [INFO] [stdout] test eth::tests::test_ethsign_hash_msg ... ok [INFO] [stdout] test eth::tests::test_encode_bytes ... ok [INFO] [stdout] test exchange::tests::test_str_to_chopped_f64 ... ok [INFO] [stdout] test eth::tests::test_pubkey_to_addr ... ok [INFO] [stdout] test eth::tests::test_hash_msg ... 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_hash ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_hexstr_to_hashbytes ... 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::switcheo::tests::test_float_to_string_precision ... 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_amount_to_units ... ok [INFO] [stdout] test eth::tests::test_left_pad_zero ... ok [INFO] [stdout] test exchanges::zeroex::tests::test_exchange_tokens ... ok [INFO] [stdout] test eth::tests::test_sign_bytes_vrs ... ok [INFO] [stdout] test exchange::tests::test_quantity_in_base_units ... ok [INFO] [stdout] test exchanges::switcheo::tests::test_order_sign ... ok [INFO] [stdout] test exchanges::idex::tests::test_order_params_sign ... 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::switcheo::tests::test_fillgroup_sigs ... 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] [stderr] error: test failed, to rerun pass '--bin yith' [INFO] [stdout] test exchanges::ddex4::tests::test_build_token ... ok [INFO] [stdout] test eth::tests::test_recover_sig_addr ... 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: 0x55eb40313ed0 - std::backtrace_rs::backtrace::libunwind::trace::h04d12fdcddff82aa [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/libunwind.rs:100:5 [INFO] [stdout] 1: 0x55eb40313ed0 - std::backtrace_rs::backtrace::trace_unsynchronized::h1459b974b6fbe5e1 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55eb40313ed0 - std::sys_common::backtrace::_print_fmt::h9b8396a669123d95 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55eb40313ed0 - ::fmt::he009dcaaa75eed60 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55eb40338fec - core::fmt::write::h77b4746b0dea1dd3 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55eb40207736 - std::io::Write::write_fmt::h3a40d9c04f88bb58 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/mod.rs:1518:15 [INFO] [stdout] 6: 0x55eb4030dfcd - std::io::impls::>::write_fmt::h1b3d263673641f53 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/impls.rs:179:9 [INFO] [stdout] 7: 0x55eb403165a5 - std::sys_common::backtrace::_print::h2d880c9e69a21be9 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 8: 0x55eb403165a5 - std::sys_common::backtrace::print::h5f02b1bb49f36879 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 9: 0x55eb403165a5 - std::panicking::default_hook::{{closure}}::h658e288a7a809b29 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:208:50 [INFO] [stdout] 10: 0x55eb403161f2 - std::panicking::default_hook::hb52d73f0da9a4bb8 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:224:9 [INFO] [stdout] 11: 0x55eb40316d41 - std::panicking::rust_panic_with_hook::hfe7e1c684e3e6462 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:593:17 [INFO] [stdout] 12: 0x55eb40316887 - std::panicking::begin_panic_handler::{{closure}}::h42939e004b32765c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:499:13 [INFO] [stdout] 13: 0x55eb4031438c - std::sys_common::backtrace::__rust_end_short_backtrace::h9d2070f7bf9fd56c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 14: 0x55eb403167e9 - rust_begin_unwind [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:495:5 [INFO] [stdout] 15: 0x55eb40337951 - core::panicking::panic_fmt::ha0bb065d9a260792 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/panicking.rs:92:14 [INFO] [stdout] 16: 0x55eb40337773 - core::option::expect_none_failed::h7e1dd0a94971eb61 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/option.rs:1268:5 [INFO] [stdout] 17: 0x55eb401e3f97 - core::result::Result::unwrap::h3c1b9ac718f828e7 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/result.rs:973:23 [INFO] [stdout] 18: 0x55eb401ec932 - yith::exchanges::oasis::read_abi::h6df2acea057d49de [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:158:16 [INFO] [stdout] 19: 0x55eb401f6abb - yith::exchanges::oasis::tests::test_build_abi_data::hb0029787ca9ff23e [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:387:24 [INFO] [stdout] 20: 0x55eb401f6a6a - yith::exchanges::oasis::tests::test_build_abi_data::{{closure}}::h9454eb0fa6f55482 [INFO] [stdout] at /opt/rustwide/workdir/src/exchanges/oasis.rs:385:5 [INFO] [stdout] 21: 0x55eb401e89de - core::ops::function::FnOnce::call_once::h330f3bd8176c3cf2 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55eb4022f283 - core::ops::function::FnOnce::call_once::hdbd2235b6243db3d [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x55eb4022f283 - test::__rust_begin_short_backtrace::hb1dea1c208110812 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:517:5 [INFO] [stdout] 24: 0x55eb4022d72a - as core::ops::function::FnOnce>::call_once::h5d11a40efef721f2 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 25: 0x55eb4022d72a - as core::ops::function::FnOnce<()>>::call_once::h23961df98af0bc5a [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:322:9 [INFO] [stdout] 26: 0x55eb4022d72a - std::panicking::try::do_call::h6390646e3de3fb9e [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40 [INFO] [stdout] 27: 0x55eb4022d72a - std::panicking::try::hc531439ab6159192 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19 [INFO] [stdout] 28: 0x55eb4022d72a - std::panic::catch_unwind::h859d8bdaf9b4855c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14 [INFO] [stdout] 29: 0x55eb4022d72a - test::run_test_in_process::hae60aa74417e3abc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:544:18 [INFO] [stdout] 30: 0x55eb4022d72a - test::run_test::run_test_inner::{{closure}}::hf48c86652c4a151d [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:450:39 [INFO] [stdout] 31: 0x55eb40206ab6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb82b392232b8bd1f [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x55eb4020bab3 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h79ca9e9abe157956 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 33: 0x55eb4020bab3 - as core::ops::function::FnOnce<()>>::call_once::ha12f1f228780a4f7 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:322:9 [INFO] [stdout] 34: 0x55eb4020bab3 - std::panicking::try::do_call::h722bb7416d021cdc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40 [INFO] [stdout] 35: 0x55eb4020bab3 - std::panicking::try::h78e5abca71ac7cac [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19 [INFO] [stdout] 36: 0x55eb4020bab3 - std::panic::catch_unwind::h95162588bd0fa090 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14 [INFO] [stdout] 37: 0x55eb4020bab3 - std::thread::Builder::spawn_unchecked::{{closure}}::h64da5c4b9acc58dc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 38: 0x55eb4020bab3 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7a8c588ad0b69edb [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55eb4031d16a - as core::ops::function::FnOnce>::call_once::h09ff301006f1aeca [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 40: 0x55eb4031d16a - as core::ops::function::FnOnce>::call_once::he79488c8f00b5f31 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 41: 0x55eb4031d16a - std::sys::unix::thread::Thread::new::thread_start::h587efff279c68ba7 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 42: 0x7fed32659609 - start_thread [INFO] [stdout] 43: 0x7fed32429293 - 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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "06ab4f50c826ee7a3d9cde0f64bff328bd493b90f2ce99b31710c066926e9119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ab4f50c826ee7a3d9cde0f64bff328bd493b90f2ce99b31710c066926e9119", kill_on_drop: false }` [INFO] [stdout] 06ab4f50c826ee7a3d9cde0f64bff328bd493b90f2ce99b31710c066926e9119