[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] testing MatheusABorges/trabFinalAD against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheusABorges%2FtrabFinalAD" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MatheusABorges/trabFinalAD on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 unicode-segmentation v0.1.2 [INFO] [stderr] Downloaded scan-rules v0.1.3 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 000b01d9939f6e886f5ecafc040c84b65d37e518a52ba47fd8e17813f79f8d45 [INFO] running `Command { std: "docker" "start" "-a" "000b01d9939f6e886f5ecafc040c84b65d37e518a52ba47fd8e17813f79f8d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "000b01d9939f6e886f5ecafc040c84b65d37e518a52ba47fd8e17813f79f8d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "000b01d9939f6e886f5ecafc040c84b65d37e518a52ba47fd8e17813f79f8d45", kill_on_drop: false }` [INFO] [stdout] 000b01d9939f6e886f5ecafc040c84b65d37e518a52ba47fd8e17813f79f8d45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b81fda455f9bb76352df1a3cd4a04ab79c552e21a3840e583fb240140752a4b1 [INFO] running `Command { std: "docker" "start" "-a" "b81fda455f9bb76352df1a3cd4a04ab79c552e21a3840e583fb240140752a4b1", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling unicode-segmentation v0.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling lazy_static v0.1.16 [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] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling 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 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 `Clone` and `Debug`, 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 3.90s [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 1` [INFO] running `Command { std: "docker" "inspect" "b81fda455f9bb76352df1a3cd4a04ab79c552e21a3840e583fb240140752a4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81fda455f9bb76352df1a3cd4a04ab79c552e21a3840e583fb240140752a4b1", kill_on_drop: false }` [INFO] [stdout] b81fda455f9bb76352df1a3cd4a04ab79c552e21a3840e583fb240140752a4b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c74b55e2c0386f6e66172ccac9b7233eee3f6f7398e29a09434782e353be796e [INFO] running `Command { std: "docker" "start" "-a" "c74b55e2c0386f6e66172ccac9b7233eee3f6f7398e29a09434782e353be796e", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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 `Clone` and `Debug`, 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 `test` profile [unoptimized + debuginfo] target(s) in 0.52s [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 1` [INFO] running `Command { std: "docker" "inspect" "c74b55e2c0386f6e66172ccac9b7233eee3f6f7398e29a09434782e353be796e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c74b55e2c0386f6e66172ccac9b7233eee3f6f7398e29a09434782e353be796e", kill_on_drop: false }` [INFO] [stdout] c74b55e2c0386f6e66172ccac9b7233eee3f6f7398e29a09434782e353be796e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5cbc6358e5c71417c3c3bb8424cc2fe5449aa182d0e87a080d5b0b71bbeea29f [INFO] running `Command { std: "docker" "start" "-a" "5cbc6358e5c71417c3c3bb8424cc2fe5449aa182d0e87a080d5b0b71bbeea29f", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `cliente::Cliente` and `enums::Cor` [INFO] [stderr] --> src/main.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use simulador::{cliente::Cliente, enums::Cor}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::simulador::estatisticas::exponencial::AmostraExp` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::simulador::estatisticas::exponencial::AmostraExp; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `evento_atual` [INFO] [stderr] --> src/simulador/simulador.rs:273:37 [INFO] [stderr] | [INFO] [stderr] 273 | pub fn trata_chegada(&mut self, evento_atual : Evento){ [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evento_atual` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `evento_atual` [INFO] [stderr] --> src/simulador/simulador.rs:312:35 [INFO] [stderr] | [INFO] [stderr] 312 | pub fn trata_fim_1(&mut self, evento_atual : Evento){ [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evento_atual` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `evento_atual` [INFO] [stderr] --> src/simulador/simulador.rs:355:35 [INFO] [stderr] | [INFO] [stderr] 355 | pub fn trata_fim_2(&mut self, evento_atual : Evento){ [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evento_atual` [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/simulador/simulador.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | struct ConfiancaAtingida{ [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 14 | w1 : bool, [INFO] [stderr] | ^^ [INFO] [stderr] 15 | w2 : bool, [INFO] [stderr] | ^^ [INFO] [stderr] 16 | t1 : bool, [INFO] [stderr] | ^^ [INFO] [stderr] 17 | t2 : bool, [INFO] [stderr] | ^^ [INFO] [stderr] 18 | n1 : bool, [INFO] [stderr] | ^^ [INFO] [stderr] 19 | n2 : bool, [INFO] [stderr] | ^^ [INFO] [stderr] 20 | nq1 : bool, [INFO] [stderr] | ^^^ [INFO] [stderr] 21 | nq2 : bool, [INFO] [stderr] | ^^^ [INFO] [stderr] 22 | finalizou : bool [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `todas_confiancas_atingidas` is never used [INFO] [stderr] --> src/simulador/simulador.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 44 | impl ConfiancaAtingida { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 49 | fn todas_confiancas_atingidas(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `confianca_atingida` is never read [INFO] [stderr] --> src/simulador/simulador.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct Simulador{ [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 96 | confianca_atingida : ConfiancaAtingida, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `testa_periodo_transiente`, `verifica_confianca_media`, and `analisa_cov` are never used [INFO] [stderr] --> src/simulador/simulador.rs:526:12 [INFO] [stderr] | [INFO] [stderr] 106 | impl Simulador { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 526 | pub fn testa_periodo_transiente(&mut self, max_chegadas : usize, chegadas_descartadas : usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 631 | fn verifica_confianca_media(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 838 | fn analisa_cov(&self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `criacao` is never read [INFO] [stderr] --> src/simulador/evento.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Evento { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | pub criacao : f64 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Evento` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `novo_det` is never used [INFO] [stderr] --> src/simulador/estatisticas/exponencial.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl AmostraExp{ [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn novo_det(seed : u64) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `trab_final_ad` (bin "trab_final_ad" test) generated 11 warnings (run `cargo fix --bin "trab_final_ad" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [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 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/trab_final_ad-c1d836801959b819) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5cbc6358e5c71417c3c3bb8424cc2fe5449aa182d0e87a080d5b0b71bbeea29f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbc6358e5c71417c3c3bb8424cc2fe5449aa182d0e87a080d5b0b71bbeea29f", kill_on_drop: false }` [INFO] [stdout] 5cbc6358e5c71417c3c3bb8424cc2fe5449aa182d0e87a080d5b0b71bbeea29f