[INFO] cloning repository https://github.com/emilio/local-search-algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emilio/local-search-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femilio%2Flocal-search-algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femilio%2Flocal-search-algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 566736597ff5adccdf578bdfbd5582a36527b70e [INFO] checking emilio/local-search-algorithms against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femilio%2Flocal-search-algorithms" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/emilio/local-search-algorithms [INFO] finished tweaking git repo https://github.com/emilio/local-search-algorithms [INFO] tweaked toml for git repo https://github.com/emilio/local-search-algorithms written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/emilio/local-search-algorithms on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/emilio/local-search-algorithms already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded libc v0.2.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e7df7d2d7a13a077049f4843bbd9226d6882d741e0c8107ceeb7f5d36b6d5c9 [INFO] running `Command { std: "docker" "start" "-a" "1e7df7d2d7a13a077049f4843bbd9226d6882d741e0c8107ceeb7f5d36b6d5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e7df7d2d7a13a077049f4843bbd9226d6882d741e0c8107ceeb7f5d36b6d5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e7df7d2d7a13a077049f4843bbd9226d6882d741e0c8107ceeb7f5d36b6d5c9", kill_on_drop: false }` [INFO] [stdout] 1e7df7d2d7a13a077049f4843bbd9226d6882d741e0c8107ceeb7f5d36b6d5c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35ecc41867e1e4c0623bcaf131ad2189a862873bbe7e0269dc8eb75658512054 [INFO] running `Command { std: "docker" "start" "-a" "35ecc41867e1e4c0623bcaf131ad2189a862873bbe7e0269dc8eb75658512054", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling local-search-algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.3.15 [INFO] [stdout] error[E0599]: no method named `can_position` found for struct `constraint_propagation::ConstraintPropagation` in the current scope [INFO] [stdout] --> src/main.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ConstraintPropagation { [INFO] [stdout] | -------------------------------- method `can_position` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 148 | assert!(challenge.can_position(pos(0, 0), pos(0, 0)).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `constraint_propagation::ConstraintPropagation` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 148 | assert!(challenge.base.can_position(pos(0, 0), pos(0, 0)).is_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `can_position` found for struct `constraint_propagation::ConstraintPropagation` in the current scope [INFO] [stdout] --> src/main.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ConstraintPropagation { [INFO] [stdout] | -------------------------------- method `can_position` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 149 | assert!(challenge.can_position(pos(0, 1), pos(0, 0)).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `constraint_propagation::ConstraintPropagation` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 149 | assert!(challenge.base.can_position(pos(0, 1), pos(0, 0)).is_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `can_position` found for struct `constraint_propagation::ConstraintPropagation` in the current scope [INFO] [stdout] --> src/main.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ConstraintPropagation { [INFO] [stdout] | -------------------------------- method `can_position` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 150 | assert!(challenge.can_position(pos(1, 0), pos(0, 0)).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `constraint_propagation::ConstraintPropagation` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 150 | assert!(challenge.base.can_position(pos(1, 0), pos(0, 0)).is_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `can_position` found for struct `constraint_propagation::ConstraintPropagation` in the current scope [INFO] [stdout] --> src/main.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ConstraintPropagation { [INFO] [stdout] | -------------------------------- method `can_position` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 151 | assert!(challenge.can_position(pos(1, 1), pos(5, 5)).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `constraint_propagation::ConstraintPropagation` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 151 | assert!(challenge.base.can_position(pos(1, 1), pos(5, 5)).is_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `can_position` found for struct `constraint_propagation::ConstraintPropagation` in the current scope [INFO] [stdout] --> src/main.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ConstraintPropagation { [INFO] [stdout] | -------------------------------- method `can_position` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 152 | assert!(challenge.can_position(pos(3, 2), pos(2, 3)).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `constraint_propagation::ConstraintPropagation` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 152 | assert!(challenge.base.can_position(pos(3, 2), pos(2, 3)).is_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/main.rs:706:39 [INFO] [stdout] | [INFO] [stdout] 706 | for (x, y) in solution.queen_rows.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 706 - for (x, y) in solution.queen_rows.into_iter().enumerate() { [INFO] [stdout] 706 + for (x, y) in solution.queen_rows.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 706 - for (x, y) in solution.queen_rows.into_iter().enumerate() { [INFO] [stdout] 706 + for (x, y) in IntoIterator::into_iter(solution.queen_rows).enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `local-search-algorithms` (bin "local-search-algorithms" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "35ecc41867e1e4c0623bcaf131ad2189a862873bbe7e0269dc8eb75658512054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35ecc41867e1e4c0623bcaf131ad2189a862873bbe7e0269dc8eb75658512054", kill_on_drop: false }` [INFO] [stdout] 35ecc41867e1e4c0623bcaf131ad2189a862873bbe7e0269dc8eb75658512054