[INFO] cloning repository https://github.com/fleuryz/Focus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fleuryz/Focus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffleuryz%2FFocus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffleuryz%2FFocus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3193fb52f83d8662da8a972e059edf21dd106545 [INFO] building fleuryz/Focus against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffleuryz%2FFocus" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fleuryz/Focus on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fleuryz/Focus [INFO] finished tweaking git repo https://github.com/fleuryz/Focus [INFO] tweaked toml for git repo https://github.com/fleuryz/Focus written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/fleuryz/Focus already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "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 rusttype v0.3.0 [INFO] [stderr] Downloaded arrayvec v0.4.6 [INFO] [stderr] Downloaded fixedbitset v0.1.8 [INFO] [stderr] Downloaded xml-rs v0.6.2 [INFO] [stderr] Downloaded gleam v0.4.19 [INFO] [stderr] Downloaded glutin v0.11.0 [INFO] [stderr] Downloaded winit v0.9.0 [INFO] [stderr] Downloaded find_folder v0.1.1 [INFO] [stderr] Downloaded smallvec v0.4.4 [INFO] [stderr] Downloaded petgraph v0.4.11 [INFO] [stderr] Downloaded cocoa v0.11.0 [INFO] [stderr] Downloaded os_type v1.0.0 [INFO] [stderr] Downloaded scrap v0.5.0 [INFO] [stderr] Downloaded glium v0.19.0 [INFO] [stderr] Downloaded conrod_derive v0.1.0 [INFO] [stderr] Downloaded core-graphics v0.10.0 [INFO] [stderr] Downloaded linked-hash-map v0.5.0 [INFO] [stderr] Downloaded conrod v0.57.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe331b2536984fb6cebebe28b488e4fab29d9c57d3b67b6040de20df981f9db0 [INFO] running `Command { std: "docker" "start" "-a" "fe331b2536984fb6cebebe28b488e4fab29d9c57d3b67b6040de20df981f9db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe331b2536984fb6cebebe28b488e4fab29d9c57d3b67b6040de20df981f9db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe331b2536984fb6cebebe28b488e4fab29d9c57d3b67b6040de20df981f9db0", kill_on_drop: false }` [INFO] [stdout] fe331b2536984fb6cebebe28b488e4fab29d9c57d3b67b6040de20df981f9db0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d138278e06397074744b12a88eb5464a8ba440b0e07f0180e2078ad3a6980a2 [INFO] running `Command { std: "docker" "start" "-a" "2d138278e06397074744b12a88eb5464a8ba440b0e07f0180e2078ad3a6980a2", 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] Compiling libc v0.2.35 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling khronos_api v2.0.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling fixedbitset v0.1.8 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling smallvec v0.4.4 [INFO] [stderr] Compiling linked-hash-map v0.5.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling scrap v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling block v0.1.6 [INFO] [stderr] Compiling find_folder v0.1.1 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling xml-rs v0.6.2 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling arrayvec v0.4.6 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling petgraph v0.4.11 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling stb_truetype v0.2.1 [INFO] [stderr] Compiling rand v0.3.20 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling x11-dl v2.17.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling rusttype v0.3.0 [INFO] [stderr] Compiling dlib v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling daggy v0.5.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling num-bigint v0.1.41 [INFO] [stderr] Compiling num-complex v0.1.41 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling num-rational v0.1.40 [INFO] [stderr] Compiling glutin v0.11.0 [INFO] [stderr] Compiling glium v0.19.0 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling conrod_derive v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling os_type v1.0.0 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling wayland-window v0.13.2 [INFO] [stderr] Compiling winit v0.9.0 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling conrod v0.57.0 [INFO] [stderr] Compiling focus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/sessao.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:484:56 [INFO] [stdout] | [INFO] [stdout] 484 | num_variaveis = match valores.num_vals.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 484 | num_variaveis = match valores.num_vals.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:536:59 [INFO] [stdout] | [INFO] [stdout] 536 | num_cenarios = match valores.num_cens.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 536 | num_cenarios = match valores.num_cens.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:809:60 [INFO] [stdout] | [INFO] [stdout] 809 | let num_variaveis = match valores.num_vals.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 809 | let num_variaveis = match valores.num_vals.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:869:63 [INFO] [stdout] | [INFO] [stdout] 869 | let num_cenarios = match valores.num_cens.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 869 | let num_cenarios = match valores.num_cens.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `retorno` is never read [INFO] [stdout] --> src/sessao.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let mut retorno:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/sessao.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | let output = Command::new(programa) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/sessao.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 489 | let output = Command::new(programa_video) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/teste.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | for i in 0..variaveis.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/teste.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | for i in 0..variaveis.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/teste.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | for i in 0 .. self.variaveis.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tipo_sessao` [INFO] [stdout] --> src/teste.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | let tipo_sessao:Option = None; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tipo_sessao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nome` [INFO] [stdout] --> src/variavel.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | fn add(nome: &str, valor: &str) -> Variavel{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valores1` [INFO] [stdout] --> src/gui.rs:605:30 [INFO] [stdout] | [INFO] [stdout] 605 | let (valores1,valores2) = valores.valores.split_at(x*num_variaveis); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valores1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arquivo` [INFO] [stdout] --> src/gui.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | let mut arquivo = valores.teste.escrever(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arquivo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/gui.rs:965:29 [INFO] [stdout] | [INFO] [stdout] 965 | for x in 0..labels_temp.len() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sessao.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut filmagem: std::process::Child; [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/sessao.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let mut filmagem: std::process::Child; [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/sessao.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut nome_video:String = format!("./Videos/{}",self.arquivo_video); [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/gui.rs:609:21 [INFO] [stdout] | [INFO] [stdout] 609 | let mut arquivo = valores.teste.escrever(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `respostaSN` should have a snake case name [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod respostaSN; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `resposta_sn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dados.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | Err(erro) => panic!(erro), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 49 | Err(erro) => panic!("{}", erro), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 49 | Err(erro) => std::panic::panic_any(erro), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/teste.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | io::stdin().read_line(&mut resposta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/teste.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | io::stdin().read_line(&mut resposta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/teste.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | io::stdin().read_line(&mut resposta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `focus::teste::Teste` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use focus::teste::Teste; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `focus::respostaSN::RespostaSN` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use focus::respostaSN::RespostaSN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.58s [INFO] running `Command { std: "docker" "inspect" "2d138278e06397074744b12a88eb5464a8ba440b0e07f0180e2078ad3a6980a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d138278e06397074744b12a88eb5464a8ba440b0e07f0180e2078ad3a6980a2", kill_on_drop: false }` [INFO] [stdout] 2d138278e06397074744b12a88eb5464a8ba440b0e07f0180e2078ad3a6980a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7e17ac0fd46e9a23fae907ff21eaf2314d63020d604d212586d4588275ac329 [INFO] running `Command { std: "docker" "start" "-a" "e7e17ac0fd46e9a23fae907ff21eaf2314d63020d604d212586d4588275ac329", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/sessao.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:484:56 [INFO] [stdout] | [INFO] [stdout] 484 | num_variaveis = match valores.num_vals.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 484 | num_variaveis = match valores.num_vals.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:536:59 [INFO] [stdout] | [INFO] [stdout] 536 | num_cenarios = match valores.num_cens.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 536 | num_cenarios = match valores.num_cens.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:809:60 [INFO] [stdout] | [INFO] [stdout] 809 | let num_variaveis = match valores.num_vals.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 809 | let num_variaveis = match valores.num_vals.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:869:63 [INFO] [stdout] | [INFO] [stdout] 869 | let num_cenarios = match valores.num_cens.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 869 | let num_cenarios = match valores.num_cens.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `retorno` is never read [INFO] [stdout] --> src/sessao.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let mut retorno:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/sessao.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | let output = Command::new(programa) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/sessao.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 489 | let output = Command::new(programa_video) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/teste.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | for i in 0..variaveis.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/teste.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | for i in 0..variaveis.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/teste.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | for i in 0 .. self.variaveis.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tipo_sessao` [INFO] [stdout] --> src/teste.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | let tipo_sessao:Option = None; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tipo_sessao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nome` [INFO] [stdout] --> src/variavel.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | fn add(nome: &str, valor: &str) -> Variavel{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valores1` [INFO] [stdout] --> src/gui.rs:605:30 [INFO] [stdout] | [INFO] [stdout] 605 | let (valores1,valores2) = valores.valores.split_at(x*num_variaveis); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valores1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arquivo` [INFO] [stdout] --> src/gui.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | let mut arquivo = valores.teste.escrever(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arquivo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/gui.rs:965:29 [INFO] [stdout] | [INFO] [stdout] 965 | for x in 0..labels_temp.len() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sessao.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut filmagem: std::process::Child; [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/sessao.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let mut filmagem: std::process::Child; [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/sessao.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut nome_video:String = format!("./Videos/{}",self.arquivo_video); [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/gui.rs:609:21 [INFO] [stdout] | [INFO] [stdout] 609 | let mut arquivo = valores.teste.escrever(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `respostaSN` should have a snake case name [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod respostaSN; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `resposta_sn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dados.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | Err(erro) => panic!(erro), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 49 | Err(erro) => panic!("{}", erro), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 49 | Err(erro) => std::panic::panic_any(erro), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/teste.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | io::stdin().read_line(&mut resposta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling focus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/teste.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | io::stdin().read_line(&mut resposta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/teste.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | io::stdin().read_line(&mut resposta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `focus::teste::Teste` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use focus::teste::Teste; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `focus::respostaSN::RespostaSN` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use focus::respostaSN::RespostaSN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/sessao.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:484:56 [INFO] [stdout] | [INFO] [stdout] 484 | num_variaveis = match valores.num_vals.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 484 | num_variaveis = match valores.num_vals.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:536:59 [INFO] [stdout] | [INFO] [stdout] 536 | num_cenarios = match valores.num_cens.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 536 | num_cenarios = match valores.num_cens.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:809:60 [INFO] [stdout] | [INFO] [stdout] 809 | let num_variaveis = match valores.num_vals.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 809 | let num_variaveis = match valores.num_vals.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/gui.rs:869:63 [INFO] [stdout] | [INFO] [stdout] 869 | let num_cenarios = match valores.num_cens.trim_right().parse::() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated associated function [INFO] [stdout] | [INFO] [stdout] 869 | let num_cenarios = match valores.num_cens.trim_end().parse::() { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `retorno` is never read [INFO] [stdout] --> src/sessao.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let mut retorno:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/sessao.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | let output = Command::new(programa) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/sessao.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 489 | let output = Command::new(programa_video) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/teste.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | for i in 0..variaveis.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/teste.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | for i in 0..variaveis.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/teste.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | for i in 0 .. self.variaveis.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tipo_sessao` [INFO] [stdout] --> src/teste.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | let tipo_sessao:Option = None; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tipo_sessao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nome` [INFO] [stdout] --> src/variavel.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | fn add(nome: &str, valor: &str) -> Variavel{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nome` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valores1` [INFO] [stdout] --> src/gui.rs:605:30 [INFO] [stdout] | [INFO] [stdout] 605 | let (valores1,valores2) = valores.valores.split_at(x*num_variaveis); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_valores1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arquivo` [INFO] [stdout] --> src/gui.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | let mut arquivo = valores.teste.escrever(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arquivo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/gui.rs:965:29 [INFO] [stdout] | [INFO] [stdout] 965 | for x in 0..labels_temp.len() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sessao.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut filmagem: std::process::Child; [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/sessao.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let mut filmagem: std::process::Child; [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/sessao.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut nome_video:String = format!("./Videos/{}",self.arquivo_video); [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/gui.rs:609:21 [INFO] [stdout] | [INFO] [stdout] 609 | let mut arquivo = valores.teste.escrever(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `respostaSN` should have a snake case name [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod respostaSN; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `resposta_sn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dados.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | Err(erro) => panic!(erro), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 49 | Err(erro) => panic!("{}", erro), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 49 | Err(erro) => std::panic::panic_any(erro), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/teste.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | io::stdin().read_line(&mut resposta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/teste.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | io::stdin().read_line(&mut resposta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/teste.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | io::stdin().read_line(&mut resposta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "e7e17ac0fd46e9a23fae907ff21eaf2314d63020d604d212586d4588275ac329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e17ac0fd46e9a23fae907ff21eaf2314d63020d604d212586d4588275ac329", kill_on_drop: false }` [INFO] [stdout] e7e17ac0fd46e9a23fae907ff21eaf2314d63020d604d212586d4588275ac329