[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamaleshpati%2Fblockchain-cli-tool" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamaleshpati/blockchain-cli-tool on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 591a2160999d47f5f33f8b512ea7993a70b322560c1f22f5bcf631816eb424e4 [INFO] running `Command { std: "docker" "start" "-a" "591a2160999d47f5f33f8b512ea7993a70b322560c1f22f5bcf631816eb424e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "591a2160999d47f5f33f8b512ea7993a70b322560c1f22f5bcf631816eb424e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "591a2160999d47f5f33f8b512ea7993a70b322560c1f22f5bcf631816eb424e4", kill_on_drop: false }` [INFO] [stdout] 591a2160999d47f5f33f8b512ea7993a70b322560c1f22f5bcf631816eb424e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e38e9fbbb046ed4239ceaa976dd5d0fc4213952af885ab212ecabdf9dcf0217 [INFO] running `Command { std: "docker" "start" "-a" "2e38e9fbbb046ed4239ceaa976dd5d0fc4213952af885ab212ecabdf9dcf0217", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking arrayref v0.3.6 [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 fake-simd v0.1.2 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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] 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] [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] 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] 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] [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] 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] [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] 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] 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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "2e38e9fbbb046ed4239ceaa976dd5d0fc4213952af885ab212ecabdf9dcf0217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e38e9fbbb046ed4239ceaa976dd5d0fc4213952af885ab212ecabdf9dcf0217", kill_on_drop: false }` [INFO] [stdout] 2e38e9fbbb046ed4239ceaa976dd5d0fc4213952af885ab212ecabdf9dcf0217