[INFO] fetching crate nmt-rs 0.2.5... [INFO] building nmt-rs-0.2.5 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate nmt-rs 0.2.5 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate nmt-rs 0.2.5 [INFO] finished tweaking crates.io crate nmt-rs 0.2.5 [INFO] tweaked toml for crates.io crate nmt-rs 0.2.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nmt-rs 0.2.5 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 101 packages to latest compatible versions [INFO] [stderr] Adding tendermint v0.35.0 (available: v0.40.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postcard v1.1.3 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded cobs v0.3.0 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] [stderr] Downloaded tendermint-proto v0.35.0 [INFO] [stderr] Downloaded ed25519-consensus v2.1.0 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded subtle-ng v2.5.0 [INFO] [stderr] Downloaded tendermint v0.35.0 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded curve25519-dalek-ng v4.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2821e702918ae64e147e1578ba632077d26a92d231e1c711eef7989a2c27dea1 [INFO] running `Command { std: "docker" "start" "-a" "2821e702918ae64e147e1578ba632077d26a92d231e1c711eef7989a2c27dea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2821e702918ae64e147e1578ba632077d26a92d231e1c711eef7989a2c27dea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2821e702918ae64e147e1578ba632077d26a92d231e1c711eef7989a2c27dea1", kill_on_drop: false }` [INFO] [stdout] 2821e702918ae64e147e1578ba632077d26a92d231e1c711eef7989a2c27dea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14ca8537d363e4b20294dfd726a613a03ce170f8565cc0478f2db4f18a42911e [INFO] running `Command { std: "docker" "start" "-a" "14ca8537d363e4b20294dfd726a613a03ce170f8565cc0478f2db4f18a42911e", kill_on_drop: false }` [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling nmt-rs v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "14ca8537d363e4b20294dfd726a613a03ce170f8565cc0478f2db4f18a42911e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14ca8537d363e4b20294dfd726a613a03ce170f8565cc0478f2db4f18a42911e", kill_on_drop: false }` [INFO] [stdout] 14ca8537d363e4b20294dfd726a613a03ce170f8565cc0478f2db4f18a42911e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d563c4e098603a77fc2ce6666e89322ab6237fb6101f714478278827074e54c1 [INFO] running `Command { std: "docker" "start" "-a" "d563c4e098603a77fc2ce6666e89322ab6237fb6101f714478278827074e54c1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling subtle-ng v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling flex-error v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling curve25519-dalek-ng v4.1.1 [INFO] [stderr] Compiling subtle-encoding v0.5.1 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling ed25519-consensus v2.1.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling nmt-rs v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling tendermint-proto v0.35.0 [INFO] [stderr] Compiling tendermint v0.35.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `BorshSerialize` in `borsh` [INFO] [stdout] --> src/namespaced_hash.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg_attr(any(test, feature = "borsh"), derive(borsh::BorshSerialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `BorshSerialize` in `borsh` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/borsh-1.5.7/src/lib.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "derive")] [INFO] [stdout] | ------------------ the item is gated behind the `derive` feature [INFO] [stdout] 17 | pub use borsh_derive::BorshSerialize; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BorshSerialize` in `borsh` [INFO] [stdout] --> src/namespaced_hash.rs:191:56 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg_attr(any(test, feature = "borsh"), derive(borsh::BorshSerialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `BorshSerialize` in `borsh` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/borsh-1.5.7/src/lib.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "derive")] [INFO] [stdout] | ------------------ the item is gated behind the `derive` feature [INFO] [stdout] 17 | pub use borsh_derive::BorshSerialize; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `namespaced_hash::NamespacedHash<8>: BorshSerialize` is not satisfied [INFO] [stdout] --> src/namespaced_hash.rs:405:40 [INFO] [stdout] | [INFO] [stdout] 405 | let serialized = borsh::to_vec(&hash).expect("Serialization to vec must succeed"); [INFO] [stdout] | ------------- ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `BorshSerialize` is not implemented for `namespaced_hash::NamespacedHash<8>` [INFO] [stdout] --> src/namespaced_hash.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct NamespacedHash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `BorshSerialize`: [INFO] [stdout] &T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6) [INFO] [stdout] and 70 others [INFO] [stdout] note: required by a bound in `to_vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/borsh-1.5.7/src/ser/helpers.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn to_vec(value: &T) -> Result> [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] 14 | where [INFO] [stdout] 15 | T: BorshSerialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nmt-rs` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "d563c4e098603a77fc2ce6666e89322ab6237fb6101f714478278827074e54c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d563c4e098603a77fc2ce6666e89322ab6237fb6101f714478278827074e54c1", kill_on_drop: false }` [INFO] [stdout] d563c4e098603a77fc2ce6666e89322ab6237fb6101f714478278827074e54c1