[INFO] fetching crate near-primitives-core 0.32.0... [INFO] testing near-primitives-core-0.32.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate near-primitives-core 0.32.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate near-primitives-core 0.32.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded borsh v1.5.3 [INFO] [stderr] Downloaded near-schema-checker-core v0.32.0 [INFO] [stderr] Downloaded schemars_derive v1.0.0-alpha.17 [INFO] [stderr] Downloaded pest_derive v2.4.0 [INFO] [stderr] Downloaded pest_generator v2.4.0 [INFO] [stderr] Downloaded similar v2.1.0 [INFO] [stderr] Downloaded borsh-derive v1.5.3 [INFO] [stderr] Downloaded enum-map-derive v0.17.0 [INFO] [stderr] Downloaded enum-map v2.7.3 [INFO] [stderr] Downloaded pest v2.4.0 [INFO] [stderr] Downloaded pest_meta v2.4.0 [INFO] [stderr] Downloaded dissimilar v1.0.4 [INFO] [stderr] Downloaded expect-test v1.3.0 [INFO] [stderr] Downloaded near-account-id v1.1.1 [INFO] [stderr] Downloaded near-schema-checker-macro v0.32.0 [INFO] [stderr] Downloaded winnow v0.6.20 [INFO] [stderr] Downloaded near-schema-checker-lib v0.32.0 [INFO] [stderr] Downloaded insta v1.41.1 [INFO] [stderr] Downloaded dyn-clone v1.0.19 [INFO] [stderr] Downloaded schemars v1.0.0-alpha.17 [INFO] [stderr] Downloaded sha2 v0.10.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e2eb3bb34af75a6e2ab025c6815c588f8a454d29f70f95f49d217b944f15ba7 [INFO] running `Command { std: "docker" "start" "-a" "9e2eb3bb34af75a6e2ab025c6815c588f8a454d29f70f95f49d217b944f15ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e2eb3bb34af75a6e2ab025c6815c588f8a454d29f70f95f49d217b944f15ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2eb3bb34af75a6e2ab025c6815c588f8a454d29f70f95f49d217b944f15ba7", kill_on_drop: false }` [INFO] [stdout] 9e2eb3bb34af75a6e2ab025c6815c588f8a454d29f70f95f49d217b944f15ba7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02d8aa8e42fa3aeee3579c5f3b5ef7e78c78d1f71f7c524f0776f9fbf601d53d [INFO] running `Command { std: "docker" "start" "-a" "02d8aa8e42fa3aeee3579c5f3b5ef7e78c78d1f71f7c524f0776f9fbf601d53d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [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 winnow v0.6.20 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling near-schema-checker-core v0.32.0 [INFO] [stderr] Compiling near-schema-checker-macro v0.32.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling borsh v1.5.3 [INFO] [stderr] Compiling near-schema-checker-lib v0.32.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling toml_edit v0.22.22 [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 derive_more-impl v2.0.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [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 num-rational v0.3.2 [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 10.95s [INFO] running `Command { std: "docker" "inspect" "02d8aa8e42fa3aeee3579c5f3b5ef7e78c78d1f71f7c524f0776f9fbf601d53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02d8aa8e42fa3aeee3579c5f3b5ef7e78c78d1f71f7c524f0776f9fbf601d53d", kill_on_drop: false }` [INFO] [stdout] 02d8aa8e42fa3aeee3579c5f3b5ef7e78c78d1f71f7c524f0776f9fbf601d53d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 187ec435019317aa78a48e28214a425d760266c5a894726c312ee891f13e4b41 [INFO] running `Command { std: "docker" "start" "-a" "187ec435019317aa78a48e28214a425d760266c5a894726c312ee891f13e4b41", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling dissimilar v1.0.4 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling similar v2.1.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling expect-test v1.3.0 [INFO] [stderr] Compiling borsh-derive v1.5.3 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling pest v2.4.0 [INFO] [stderr] Compiling borsh v1.5.3 [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] [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_generator v2.4.0 [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)]` (part of `#[warn(unused)]`) 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 10.00s [INFO] running `Command { std: "docker" "inspect" "187ec435019317aa78a48e28214a425d760266c5a894726c312ee891f13e4b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187ec435019317aa78a48e28214a425d760266c5a894726c312ee891f13e4b41", kill_on_drop: false }` [INFO] [stdout] 187ec435019317aa78a48e28214a425d760266c5a894726c312ee891f13e4b41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 838ed1854a334c561b242cdc4ceb1e50d7e1fd54c74a74d5667aab3de98a3127 [INFO] running `Command { std: "docker" "start" "-a" "838ed1854a334c561b242cdc4ceb1e50d7e1fd54c74a74d5667aab3de98a3127", 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)]` (part of `#[warn(unused)]`) 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.07s [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_with_local_hash_and_global_account_id ... ok [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_serde_deserialization_fails_with_local_and_global_hashes ... 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 account::tests::test_account_v2_borsh_serialization ... ok [INFO] [stdout] test account::tests::test_v1_account_borsh_serialization ... ok [INFO] [stdout] test account::tests::test_v1_account_serde_serialization ... ok [INFO] [stdout] test hash::tests::test_base58_successes ... ok [INFO] [stdout] test hash::tests::test_from_str_failures ... ok [INFO] [stdout] test hash::tests::test_serde_deserialize_failures ... ok [INFO] [stdout] test serialize::test_u128_dec_format ... ok [INFO] [stdout] test serialize::test_option_u128_dec_format ... ok [INFO] [stdout] test hash::tests::test_hash_borsh ... ok [INFO] [stdout] test types::tests::test_shard_id_borsh ... ok [INFO] [stdout] test serialize::test_u64_dec_format ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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" "838ed1854a334c561b242cdc4ceb1e50d7e1fd54c74a74d5667aab3de98a3127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "838ed1854a334c561b242cdc4ceb1e50d7e1fd54c74a74d5667aab3de98a3127", kill_on_drop: false }` [INFO] [stdout] 838ed1854a334c561b242cdc4ceb1e50d7e1fd54c74a74d5667aab3de98a3127