[INFO] cloning repository https://github.com/helloooooo/book_algorithm_solutions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/helloooooo/book_algorithm_solutions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhelloooooo%2Fbook_algorithm_solutions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhelloooooo%2Fbook_algorithm_solutions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1bf0f675c5a113d761929c7fc3224cf8ee359b3 [INFO] checking helloooooo/book_algorithm_solutions against master#e1613686e0efc80a1a18b1263625450a8de3fb04 for pr-154492-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhelloooooo%2Fbook_algorithm_solutions" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/helloooooo/book_algorithm_solutions [INFO] finished tweaking git repo https://github.com/helloooooo/book_algorithm_solutions [INFO] tweaked toml for git repo https://github.com/helloooooo/book_algorithm_solutions written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/helloooooo/book_algorithm_solutions on toolchain e1613686e0efc80a1a18b1263625450a8de3fb04 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/helloooooo/book_algorithm_solutions 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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proconio v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd94dbd931bcda151af05154610e7f349d3cd0819bb44e72c79afce9211ca22b [INFO] running `Command { std: "docker" "start" "-a" "cd94dbd931bcda151af05154610e7f349d3cd0819bb44e72c79afce9211ca22b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd94dbd931bcda151af05154610e7f349d3cd0819bb44e72c79afce9211ca22b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd94dbd931bcda151af05154610e7f349d3cd0819bb44e72c79afce9211ca22b", kill_on_drop: false }` [INFO] [stdout] cd94dbd931bcda151af05154610e7f349d3cd0819bb44e72c79afce9211ca22b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 266ab169667961c0f0102dc0bf7c8c74074f7d8ddfa30c9159ca73ba15b3ffb0 [INFO] running `Command { std: "docker" "start" "-a" "266ab169667961c0f0102dc0bf7c8c74074f7d8ddfa30c9159ca73ba15b3ffb0", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking proconio v0.4.3 [INFO] [stderr] Checking book_algorithm_solutions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chapter-3/sol-3-2.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if an[i] == n { [INFO] [stdout] | ----- ^ expected `i32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 13 | if an[i] == n.try_into().unwrap() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chapter-3/sol-3-2.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if an[i] == n { [INFO] [stdout] | ----- ^ expected `i32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 13 | if an[i] == n.try_into().unwrap() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `book_algorithm_solutions` (bin "sol-3-2") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `book_algorithm_solutions` (bin "sol-3-2" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "266ab169667961c0f0102dc0bf7c8c74074f7d8ddfa30c9159ca73ba15b3ffb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "266ab169667961c0f0102dc0bf7c8c74074f7d8ddfa30c9159ca73ba15b3ffb0", kill_on_drop: false }` [INFO] [stdout] 266ab169667961c0f0102dc0bf7c8c74074f7d8ddfa30c9159ca73ba15b3ffb0