[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] building Ellipsion/rust-zip-extractor against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEllipsion%2Frust-zip-extractor" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ellipsion/rust-zip-extractor on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "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-0-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7944eb0d3022d9d1ccc156208244a4cceb396921d32473befc59243d0b60b9e
[INFO] running `Command { std: "docker" "start" "-a" "c7944eb0d3022d9d1ccc156208244a4cceb396921d32473befc59243d0b60b9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7944eb0d3022d9d1ccc156208244a4cceb396921d32473befc59243d0b60b9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7944eb0d3022d9d1ccc156208244a4cceb396921d32473befc59243d0b60b9e", kill_on_drop: false }`
[INFO] [stdout] c7944eb0d3022d9d1ccc156208244a4cceb396921d32473befc59243d0b60b9e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 67597509bb5e5a09a923b5a5e44b50ae84d21ba9af3e89da5ef0b6bd634ef3fa
[INFO] running `Command { std: "docker" "start" "-a" "67597509bb5e5a09a923b5a5e44b50ae84d21ba9af3e89da5ef0b6bd634ef3fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling 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]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling time v0.3.34
[INFO] [stderr]    Compiling jobserver v0.1.28
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[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]    Compiling bzip2 v0.4.4
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling 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] 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] running `Command { std: "docker" "inspect" "67597509bb5e5a09a923b5a5e44b50ae84d21ba9af3e89da5ef0b6bd634ef3fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67597509bb5e5a09a923b5a5e44b50ae84d21ba9af3e89da5ef0b6bd634ef3fa", kill_on_drop: false }`
[INFO] [stdout] 67597509bb5e5a09a923b5a5e44b50ae84d21ba9af3e89da5ef0b6bd634ef3fa
