[INFO] cloning repository https://github.com/GBujak/bfplan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GBujak/bfplan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGBujak%2Fbfplan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGBujak%2Fbfplan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74c9543bbaa8d975c3ac8851c899c1c277e7d364 [INFO] checking GBujak/bfplan against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGBujak%2Fbfplan" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GBujak/bfplan 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/GBujak/bfplan [INFO] finished tweaking git repo https://github.com/GBujak/bfplan [INFO] tweaked toml for git repo https://github.com/GBujak/bfplan written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/GBujak/bfplan 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] acee2b62f22d74fd49c2ef7ce8b7d132bf9ffbc2b56238ca8fb0bc695e479c15 [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" "acee2b62f22d74fd49c2ef7ce8b7d132bf9ffbc2b56238ca8fb0bc695e479c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acee2b62f22d74fd49c2ef7ce8b7d132bf9ffbc2b56238ca8fb0bc695e479c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acee2b62f22d74fd49c2ef7ce8b7d132bf9ffbc2b56238ca8fb0bc695e479c15", kill_on_drop: false }` [INFO] [stdout] acee2b62f22d74fd49c2ef7ce8b7d132bf9ffbc2b56238ca8fb0bc695e479c15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e5c2f8c67084bbe9b28af81bdb32691ec8a5b828061ee5285b3f4354eea62ab4 [INFO] running `Command { std: "docker" "start" "-a" "e5c2f8c67084bbe9b28af81bdb32691ec8a5b828061ee5285b3f4354eea62ab4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking bfplan v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused import: `Subject` [INFO] [stdout] --> src/annealing/adapter.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | data_types::{Classroom, SimpleDate, StudentGroup, Subject, Teacher}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CanTeach` [INFO] [stdout] --> src/annealing/adapter.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{annealing_buffer::AnnealingBuffer, illegal_buffer::{CanTeach, IllegalBuffer}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InnerCollision` [INFO] [stdout] --> src/annealing/annealing_buffer.rs:1:134 [INFO] [stdout] | [INFO] [stdout] 1 | ...nergyWeights}, illegal_buffer::IllegalBuffer, inner_state::{InnerCollision, InnerState}, mutation::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/annealing/annealing_buffer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::annealing_functions::temperature` [INFO] [stdout] --> src/annealing/annealing_state.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use super::annealing_functions::temperature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `illegal_buffer::IllegalBuffer` [INFO] [stdout] --> src/annealing/mutation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | illegal_buffer::IllegalBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/data_types/lesson.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/data_types/simple_date.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::peek_nth` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::peek_nth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::annealing::illegal_buffer::IllegalBuffer` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::annealing::illegal_buffer::IllegalBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | buffer.anneal_iterations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 3 arguments [INFO] [stdout] 27 | 10_000_000, [INFO] [stdout] | ---------- [INFO] [stdout] 28 | / &EnergyWeights { [INFO] [stdout] 29 | | student_gap_weight: 1.0, [INFO] [stdout] 30 | | teacher_gap_weight: 1.0, [INFO] [stdout] 31 | | group_lessons_in_day_weight: 1.0, [INFO] [stdout] 32 | | teacher_lessons_in_day_weight: 1.0, [INFO] [stdout] 33 | | }, [INFO] [stdout] | |_________- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/annealing/annealing_buffer.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn anneal_iterations(&mut self, iterations: usize, weights: &EnergyWeights, illegal_buffer: IllegalBuffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ --------- ----------------- ----------------------- ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::Read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bfplan` due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Subject` [INFO] [stdout] --> src/annealing/adapter.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | data_types::{Classroom, SimpleDate, StudentGroup, Subject, Teacher}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CanTeach` [INFO] [stdout] --> src/annealing/adapter.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{annealing_buffer::AnnealingBuffer, illegal_buffer::{CanTeach, IllegalBuffer}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InnerCollision` [INFO] [stdout] --> src/annealing/annealing_buffer.rs:1:134 [INFO] [stdout] | [INFO] [stdout] 1 | ...nergyWeights}, illegal_buffer::IllegalBuffer, inner_state::{InnerCollision, InnerState}, mutation::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/annealing/annealing_buffer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::annealing_functions::temperature` [INFO] [stdout] --> src/annealing/annealing_state.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use super::annealing_functions::temperature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `illegal_buffer::IllegalBuffer` [INFO] [stdout] --> src/annealing/mutation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | illegal_buffer::IllegalBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/data_types/lesson.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/data_types/simple_date.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::peek_nth` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::peek_nth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::annealing::illegal_buffer::IllegalBuffer` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::annealing::illegal_buffer::IllegalBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | buffer.anneal_iterations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 3 arguments [INFO] [stdout] 27 | 10_000_000, [INFO] [stdout] | ---------- [INFO] [stdout] 28 | / &EnergyWeights { [INFO] [stdout] 29 | | student_gap_weight: 1.0, [INFO] [stdout] 30 | | teacher_gap_weight: 1.0, [INFO] [stdout] 31 | | group_lessons_in_day_weight: 1.0, [INFO] [stdout] 32 | | teacher_lessons_in_day_weight: 1.0, [INFO] [stdout] 33 | | }, [INFO] [stdout] | |_________- supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/annealing/annealing_buffer.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn anneal_iterations(&mut self, iterations: usize, weights: &EnergyWeights, illegal_buffer: IllegalBuffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ --------- ----------------- ----------------------- ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/annealing/inner_state.rs:358:32 [INFO] [stdout] | [INFO] [stdout] 358 | assert_eq!(inner_state.apply_mutation(mutation), true); [INFO] [stdout] | ^^^^^^^^^^^^^^ -------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/annealing/inner_state.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn apply_mutation(&mut self, mutation: Mutation, illegal_buffer: Option<&IllegalBuffer>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ --------- ------------------ -------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/annealing/inner_state.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 363 | assert_eq!(inner_state.apply_mutation(rev_mutation.get()), true); [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/annealing/inner_state.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn apply_mutation(&mut self, mutation: Mutation, illegal_buffer: Option<&IllegalBuffer>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ --------- ------------------ -------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::Read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [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" "e5c2f8c67084bbe9b28af81bdb32691ec8a5b828061ee5285b3f4354eea62ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c2f8c67084bbe9b28af81bdb32691ec8a5b828061ee5285b3f4354eea62ab4", kill_on_drop: false }` [INFO] [stdout] e5c2f8c67084bbe9b28af81bdb32691ec8a5b828061ee5285b3f4354eea62ab4