[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] testing daxster-git/c_to_rust against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaxster-git%2Fc_to_rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/daxster-git/c_to_rust on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 738d8ad0c98dfa89c488284f53a1547db9e7c4a5e05c310be358740eee8a87c1 [INFO] running `Command { std: "docker" "start" "-a" "738d8ad0c98dfa89c488284f53a1547db9e7c4a5e05c310be358740eee8a87c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "738d8ad0c98dfa89c488284f53a1547db9e7c4a5e05c310be358740eee8a87c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738d8ad0c98dfa89c488284f53a1547db9e7c4a5e05c310be358740eee8a87c1", kill_on_drop: false }` [INFO] [stdout] 738d8ad0c98dfa89c488284f53a1547db9e7c4a5e05c310be358740eee8a87c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49ea2560e4a9c75727b05837f28e44782c2577a55bd049d460e3c67bdfed4c48 [INFO] running `Command { std: "docker" "start" "-a" "49ea2560e4a9c75727b05837f28e44782c2577a55bd049d460e3c67bdfed4c48", 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" "49ea2560e4a9c75727b05837f28e44782c2577a55bd049d460e3c67bdfed4c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49ea2560e4a9c75727b05837f28e44782c2577a55bd049d460e3c67bdfed4c48", kill_on_drop: false }` [INFO] [stdout] 49ea2560e4a9c75727b05837f28e44782c2577a55bd049d460e3c67bdfed4c48