[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2017" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mich101mich/aoc-2017 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-3/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d403e0a5c90e202982b6653026617525a00b7001a7acdd27cf969708f4c5cdf3 [INFO] running `Command { std: "docker" "start" "-a" "d403e0a5c90e202982b6653026617525a00b7001a7acdd27cf969708f4c5cdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d403e0a5c90e202982b6653026617525a00b7001a7acdd27cf969708f4c5cdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d403e0a5c90e202982b6653026617525a00b7001a7acdd27cf969708f4c5cdf3", kill_on_drop: false }` [INFO] [stdout] d403e0a5c90e202982b6653026617525a00b7001a7acdd27cf969708f4c5cdf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cafc575cac9c5b8e7e38a85ccfa78c563415ba3004ecc630e757f4f0b326c93 [INFO] running `Command { std: "docker" "start" "-a" "3cafc575cac9c5b8e7e38a85ccfa78c563415ba3004ecc630e757f4f0b326c93", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking getrandom v0.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking scan_fmt v0.2.5 [INFO] [stderr] Checking aoc-2017 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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[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` due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3cafc575cac9c5b8e7e38a85ccfa78c563415ba3004ecc630e757f4f0b326c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cafc575cac9c5b8e7e38a85ccfa78c563415ba3004ecc630e757f4f0b326c93", kill_on_drop: false }` [INFO] [stdout] 3cafc575cac9c5b8e7e38a85ccfa78c563415ba3004ecc630e757f4f0b326c93