[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaleshpati%2Fblockchain-cli-tool" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamaleshpati/blockchain-cli-tool on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-14/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 328cdd23395052aaab0a5c3ce028e65817deafea9c6d66f3c2ac810f07a19352 [INFO] running `Command { std: "docker" "start" "-a" "328cdd23395052aaab0a5c3ce028e65817deafea9c6d66f3c2ac810f07a19352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "328cdd23395052aaab0a5c3ce028e65817deafea9c6d66f3c2ac810f07a19352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328cdd23395052aaab0a5c3ce028e65817deafea9c6d66f3c2ac810f07a19352", kill_on_drop: false }` [INFO] [stdout] 328cdd23395052aaab0a5c3ce028e65817deafea9c6d66f3c2ac810f07a19352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32e04f9192353a9bd82275a0e923f71b950bfb5d1e4bcb8d01b62b4fef0d2485 [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" "32e04f9192353a9bd82275a0e923f71b950bfb5d1e4bcb8d01b62b4fef0d2485", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.64 [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" "32e04f9192353a9bd82275a0e923f71b950bfb5d1e4bcb8d01b62b4fef0d2485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32e04f9192353a9bd82275a0e923f71b950bfb5d1e4bcb8d01b62b4fef0d2485", kill_on_drop: false }` [INFO] [stdout] 32e04f9192353a9bd82275a0e923f71b950bfb5d1e4bcb8d01b62b4fef0d2485