[INFO] fetching crate near-openapi-client 0.5.0... [INFO] testing near-openapi-client-0.5.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate near-openapi-client 0.5.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate near-openapi-client 0.5.0 [INFO] finished tweaking crates.io crate near-openapi-client 0.5.0 [INFO] tweaked toml for crates.io crate near-openapi-client 0.5.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate near-openapi-client 0.5.0 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] crate crates.io crate near-openapi-client 0.5.0 already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 073a99661d320c2c521ab73bc77edc6f70ec993abfb362df1505f2ec80911f82 [INFO] running `Command { std: "docker" "start" "-a" "073a99661d320c2c521ab73bc77edc6f70ec993abfb362df1505f2ec80911f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "073a99661d320c2c521ab73bc77edc6f70ec993abfb362df1505f2ec80911f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "073a99661d320c2c521ab73bc77edc6f70ec993abfb362df1505f2ec80911f82", kill_on_drop: false }` [INFO] [stdout] 073a99661d320c2c521ab73bc77edc6f70ec993abfb362df1505f2ec80911f82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5549e1976f90dd6c6ad6fe7e1d980ccb58ac48352e3fc90a597ba0bf4a1227eb [INFO] running `Command { std: "docker" "start" "-a" "5549e1976f90dd6c6ad6fe7e1d980ccb58ac48352e3fc90a597ba0bf4a1227eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tokio v1.45.1 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections 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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling near-gas v0.3.2 [INFO] [stderr] Compiling near-token v0.3.2 [INFO] [stderr] Compiling near-account-id v1.1.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling progenitor-client v0.11.0 [INFO] [stderr] Compiling near-openapi-types v0.5.0 [INFO] [stderr] Compiling near-openapi-client v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `elided_named_lifetimes` has been renamed to `mismatched_lifetime_syntaxes` [INFO] [stdout] --> src/lib.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | #[allow(elided_named_lifetimes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `mismatched_lifetime_syntaxes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.22s [INFO] running `Command { std: "docker" "inspect" "5549e1976f90dd6c6ad6fe7e1d980ccb58ac48352e3fc90a597ba0bf4a1227eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5549e1976f90dd6c6ad6fe7e1d980ccb58ac48352e3fc90a597ba0bf4a1227eb", kill_on_drop: false }` [INFO] [stdout] 5549e1976f90dd6c6ad6fe7e1d980ccb58ac48352e3fc90a597ba0bf4a1227eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ecb0a1928cdb46f5a95145fa49e204f1c60e0194e71df5b1e92ec716770c9b99 [INFO] running `Command { std: "docker" "start" "-a" "ecb0a1928cdb46f5a95145fa49e204f1c60e0194e71df5b1e92ec716770c9b99", kill_on_drop: false }` [INFO] [stderr] Compiling near-openapi-client v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `elided_named_lifetimes` has been renamed to `mismatched_lifetime_syntaxes` [INFO] [stdout] --> src/lib.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | #[allow(elided_named_lifetimes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `mismatched_lifetime_syntaxes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `elided_named_lifetimes` has been renamed to `mismatched_lifetime_syntaxes` [INFO] [stdout] --> src/lib.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | #[allow(elided_named_lifetimes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `mismatched_lifetime_syntaxes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "ecb0a1928cdb46f5a95145fa49e204f1c60e0194e71df5b1e92ec716770c9b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb0a1928cdb46f5a95145fa49e204f1c60e0194e71df5b1e92ec716770c9b99", kill_on_drop: false }` [INFO] [stdout] ecb0a1928cdb46f5a95145fa49e204f1c60e0194e71df5b1e92ec716770c9b99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f659c7f6a58450e64ea1cf3d945d8e3e5f53c15626d60c6f37cabed255ec89e6 [INFO] running `Command { std: "docker" "start" "-a" "f659c7f6a58450e64ea1cf3d945d8e3e5f53c15626d60c6f37cabed255ec89e6", kill_on_drop: false }` [INFO] [stderr] warning: lint `elided_named_lifetimes` has been renamed to `mismatched_lifetime_syntaxes` [INFO] [stderr] --> src/lib.rs:458:9 [INFO] [stderr] | [INFO] [stderr] 458 | #[allow(elided_named_lifetimes)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `mismatched_lifetime_syntaxes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `near-openapi-client` (lib) generated 1 warning (run `cargo fix --lib -p near-openapi-client` to apply 1 suggestion) [INFO] [stderr] warning: `near-openapi-client` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/near_openapi_client-21797d6f8cfd880e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests near_openapi_client [INFO] [stderr] warning: lint `elided_named_lifetimes` has been renamed to `mismatched_lifetime_syntaxes` [INFO] [stderr] --> src/lib.rs:458:9 [INFO] [stderr] | [INFO] [stderr] 458 | #[allow(elided_named_lifetimes)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `mismatched_lifetime_syntaxes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 42) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - (line 17) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 42) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found keyword `for` [INFO] [stdout] --> src/lib.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | response for block_final: Variant0 { [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `add` [INFO] [stdout] --> src/lib.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | cargo add near-openapi-client [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `NEAR_RPC_URL_LOCAL` in this scope [INFO] [stdout] --> src/lib.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 22 | const NEAR_RPC_URL_REMOTE: &str = "https://archival-rpc.mainnet.near.org"; [INFO] [stdout] | -------------------------------------------------------------------------- similarly named constant `NEAR_RPC_URL_REMOTE` defined here [INFO] [stdout] 23 | let client_remote = client::Client::new(NEAR_RPC_URL_LOCAL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `NEAR_RPC_URL_REMOTE` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsonRpcResponseForRpcBlockResponseAndRpcError` in crate `client::types` [INFO] [stdout] --> src/lib.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | let block_final: client::types::JsonRpcResponseForRpcBlockResponseAndRpcError = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `JsonRpcResponseForRpcBlockResponseAndRpcBlockError` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-openapi-types-0.5.0/src/lib.rs:16050:1 [INFO] [stdout] | [INFO] [stdout] 16050 | pub enum JsonRpcResponseForRpcBlockResponseAndRpcBlockError { [INFO] [stdout] | ----------------------------------------------------------- similarly named enum `JsonRpcResponseForRpcBlockResponseAndRpcBlockError` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client_local` in this scope [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | client_local.block(&payload_block_final).await?.into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 35 | client_local.block(&payload_block_final).await?.into_inner(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] src/lib.rs - (line 42) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f659c7f6a58450e64ea1cf3d945d8e3e5f53c15626d60c6f37cabed255ec89e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f659c7f6a58450e64ea1cf3d945d8e3e5f53c15626d60c6f37cabed255ec89e6", kill_on_drop: false }` [INFO] [stdout] f659c7f6a58450e64ea1cf3d945d8e3e5f53c15626d60c6f37cabed255ec89e6