[INFO] cloning repository https://github.com/daxster-git/c_to_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daxster-git/c_to_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaxster-git%2Fc_to_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaxster-git%2Fc_to_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1adf4cf0d37eb66b8fd30bd90edc6c2cc8abfb7c [INFO] building daxster-git/c_to_rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaxster-git%2Fc_to_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daxster-git/c_to_rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/daxster-git/c_to_rust [INFO] finished tweaking git repo https://github.com/daxster-git/c_to_rust [INFO] tweaked toml for git repo https://github.com/daxster-git/c_to_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/daxster-git/c_to_rust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text_io v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32b8cfcc1c9ff67407c3f346200809faaacf954d209c0f12cecde320412e85bf [INFO] running `Command { std: "docker" "start" "-a" "32b8cfcc1c9ff67407c3f346200809faaacf954d209c0f12cecde320412e85bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32b8cfcc1c9ff67407c3f346200809faaacf954d209c0f12cecde320412e85bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b8cfcc1c9ff67407c3f346200809faaacf954d209c0f12cecde320412e85bf", kill_on_drop: false }` [INFO] [stdout] 32b8cfcc1c9ff67407c3f346200809faaacf954d209c0f12cecde320412e85bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edd326213569447ff72a4c1dcb813f7ea86bfdb5fd274b3a1e2076a0ebb7f699 [INFO] running `Command { std: "docker" "start" "-a" "edd326213569447ff72a4c1dcb813f7ea86bfdb5fd274b3a1e2076a0ebb7f699", kill_on_drop: false }` [INFO] [stderr] Compiling text_io v0.1.9 [INFO] [stderr] Compiling c_to_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: borrow of moved value: `video` [INFO] [stdout] --> src/labs/lab11/lab11.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 28 | let video = question_2a(title, length, tape_cost, tape_rent); [INFO] [stdout] | ----- move occurs because `video` has type `Video`, which does not implement the `Copy` trait [INFO] [stdout] 29 | tapes.push(video); [INFO] [stdout] | ----- value moved here [INFO] [stdout] 30 | println!("{:?}", video); [INFO] [stdout] | ^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: if `Video` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/labs/lab11/lab11.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Video { [INFO] [stdout] | ^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 29 | tapes.push(video); [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `c_to_rust` (bin "c_to_rust") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "edd326213569447ff72a4c1dcb813f7ea86bfdb5fd274b3a1e2076a0ebb7f699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd326213569447ff72a4c1dcb813f7ea86bfdb5fd274b3a1e2076a0ebb7f699", kill_on_drop: false }` [INFO] [stdout] edd326213569447ff72a4c1dcb813f7ea86bfdb5fd274b3a1e2076a0ebb7f699