[INFO] fetching crate zarinpal 0.1.2... [INFO] testing zarinpal-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate zarinpal 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate zarinpal 0.1.2 [INFO] finished tweaking crates.io crate zarinpal 0.1.2 [INFO] tweaked toml for crates.io crate zarinpal 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zarinpal 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 161 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding typed-builder v0.16.2 (available: v0.23.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad7cdc3082de86e7e8f11f2e4ad6c9694025fba1a49eefe58c3a84cc1d392b15 [INFO] running `Command { std: "docker" "start" "-a" "ad7cdc3082de86e7e8f11f2e4ad6c9694025fba1a49eefe58c3a84cc1d392b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad7cdc3082de86e7e8f11f2e4ad6c9694025fba1a49eefe58c3a84cc1d392b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7cdc3082de86e7e8f11f2e4ad6c9694025fba1a49eefe58c3a84cc1d392b15", kill_on_drop: false }` [INFO] [stdout] ad7cdc3082de86e7e8f11f2e4ad6c9694025fba1a49eefe58c3a84cc1d392b15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e1b3c44cfa673d48f2ed8a0de19ef532d226b89e9141f138f90a4ea48b1928b [INFO] running `Command { std: "docker" "start" "-a" "9e1b3c44cfa673d48f2ed8a0de19ef532d226b89e9141f138f90a4ea48b1928b", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling typed-builder-macro v0.16.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling typed-builder v0.16.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling zarinpal v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:40:60 [INFO] [stdout] | [INFO] [stdout] 40 | method.set_merchant_id_if_needed(self.merchant_id().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/extensions.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 11 | &'z self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 16 | '_, [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 26 | (Option<&Self>,), [INFO] [stdout] | ^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'z` [INFO] [stdout] | [INFO] [stdout] 16 ~ 'z, [INFO] [stdout] 17 | Self, [INFO] [stdout] ... [INFO] [stdout] 25 | (), [INFO] [stdout] 26 ~ (Option<&'z Self>,), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/extensions.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | &'z self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 42 | '_, [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] 43 | Self, [INFO] [stdout] 44 | ((), (u64,), (String,), (Option<&Self>,)), [INFO] [stdout] | ^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'z` [INFO] [stdout] | [INFO] [stdout] 42 ~ 'z, [INFO] [stdout] 43 | Self, [INFO] [stdout] 44 ~ ((), (u64,), (String,), (Option<&'z Self>,)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/extensions.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 54 | &'z self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 55 | ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'_, Self, ((), (Option<&Self>,))> [INFO] [stdout] | ^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'z` [INFO] [stdout] | [INFO] [stdout] 55 - ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'_, Self, ((), (Option<&Self>,))> [INFO] [stdout] 55 + ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'z, Self, ((), (Option<&'z Self>,))> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.28s [INFO] running `Command { std: "docker" "inspect" "9e1b3c44cfa673d48f2ed8a0de19ef532d226b89e9141f138f90a4ea48b1928b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e1b3c44cfa673d48f2ed8a0de19ef532d226b89e9141f138f90a4ea48b1928b", kill_on_drop: false }` [INFO] [stdout] 9e1b3c44cfa673d48f2ed8a0de19ef532d226b89e9141f138f90a4ea48b1928b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41be814adc1dbb6f43ad8a9fc9ee7e26f50b6ffcc9ce009779a65478bd045722 [INFO] running `Command { std: "docker" "start" "-a" "41be814adc1dbb6f43ad8a9fc9ee7e26f50b6ffcc9ce009779a65478bd045722", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling zarinpal v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:40:60 [INFO] [stdout] | [INFO] [stdout] 40 | method.set_merchant_id_if_needed(self.merchant_id().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/extensions.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 11 | &'z self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 16 | '_, [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 26 | (Option<&Self>,), [INFO] [stdout] | ^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'z` [INFO] [stdout] | [INFO] [stdout] 16 ~ 'z, [INFO] [stdout] 17 | Self, [INFO] [stdout] ... [INFO] [stdout] 25 | (), [INFO] [stdout] 26 ~ (Option<&'z Self>,), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/extensions.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | &'z self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 42 | '_, [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] 43 | Self, [INFO] [stdout] 44 | ((), (u64,), (String,), (Option<&Self>,)), [INFO] [stdout] | ^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'z` [INFO] [stdout] | [INFO] [stdout] 42 ~ 'z, [INFO] [stdout] 43 | Self, [INFO] [stdout] 44 ~ ((), (u64,), (String,), (Option<&'z Self>,)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/extensions.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 54 | &'z self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 55 | ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'_, Self, ((), (Option<&Self>,))> [INFO] [stdout] | ^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'z` [INFO] [stdout] | [INFO] [stdout] 55 - ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'_, Self, ((), (Option<&Self>,))> [INFO] [stdout] 55 + ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'z, Self, ((), (Option<&'z Self>,))> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyFuture` is never constructed [INFO] [stdout] --> src/methods/verify.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | struct MyFuture<'a, T>(&'a T); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:40:60 [INFO] [stdout] | [INFO] [stdout] 40 | method.set_merchant_id_if_needed(self.merchant_id().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/extensions.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 11 | &'z self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 16 | '_, [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 26 | (Option<&Self>,), [INFO] [stdout] | ^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'z` [INFO] [stdout] | [INFO] [stdout] 16 ~ 'z, [INFO] [stdout] 17 | Self, [INFO] [stdout] ... [INFO] [stdout] 25 | (), [INFO] [stdout] 26 ~ (Option<&'z Self>,), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/extensions.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | &'z self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 42 | '_, [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] 43 | Self, [INFO] [stdout] 44 | ((), (u64,), (String,), (Option<&Self>,)), [INFO] [stdout] | ^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'z` [INFO] [stdout] | [INFO] [stdout] 42 ~ 'z, [INFO] [stdout] 43 | Self, [INFO] [stdout] 44 ~ ((), (u64,), (String,), (Option<&'z Self>,)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/extensions.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 54 | &'z self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 55 | ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'_, Self, ((), (Option<&Self>,))> [INFO] [stdout] | ^^ ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'z` [INFO] [stdout] | [INFO] [stdout] 55 - ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'_, Self, ((), (Option<&Self>,))> [INFO] [stdout] 55 + ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'z, Self, ((), (Option<&'z Self>,))> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.51s [INFO] running `Command { std: "docker" "inspect" "41be814adc1dbb6f43ad8a9fc9ee7e26f50b6ffcc9ce009779a65478bd045722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41be814adc1dbb6f43ad8a9fc9ee7e26f50b6ffcc9ce009779a65478bd045722", kill_on_drop: false }` [INFO] [stdout] 41be814adc1dbb6f43ad8a9fc9ee7e26f50b6ffcc9ce009779a65478bd045722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f83d6af86fcf5501bd5d0e5589cd5a6eabfa6edba8560449527c7f9511ad9f1 [INFO] running `Command { std: "docker" "start" "-a" "1f83d6af86fcf5501bd5d0e5589cd5a6eabfa6edba8560449527c7f9511ad9f1", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:40:60 [INFO] [stderr] | [INFO] [stderr] 40 | method.set_merchant_id_if_needed(self.merchant_id().clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/extensions.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 11 | &'z self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 16 | '_, [INFO] [stderr] | ^^ the same lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 26 | (Option<&Self>,), [INFO] [stderr] | ^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'z` [INFO] [stderr] | [INFO] [stderr] 16 ~ 'z, [INFO] [stderr] 17 | Self, [INFO] [stderr] ... [INFO] [stderr] 25 | (), [INFO] [stderr] 26 ~ (Option<&'z Self>,), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/extensions.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 38 | &'z self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 42 | '_, [INFO] [stderr] | ^^ the same lifetime is elided here [INFO] [stderr] 43 | Self, [INFO] [stderr] 44 | ((), (u64,), (String,), (Option<&Self>,)), [INFO] [stderr] | ^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'z` [INFO] [stderr] | [INFO] [stderr] 42 ~ 'z, [INFO] [stderr] 43 | Self, [INFO] [stderr] 44 ~ ((), (u64,), (String,), (Option<&'z Self>,)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/extensions.rs:55:64 [INFO] [stderr] | [INFO] [stderr] 54 | &'z self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 55 | ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'_, Self, ((), (Option<&Self>,))> [INFO] [stderr] | ^^ ^^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'z` [INFO] [stderr] | [INFO] [stderr] 55 - ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'_, Self, ((), (Option<&Self>,))> [INFO] [stderr] 55 + ) -> crate::methods::unverified::UnverifiedRequestsBuilder<'z, Self, ((), (Option<&'z Self>,))> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `MyFuture` is never constructed [INFO] [stderr] --> src/methods/verify.rs:131:12 [INFO] [stderr] | [INFO] [stderr] 131 | struct MyFuture<'a, T>(&'a T); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `zarinpal` (lib) generated 4 warnings (run `cargo fix --lib -p zarinpal` to apply 4 suggestions) [INFO] [stderr] warning: `zarinpal` (lib test) generated 5 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zarinpal-04bc9362f3f24141) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test results::__private::tests::test_1 ... ok [INFO] [stdout] test results::request::tests::test_deserialization ... ok [INFO] [stdout] test results::unverified::tests::test_deserialization ... ok [INFO] [stdout] test results::__private::tests::test_2 ... ok [INFO] [stdout] test results::verify::tests::test_deserialization ... ok [INFO] [stdout] test results::verify::tests::test_deserialization_with_wages ... ok [INFO] [stdout] test extensions::tests::test_3 ... ok [INFO] [stdout] test extensions::tests::test_2 ... ok [INFO] [stdout] test methods::request::tests::test_serialization_with_currency ... ok [INFO] [stdout] test extensions::tests::test_1 ... ok [INFO] [stdout] test methods::request::tests::test_serialization_with_wages ... ok [INFO] [stdout] test methods::verify::tests::test_serialization ... ok [INFO] [stdout] test methods::request::tests::test_serialization ... ok [INFO] [stdout] test methods::request::tests::test_serialization_with_card_pan ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] Doc-tests zarinpal [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/prelude.rs - prelude (line 4) ... ok [INFO] [stdout] test src/methods/verify.rs - methods::verify::VerifyPayment (line 15) ... FAILED [INFO] [stdout] test src/methods/request.rs - methods::request::RequestPayment (line 61) ... FAILED [INFO] [stdout] test src/methods/verify.rs - methods::verify::VerifyPayment (line 38) ... FAILED [INFO] [stdout] test src/methods/request.rs - methods::request::RequestPayment (line 85) ... FAILED [INFO] [stdout] test src/methods/unverified.rs - methods::unverified::UnverifiedRequests (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - Zarinpal (line 62) ... FAILED [INFO] [stdout] test src/methods/unverified.rs - methods::unverified::UnverifiedRequests (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - Zarinpal (line 83) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/methods/verify.rs - methods::verify::VerifyPayment (line 15) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Error(ParseChar { character: '.', index: 1 }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/methods/request.rs - methods::request::RequestPayment (line 61) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Error(ParseChar { character: '.', index: 1 }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/methods/verify.rs - methods::verify::VerifyPayment (line 38) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Error(ParseChar { character: '.', index: 1 }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/methods/request.rs - methods::request::RequestPayment (line 85) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Error(ParseChar { character: '.', index: 1 }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/methods/unverified.rs - methods::unverified::UnverifiedRequests (line 36) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Error(ParseChar { character: '.', index: 1 }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Zarinpal (line 62) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Error(ParseChar { character: 'x', index: 1 }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/methods/unverified.rs - methods::unverified::UnverifiedRequests (line 15) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Error(ParseChar { character: '.', index: 1 }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Zarinpal (line 83) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Error(ParseChar { character: 'x', index: 1 }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Zarinpal (line 62) [INFO] [stdout] src/lib.rs - Zarinpal (line 83) [INFO] [stdout] src/methods/request.rs - methods::request::RequestPayment (line 61) [INFO] [stdout] src/methods/request.rs - methods::request::RequestPayment (line 85) [INFO] [stdout] src/methods/unverified.rs - methods::unverified::UnverifiedRequests (line 15) [INFO] [stdout] src/methods/unverified.rs - methods::unverified::UnverifiedRequests (line 36) [INFO] [stdout] src/methods/verify.rs - methods::verify::VerifyPayment (line 15) [INFO] [stdout] src/methods/verify.rs - methods::verify::VerifyPayment (line 38) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.57s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1f83d6af86fcf5501bd5d0e5589cd5a6eabfa6edba8560449527c7f9511ad9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f83d6af86fcf5501bd5d0e5589cd5a6eabfa6edba8560449527c7f9511ad9f1", kill_on_drop: false }` [INFO] [stdout] 1f83d6af86fcf5501bd5d0e5589cd5a6eabfa6edba8560449527c7f9511ad9f1