[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 against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRodzHC%2FsimpleRUSTBlockchain" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RodzHC/simpleRUSTBlockchain on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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-2-tc2/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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c67d03f1c1b948158e36d6fee03de2d849cecb7379a8250aaf5b03bd3f65820 [INFO] running `Command { std: "docker" "start" "-a" "7c67d03f1c1b948158e36d6fee03de2d849cecb7379a8250aaf5b03bd3f65820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c67d03f1c1b948158e36d6fee03de2d849cecb7379a8250aaf5b03bd3f65820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c67d03f1c1b948158e36d6fee03de2d849cecb7379a8250aaf5b03bd3f65820", kill_on_drop: false }` [INFO] [stdout] 7c67d03f1c1b948158e36d6fee03de2d849cecb7379a8250aaf5b03bd3f65820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbd33bc56a99697e0a3b69b0c7238f0833aa46214a625a0f316e3c183fafeb7a [INFO] running `Command { std: "docker" "start" "-a" "dbd33bc56a99697e0a3b69b0c7238f0833aa46214a625a0f316e3c183fafeb7a", 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: `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: `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] For more information about this error, try `rustc --explain E0382`. [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" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `BlockChain` (bin "BlockChain") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "dbd33bc56a99697e0a3b69b0c7238f0833aa46214a625a0f316e3c183fafeb7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbd33bc56a99697e0a3b69b0c7238f0833aa46214a625a0f316e3c183fafeb7a", kill_on_drop: false }` [INFO] [stdout] dbd33bc56a99697e0a3b69b0c7238f0833aa46214a625a0f316e3c183fafeb7a