[INFO] cloning repository https://github.com/livioribeiro/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/livioribeiro/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivioribeiro%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivioribeiro%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bedaffb7aaaff59ab0123e0e339d0cc6e21ce81 [INFO] checking livioribeiro/advent-of-code against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivioribeiro%2Fadvent-of-code" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/livioribeiro/advent-of-code on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/livioribeiro/advent-of-code [INFO] finished tweaking git repo https://github.com/livioribeiro/advent-of-code [INFO] tweaked toml for git repo https://github.com/livioribeiro/advent-of-code written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/livioribeiro/advent-of-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07743c6d73efb39fe571e62f05059460c6bf9c0b1be261646d053b16f5a1fb93 [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" "07743c6d73efb39fe571e62f05059460c6bf9c0b1be261646d053b16f5a1fb93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07743c6d73efb39fe571e62f05059460c6bf9c0b1be261646d053b16f5a1fb93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07743c6d73efb39fe571e62f05059460c6bf9c0b1be261646d053b16f5a1fb93", kill_on_drop: false }` [INFO] [stdout] 07743c6d73efb39fe571e62f05059460c6bf9c0b1be261646d053b16f5a1fb93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 579a9820ccbaf7bfa753535f7ac9e9d131c0dabddca82ba8cea9e95ad84946d3 [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" "579a9820ccbaf7bfa753535f7ac9e9d131c0dabddca82ba8cea9e95ad84946d3", kill_on_drop: false }` [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking adventofcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/bin/../day14.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | let rest = cmp::min(self.fly_time, (seconds % cycle_time)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/../day12.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | total += buff.parse().expect("Could not parse value"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] help: consider specifying the type argument in the method call [INFO] [stdout] | [INFO] [stdout] 25 | total += buff.parse::().expect("Could not parse value"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/../day12.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | total += buff.parse().expect("Could not parse value"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] help: consider specifying the type argument in the method call [INFO] [stdout] | [INFO] [stdout] 69 | total += buff.parse::().expect("Could not parse value"); [INFO] [stdout] | ^^^^^ [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 E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode` [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "579a9820ccbaf7bfa753535f7ac9e9d131c0dabddca82ba8cea9e95ad84946d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "579a9820ccbaf7bfa753535f7ac9e9d131c0dabddca82ba8cea9e95ad84946d3", kill_on_drop: false }` [INFO] [stdout] 579a9820ccbaf7bfa753535f7ac9e9d131c0dabddca82ba8cea9e95ad84946d3