[INFO] fetching crate rezip 0.1.3... [INFO] checking rezip-0.1.3 against try#a326ccb4ce868265c4f69a0270f3033164acc4f9 for pr-111063-1 [INFO] extracting crate rezip 0.1.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rezip 0.1.3 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 crates.io crate rezip 0.1.3 [INFO] finished tweaking crates.io crate rezip 0.1.3 [INFO] tweaked toml for crates.io crate rezip 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate rezip 0.1.3 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2ef57dbda1a886b86f5ecc7c828b38539244ca253717d4a5735a3d1d3d932032 [INFO] running `Command { std: "docker" "start" "-a" "2ef57dbda1a886b86f5ecc7c828b38539244ca253717d4a5735a3d1d3d932032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ef57dbda1a886b86f5ecc7c828b38539244ca253717d4a5735a3d1d3d932032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef57dbda1a886b86f5ecc7c828b38539244ca253717d4a5735a3d1d3d932032", kill_on_drop: false }` [INFO] [stdout] 2ef57dbda1a886b86f5ecc7c828b38539244ca253717d4a5735a3d1d3d932032 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 05b52dafd3d51fd8181e2dfa497f1571a649e3be7d66229fee71e33e8586917b [INFO] running `Command { std: "docker" "start" "-a" "05b52dafd3d51fd8181e2dfa497f1571a649e3be7d66229fee71e33e8586917b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking base64ct v1.0.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling eyre v0.6.7 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking password-hash v0.3.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking num_threads v0.1.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking owo-colors v3.3.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking sha1 v0.10.1 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking pbkdf2 v0.10.1 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking py_literal v0.4.0 [INFO] [stderr] Checking ndarray-npy v0.8.1 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.0 [INFO] [stderr] Checking rezip v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: borrow of moved value: `zip` [INFO] [stdout] --> src/main.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some((path, zip)) = output.as_ref().zip(zip.as_mut()) { [INFO] [stdout] | --- move occurs because `zip` has type `&mut ZipWriter>`, which does not implement the `Copy` trait [INFO] [stdout] 518 | let mut total_pad_length = 0; [INFO] [stdout] 519 | for (name, files) in &files { [INFO] [stdout] | --------------------------- inside of this loop [INFO] [stdout] ... [INFO] [stdout] 548 | zip.add_directory(name.to_str().unwrap(), options) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] ... [INFO] [stdout] 614 | copy(file, zip).wrap_err_with(|| { [INFO] [stdout] | --- value moved here, in previous iteration of loop [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 `rezip` (bin "rezip" test) due to 2 previous errors [INFO] [stdout] error[E0382]: borrow of moved value: `zip` [INFO] [stdout] --> src/main.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some((path, zip)) = output.as_ref().zip(zip.as_mut()) { [INFO] [stdout] | --- move occurs because `zip` has type `&mut ZipWriter>`, which does not implement the `Copy` trait [INFO] [stdout] 518 | let mut total_pad_length = 0; [INFO] [stdout] 519 | for (name, files) in &files { [INFO] [stdout] | --------------------------- inside of this loop [INFO] [stdout] ... [INFO] [stdout] 548 | zip.add_directory(name.to_str().unwrap(), options) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] ... [INFO] [stdout] 614 | copy(file, zip).wrap_err_with(|| { [INFO] [stdout] | --- value moved here, in previous iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `rezip` (bin "rezip") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "05b52dafd3d51fd8181e2dfa497f1571a649e3be7d66229fee71e33e8586917b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05b52dafd3d51fd8181e2dfa497f1571a649e3be7d66229fee71e33e8586917b", kill_on_drop: false }` [INFO] [stdout] 05b52dafd3d51fd8181e2dfa497f1571a649e3be7d66229fee71e33e8586917b