[INFO] cloning repository https://github.com/kamaleshpati/blockchain-cli-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamaleshpati/blockchain-cli-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaleshpati%2Fblockchain-cli-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaleshpati%2Fblockchain-cli-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77e27a774e425ae94d741a703cccf57d21548688 [INFO] testing kamaleshpati/blockchain-cli-tool against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaleshpati%2Fblockchain-cli-tool" "/workspace/builds/worker-96/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-96/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamaleshpati/blockchain-cli-tool on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamaleshpati/blockchain-cli-tool [INFO] finished tweaking git repo https://github.com/kamaleshpati/blockchain-cli-tool [INFO] tweaked toml for git repo https://github.com/kamaleshpati/blockchain-cli-tool written to /workspace/builds/worker-96/source/Cargo.toml [INFO] crate git repo https://github.com/kamaleshpati/blockchain-cli-tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f0be2269b2efc9243e3ffa2b7c1e5a05f1197e30b7f02e00007c97cb67f8691 [INFO] running `Command { std: "docker" "start" "-a" "2f0be2269b2efc9243e3ffa2b7c1e5a05f1197e30b7f02e00007c97cb67f8691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f0be2269b2efc9243e3ffa2b7c1e5a05f1197e30b7f02e00007c97cb67f8691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0be2269b2efc9243e3ffa2b7c1e5a05f1197e30b7f02e00007c97cb67f8691", kill_on_drop: false }` [INFO] [stdout] 2f0be2269b2efc9243e3ffa2b7c1e5a05f1197e30b7f02e00007c97cb67f8691 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea8817c9b4372fe7e661bf0b2a49e380988bfa8b58c7ee24daf8e58e9115999f [INFO] running `Command { std: "docker" "start" "-a" "ea8817c9b4372fe7e661bf0b2a49e380988bfa8b58c7ee24daf8e58e9115999f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `Blockheader: Serialize` is not satisfied [INFO] [stdout] --> src/blockchain.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | Chain::hash(&block.header) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `Blockheader` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `blockchain::Chain::hash` [INFO] [stdout] --> src/blockchain.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn hash(item: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `blockchain::Chain::hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain.rs:106:68 [INFO] [stdout] | [INFO] [stdout] 10 | struct Transaction { [INFO] [stdout] | ------------------ doesn't satisfy `Transaction: Clone` [INFO] [stdout] ... [INFO] [stdout] 106 | block.header.merkle = Chain::get_merkle(block.transactions.clone()); [INFO] [stdout] | ^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Transaction: Clone` [INFO] [stdout] which is required by `Vec: Clone` [INFO] [stdout] help: consider annotating `Transaction` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Block` doesn't implement `Debug` [INFO] [stdout] --> src/blockchain.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | println!("{:#?}", &block); [INFO] [stdout] | ^^^^^^ `Block` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Block` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Block` or manually `impl Debug for Block` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Transaction: Serialize` is not satisfied [INFO] [stdout] --> src/blockchain.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | let hash = Chain::hash(t); [INFO] [stdout] | ----------- ^ the trait `Serialize` is not implemented for `Transaction` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `blockchain::Chain::hash` [INFO] [stdout] --> src/blockchain.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn hash(item: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `blockchain::Chain::hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Blockheader: Serialize` is not satisfied [INFO] [stdout] --> src/blockchain.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | let hash = Chain::hash(header); [INFO] [stdout] | ----------- ^^^^^^ the trait `Serialize` is not implemented for `Blockheader` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `blockchain::Chain::hash` [INFO] [stdout] --> src/blockchain.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn hash(item: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `blockchain::Chain::hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "ea8817c9b4372fe7e661bf0b2a49e380988bfa8b58c7ee24daf8e58e9115999f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea8817c9b4372fe7e661bf0b2a49e380988bfa8b58c7ee24daf8e58e9115999f", kill_on_drop: false }` [INFO] [stdout] ea8817c9b4372fe7e661bf0b2a49e380988bfa8b58c7ee24daf8e58e9115999f