[INFO] cloning repository https://github.com/MatheusABorges/trabFinalAD [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatheusABorges/trabFinalAD" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheusABorges%2FtrabFinalAD", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheusABorges%2FtrabFinalAD'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df4f24a33c1df91cc05e95d7ba5a656ea7df16fa [INFO] checking MatheusABorges/trabFinalAD against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheusABorges%2FtrabFinalAD" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MatheusABorges/trabFinalAD on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MatheusABorges/trabFinalAD [INFO] finished tweaking git repo https://github.com/MatheusABorges/trabFinalAD [INFO] tweaked toml for git repo https://github.com/MatheusABorges/trabFinalAD written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MatheusABorges/trabFinalAD 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strcursor v0.2.5 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded unicode-segmentation v0.1.2 [INFO] [stderr] Downloaded scan-rules v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62312133299aa703cd6107d42d53be9e469d161c4852016d11af2700c9ad86a8 [INFO] running `Command { std: "docker" "start" "-a" "62312133299aa703cd6107d42d53be9e469d161c4852016d11af2700c9ad86a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62312133299aa703cd6107d42d53be9e469d161c4852016d11af2700c9ad86a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62312133299aa703cd6107d42d53be9e469d161c4852016d11af2700c9ad86a8", kill_on_drop: false }` [INFO] [stdout] 62312133299aa703cd6107d42d53be9e469d161c4852016d11af2700c9ad86a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb52f44abe3a6cf48b71de24948719324d04a876d4290bb77ace4ec126bde6da [INFO] running `Command { std: "docker" "start" "-a" "cb52f44abe3a6cf48b71de24948719324d04a876d4290bb77ace4ec126bde6da", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking unicode-segmentation v0.1.2 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling strcursor v0.2.5 [INFO] [stderr] Compiling scan-rules v0.1.3 [INFO] [stderr] Checking trab_final_ad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cliente::Cliente`, `enums::Cor` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use simulador::{cliente::Cliente, enums::Cor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::simulador::estatisticas::exponencial::AmostraExp` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::simulador::estatisticas::exponencial::AmostraExp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cliente::Cliente`, `enums::Cor` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use simulador::{cliente::Cliente, enums::Cor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::simulador::estatisticas::exponencial::AmostraExp` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::simulador::estatisticas::exponencial::AmostraExp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evento_atual` [INFO] [stdout] --> src/simulador/simulador.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn trata_chegada(&mut self, evento_atual : Evento){ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evento_atual` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evento_atual` [INFO] [stdout] --> src/simulador/simulador.rs:312:35 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn trata_fim_1(&mut self, evento_atual : Evento){ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evento_atual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evento_atual` [INFO] [stdout] --> src/simulador/simulador.rs:355:35 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn trata_fim_2(&mut self, evento_atual : Evento){ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evento_atual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evento_atual` [INFO] [stdout] --> src/simulador/simulador.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn trata_chegada(&mut self, evento_atual : Evento){ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evento_atual` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evento_atual` [INFO] [stdout] --> src/simulador/simulador.rs:312:35 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn trata_fim_1(&mut self, evento_atual : Evento){ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evento_atual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evento_atual` [INFO] [stdout] --> src/simulador/simulador.rs:355:35 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn trata_fim_2(&mut self, evento_atual : Evento){ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evento_atual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/simulador/simulador.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct ConfiancaAtingida{ [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 14 | w1 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | w2 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | t1 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | t2 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | n1 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | n2 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | nq1 : bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | nq2 : bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | finalizou : bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `todas_confiancas_atingidas` is never used [INFO] [stdout] --> src/simulador/simulador.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl ConfiancaAtingida { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn todas_confiancas_atingidas(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `confianca_atingida` is never read [INFO] [stdout] --> src/simulador/simulador.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Simulador{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 96 | confianca_atingida : ConfiancaAtingida, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `testa_periodo_transiente`, `verifica_confianca_media`, and `analisa_cov` are never used [INFO] [stdout] --> src/simulador/simulador.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Simulador { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 526 | pub fn testa_periodo_transiente(&mut self, max_chegadas : usize, chegadas_descartadas : usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 631 | fn verifica_confianca_media(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 838 | fn analisa_cov(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `criacao` is never read [INFO] [stdout] --> src/simulador/evento.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Evento { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub criacao : f64 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Evento` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `novo_det` is never used [INFO] [stdout] --> src/simulador/estatisticas/exponencial.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AmostraExp{ [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn novo_det(seed : u64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/simulador/simulador.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct ConfiancaAtingida{ [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 14 | w1 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | w2 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | t1 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | t2 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | n1 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | n2 : bool, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | nq1 : bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | nq2 : bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | finalizou : bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `todas_confiancas_atingidas` is never used [INFO] [stdout] --> src/simulador/simulador.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl ConfiancaAtingida { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn todas_confiancas_atingidas(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `confianca_atingida` is never read [INFO] [stdout] --> src/simulador/simulador.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Simulador{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 96 | confianca_atingida : ConfiancaAtingida, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `testa_periodo_transiente`, `verifica_confianca_media`, and `analisa_cov` are never used [INFO] [stdout] --> src/simulador/simulador.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Simulador { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 526 | pub fn testa_periodo_transiente(&mut self, max_chegadas : usize, chegadas_descartadas : usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 631 | fn verifica_confianca_media(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 838 | fn analisa_cov(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `criacao` is never read [INFO] [stdout] --> src/simulador/evento.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Evento { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub criacao : f64 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Evento` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `novo_det` is never used [INFO] [stdout] --> src/simulador/estatisticas/exponencial.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AmostraExp{ [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn novo_det(seed : u64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.34s [INFO] running `Command { std: "docker" "inspect" "cb52f44abe3a6cf48b71de24948719324d04a876d4290bb77ace4ec126bde6da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb52f44abe3a6cf48b71de24948719324d04a876d4290bb77ace4ec126bde6da", kill_on_drop: false }` [INFO] [stdout] cb52f44abe3a6cf48b71de24948719324d04a876d4290bb77ace4ec126bde6da