[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 try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2017" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mich101mich/aoc-2017 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-4/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scan_fmt v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a03d2200bd28e7454da67ecac737c3b75e6a0c08d12b03fe5d8e1e3cea1c2008 [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" "a03d2200bd28e7454da67ecac737c3b75e6a0c08d12b03fe5d8e1e3cea1c2008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a03d2200bd28e7454da67ecac737c3b75e6a0c08d12b03fe5d8e1e3cea1c2008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03d2200bd28e7454da67ecac737c3b75e6a0c08d12b03fe5d8e1e3cea1c2008", kill_on_drop: false }` [INFO] [stdout] a03d2200bd28e7454da67ecac737c3b75e6a0c08d12b03fe5d8e1e3cea1c2008 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c8d638829a2dbff586b26c2847bdec47b487c973d2c63b690e05cc73f02b62a [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" "7c8d638829a2dbff586b26c2847bdec47b487c973d2c63b690e05cc73f02b62a", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking num_cpus v1.13.0 [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-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking scan_fmt v0.2.5 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.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" or "src/utils/mod.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" or "src/utils/mod.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] [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] [stderr] error: could not compile `aoc-2017` due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "7c8d638829a2dbff586b26c2847bdec47b487c973d2c63b690e05cc73f02b62a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c8d638829a2dbff586b26c2847bdec47b487c973d2c63b690e05cc73f02b62a", kill_on_drop: false }` [INFO] [stdout] 7c8d638829a2dbff586b26c2847bdec47b487c973d2c63b690e05cc73f02b62a