[INFO] cloning repository https://github.com/jong-un-crypto/near-primitives [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jong-un-crypto/near-primitives" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjong-un-crypto%2Fnear-primitives", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjong-un-crypto%2Fnear-primitives'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b60112849ecd79ce7a99ed7732fc02e1c7afb743 [INFO] testing jong-un-crypto/near-primitives against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjong-un-crypto%2Fnear-primitives" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jong-un-crypto/near-primitives on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jong-un-crypto/near-primitives [INFO] finished tweaking git repo https://github.com/jong-un-crypto/near-primitives [INFO] tweaked toml for git repo https://github.com/jong-un-crypto/near-primitives written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jong-un-crypto/near-primitives 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5d81be0022cad5633326ed15c2d38e7207fccb19a40df76a8189851e1a2fcbb [INFO] running `Command { std: "docker" "start" "-a" "f5d81be0022cad5633326ed15c2d38e7207fccb19a40df76a8189851e1a2fcbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5d81be0022cad5633326ed15c2d38e7207fccb19a40df76a8189851e1a2fcbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d81be0022cad5633326ed15c2d38e7207fccb19a40df76a8189851e1a2fcbb", kill_on_drop: false }` [INFO] [stdout] f5d81be0022cad5633326ed15c2d38e7207fccb19a40df76a8189851e1a2fcbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3070e7f887b1e9d2777f3c9746a43ae93203d49e422c0d9dbac8fba98028fee1 [INFO] running `Command { std: "docker" "start" "-a" "3070e7f887b1e9d2777f3c9746a43ae93203d49e422c0d9dbac8fba98028fee1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling json_comments v0.2.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling unsafe-libyaml v0.2.10 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling near-stdx v0.17.0 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling arbitrary v1.3.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling near-config-utils v0.17.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling near-rpc-error-core v0.17.0 [INFO] [stderr] Compiling serde_with v3.4.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling bytesize v1.3.0 [INFO] [stderr] Compiling serde_yaml v0.9.30 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling near-rpc-error-macro v0.17.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling near-account-id v0.17.0 [INFO] [stderr] Compiling near-primitives-core v0.17.0 [INFO] [stderr] Compiling near-crypto v0.17.0 [INFO] [stderr] Compiling near-vm-errors v0.17.0 [INFO] [stderr] Compiling near-fmt v0.17.0 [INFO] [stderr] Compiling near-primitives v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `near_primitives_core::runtime::*` [INFO] [stdout] --> src/runtime/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use near_primitives_core::runtime::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/static_clock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/upgrade_schedule.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | Self { timestamp: DateTime::::from_utc(Default::default(), Utc) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/upgrade_schedule.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | timestamp: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/utils.rs:414:15 [INFO] [stdout] | [INFO] [stdout] 414 | DateTime::from_utc(naive, chrono::Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/utils.rs:419:10 [INFO] [stdout] | [INFO] [stdout] 419 | time.timestamp_nanos() as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "3070e7f887b1e9d2777f3c9746a43ae93203d49e422c0d9dbac8fba98028fee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3070e7f887b1e9d2777f3c9746a43ae93203d49e422c0d9dbac8fba98028fee1", kill_on_drop: false }` [INFO] [stdout] 3070e7f887b1e9d2777f3c9746a43ae93203d49e422c0d9dbac8fba98028fee1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b7b2d0cf62966b9ee29dfa20fd40b0f58a2e472dc3ae5d61b3dc93e104049ed [INFO] running `Command { std: "docker" "start" "-a" "9b7b2d0cf62966b9ee29dfa20fd40b0f58a2e472dc3ae5d61b3dc93e104049ed", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling similar v2.4.0 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: unused import: `near_primitives_core::runtime::*` [INFO] [stdout] --> src/runtime/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use near_primitives_core::runtime::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/static_clock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/upgrade_schedule.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | Self { timestamp: DateTime::::from_utc(Default::default(), Utc) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/upgrade_schedule.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | timestamp: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/utils.rs:414:15 [INFO] [stdout] | [INFO] [stdout] 414 | DateTime::from_utc(naive, chrono::Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/utils.rs:419:10 [INFO] [stdout] | [INFO] [stdout] 419 | time.timestamp_nanos() as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling insta v1.34.0 [INFO] [stderr] Compiling near-primitives v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `near_primitives_core::runtime::*` [INFO] [stdout] --> src/runtime/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use near_primitives_core::runtime::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/static_clock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BorshDeserialize` is imported redundantly [INFO] [stdout] --> src/transaction.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 592 | use super::*; [INFO] [stdout] | -------- the item `BorshDeserialize` is already imported here [INFO] [stdout] 593 | use crate::account::{AccessKeyPermission, FunctionCallPermission}; [INFO] [stdout] 594 | use borsh::BorshDeserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Signature` is imported redundantly [INFO] [stdout] --> src/transaction.rs:595:48 [INFO] [stdout] | [INFO] [stdout] 592 | use super::*; [INFO] [stdout] | -------- the item `Signature` is already imported here [INFO] [stdout] ... [INFO] [stdout] 595 | use near_crypto::{InMemorySigner, KeyType, Signature, Signer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde; [INFO] [stdout] | ^^^^^ the item `serde` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/upgrade_schedule.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | Self { timestamp: DateTime::::from_utc(Default::default(), Utc) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/upgrade_schedule.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | timestamp: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/utils.rs:414:15 [INFO] [stdout] | [INFO] [stdout] 414 | DateTime::from_utc(naive, chrono::Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/utils.rs:419:10 [INFO] [stdout] | [INFO] [stdout] 419 | time.timestamp_nanos() as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.56s [INFO] running `Command { std: "docker" "inspect" "9b7b2d0cf62966b9ee29dfa20fd40b0f58a2e472dc3ae5d61b3dc93e104049ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7b2d0cf62966b9ee29dfa20fd40b0f58a2e472dc3ae5d61b3dc93e104049ed", kill_on_drop: false }` [INFO] [stdout] 9b7b2d0cf62966b9ee29dfa20fd40b0f58a2e472dc3ae5d61b3dc93e104049ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b51d3a04aab3e277483c4b606b6c2537f21f9f799f9a0b15195a430a5a650717 [INFO] running `Command { std: "docker" "start" "-a" "b51d3a04aab3e277483c4b606b6c2537f21f9f799f9a0b15195a430a5a650717", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `near_primitives_core::runtime::*` [INFO] [stderr] --> src/runtime/mod.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub use near_primitives_core::runtime::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `chrono` is imported redundantly [INFO] [stderr] --> src/static_clock.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use chrono; [INFO] [stderr] | ^^^^^^ the item `chrono` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `AsRef` is imported redundantly [INFO] [stderr] --> src/utils.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::convert::AsRef; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `AsRef` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `chrono` is imported redundantly [INFO] [stderr] --> src/utils.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono; [INFO] [stderr] | ^^^^^^ the item `chrono` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `serde` is imported redundantly [INFO] [stderr] --> src/utils.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use serde; [INFO] [stderr] | ^^^^^ the item `serde` is already defined here [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/upgrade_schedule.rs:14:44 [INFO] [stderr] | [INFO] [stderr] 14 | Self { timestamp: DateTime::::from_utc(Default::default(), Utc) } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/upgrade_schedule.rs:44:41 [INFO] [stderr] | [INFO] [stderr] 44 | timestamp: DateTime::::from_utc( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/utils.rs:414:15 [INFO] [stderr] | [INFO] [stderr] 414 | DateTime::from_utc(naive, chrono::Utc) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stderr] --> src/utils.rs:419:10 [INFO] [stderr] | [INFO] [stderr] 419 | time.timestamp_nanos() as u64 [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `BorshDeserialize` is imported redundantly [INFO] [stderr] --> src/transaction.rs:594:9 [INFO] [stderr] | [INFO] [stderr] 592 | use super::*; [INFO] [stderr] | -------- the item `BorshDeserialize` is already imported here [INFO] [stderr] 593 | use crate::account::{AccessKeyPermission, FunctionCallPermission}; [INFO] [stderr] 594 | use borsh::BorshDeserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Signature` is imported redundantly [INFO] [stderr] --> src/transaction.rs:595:48 [INFO] [stderr] | [INFO] [stderr] 592 | use super::*; [INFO] [stderr] | -------- the item `Signature` is already imported here [INFO] [stderr] ... [INFO] [stderr] 595 | use near_crypto::{InMemorySigner, KeyType, Signature, Signer}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `near-primitives` (lib) generated 9 warnings (run `cargo fix --lib -p near-primitives` to apply 1 suggestion) [INFO] [stderr] warning: `near-primitives` (lib test) generated 11 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/near_primitives-1c96cc65b31f5626) [INFO] [stdout] [INFO] [stdout] running 70 tests [INFO] [stdout] test merkle::tests::test_combine_hash_stability ... ok [INFO] [stdout] test delegate_action::tests::test_delegate_action_deserialization ... ok [INFO] [stdout] test merkle::tests::test_elements_order ... ok [INFO] [stdout] test delegate_action::tests::test_delegate_action_deserialization_hard_coded ... ok [INFO] [stdout] test merkle::tests::test_incorrect_path ... ok [INFO] [stdout] test rand::test::test_should_correctly_compute_odds_and_aliases ... ok [INFO] [stdout] test merkle::tests::test_merkle_tree ... ok [INFO] [stdout] test merkle::tests::test_merkle_path ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_invalid_key_in_diff ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_no_key ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_basic_parameter_table_weird_syntax ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_basic_parameter_table ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_no_key_in_diff ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_empty_parameter_table ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_invalid_key ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_no_old_value ... ok [INFO] [stdout] test runtime::config_store::tests::test_lower_data_receipt_cost ... ok [INFO] [stdout] test runtime::config_store::tests::test_lower_max_length_storage_key ... ok [INFO] [stdout] test runtime::config_store::tests::test_lower_ecrecover_base_cost ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_with_diff ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_with_empty_value ... ok [INFO] [stdout] test runtime::config_store::tests::test_lower_storage_cost ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_wrong_separator_in_diff ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_wrong_old_value ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_old_parameter_undefined ... ok [INFO] [stdout] test runtime::config_store::tests::test_max_prepaid_gas ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_with_diffs ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_yaml_map ... ok [INFO] [stdout] test shard_layout::tests::test_shard_layout_v1 ... ok [INFO] [stdout] test runtime::parameter_table::tests::test_parameter_table_wrong_separator ... ok [INFO] [stdout] test transaction::tests::test_outcome_to_hashes ... ok [INFO] [stdout] test signable_message::tests::nep_366_wrong_nep ... ok [INFO] [stdout] test signable_message::tests::nep_366_ok ... ok [INFO] [stdout] test signable_message::tests::nep_366_wrong_msg_type ... ok [INFO] [stdout] test shard_layout::tests::test_shard_layout_v0 ... ok [INFO] [stdout] test trie_key::tests::test_key_for_code_consistency ... ok [INFO] [stdout] test runtime::config_store::tests::test_override_runtime_config ... ok [INFO] [stdout] test trie_key::tests::test_key_for_delayed_receipts_consistency ... ok [INFO] [stdout] test trie_key::tests::test_key_for_data_consistency ... ok [INFO] [stdout] test state::tests::test_encode_decode ... ok [INFO] [stdout] test transaction::tests::test_serialize_transaction ... ok [INFO] [stdout] test trie_key::tests::test_key_for_pending_data_count_consistency ... ok [INFO] [stdout] test runtime::config_store::tests::test_override_account_length ... ok [INFO] [stdout] test trie_key::tests::test_account_id_from_trie_key ... ok [INFO] [stdout] test trie_key::tests::test_key_for_postponed_receipt_consistency ... ok [INFO] [stdout] test trie_key::tests::test_key_for_access_key_consistency ... ok [INFO] [stdout] test trie_key::tests::test_key_for_account_consistency ... ok [INFO] [stdout] test transaction::tests::test_verify_transaction ... ok [INFO] [stdout] test trie_key::tests::test_key_for_postponed_receipt_id_consistency ... ok [INFO] [stdout] test trie_key::tests::test_key_for_received_data_consistency ... ok [INFO] [stdout] test upgrade_schedule::tests::test_after_scheduled_time ... ok [INFO] [stdout] test upgrade_schedule::tests::test_is_in_future ... ok [INFO] [stdout] test upgrade_schedule::tests::test_none_upgrade_schedule ... ok [INFO] [stdout] test upgrade_schedule::tests::test_parse ... ok [INFO] [stdout] test upgrade_schedule::tests::test_before_scheduled_time ... ok [INFO] [stdout] test utils::min_heap::tests::test_peek ... ok [INFO] [stdout] test utils::min_heap::tests::test_collect_pop ... ok [INFO] [stdout] test utils::min_heap::tests::test_push_pop ... ok [INFO] [stdout] test utils::min_heap::tests::test_peek_mut ... ok [INFO] [stdout] test utils::min_heap::tests::test_push_pop_push ... ok [INFO] [stdout] test upgrade_schedule::tests::test_env_overwrite ... ok [INFO] [stdout] test utils::tests::test_create_hash_upgradable ... ok [INFO] [stdout] test upgrade_schedule::tests::test_no_upgrade_schedule ... ok [INFO] [stdout] test utils::tests::test_num_chunk_producers ... ok [INFO] [stdout] test views::tests::test_exec_metadata_v1_view ... ok [INFO] [stdout] test views::tests::test_exec_metadata_v3_view ... ok [INFO] [stdout] test views::tests::test_exec_metadata_v2_view ... ok [INFO] [stdout] test views::tests::test_runtime_config_view ... ok [INFO] [stdout] test runtime::config_store::tests::test_json_unchanged ... ok [INFO] [stdout] test rand::test::test_sample_should_produce_correct_distribution ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 70 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests near-primitives [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/static_clock.rs - static_clock::chrono (line 12) ... ignored [INFO] [stdout] test src/utils.rs - utils::MaybeValidated (line 32) ... ignored [INFO] [stdout] test src/utils.rs - utils::MaybeValidated::as_ref (line 139) ... ok [INFO] [stdout] test src/utils.rs - utils::MaybeValidated::validate_with (line 87) ... ok [INFO] [stdout] test src/utils.rs - utils::MaybeValidated::from_validated (line 68) ... ok [INFO] [stdout] test src/utils.rs - utils::MaybeValidated::map (line 123) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b51d3a04aab3e277483c4b606b6c2537f21f9f799f9a0b15195a430a5a650717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b51d3a04aab3e277483c4b606b6c2537f21f9f799f9a0b15195a430a5a650717", kill_on_drop: false }` [INFO] [stdout] b51d3a04aab3e277483c4b606b6c2537f21f9f799f9a0b15195a430a5a650717