[INFO] fetching crate iyzipay-rust 0.1.2... [INFO] testing iyzipay-rust-0.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate iyzipay-rust 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate iyzipay-rust 0.1.2 [INFO] finished tweaking crates.io crate iyzipay-rust 0.1.2 [INFO] tweaked toml for crates.io crate iyzipay-rust 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate iyzipay-rust 0.1.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 215 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.12.3 (available: v0.22.1) [INFO] [stderr] Adding bigdecimal v0.2.2 (available: v0.4.10) [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.10) [INFO] [stderr] Adding hmac v0.9.0 (available: v0.13.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.10.0) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.13.2) [INFO] [stderr] Adding sha1 v0.6.1 (available: v0.11.0) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.11.0) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.23.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99175eb0eaba3ca47e5257864dba0a09bcfec4902974944e664d9f1326dc2419 [INFO] running `Command { std: "docker" "start" "-a" "99175eb0eaba3ca47e5257864dba0a09bcfec4902974944e664d9f1326dc2419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99175eb0eaba3ca47e5257864dba0a09bcfec4902974944e664d9f1326dc2419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99175eb0eaba3ca47e5257864dba0a09bcfec4902974944e664d9f1326dc2419", kill_on_drop: false }` [INFO] [stdout] 99175eb0eaba3ca47e5257864dba0a09bcfec4902974944e664d9f1326dc2419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ad1de457de2bcb5962f0c453568776ebc9e316f8995668ca42225ffb9e59035 [INFO] running `Command { std: "docker" "start" "-a" "8ad1de457de2bcb5962f0c453568776ebc9e316f8995668ca42225ffb9e59035", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling bigdecimal v0.2.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling iyzipay-rust v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/requests/request.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | &mut self.0.push_str(value.into().as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 211 | let _ = &mut self.0.push_str(value.into().as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.01s [INFO] running `Command { std: "docker" "inspect" "8ad1de457de2bcb5962f0c453568776ebc9e316f8995668ca42225ffb9e59035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ad1de457de2bcb5962f0c453568776ebc9e316f8995668ca42225ffb9e59035", kill_on_drop: false }` [INFO] [stdout] 8ad1de457de2bcb5962f0c453568776ebc9e316f8995668ca42225ffb9e59035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3681d9ab3cdbdc35516542d8178620913238a4d580c6a61bcfb5d8a7ab0a3955 [INFO] running `Command { std: "docker" "start" "-a" "3681d9ab3cdbdc35516542d8178620913238a4d580c6a61bcfb5d8a7ab0a3955", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/requests/request.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | &mut self.0.push_str(value.into().as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 211 | let _ = &mut self.0.push_str(value.into().as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling iyzipay-rust v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `api_key` not defined at compile time [INFO] [stdout] --> tests/mod.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | options.set_api_key(env!("api_key")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("api_key")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `secret_key` not defined at compile time [INFO] [stdout] --> tests/mod.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | options.set_secret_key(env!("secret_key")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("secret_key")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `base_url` not defined at compile time [INFO] [stdout] --> tests/mod.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | options.set_base_url(env!("base_url")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("base_url")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iyzipay-rust` (test "mod") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/requests/request.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | &mut self.0.push_str(value.into().as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 211 | let _ = &mut self.0.push_str(value.into().as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3681d9ab3cdbdc35516542d8178620913238a4d580c6a61bcfb5d8a7ab0a3955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3681d9ab3cdbdc35516542d8178620913238a4d580c6a61bcfb5d8a7ab0a3955", kill_on_drop: false }` [INFO] [stdout] 3681d9ab3cdbdc35516542d8178620913238a4d580c6a61bcfb5d8a7ab0a3955