[INFO] fetching crate near-client 0.7.2... [INFO] checking near-client-0.7.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate near-client 0.7.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate near-client 0.7.2 [INFO] finished tweaking crates.io crate near-client 0.7.2 [INFO] tweaked toml for crates.io crate near-client 0.7.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate near-client 0.7.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 282 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding borsh v0.10.4 (available: v1.5.7) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.14.0) [INFO] [stderr] Adding near-primitives-core v0.17.0 (available: v0.31.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding strum v0.24.1 (available: v0.27.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 637975eea246c123b2ad2f586c08c4483a217b735612f688ede254ae587e6e8e [INFO] running `Command { std: "docker" "start" "-a" "637975eea246c123b2ad2f586c08c4483a217b735612f688ede254ae587e6e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "637975eea246c123b2ad2f586c08c4483a217b735612f688ede254ae587e6e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637975eea246c123b2ad2f586c08c4483a217b735612f688ede254ae587e6e8e", kill_on_drop: false }` [INFO] [stdout] 637975eea246c123b2ad2f586c08c4483a217b735612f688ede254ae587e6e8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd5a3becd2fb8a33ebc1f2bb4c8b974475233c20368805a19f229a664e139d5c [INFO] running `Command { std: "docker" "start" "-a" "dd5a3becd2fb8a33ebc1f2bb4c8b974475233c20368805a19f229a664e139d5c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking ring v0.17.14 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Checking near-units-core v0.2.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls v0.21.12 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling near-units-macro v0.2.0 [INFO] [stderr] Checking near-units v0.2.0 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking near-account-id v0.17.0 [INFO] [stderr] Checking near-primitives-core v0.17.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking near-client v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `deepsize_feature` [INFO] [stdout] --> src/near_primitives_light/views.rs:926:12 [INFO] [stdout] | [INFO] [stdout] 926 | #[cfg_attr(feature = "deepsize_feature", derive(deepsize::DeepSizeOf))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deepsize_feature` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `deepsize_feature` [INFO] [stdout] --> src/near_primitives_light/views.rs:926:12 [INFO] [stdout] | [INFO] [stdout] 926 | #[cfg_attr(feature = "deepsize_feature", derive(deepsize::DeepSizeOf))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `deepsize_feature` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:362:10 [INFO] [stdout] | [INFO] [stdout] 362 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 363 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 364 | account_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 367 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden 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 `'a` [INFO] [stdout] | [INFO] [stdout] 367 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 388 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 389 | account_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 390 | public_key: Ed25519PublicKey, [INFO] [stdout] 391 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 391 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:405:10 [INFO] [stdout] | [INFO] [stdout] 405 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 406 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 407 | contract_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 408 | method: &'static str, [INFO] [stdout] 409 | ) -> FunctionCallBuilder { [INFO] [stdout] | ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 409 | ) -> FunctionCallBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 422 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 423 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 424 | contract_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 425 | wasm: Vec, [INFO] [stdout] 426 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 426 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:442:10 [INFO] [stdout] | [INFO] [stdout] 442 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 443 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 444 | new_account_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 447 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 447 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:473:10 [INFO] [stdout] | [INFO] [stdout] 473 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 474 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 475 | account_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 476 | beneficiary_acc_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 477 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 477 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:500:10 [INFO] [stdout] | [INFO] [stdout] 500 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 501 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 502 | receiver_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 503 | deposit: Balance, [INFO] [stdout] 504 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 504 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:725:19 [INFO] [stdout] | [INFO] [stdout] 725 | const fn info(&self) -> &TransactionInfo { [INFO] [stdout] | ^^^^^ ---------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 725 | const fn info(&self) -> &TransactionInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:362:10 [INFO] [stdout] | [INFO] [stdout] 362 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 363 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 364 | account_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 367 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden 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 `'a` [INFO] [stdout] | [INFO] [stdout] 367 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 388 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 389 | account_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 390 | public_key: Ed25519PublicKey, [INFO] [stdout] 391 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 391 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:405:10 [INFO] [stdout] | [INFO] [stdout] 405 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 406 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 407 | contract_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 408 | method: &'static str, [INFO] [stdout] 409 | ) -> FunctionCallBuilder { [INFO] [stdout] | ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 409 | ) -> FunctionCallBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 422 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 423 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 424 | contract_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 425 | wasm: Vec, [INFO] [stdout] 426 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 426 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:442:10 [INFO] [stdout] | [INFO] [stdout] 442 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 443 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 444 | new_account_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 447 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 447 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:473:10 [INFO] [stdout] | [INFO] [stdout] 473 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 474 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 475 | account_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 476 | beneficiary_acc_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 477 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 477 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/client.rs:500:10 [INFO] [stdout] | [INFO] [stdout] 500 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 501 | signer: &'a Signer, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 502 | receiver_id: &'a AccountId, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 503 | deposit: Balance, [INFO] [stdout] 504 | ) -> FunctionCall { [INFO] [stdout] | ------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 504 | ) -> FunctionCall<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client.rs:725:19 [INFO] [stdout] | [INFO] [stdout] 725 | const fn info(&self) -> &TransactionInfo { [INFO] [stdout] | ^^^^^ ---------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 725 | const fn info(&self) -> &TransactionInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use near_workspaces::{network::Sandbox, types::SecretKey, Worker}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use near_workspaces::{network::Sandbox, types::SecretKey, Worker}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | near_workspaces::AccountId::from_str(signer_acc_id).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use near_client::prelude::AccountId; [INFO] [stdout] | [INFO] [stdout] 1 + use near_primitives_core::types::AccountId; [INFO] [stdout] | [INFO] [stdout] help: if you import `AccountId`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 27 - near_workspaces::AccountId::from_str(signer_acc_id).unwrap(), [INFO] [stdout] 27 + AccountId::from_str(signer_acc_id).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `near_client::prelude::SecretKey` in the current scope [INFO] [stdout] --> tests/rpc.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | let workspaces_sk = SecretKey::from_str(&keypair).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `near_client::prelude::SecretKey` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_string` with a similar name [INFO] [stdout] | [INFO] [stdout] 24 | let workspaces_sk = SecretKey::from_string(&keypair).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stdout] --> tests/rpc.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | let target_path = temp_dir().into_path(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | near_workspaces::compile_project(target_path.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:356:18 [INFO] [stdout] | [INFO] [stdout] 356 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:405:18 [INFO] [stdout] | [INFO] [stdout] 405 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:429:18 [INFO] [stdout] | [INFO] [stdout] 429 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 451 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:534:18 [INFO] [stdout] | [INFO] [stdout] 534 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:558:18 [INFO] [stdout] | [INFO] [stdout] 558 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:599:18 [INFO] [stdout] | [INFO] [stdout] 599 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:648:18 [INFO] [stdout] | [INFO] [stdout] 648 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:671:18 [INFO] [stdout] | [INFO] [stdout] 671 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:713:18 [INFO] [stdout] | [INFO] [stdout] 713 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:720:18 [INFO] [stdout] | [INFO] [stdout] 720 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:741:18 [INFO] [stdout] | [INFO] [stdout] 741 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] --> tests/rpc.rs:753:18 [INFO] [stdout] | [INFO] [stdout] 753 | let worker = near_workspaces::sandbox().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_workspaces` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `near_workspaces`, use `cargo add near_workspaces` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `near-client` (test "rpc") due to 24 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dd5a3becd2fb8a33ebc1f2bb4c8b974475233c20368805a19f229a664e139d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd5a3becd2fb8a33ebc1f2bb4c8b974475233c20368805a19f229a664e139d5c", kill_on_drop: false }` [INFO] [stdout] dd5a3becd2fb8a33ebc1f2bb4c8b974475233c20368805a19f229a664e139d5c