[INFO] crate iyzipay-rust 0.1.1 is already in cache [INFO] testing iyzipay-rust-0.1.1 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate iyzipay-rust 0.1.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate iyzipay-rust 0.1.1 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate iyzipay-rust 0.1.1 [INFO] finished tweaking crates.io crate iyzipay-rust 0.1.1 [INFO] tweaked toml for crates.io crate iyzipay-rust 0.1.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 02f2f83f01777b7cf9dc76c8291592b38117ef6528c246dc757a0439aa188a72 [INFO] running `"docker" "start" "-a" "02f2f83f01777b7cf9dc76c8291592b38117ef6528c246dc757a0439aa188a72"` [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling bigdecimal v0.0.15 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling iyzipay-rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:30:89 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn post(&mut self, url: &str, request: String, header_map: HeaderMap) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:40:88 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn put(&mut self, url: &str, request: String, header_map: HeaderMap) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:50:91 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn delete(&mut self, url: &str, request: String, header_map: HeaderMap) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:60:79 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn get(&mut self, url: &str, header_map: Option) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:3:49 [INFO] [stderr] | [INFO] [stderr] 3 | pub type Result = std::result::Result>; [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 43s [INFO] running `"docker" "inspect" "02f2f83f01777b7cf9dc76c8291592b38117ef6528c246dc757a0439aa188a72"` [INFO] running `"docker" "rm" "-f" "02f2f83f01777b7cf9dc76c8291592b38117ef6528c246dc757a0439aa188a72"` [INFO] [stdout] 02f2f83f01777b7cf9dc76c8291592b38117ef6528c246dc757a0439aa188a72 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0d1d7487d10de8ca9147a064a2dc2746c75bec1c3dceaf40bfc94e74d205e11d [INFO] running `"docker" "start" "-a" "0d1d7487d10de8ca9147a064a2dc2746c75bec1c3dceaf40bfc94e74d205e11d"` [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:30:89 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn post(&mut self, url: &str, request: String, header_map: HeaderMap) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:40:88 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn put(&mut self, url: &str, request: String, header_map: HeaderMap) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:50:91 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn delete(&mut self, url: &str, request: String, header_map: HeaderMap) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:60:79 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn get(&mut self, url: &str, header_map: Option) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:3:49 [INFO] [stderr] | [INFO] [stderr] 3 | pub type Result = std::result::Result>; [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Compiling iyzipay-rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] error: environment variable `api_key` not defined [INFO] [stderr] --> tests/mod.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | options.set_api_key(env!("api_key")); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: environment variable `secret_key` not defined [INFO] [stderr] --> tests/mod.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | options.set_secret_key(env!("secret_key")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: environment variable `base_url` not defined [INFO] [stderr] --> tests/mod.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | options.set_base_url(env!("base_url")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> tests/sample/installment_sample.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:30:89 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn post(&mut self, url: &str, request: String, header_map: HeaderMap) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:40:88 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn put(&mut self, url: &str, request: String, header_map: HeaderMap) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:50:91 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn delete(&mut self, url: &str, request: String, header_map: HeaderMap) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/client.rs:60:79 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn get(&mut self, url: &str, header_map: Option) -> Result<(Response)> { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:3:49 [INFO] [stderr] | [INFO] [stderr] 3 | pub type Result = std::result::Result>; [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `iyzipay-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "0d1d7487d10de8ca9147a064a2dc2746c75bec1c3dceaf40bfc94e74d205e11d"` [INFO] running `"docker" "rm" "-f" "0d1d7487d10de8ca9147a064a2dc2746c75bec1c3dceaf40bfc94e74d205e11d"` [INFO] [stdout] 0d1d7487d10de8ca9147a064a2dc2746c75bec1c3dceaf40bfc94e74d205e11d