[INFO] cloning repository https://github.com/marcus302/bin_photos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcus302/bin_photos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcus302%2Fbin_photos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcus302%2Fbin_photos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c0693986dcd425b5abd9f640f5364f68cbf8085d
[INFO] checking marcus302/bin_photos against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcus302%2Fbin_photos" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/marcus302/bin_photos on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/marcus302/bin_photos
[INFO] finished tweaking git repo https://github.com/marcus302/bin_photos
[INFO] tweaked toml for git repo https://github.com/marcus302/bin_photos written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/marcus302/bin_photos already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 737fb9374f0b7d9db39a45c1f63be165b430e60fef89de0da2d17392e441b791
[INFO] running `Command { std: "docker" "start" "-a" "737fb9374f0b7d9db39a45c1f63be165b430e60fef89de0da2d17392e441b791", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "737fb9374f0b7d9db39a45c1f63be165b430e60fef89de0da2d17392e441b791", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "737fb9374f0b7d9db39a45c1f63be165b430e60fef89de0da2d17392e441b791", kill_on_drop: false }`
[INFO] [stdout] 737fb9374f0b7d9db39a45c1f63be165b430e60fef89de0da2d17392e441b791
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 208ad0f0a0c5ff15bbe77c8633494c8777d96b99fd94f33887d4b1c9665be4b4
[INFO] running `Command { std: "docker" "start" "-a" "208ad0f0a0c5ff15bbe77c8633494c8777d96b99fd94f33887d4b1c9665be4b4", kill_on_drop: false }`
[INFO] [stderr]     Checking bin_photos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]   --> src/main.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let mut class = String::new();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let mut class = String::new();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `class` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/main.rs:9:24
[INFO] [stdout]    |
[INFO] [stdout] 9  |             .read_line(&mut class)
[INFO] [stdout]    |                        ^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 10 |             .expect("Failed to read line.");
[INFO] [stdout] 11 |         classes[iter] = class.trim();
[INFO] [stdout]    |         -------         ----- immutable borrow occurs here
[INFO] [stdout]    |         |
[INFO] [stdout]    |         immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bin_photos` due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]   --> src/main.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let mut class = String::new();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let mut class = String::new();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `class` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/main.rs:9:24
[INFO] [stdout]    |
[INFO] [stdout] 9  |             .read_line(&mut class)
[INFO] [stdout]    |                        ^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 10 |             .expect("Failed to read line.");
[INFO] [stdout] 11 |         classes[iter] = class.trim();
[INFO] [stdout]    |         -------         ----- immutable borrow occurs here
[INFO] [stdout]    |         |
[INFO] [stdout]    |         immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "208ad0f0a0c5ff15bbe77c8633494c8777d96b99fd94f33887d4b1c9665be4b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "208ad0f0a0c5ff15bbe77c8633494c8777d96b99fd94f33887d4b1c9665be4b4", kill_on_drop: false }`
[INFO] [stdout] 208ad0f0a0c5ff15bbe77c8633494c8777d96b99fd94f33887d4b1c9665be4b4
