[INFO] cloning repository https://github.com/bluecereal/affirmations [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bluecereal/affirmations" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbluecereal%2Faffirmations", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbluecereal%2Faffirmations'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45da44dd7e74a81c210303debf904493f5b11dfc [INFO] checking bluecereal/affirmations against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbluecereal%2Faffirmations" "/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/bluecereal/affirmations on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bluecereal/affirmations [INFO] finished tweaking git repo https://github.com/bluecereal/affirmations [INFO] tweaked toml for git repo https://github.com/bluecereal/affirmations written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/bluecereal/affirmations already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54bced792ac06ed76b5e913fb1d599d4e7f01dc208c001b69db992518024bea5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "54bced792ac06ed76b5e913fb1d599d4e7f01dc208c001b69db992518024bea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54bced792ac06ed76b5e913fb1d599d4e7f01dc208c001b69db992518024bea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54bced792ac06ed76b5e913fb1d599d4e7f01dc208c001b69db992518024bea5", kill_on_drop: false }` [INFO] [stdout] 54bced792ac06ed76b5e913fb1d599d4e7f01dc208c001b69db992518024bea5 [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=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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6963f63a39a6324a995b022e72422d57d5e8c82f9761afa305c465b28f697a3c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6963f63a39a6324a995b022e72422d57d5e8c82f9761afa305c465b28f697a3c", kill_on_drop: false }` [INFO] [stderr] Checking affirmations v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the type `[String]` cannot be indexed by `&String` [INFO] [stdout] --> src/main.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | std::io::Write::write(&mut self.store, slice[i]).unwrap(); [INFO] [stdout] | ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[String]>` is not implemented for `&String` [INFO] [stdout] = note: required because of the requirements on the impl of `Index<&String>` for `[String]` [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 E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `affirmations` [INFO] [stderr] [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[E0277]: the type `[String]` cannot be indexed by `&String` [INFO] [stdout] --> src/main.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | std::io::Write::write(&mut self.store, slice[i]).unwrap(); [INFO] [stdout] | ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[String]>` is not implemented for `&String` [INFO] [stdout] = note: required because of the requirements on the impl of `Index<&String>` for `[String]` [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 E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6963f63a39a6324a995b022e72422d57d5e8c82f9761afa305c465b28f697a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6963f63a39a6324a995b022e72422d57d5e8c82f9761afa305c465b28f697a3c", kill_on_drop: false }` [INFO] [stdout] 6963f63a39a6324a995b022e72422d57d5e8c82f9761afa305c465b28f697a3c