[INFO] cloning repository https://github.com/babalolajnr/Image-Shifter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/babalolajnr/Image-Shifter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabalolajnr%2FImage-Shifter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabalolajnr%2FImage-Shifter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c9c5513bbb557f47d36b05be34a428871c9b398 [INFO] checking babalolajnr/Image-Shifter against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabalolajnr%2FImage-Shifter" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/babalolajnr/Image-Shifter on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/babalolajnr/Image-Shifter [INFO] finished tweaking git repo https://github.com/babalolajnr/Image-Shifter [INFO] tweaked toml for git repo https://github.com/babalolajnr/Image-Shifter written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/babalolajnr/Image-Shifter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 158c33a473b1e5299eda82fdcdeb82ad32d6d12427f1dca4537819481ea3cdf3 [INFO] running `Command { std: "docker" "start" "-a" "158c33a473b1e5299eda82fdcdeb82ad32d6d12427f1dca4537819481ea3cdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "158c33a473b1e5299eda82fdcdeb82ad32d6d12427f1dca4537819481ea3cdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158c33a473b1e5299eda82fdcdeb82ad32d6d12427f1dca4537819481ea3cdf3", kill_on_drop: false }` [INFO] [stdout] 158c33a473b1e5299eda82fdcdeb82ad32d6d12427f1dca4537819481ea3cdf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aec62af2006fade10b033fba28f96944deb63102ad5cc73b051b3d6b7ae050b [INFO] running `Command { std: "docker" "start" "-a" "7aec62af2006fade10b033fba28f96944deb63102ad5cc73b051b3d6b7ae050b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rust-image-processor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0596]: cannot borrow `output_path` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/converter.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 37 | let output_path = document_dir.to_owned(); [INFO] [stdout] | ----------- help: consider changing this to be mutable: `mut output_path` [INFO] [stdout] ... [INFO] [stdout] 41 | output_path.push_str(OUTPUT_DIR); [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `output_path` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/converter.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 37 | let output_path = document_dir.to_owned(); [INFO] [stdout] | ----------- help: consider changing this to be mutable: `mut output_path` [INFO] [stdout] ... [INFO] [stdout] 46 | output_path.push_str(filename); [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-image-processor` [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0596]: cannot borrow `output_path` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/converter.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 37 | let output_path = document_dir.to_owned(); [INFO] [stdout] | ----------- help: consider changing this to be mutable: `mut output_path` [INFO] [stdout] ... [INFO] [stdout] 41 | output_path.push_str(OUTPUT_DIR); [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `output_path` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/converter.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 37 | let output_path = document_dir.to_owned(); [INFO] [stdout] | ----------- help: consider changing this to be mutable: `mut output_path` [INFO] [stdout] ... [INFO] [stdout] 46 | output_path.push_str(filename); [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7aec62af2006fade10b033fba28f96944deb63102ad5cc73b051b3d6b7ae050b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aec62af2006fade10b033fba28f96944deb63102ad5cc73b051b3d6b7ae050b", kill_on_drop: false }` [INFO] [stdout] 7aec62af2006fade10b033fba28f96944deb63102ad5cc73b051b3d6b7ae050b