[INFO] cloning repository https://github.com/RodzHC/simpleRUSTBlockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RodzHC/simpleRUSTBlockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRodzHC%2FsimpleRUSTBlockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRodzHC%2FsimpleRUSTBlockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a1cb79b789ac9f5fd3a10acbb594f4bf13135fb [INFO] checking RodzHC/simpleRUSTBlockchain/9a1cb79b789ac9f5fd3a10acbb594f4bf13135fb against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRodzHC%2FsimpleRUSTBlockchain" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RodzHC/simpleRUSTBlockchain on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RodzHC/simpleRUSTBlockchain [INFO] finished tweaking git repo https://github.com/RodzHC/simpleRUSTBlockchain [INFO] tweaked toml for git repo https://github.com/RodzHC/simpleRUSTBlockchain written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RodzHC/simpleRUSTBlockchain already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1eb4b7f02428ec147b9e0c5df1a4d3dff6a71327737400d63cbae7367a217516 [INFO] running `Command { std: "docker" "start" "-a" "1eb4b7f02428ec147b9e0c5df1a4d3dff6a71327737400d63cbae7367a217516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1eb4b7f02428ec147b9e0c5df1a4d3dff6a71327737400d63cbae7367a217516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb4b7f02428ec147b9e0c5df1a4d3dff6a71327737400d63cbae7367a217516", kill_on_drop: false }` [INFO] [stdout] 1eb4b7f02428ec147b9e0c5df1a4d3dff6a71327737400d63cbae7367a217516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a0267d28fdf0659fd8667ecbff1ffbb38d4dbc08ec84c676e7a54cc4450e4b9 [INFO] running `Command { std: "docker" "start" "-a" "8a0267d28fdf0659fd8667ecbff1ffbb38d4dbc08ec84c676e7a54cc4450e4b9", kill_on_drop: false }` [INFO] [stderr] Checking BlockChain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: use of moved value: `B` [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 27 | let B = Block { [INFO] [stdout] | - move occurs because `B` has type `Block`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 32 | self.chain.push(B); [INFO] [stdout] | - value moved here [INFO] [stdout] 33 | B [INFO] [stdout] | ^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `Block` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct Block{ [INFO] [stdout] | ^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 32 | self.chain.push(B); [INFO] [stdout] | - you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `B` [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 27 | let B = Block { [INFO] [stdout] | - move occurs because `B` has type `Block`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 32 | self.chain.push(B); [INFO] [stdout] | - value moved here [INFO] [stdout] 33 | B [INFO] [stdout] | ^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `Block` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct Block{ [INFO] [stdout] | ^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 32 | self.chain.push(B); [INFO] [stdout] | - you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `T` [INFO] [stdout] --> src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 38 | let T = Transaction { [INFO] [stdout] | - move occurs because `T` has type `Transaction`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 43 | self.transactions.push(T); [INFO] [stdout] | - value moved here [INFO] [stdout] 44 | T [INFO] [stdout] | ^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `Transaction` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Transaction{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 43 | self.transactions.push(T); [INFO] [stdout] | - you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `T` [INFO] [stdout] --> src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 38 | let T = Transaction { [INFO] [stdout] | - move occurs because `T` has type `Transaction`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 43 | self.transactions.push(T); [INFO] [stdout] | - value moved here [INFO] [stdout] 44 | T [INFO] [stdout] | ^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `Transaction` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Transaction{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 43 | self.transactions.push(T); [INFO] [stdout] | - you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `BlockChain` (bin "BlockChain") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `BlockChain` (bin "BlockChain" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "8a0267d28fdf0659fd8667ecbff1ffbb38d4dbc08ec84c676e7a54cc4450e4b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a0267d28fdf0659fd8667ecbff1ffbb38d4dbc08ec84c676e7a54cc4450e4b9", kill_on_drop: false }` [INFO] [stdout] 8a0267d28fdf0659fd8667ecbff1ffbb38d4dbc08ec84c676e7a54cc4450e4b9