[INFO] cloning repository https://github.com/mich101mich/aoc-2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mich101mich/aoc-2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b124ced892ee6bcb71aa6a124a797c7a26e1855c [INFO] checking mich101mich/aoc-2017 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2017" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mich101mich/aoc-2017 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mich101mich/aoc-2017 [INFO] finished tweaking git repo https://github.com/mich101mich/aoc-2017 [INFO] tweaked toml for git repo https://github.com/mich101mich/aoc-2017 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/mich101mich/aoc-2017 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a793708553179dd9d15f938bfacaa7cae2adb76d3867f052c0183c6e7329da6 [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" "8a793708553179dd9d15f938bfacaa7cae2adb76d3867f052c0183c6e7329da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a793708553179dd9d15f938bfacaa7cae2adb76d3867f052c0183c6e7329da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a793708553179dd9d15f938bfacaa7cae2adb76d3867f052c0183c6e7329da6", kill_on_drop: false }` [INFO] [stdout] 8a793708553179dd9d15f938bfacaa7cae2adb76d3867f052c0183c6e7329da6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16ea9cf431ee3c42865ad6652c573f0d846a5bd560bee063521e647f6216582e [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" "16ea9cf431ee3c42865ad6652c573f0d846a5bd560bee063521e647f6216582e", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking scan_fmt v0.2.5 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking aoc-2017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `utils` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `utils`, create file "src/utils.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `utils` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `utils`, create file "src/utils.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let mut state = scanf!(lines[0], "Begin in state {}.", char); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let goal = scanf!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let name = scanf!(lines[i], "In state {}:", char); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let v0 = scanf!(lines[i + 2], " - Write the value {}.", usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let s0 = scanf!(lines[i + 4], " - Continue with state {}.", char); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | let v1 = scanf!(lines[i + 6], " - Write the value {}.", usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let s1 = scanf!(lines[i + 8], " - Continue with state {}.", char); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `pv` in this scope [INFO] [stdout] --> src/days/day_25.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pv!(sum); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/days/day_25.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let mut states = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let mut state = scanf!(lines[0], "Begin in state {}.", char); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let goal = scanf!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let name = scanf!(lines[i], "In state {}:", char); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let v0 = scanf!(lines[i + 2], " - Write the value {}.", usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let s0 = scanf!(lines[i + 4], " - Continue with state {}.", char); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | let v1 = scanf!(lines[i + 6], " - Write the value {}.", usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_25.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let s1 = scanf!(lines[i + 8], " - Continue with state {}.", char); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `pv` in this scope [INFO] [stdout] --> src/days/day_25.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pv!(sum); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/days/day_25.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let mut states = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `std::str::Lines<'_>` in the current scope [INFO] [stdout] --> src/days/day_25.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | let mut lines = input.lines().to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `std::str::Lines<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2017` [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[E0599]: no method named `to_vec` found for struct `std::str::Lines<'_>` in the current scope [INFO] [stdout] --> src/days/day_25.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | let mut lines = input.lines().to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `std::str::Lines<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "16ea9cf431ee3c42865ad6652c573f0d846a5bd560bee063521e647f6216582e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ea9cf431ee3c42865ad6652c573f0d846a5bd560bee063521e647f6216582e", kill_on_drop: false }` [INFO] [stdout] 16ea9cf431ee3c42865ad6652c573f0d846a5bd560bee063521e647f6216582e