[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foyarsa%2Fescalonamento" "/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/oyarsa/escalonamento on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", 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] 39c15b56c42dda129ba4dcd896545b62b65ba4bf06c6dc315b28213483de80e4 [INFO] running `Command { std: "docker" "start" "-a" "39c15b56c42dda129ba4dcd896545b62b65ba4bf06c6dc315b28213483de80e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39c15b56c42dda129ba4dcd896545b62b65ba4bf06c6dc315b28213483de80e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c15b56c42dda129ba4dcd896545b62b65ba4bf06c6dc315b28213483de80e4", kill_on_drop: false }` [INFO] [stdout] 39c15b56c42dda129ba4dcd896545b62b65ba4bf06c6dc315b28213483de80e4 [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a975663a0d5238754e3edacdb576ffda5fea803834e069614d5aaa82f48e41b4 [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" "a975663a0d5238754e3edacdb576ffda5fea803834e069614d5aaa82f48e41b4", kill_on_drop: false }` [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] = 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] = 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/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: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: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: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 never used: `is_factivel` [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 is never used: `frequencias` [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: 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: 16 warnings emitted [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: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: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: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 never used: `is_factivel` [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 is never used: `frequencias` [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "a975663a0d5238754e3edacdb576ffda5fea803834e069614d5aaa82f48e41b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a975663a0d5238754e3edacdb576ffda5fea803834e069614d5aaa82f48e41b4", kill_on_drop: false }` [INFO] [stdout] a975663a0d5238754e3edacdb576ffda5fea803834e069614d5aaa82f48e41b4