[INFO] fetching crate near-primitives-core 0.32.0... [INFO] testing near-primitives-core-0.32.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate near-primitives-core 0.32.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate near-primitives-core 0.32.0 [INFO] finished tweaking crates.io crate near-primitives-core 0.32.0 [INFO] tweaked toml for crates.io crate near-primitives-core 0.32.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate near-primitives-core 0.32.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate near-primitives-core 0.32.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 618c188ddbb6e917a96ffe2f3e2e386138af4a6fa3035f209f4cec8872ba01d7 [INFO] running `Command { std: "docker" "start" "-a" "618c188ddbb6e917a96ffe2f3e2e386138af4a6fa3035f209f4cec8872ba01d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "618c188ddbb6e917a96ffe2f3e2e386138af4a6fa3035f209f4cec8872ba01d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618c188ddbb6e917a96ffe2f3e2e386138af4a6fa3035f209f4cec8872ba01d7", kill_on_drop: false }` [INFO] [stdout] 618c188ddbb6e917a96ffe2f3e2e386138af4a6fa3035f209f4cec8872ba01d7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 171376d6f75d9fb0462f1419fa7f654ef3fce5e0f961f1743113503026f8606e [INFO] running `Command { std: "docker" "start" "-a" "171376d6f75d9fb0462f1419fa7f654ef3fce5e0f961f1743113503026f8606e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling borsh v1.5.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling near-schema-checker-core v0.32.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling near-schema-checker-macro v0.32.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling near-schema-checker-lib v0.32.0 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling borsh-derive v1.5.3 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling near-account-id v1.1.1 [INFO] [stderr] Compiling near-primitives-core v0.32.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn contract(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | pub fn contract(&self) -> Cow<'_, AccountContract> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.75s [INFO] running `Command { std: "docker" "inspect" "171376d6f75d9fb0462f1419fa7f654ef3fce5e0f961f1743113503026f8606e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "171376d6f75d9fb0462f1419fa7f654ef3fce5e0f961f1743113503026f8606e", kill_on_drop: false }` [INFO] [stdout] 171376d6f75d9fb0462f1419fa7f654ef3fce5e0f961f1743113503026f8606e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbb2bb85294f57c44e5732c59eabfcb69a86cf35fb67d31c00d83fe81cc9df12 [INFO] running `Command { std: "docker" "start" "-a" "dbb2bb85294f57c44e5732c59eabfcb69a86cf35fb67d31c00d83fe81cc9df12", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling borsh-derive v1.5.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling similar v2.1.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling dissimilar v1.0.4 [INFO] [stderr] Compiling expect-test v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling borsh v1.5.3 [INFO] [stderr] Compiling pest v2.4.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling near-account-id v1.1.1 [INFO] [stderr] Compiling near-primitives-core v0.32.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pest_meta v2.4.0 [INFO] [stderr] Compiling pest_generator v2.4.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn contract(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | pub fn contract(&self) -> Cow<'_, AccountContract> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pest_derive v2.4.0 [INFO] [stderr] Compiling insta v1.41.1 [INFO] [stdout] warning: struct `Struct` is never constructed [INFO] [stdout] --> src/hash.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | struct Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn contract(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | pub fn contract(&self) -> Cow<'_, AccountContract> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.95s [INFO] running `Command { std: "docker" "inspect" "dbb2bb85294f57c44e5732c59eabfcb69a86cf35fb67d31c00d83fe81cc9df12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb2bb85294f57c44e5732c59eabfcb69a86cf35fb67d31c00d83fe81cc9df12", kill_on_drop: false }` [INFO] [stdout] dbb2bb85294f57c44e5732c59eabfcb69a86cf35fb67d31c00d83fe81cc9df12 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e44ddfa7282da13c50b32add344491cfee9bbc2334c15defa5b888ca8c1dc1f [INFO] running `Command { std: "docker" "start" "-a" "8e44ddfa7282da13c50b32add344491cfee9bbc2334c15defa5b888ca8c1dc1f", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/account.rs:200:21 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn contract(&self) -> Cow { [INFO] [stderr] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 200 | pub fn contract(&self) -> Cow<'_, AccountContract> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `near-primitives-core` (lib) generated 1 warning (run `cargo fix --lib -p near-primitives-core` to apply 1 suggestion) [INFO] [stderr] warning: struct `Struct` is never constructed [INFO] [stderr] --> src/hash.rs:255:12 [INFO] [stderr] | [INFO] [stderr] 255 | struct Struct { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `near-primitives-core` (lib test) generated 2 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/near_primitives_core-76f560b5f77d4d9f) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test account::tests::test_account_v2_serde_deserialization_fails_if_both_types_of_global_contract_are_present ... ok [INFO] [stdout] test account::tests::test_account_v2_borsh_serialization ... ok [INFO] [stdout] test account::tests::test_account_v2_serde_deserialization_fails_with_local_and_global_hashes ... ok [INFO] [stdout] test account::tests::test_v1_account_serde_serialization ... ok [INFO] [stdout] test account::tests::test_v1_account_borsh_serialization ... ok [INFO] [stdout] test account::tests::test_account_v2_serde_deserialization_fails_with_local_hash_and_global_account_id ... ok [INFO] [stdout] test account::tests::test_account_v2_serde_serialization ... ok [INFO] [stdout] test account::tests::test_account_version_upgrade_behaviour ... ok [INFO] [stdout] test serialize::test_option_u128_dec_format ... ok [INFO] [stdout] test serialize::test_u128_dec_format ... ok [INFO] [stdout] test types::tests::test_shard_id_borsh ... ok [INFO] [stdout] test hash::tests::test_serde_deserialize_failures ... ok [INFO] [stdout] test hash::tests::test_base58_successes ... ok [INFO] [stdout] test serialize::test_u64_dec_format ... ok [INFO] [stdout] test hash::tests::test_from_str_failures ... ok [INFO] [stdout] test hash::tests::test_hash_borsh ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests near_primitives_core [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/types.rs - types::ShardId::new (line 86) ... ignored [INFO] [stdout] test src/types.rs - types::ShardId::new (line 92) ... ignored [INFO] [stdout] test src/hash.rs - hash::hash (line 241) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e44ddfa7282da13c50b32add344491cfee9bbc2334c15defa5b888ca8c1dc1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e44ddfa7282da13c50b32add344491cfee9bbc2334c15defa5b888ca8c1dc1f", kill_on_drop: false }` [INFO] [stdout] 8e44ddfa7282da13c50b32add344491cfee9bbc2334c15defa5b888ca8c1dc1f