[INFO] cloning repository https://github.com/Ellipsion/rust-zip-extractor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ellipsion/rust-zip-extractor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEllipsion%2Frust-zip-extractor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEllipsion%2Frust-zip-extractor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 00e1041f02a74a2c6f8ebda4fccbdf26adc58844
[INFO] checking Ellipsion/rust-zip-extractor against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEllipsion%2Frust-zip-extractor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ellipsion/rust-zip-extractor on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Ellipsion/rust-zip-extractor
[INFO] finished tweaking git repo https://github.com/Ellipsion/rust-zip-extractor
[INFO] tweaked toml for git repo https://github.com/Ellipsion/rust-zip-extractor written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Ellipsion/rust-zip-extractor 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3df941b2183c1f79fb2a7b4c189dd26c312ed3f8960e38d4874a5da961d90573
[INFO] running `Command { std: "docker" "start" "-a" "3df941b2183c1f79fb2a7b4c189dd26c312ed3f8960e38d4874a5da961d90573", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3df941b2183c1f79fb2a7b4c189dd26c312ed3f8960e38d4874a5da961d90573", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3df941b2183c1f79fb2a7b4c189dd26c312ed3f8960e38d4874a5da961d90573", kill_on_drop: false }`
[INFO] [stdout] 3df941b2183c1f79fb2a7b4c189dd26c312ed3f8960e38d4874a5da961d90573
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f50ecd8b34c62ddab94fe71340b797d573fae16b498652f92ca32998c82556b8
[INFO] running `Command { std: "docker" "start" "-a" "f50ecd8b34c62ddab94fe71340b797d573fae16b498652f92ca32998c82556b8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking password-hash v0.4.2
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]    Compiling jobserver v0.1.28
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]     Checking bzip2 v0.4.4
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking zip v0.6.6
[INFO] [stderr]     Checking zip-extractor-02 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `file` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/main.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let outpath = file.enclosed_name().unwrap();
[INFO] [stdout]    |                       ---- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 69 |             io::copy(&mut file, &mut outfile).unwrap();
[INFO] [stdout]    |                      ^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 78 |                 fs::set_permissions(outpath, fs::Permissions::from_mode(mode));
[INFO] [stdout]    |                                     ------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `file` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/main.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let outpath = file.enclosed_name().unwrap();
[INFO] [stdout]    |                       ---- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 69 |             io::copy(&mut file, &mut outfile).unwrap();
[INFO] [stdout]    |                      ^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 78 |                 fs::set_permissions(outpath, fs::Permissions::from_mode(mode));
[INFO] [stdout]    |                                     ------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zip-extractor-02` (bin "zip-extractor-02") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `zip-extractor-02` (bin "zip-extractor-02" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "f50ecd8b34c62ddab94fe71340b797d573fae16b498652f92ca32998c82556b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f50ecd8b34c62ddab94fe71340b797d573fae16b498652f92ca32998c82556b8", kill_on_drop: false }`
[INFO] [stdout] f50ecd8b34c62ddab94fe71340b797d573fae16b498652f92ca32998c82556b8
