[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#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaleshpati%2Fblockchain-cli-tool" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamaleshpati/blockchain-cli-tool on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-5/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2 v0.7.1 [INFO] [stderr] Downloaded generic-array v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f13d7bbc234ff3a0c63486df1580e24ad8af2a8216e9e699e3a7c203b2fa3bd9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f13d7bbc234ff3a0c63486df1580e24ad8af2a8216e9e699e3a7c203b2fa3bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f13d7bbc234ff3a0c63486df1580e24ad8af2a8216e9e699e3a7c203b2fa3bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f13d7bbc234ff3a0c63486df1580e24ad8af2a8216e9e699e3a7c203b2fa3bd9", kill_on_drop: false }` [INFO] [stdout] f13d7bbc234ff3a0c63486df1580e24ad8af2a8216e9e699e3a7c203b2fa3bd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 212666ba52e2e1859a13b473deac008a9f4dbabee90117557b09bac6c5959850 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "212666ba52e2e1859a13b473deac008a9f4dbabee90117557b09bac6c5959850", 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 syn v1.0.64 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.44 [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]: `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] 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: 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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]: `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] 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: 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: build failed [INFO] running `Command { std: "docker" "inspect" "212666ba52e2e1859a13b473deac008a9f4dbabee90117557b09bac6c5959850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "212666ba52e2e1859a13b473deac008a9f4dbabee90117557b09bac6c5959850", kill_on_drop: false }` [INFO] [stdout] 212666ba52e2e1859a13b473deac008a9f4dbabee90117557b09bac6c5959850