[INFO] cloning repository https://github.com/throwaway579/sand [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/throwaway579/sand" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrowaway579%2Fsand", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrowaway579%2Fsand'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a7053f7fbc40f7066cbe5dcf34bfb863da65efc [INFO] checking throwaway579/sand against try#a326ccb4ce868265c4f69a0270f3033164acc4f9 for pr-111063-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrowaway579%2Fsand" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/throwaway579/sand on toolchain a326ccb4ce868265c4f69a0270f3033164acc4f9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a326ccb4ce868265c4f69a0270f3033164acc4f9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/throwaway579/sand [INFO] finished tweaking git repo https://github.com/throwaway579/sand [INFO] tweaked toml for git repo https://github.com/throwaway579/sand written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/throwaway579/sand 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" "+a326ccb4ce868265c4f69a0270f3033164acc4f9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+a326ccb4ce868265c4f69a0270f3033164acc4f9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 174f0d638a65506cd0bd49a5e04f1ffe7a022344b29db9881dfcefe5e7625565 [INFO] running `Command { std: "docker" "start" "-a" "174f0d638a65506cd0bd49a5e04f1ffe7a022344b29db9881dfcefe5e7625565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "174f0d638a65506cd0bd49a5e04f1ffe7a022344b29db9881dfcefe5e7625565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "174f0d638a65506cd0bd49a5e04f1ffe7a022344b29db9881dfcefe5e7625565", kill_on_drop: false }` [INFO] [stdout] 174f0d638a65506cd0bd49a5e04f1ffe7a022344b29db9881dfcefe5e7625565 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+a326ccb4ce868265c4f69a0270f3033164acc4f9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fd71ee8c8afa0d0075d5686c616a7ef2c3f4dd382be0243ea466478394a32ca [INFO] running `Command { std: "docker" "start" "-a" "5fd71ee8c8afa0d0075d5686c616a7ef2c3f4dd382be0243ea466478394a32ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking tcp-test v0.1.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking snedfile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: use of moved value: `stream` [INFO] [stdout] --> src/fallback.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn send_file_imp(file: &mut File, stream: &mut TcpStream, length: u64) -> io::Result<()> { [INFO] [stdout] | ------ move occurs because `stream` has type `&mut TcpStream`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 43 | let mut sent = io::copy(&mut reader, stream)?; [INFO] [stdout] | ------ value moved here [INFO] [stdout] ... [INFO] [stdout] 46 | sent += io::copy(&mut reader, stream)?; [INFO] [stdout] | ^^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snedfile` (lib) due to 4 previous errors [INFO] [stdout] error[E0382]: use of moved value: `file` [INFO] [stdout] --> src/fallback.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn copy_to_end(file: &mut File, stream: &mut TcpStream, offset: u64) -> io::Result<()> { [INFO] [stdout] | ---- move occurs because `file` has type `&mut File`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 81 | loop { [INFO] [stdout] | ---- inside of this loop [INFO] [stdout] 82 | match io::copy(file, stream) { [INFO] [stdout] | ^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `file` here [INFO] [stdout] | [INFO] [stdout] 82 | match io::copy(&mut *file, stream) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0382]: use of moved value: `stream` [INFO] [stdout] --> src/fallback.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn copy_to_end(file: &mut File, stream: &mut TcpStream, offset: u64) -> io::Result<()> { [INFO] [stdout] | ------ move occurs because `stream` has type `&mut TcpStream`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 81 | loop { [INFO] [stdout] | ---- inside of this loop [INFO] [stdout] 82 | match io::copy(file, stream) { [INFO] [stdout] | ^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `stream` here [INFO] [stdout] | [INFO] [stdout] 82 | match io::copy(file, &mut *stream) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5fd71ee8c8afa0d0075d5686c616a7ef2c3f4dd382be0243ea466478394a32ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd71ee8c8afa0d0075d5686c616a7ef2c3f4dd382be0243ea466478394a32ca", kill_on_drop: false }` [INFO] [stdout] 5fd71ee8c8afa0d0075d5686c616a7ef2c3f4dd382be0243ea466478394a32ca