[INFO] cloning repository https://github.com/Michael-F-Bryan/cdir [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Michael-F-Bryan/cdir" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael-F-Bryan%2Fcdir", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael-F-Bryan%2Fcdir'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c8cd4a74c716f3be0154b3d9361ce273a0213d4 [INFO] checking Michael-F-Bryan/cdir against try#a326ccb4ce868265c4f69a0270f3033164acc4f9 for pr-111063-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael-F-Bryan%2Fcdir" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Michael-F-Bryan/cdir 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] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Michael-F-Bryan/cdir [INFO] finished tweaking git repo https://github.com/Michael-F-Bryan/cdir [INFO] tweaked toml for git repo https://github.com/Michael-F-Bryan/cdir written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Michael-F-Bryan/cdir 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 810d4e11f35af7cd4015dc5d2ae59b4de458eba6bccbeb858814b0d633bb4b34 [INFO] running `Command { std: "docker" "start" "-a" "810d4e11f35af7cd4015dc5d2ae59b4de458eba6bccbeb858814b0d633bb4b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "810d4e11f35af7cd4015dc5d2ae59b4de458eba6bccbeb858814b0d633bb4b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "810d4e11f35af7cd4015dc5d2ae59b4de458eba6bccbeb858814b0d633bb4b34", kill_on_drop: false }` [INFO] [stdout] 810d4e11f35af7cd4015dc5d2ae59b4de458eba6bccbeb858814b0d633bb4b34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5438ad266589a51ed4463ddd1bb90701fe9922e95f1adfbfc2ab7e1d7185e125 [INFO] running `Command { std: "docker" "start" "-a" "5438ad266589a51ed4463ddd1bb90701fe9922e95f1adfbfc2ab7e1d7185e125", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking cdir-core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling pyo3 v0.13.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling xtask v0.1.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.13.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Compiling pyo3-macros v0.13.2 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking zip v0.5.12 [INFO] [stderr] Checking cdir-cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] error[E0382]: borrow of moved value: `w` [INFO] [stdout] --> xtask/src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 81 | fn add_file(w: &mut ZipWriter, filename: impl AsRef) -> Result<(), Error> [INFO] [stdout] | - move occurs because `w` has type `&mut ZipWriter`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 95 | let bytes_written = std::io::copy(&mut f, w)?; [INFO] [stdout] | - value moved here [INFO] [stdout] 96 | w.flush()?; [INFO] [stdout] | ^^^^^^^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `w` [INFO] [stdout] --> xtask/src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 81 | fn add_file(w: &mut ZipWriter, filename: impl AsRef) -> Result<(), Error> [INFO] [stdout] | - move occurs because `w` has type `&mut ZipWriter`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 95 | let bytes_written = std::io::copy(&mut f, w)?; [INFO] [stdout] | - value moved here [INFO] [stdout] 96 | w.flush()?; [INFO] [stdout] | ^^^^^^^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xtask` (bin "xtask" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `xtask` (bin "xtask") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5438ad266589a51ed4463ddd1bb90701fe9922e95f1adfbfc2ab7e1d7185e125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5438ad266589a51ed4463ddd1bb90701fe9922e95f1adfbfc2ab7e1d7185e125", kill_on_drop: false }` [INFO] [stdout] 5438ad266589a51ed4463ddd1bb90701fe9922e95f1adfbfc2ab7e1d7185e125