[INFO] cloning repository https://github.com/crockeo/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crockeo/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrockeo%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrockeo%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecb30268cfc945d66f6a9c65914ad41c5fa28572 [INFO] checking crockeo/advent-of-code-2020 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrockeo%2Fadvent-of-code-2020" "/workspace/builds/worker-87/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-87/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crockeo/advent-of-code-2020 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/crockeo/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/crockeo/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/crockeo/advent-of-code-2020 written to /workspace/builds/worker-87/source/Cargo.toml [INFO] crate git repo https://github.com/crockeo/advent-of-code-2020 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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] dc941ace9c3ad5b979a45036f87bcc4c509e199a52b880e195487c3a936f83c8 [INFO] running `Command { std: "docker" "start" "-a" "dc941ace9c3ad5b979a45036f87bcc4c509e199a52b880e195487c3a936f83c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc941ace9c3ad5b979a45036f87bcc4c509e199a52b880e195487c3a936f83c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc941ace9c3ad5b979a45036f87bcc4c509e199a52b880e195487c3a936f83c8", kill_on_drop: false }` [INFO] [stdout] dc941ace9c3ad5b979a45036f87bcc4c509e199a52b880e195487c3a936f83c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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] 6a3e5bb6a762932742ad376d2b0a6617a65f8facf3fb04cf3c93090746ed7c31 [INFO] running `Command { std: "docker" "start" "-a" "6a3e5bb6a762932742ad376d2b0a6617a65f8facf3fb04cf3c93090746ed7c31", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking advent-of-code-2020 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/problem_07.rs (5 fixes) [INFO] [stderr] Fixed src/problem_16.rs (1 fix) [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/problem_01.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | let terms = Vec::from_iter(TERMS.iter().copied()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::iter::FromIterator;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2020` due to 3 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_iter` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/problem_01.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let terms = Vec::from_iter(TERMS.iter().copied()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::iter::FromIterator;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] Fixed src/problem_01.rs (1 fix) [INFO] [stdout] warning: function is never used: `can_contain_target` [INFO] [stdout] --> src/problem_07.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_contain_target<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_expansion_rule` [INFO] [stdout] --> src/problem_07.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn load_expansion_rule<'a>(_s: &'a str) -> Option<(&'a str, HashMap<&'a str, i64>)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min` [INFO] [stdout] --> src/problem_16.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | min: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max` [INFO] [stdout] --> src/problem_16.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | max: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem_16.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(min: i64, max: i64) -> Range { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/problem_16.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn contains(&self, value: i64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problem_16.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn new(ranges: Vec) -> DisjunctRange { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/problem_16.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn contains(&self, value: i64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `are_any_valid` [INFO] [stdout] --> src/problem_16.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn are_any_valid(&self, t: &Ticket) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [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" "6a3e5bb6a762932742ad376d2b0a6617a65f8facf3fb04cf3c93090746ed7c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a3e5bb6a762932742ad376d2b0a6617a65f8facf3fb04cf3c93090746ed7c31", kill_on_drop: false }` [INFO] [stdout] 6a3e5bb6a762932742ad376d2b0a6617a65f8facf3fb04cf3c93090746ed7c31