[INFO] fetching crate zarinpal 0.1.2... [INFO] testing zarinpal-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate zarinpal 0.1.2 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zarinpal 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 169 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding typed-builder v0.16.2 (available: v0.21.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8297bd7ffe714652648659dedd07acc0c2f956ddf0f2f75ff98a4d8808588408 [INFO] running `Command { std: "docker" "start" "-a" "8297bd7ffe714652648659dedd07acc0c2f956ddf0f2f75ff98a4d8808588408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8297bd7ffe714652648659dedd07acc0c2f956ddf0f2f75ff98a4d8808588408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8297bd7ffe714652648659dedd07acc0c2f956ddf0f2f75ff98a4d8808588408", kill_on_drop: false }` [INFO] [stdout] 8297bd7ffe714652648659dedd07acc0c2f956ddf0f2f75ff98a4d8808588408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee7091f7097f151b4d2ce168ad33172af98c8a9246b22a5601b01d26976241f7 [INFO] running `Command { std: "docker" "start" "-a" "ee7091f7097f151b4d2ce168ad33172af98c8a9246b22a5601b01d26976241f7", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling typed-builder-macro v0.16.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling typed-builder v0.16.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [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 22.66s [INFO] running `Command { std: "docker" "inspect" "ee7091f7097f151b4d2ce168ad33172af98c8a9246b22a5601b01d26976241f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee7091f7097f151b4d2ce168ad33172af98c8a9246b22a5601b01d26976241f7", kill_on_drop: false }` [INFO] [stdout] ee7091f7097f151b4d2ce168ad33172af98c8a9246b22a5601b01d26976241f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a041361061c757dce70849349acb65775759b43d9b48a3dbda3ae2abb37221e0 [INFO] running `Command { std: "docker" "start" "-a" "a041361061c757dce70849349acb65775759b43d9b48a3dbda3ae2abb37221e0", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [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 18.77s [INFO] running `Command { std: "docker" "inspect" "a041361061c757dce70849349acb65775759b43d9b48a3dbda3ae2abb37221e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a041361061c757dce70849349acb65775759b43d9b48a3dbda3ae2abb37221e0", kill_on_drop: false }` [INFO] [stdout] a041361061c757dce70849349acb65775759b43d9b48a3dbda3ae2abb37221e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dda6365571fa6ce1933a63fe88d0ca2414612547fc446bcefe5ce124b019aa9b [INFO] running `Command { std: "docker" "start" "-a" "dda6365571fa6ce1933a63fe88d0ca2414612547fc446bcefe5ce124b019aa9b", 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-b2311a4da25e168b) [INFO] [stdout] [INFO] [stdout] running 14 tests [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_1 ... ok [INFO] [stdout] test results::verify::tests::test_deserialization ... ok [INFO] [stdout] test results::__private::tests::test_2 ... ok [INFO] [stdout] test results::verify::tests::test_deserialization_with_wages ... ok [INFO] [stdout] test methods::request::tests::test_serialization_with_card_pan ... ok [INFO] [stdout] test methods::verify::tests::test_serialization ... ok [INFO] [stdout] test methods::request::tests::test_serialization_with_currency ... ok [INFO] [stdout] test methods::request::tests::test_serialization ... ok [INFO] [stdout] test extensions::tests::test_3 ... ok [INFO] [stdout] test extensions::tests::test_1 ... ok [INFO] [stdout] test extensions::tests::test_2 ... ok [INFO] [stdout] test methods::request::tests::test_serialization_with_wages ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [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/lib.rs - Zarinpal (line 83) ... FAILED [INFO] [stdout] test src/methods/request.rs - methods::request::RequestPayment (line 85) ... FAILED [INFO] [stdout] test src/lib.rs - Zarinpal (line 62) ... FAILED [INFO] [stdout] test src/methods/unverified.rs - methods::unverified::UnverifiedRequests (line 36) ... FAILED [INFO] [stdout] test src/methods/unverified.rs - methods::unverified::UnverifiedRequests (line 15) ... 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 61) ... 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/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] ---- 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/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 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/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/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 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] [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.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "dda6365571fa6ce1933a63fe88d0ca2414612547fc446bcefe5ce124b019aa9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dda6365571fa6ce1933a63fe88d0ca2414612547fc446bcefe5ce124b019aa9b", kill_on_drop: false }` [INFO] [stdout] dda6365571fa6ce1933a63fe88d0ca2414612547fc446bcefe5ce124b019aa9b