[INFO] cloning repository https://github.com/oyarsa/escalonamento [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oyarsa/escalonamento" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foyarsa%2Fescalonamento", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foyarsa%2Fescalonamento'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddec7a9d39404f73cd70a60d940032934770154e [INFO] checking oyarsa/escalonamento against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foyarsa%2Fescalonamento" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oyarsa/escalonamento on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oyarsa/escalonamento [INFO] finished tweaking git repo https://github.com/oyarsa/escalonamento [INFO] tweaked toml for git repo https://github.com/oyarsa/escalonamento written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/oyarsa/escalonamento 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.15 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dc5828fd4648cb258e9f4f5d4ab93e0b51f4d63381f28b608ab2a8961a4139f [INFO] running `Command { std: "docker" "start" "-a" "6dc5828fd4648cb258e9f4f5d4ab93e0b51f4d63381f28b608ab2a8961a4139f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dc5828fd4648cb258e9f4f5d4ab93e0b51f4d63381f28b608ab2a8961a4139f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dc5828fd4648cb258e9f4f5d4ab93e0b51f4d63381f28b608ab2a8961a4139f", kill_on_drop: false }` [INFO] [stdout] 6dc5828fd4648cb258e9f4f5d4ab93e0b51f4d63381f28b608ab2a8961a4139f [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a25864feaaba31c5797d086040aff71e6e0bdd790b5cf9604555005572e5853 [INFO] running `Command { std: "docker" "start" "-a" "5a25864feaaba31c5797d086040aff71e6e0bdd790b5cf9604555005572e5853", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.17 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking escalonamento v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | 2...3 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | 2...3 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grasp.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn construcao(mut rng: &mut R, inst: &Instancia, alfa: f64) -> Solucao { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grasp.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn construcao(mut rng: &mut R, inst: &Instancia, alfa: f64) -> Solucao { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_index_from_roleta(mut rng: &mut R, roleta: &[f32]) -> usize { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | fn seleciona_pais<'a, R: Rng + Sized>(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:123:40 [INFO] [stdout] | [INFO] [stdout] 123 | fn individuo_aleatorio(mut rng: &mut R, inst: &Instancia) -> Solucao { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | fn sequencia_aleatoria(mut rng: &mut R, inst: &Instancia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | fn two_opt_aleatorio(mut rng: &mut R, mut sequencia: Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_index_from_roleta(mut rng: &mut R, roleta: &[f32]) -> usize { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | fn gen_points(mut rng: &mut R, num_tarefas: usize) -> (IdTarefa, IdTarefa) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | fn seleciona_pais<'a, R: Rng + Sized>(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | fn pmx_crossover(mut rng: &mut R, pai1: &Sequencia, pai2: &Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:123:40 [INFO] [stdout] | [INFO] [stdout] 123 | fn individuo_aleatorio(mut rng: &mut R, inst: &Instancia) -> Solucao { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | fn sequencia_aleatoria(mut rng: &mut R, inst: &Instancia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | fn ordered_crossover(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | fn two_opt_aleatorio(mut rng: &mut R, mut sequencia: Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | fn gen_points(mut rng: &mut R, num_tarefas: usize) -> (IdTarefa, IdTarefa) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | fn cruzamento(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | fn pmx_crossover(mut rng: &mut R, pai1: &Sequencia, pai2: &Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:225:33 [INFO] [stdout] | [INFO] [stdout] 225 | fn recombinacao(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | fn swap_vertices(mut rng: &mut R, mut sequencia: Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | fn ordered_crossover(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | fn mutacao(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | fn cruzamento(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:225:33 [INFO] [stdout] | [INFO] [stdout] 225 | fn recombinacao(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | fn swap_vertices(mut rng: &mut R, mut sequencia: Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | fn mutacao(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_factivel` is never used [INFO] [stdout] --> src/instancia.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn is_factivel(s: &Sequencia, num_tarefas: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequencias` is never used [INFO] [stdout] --> src/instancia.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn frequencias(sequencia: &Sequencia) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_factivel` is never used [INFO] [stdout] --> src/instancia.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn is_factivel(s: &Sequencia, num_tarefas: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequencias` is never used [INFO] [stdout] --> src/instancia.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn frequencias(sequencia: &Sequencia) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "5a25864feaaba31c5797d086040aff71e6e0bdd790b5cf9604555005572e5853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a25864feaaba31c5797d086040aff71e6e0bdd790b5cf9604555005572e5853", kill_on_drop: false }` [INFO] [stdout] 5a25864feaaba31c5797d086040aff71e6e0bdd790b5cf9604555005572e5853 [INFO] checking oyarsa/escalonamento against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foyarsa%2Fescalonamento" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oyarsa/escalonamento on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oyarsa/escalonamento [INFO] finished tweaking git repo https://github.com/oyarsa/escalonamento [INFO] tweaked toml for git repo https://github.com/oyarsa/escalonamento written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/oyarsa/escalonamento 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73e0b4382ff230f0f320ab030e9996203c3f7a6593390494a4a0fa782730253b [INFO] running `Command { std: "docker" "start" "-a" "73e0b4382ff230f0f320ab030e9996203c3f7a6593390494a4a0fa782730253b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73e0b4382ff230f0f320ab030e9996203c3f7a6593390494a4a0fa782730253b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e0b4382ff230f0f320ab030e9996203c3f7a6593390494a4a0fa782730253b", kill_on_drop: false }` [INFO] [stdout] 73e0b4382ff230f0f320ab030e9996203c3f7a6593390494a4a0fa782730253b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9118193228fc9651a41c1589d2394a715fd651ad0f03937365f1fc31d61c26a9 [INFO] running `Command { std: "docker" "start" "-a" "9118193228fc9651a41c1589d2394a715fd651ad0f03937365f1fc31d61c26a9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.17 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking escalonamento v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | 2...3 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | 2...3 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grasp.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn construcao(mut rng: &mut R, inst: &Instancia, alfa: f64) -> Solucao { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grasp.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn construcao(mut rng: &mut R, inst: &Instancia, alfa: f64) -> Solucao { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_index_from_roleta(mut rng: &mut R, roleta: &[f32]) -> usize { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_index_from_roleta(mut rng: &mut R, roleta: &[f32]) -> usize { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | fn seleciona_pais<'a, R: Rng + Sized>(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | fn seleciona_pais<'a, R: Rng + Sized>(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:123:40 [INFO] [stdout] | [INFO] [stdout] 123 | fn individuo_aleatorio(mut rng: &mut R, inst: &Instancia) -> Solucao { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:123:40 [INFO] [stdout] | [INFO] [stdout] 123 | fn individuo_aleatorio(mut rng: &mut R, inst: &Instancia) -> Solucao { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | fn sequencia_aleatoria(mut rng: &mut R, inst: &Instancia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | fn two_opt_aleatorio(mut rng: &mut R, mut sequencia: Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | fn sequencia_aleatoria(mut rng: &mut R, inst: &Instancia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | fn gen_points(mut rng: &mut R, num_tarefas: usize) -> (IdTarefa, IdTarefa) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | fn two_opt_aleatorio(mut rng: &mut R, mut sequencia: Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | fn gen_points(mut rng: &mut R, num_tarefas: usize) -> (IdTarefa, IdTarefa) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | fn pmx_crossover(mut rng: &mut R, pai1: &Sequencia, pai2: &Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | fn pmx_crossover(mut rng: &mut R, pai1: &Sequencia, pai2: &Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | fn ordered_crossover(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | fn ordered_crossover(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | fn cruzamento(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | fn cruzamento(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:225:33 [INFO] [stdout] | [INFO] [stdout] 225 | fn recombinacao(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | fn swap_vertices(mut rng: &mut R, mut sequencia: Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | fn mutacao(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:225:33 [INFO] [stdout] | [INFO] [stdout] 225 | fn recombinacao(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | fn swap_vertices(mut rng: &mut R, mut sequencia: Sequencia) -> Sequencia { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ag.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | fn mutacao(mut rng: &mut R, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_factivel` is never used [INFO] [stdout] --> src/instancia.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn is_factivel(s: &Sequencia, num_tarefas: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequencias` is never used [INFO] [stdout] --> src/instancia.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn frequencias(sequencia: &Sequencia) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_factivel` is never used [INFO] [stdout] --> src/instancia.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn is_factivel(s: &Sequencia, num_tarefas: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instancia.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 55 | let mut file = BufReader::new(File::open(&path).expect("Erro ao abrir arquivo")); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Instancia(file.lines() [INFO] [stdout] | ___________________^ [INFO] [stdout] 62 | | .take(n) [INFO] [stdout] 63 | | .map(|l| { [INFO] [stdout] 64 | | l.expect("Erro ao ler linha") [INFO] [stdout] ... | [INFO] [stdout] 68 | | }) [INFO] [stdout] 69 | | .map(|val| Tarefa::new(val[0], val[1])) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frequencias` is never used [INFO] [stdout] --> src/instancia.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn frequencias(sequencia: &Sequencia) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instancia.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 55 | let mut file = BufReader::new(File::open(&path).expect("Erro ao abrir arquivo")); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Instancia(file.lines() [INFO] [stdout] | ___________________^ [INFO] [stdout] 62 | | .take(n) [INFO] [stdout] 63 | | .map(|l| { [INFO] [stdout] 64 | | l.expect("Erro ao ler linha") [INFO] [stdout] ... | [INFO] [stdout] 68 | | }) [INFO] [stdout] 69 | | .map(|val| Tarefa::new(val[0], val[1])) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `escalonamento` (bin "escalonamento" test) due to 2 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `escalonamento` (bin "escalonamento") due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9118193228fc9651a41c1589d2394a715fd651ad0f03937365f1fc31d61c26a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9118193228fc9651a41c1589d2394a715fd651ad0f03937365f1fc31d61c26a9", kill_on_drop: false }` [INFO] [stdout] 9118193228fc9651a41c1589d2394a715fd651ad0f03937365f1fc31d61c26a9