[INFO] cloning repository https://github.com/qinxiaoguang/rs-lc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qinxiaoguang/rs-lc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqinxiaoguang%2Frs-lc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqinxiaoguang%2Frs-lc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85c487237715282b6e3bd3f4a49c447ddfd177d9 [INFO] testing qinxiaoguang/rs-lc against beta-2021-11-30 for beta-1.58-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqinxiaoguang%2Frs-lc" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qinxiaoguang/rs-lc on toolchain beta-2021-11-30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-11-30" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qinxiaoguang/rs-lc [INFO] finished tweaking git repo https://github.com/qinxiaoguang/rs-lc [INFO] tweaked toml for git repo https://github.com/qinxiaoguang/rs-lc written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/qinxiaoguang/rs-lc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-11-30" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-11-30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44c157a8b065c2d96941440b7875fac172aa9fbb2d28e3238d3d03e521283ad5 [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" "44c157a8b065c2d96941440b7875fac172aa9fbb2d28e3238d3d03e521283ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44c157a8b065c2d96941440b7875fac172aa9fbb2d28e3238d3d03e521283ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c157a8b065c2d96941440b7875fac172aa9fbb2d28e3238d3d03e521283ad5", kill_on_drop: false }` [INFO] [stdout] 44c157a8b065c2d96941440b7875fac172aa9fbb2d28e3238d3d03e521283ad5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-11-30" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ead817672a002e0a4b9b2c62f4b351bc7ee154fd4a425c3e0fcfe6840aaba980 [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" "ead817672a002e0a4b9b2c62f4b351bc7ee154fd4a425c3e0fcfe6840aaba980", kill_on_drop: false }` [INFO] [stderr] Compiling rs-lc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/solution/l219.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | if (idx as i32 - index).abs() <= k { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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 E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-lc` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ead817672a002e0a4b9b2c62f4b351bc7ee154fd4a425c3e0fcfe6840aaba980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead817672a002e0a4b9b2c62f4b351bc7ee154fd4a425c3e0fcfe6840aaba980", kill_on_drop: false }` [INFO] [stdout] ead817672a002e0a4b9b2c62f4b351bc7ee154fd4a425c3e0fcfe6840aaba980