[INFO] fetching crate near-primitives-core-v01 0.1.0...
[INFO] checking near-primitives-core-v01-0.1.0 against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] extracting crate near-primitives-core-v01 0.1.0 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate near-primitives-core-v01 0.1.0
[INFO] finished tweaking crates.io crate near-primitives-core-v01 0.1.0
[INFO] tweaked toml for crates.io crate near-primitives-core-v01 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate near-primitives-core-v01 0.1.0 on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "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" "+a5689b034ad287112f709693384a37f1377eb9cc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 48 packages to highest compatible versions
[INFO] [stderr]       Adding base64 v0.11.0 (available: v0.23.1)
[INFO] [stderr]       Adding borsh v0.9.3 (available: v1.8.1)
[INFO] [stderr]       Adding bs58 v0.4.0 (available: v0.5.1)
[INFO] [stderr]       Adding derive_more v0.99.20 (available: v2.1.1)
[INFO] [stderr]       Adding near-account-id v0.1.0 (available: v3.0.0)
[INFO] [stderr]       Adding num-rational v0.3.2 (available: v0.4.2)
[INFO] [stderr]       Adding sha2 v0.9.9 (available: v0.11.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:47:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | homepage = "https://github.com/nearprotocol/nearcore"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 | repository = "https://github.com/nearprotocol/nearcore"
[INFO] [stderr]    |              ------------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `near-primitives-core-v01` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f4e23e5c4f433ecc3fcda07c2c4a88847e897ed969fce68eba613185fb09e433
[INFO] running `Command { std: "docker" "start" "f4e23e5c4f433ecc3fcda07c2c4a88847e897ed969fce68eba613185fb09e433", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4e23e5c4f433ecc3fcda07c2c4a88847e897ed969fce68eba613185fb09e433", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f4e23e5c4f433ecc3fcda07c2c4a88847e897ed969fce68eba613185fb09e433" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4e23e5c4f433ecc3fcda07c2c4a88847e897ed969fce68eba613185fb09e433", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f4e23e5c4f433ecc3fcda07c2c4a88847e897ed969fce68eba613185fb09e433" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:47:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | homepage = "https://github.com/nearprotocol/nearcore"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 | repository = "https://github.com/nearprotocol/nearcore"
[INFO] [stderr]    |              ------------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `near-primitives-core-v01` (manifest) generated 1 warning
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]     Checking serde_json v1.0.154
[INFO] [stderr]     Checking num-integer v0.1.47
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]     Checking borsh v0.9.3
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking near-account-id v0.1.0
[INFO] [stderr]     Checking near-primitives-core-v01 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: useless conversion to the same type: `hash::CryptoHash`
[INFO] [stdout]    --> src/hash.rs:171:34
[INFO] [stdout]     |
[INFO] [stdout] 171 |         assert_eq!(decoded.hash, CryptoHash::default().into());
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 171 -         assert_eq!(decoded.hash, CryptoHash::default().into());
[INFO] [stdout] 171 +         assert_eq!(decoded.hash, CryptoHash::default());
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 171 -         assert_eq!(decoded.hash, CryptoHash::default().into());
[INFO] [stdout] 171 +         assert_eq!(decoded.hash, <hash::CryptoHash as Into<_>>::into(CryptoHash::default()));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `hash::CryptoHash`
[INFO] [stdout]    --> src/hash.rs:178:34
[INFO] [stdout]     |
[INFO] [stdout] 178 |         assert_eq!(decoded.hash, hash(&[0, 1, 2]).into());
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 178 -         assert_eq!(decoded.hash, hash(&[0, 1, 2]).into());
[INFO] [stdout] 178 +         assert_eq!(decoded.hash, hash(&[0, 1, 2]));
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 178 -         assert_eq!(decoded.hash, hash(&[0, 1, 2]).into());
[INFO] [stdout] 178 +         assert_eq!(decoded.hash, <hash::CryptoHash as Into<_>>::into(hash(&[0, 1, 2])));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `near-primitives-core-v01` (lib test) due to 2 previous errors
[INFO] [stderr] warning: unused dependency `hex`
[INFO] [stderr]   --> Cargo.toml:13:15
[INFO] [stderr]    |
[INFO] [stderr] 13 | [dependencies.hex]
[INFO] [stderr]    |               ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `hex`
[INFO] [stderr] warning: unused dependency `lazy_static`
[INFO] [stderr]   --> Cargo.toml:16:15
[INFO] [stderr]    |
[INFO] [stderr] 16 | [dependencies.lazy_static]
[INFO] [stderr]    |               ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `lazy_static`
[INFO] [stderr] warning: `near-primitives-core-v01` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "inspect" "f4e23e5c4f433ecc3fcda07c2c4a88847e897ed969fce68eba613185fb09e433", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4e23e5c4f433ecc3fcda07c2c4a88847e897ed969fce68eba613185fb09e433", kill_on_drop: false }`
[INFO] [stdout] f4e23e5c4f433ecc3fcda07c2c4a88847e897ed969fce68eba613185fb09e433
