[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] checking kamaleshpati/blockchain-cli-tool against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaleshpati%2Fblockchain-cli-tool" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamaleshpati/blockchain-cli-tool on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-13/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 59a430b29e97a78e32a29ae1058e47a5f106f9ddabc027d4e7dbad811ec05b16 [INFO] running `Command { std: "docker" "start" "-a" "59a430b29e97a78e32a29ae1058e47a5f106f9ddabc027d4e7dbad811ec05b16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59a430b29e97a78e32a29ae1058e47a5f106f9ddabc027d4e7dbad811ec05b16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a430b29e97a78e32a29ae1058e47a5f106f9ddabc027d4e7dbad811ec05b16", kill_on_drop: false }` [INFO] [stdout] 59a430b29e97a78e32a29ae1058e47a5f106f9ddabc027d4e7dbad811ec05b16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8cfc8ec34d12aa05f319963a53ea807307233cef233c6bc06bbf2991c158595d [INFO] running `Command { std: "docker" "start" "-a" "8cfc8ec34d12aa05f319963a53ea807307233cef233c6bc06bbf2991c158595d", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking 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] 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] [INFO] [stdout] [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] 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]: `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)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&Block` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (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] 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] 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] [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)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&Block` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (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] 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] [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] 158 | pub fn hash(item: &T) -> String { [INFO] [stdout] | ---------------- required by this bound in `blockchain::Chain::hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain` [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8cfc8ec34d12aa05f319963a53ea807307233cef233c6bc06bbf2991c158595d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cfc8ec34d12aa05f319963a53ea807307233cef233c6bc06bbf2991c158595d", kill_on_drop: false }` [INFO] [stdout] 8cfc8ec34d12aa05f319963a53ea807307233cef233c6bc06bbf2991c158595d