[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 try#802c9b5f98c16ec9d24cdfd517f740f1f3df0e29 for pr-137728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheusABorges%2FtrabFinalAD" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MatheusABorges/trabFinalAD on toolchain 802c9b5f98c16ec9d24cdfd517f740f1f3df0e29 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "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-5-tc2/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" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v0.1.2 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded scan-rules v0.1.3 [INFO] [stderr] Downloaded strcursor v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04375bcc775c431a742ac7c02bc0fb65de961de0f5356de13659c576441f9cea [INFO] running `Command { std: "docker" "start" "-a" "04375bcc775c431a742ac7c02bc0fb65de961de0f5356de13659c576441f9cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04375bcc775c431a742ac7c02bc0fb65de961de0f5356de13659c576441f9cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04375bcc775c431a742ac7c02bc0fb65de961de0f5356de13659c576441f9cea", kill_on_drop: false }` [INFO] [stdout] 04375bcc775c431a742ac7c02bc0fb65de961de0f5356de13659c576441f9cea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeb016b330bdcb43cf503b0ff3771de9c9903f584d58b123d2cf37449c4aa8fb [INFO] running `Command { std: "docker" "start" "-a" "eeb016b330bdcb43cf503b0ff3771de9c9903f584d58b123d2cf37449c4aa8fb", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling libc v0.2.139 [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 getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking trab_final_ad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cliente::Cliente` and `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` and `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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: scan-rules v0.1.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "eeb016b330bdcb43cf503b0ff3771de9c9903f584d58b123d2cf37449c4aa8fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeb016b330bdcb43cf503b0ff3771de9c9903f584d58b123d2cf37449c4aa8fb", kill_on_drop: false }` [INFO] [stdout] eeb016b330bdcb43cf503b0ff3771de9c9903f584d58b123d2cf37449c4aa8fb