[INFO] cloning repository https://github.com/proartmateur/ransom_heimdall [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/proartmateur/ransom_heimdall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproartmateur%2Fransom_heimdall", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproartmateur%2Fransom_heimdall'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79b7cd4eb7849e4a476838a89605a1e9bf6b67cc [INFO] checking proartmateur/ransom_heimdall against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproartmateur%2Fransom_heimdall" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/proartmateur/ransom_heimdall on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/proartmateur/ransom_heimdall [INFO] finished tweaking git repo https://github.com/proartmateur/ransom_heimdall [INFO] tweaked toml for git repo https://github.com/proartmateur/ransom_heimdall written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/proartmateur/ransom_heimdall 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded human-size v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08b34f58d609a2b7ccdaf453ec97e25d7c06bc35bdf5c830f8f4c95c5782add9 [INFO] running `Command { std: "docker" "start" "-a" "08b34f58d609a2b7ccdaf453ec97e25d7c06bc35bdf5c830f8f4c95c5782add9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08b34f58d609a2b7ccdaf453ec97e25d7c06bc35bdf5c830f8f4c95c5782add9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b34f58d609a2b7ccdaf453ec97e25d7c06bc35bdf5c830f8f4c95c5782add9", kill_on_drop: false }` [INFO] [stdout] 08b34f58d609a2b7ccdaf453ec97e25d7c06bc35bdf5c830f8f4c95c5782add9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfd3af51b07366351ba85df84174f7eb9e2a8433ece3653c9e3d47d8774fe7ec [INFO] running `Command { std: "docker" "start" "-a" "dfd3af51b07366351ba85df84174f7eb9e2a8433ece3653c9e3d47d8774fe7ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking human-size v0.4.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking ftp v3.0.1 [INFO] [stderr] Compiling fstrings-proc-macro v0.2.3 [INFO] [stderr] Checking fstrings v0.2.3 [INFO] [stderr] Checking hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/fs/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `NaiveDate` [INFO] [stdout] --> src/fs/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDate, NaiveDateTime, Utc, TimeZone, Local, DateTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Kilobyte` and `Size` [INFO] [stdout] --> src/fs/mod.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use human_size::{Size, SpecificSize, Kilobyte, Mebibyte, Gigibyte, Kibibyte, Pebibyte, Byte}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/fs/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/fs/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/shell/mod.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `NaiveDate` [INFO] [stdout] --> src/fs/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDate, NaiveDateTime, Utc, TimeZone, Local, DateTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/shell/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Kilobyte` and `Size` [INFO] [stdout] --> src/fs/mod.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use human_size::{Size, SpecificSize, Kilobyte, Mebibyte, Gigibyte, Kibibyte, Pebibyte, Byte}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/fs/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `SystemTime`, and `UNIX_EPOCH` [INFO] [stdout] --> src/main.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/shell/mod.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, `NaiveDate`, `TimeZone`, and `Utc` [INFO] [stdout] --> src/main.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | use chrono::{NaiveDate, NaiveDateTime, Utc, TimeZone, Local, DateTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/shell/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `SystemTime`, and `UNIX_EPOCH` [INFO] [stdout] --> src/main.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Gigibyte`, `Kilobyte`, `Mebibyte`, `Size`, and `SpecificSize` [INFO] [stdout] --> src/main.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | use human_size::{Size, SpecificSize, Kilobyte, Mebibyte, Gigibyte}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `function` and `get_file_info` [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::fs::{function, get_file_info}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, `NaiveDate`, `TimeZone`, and `Utc` [INFO] [stdout] --> src/main.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | use chrono::{NaiveDate, NaiveDateTime, Utc, TimeZone, Local, DateTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StratusTranscoder` and `ffmpeg` [INFO] [stdout] --> src/main.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::shell::{cmd, ffmpeg, StratusTranscoder, TranscoderEngineConfig, StratusTranscoderConfig, FtpLoginConfig}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Gigibyte`, `Kilobyte`, `Mebibyte`, `Size`, and `SpecificSize` [INFO] [stdout] --> src/main.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | use human_size::{Size, SpecificSize, Kilobyte, Mebibyte, Gigibyte}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `function` and `get_file_info` [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::fs::{function, get_file_info}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StratusTranscoder` and `ffmpeg` [INFO] [stdout] --> src/main.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::shell::{cmd, ffmpeg, StratusTranscoder, TranscoderEngineConfig, StratusTranscoderConfig, FtpLoginConfig}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/shell/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let hello = output.stdout; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/shell/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let hello = output.stdout; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/shell/mod.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let engine = self.__engine(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comilla` [INFO] [stdout] --> src/shell/mod.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let comilla = '"'.to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comilla` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/shell/mod.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let engine = self.__engine(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comilla` [INFO] [stdout] --> src/shell/mod.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let comilla = '"'.to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comilla` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shell/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut status = false; [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: unused variable: `got` [INFO] [stdout] --> src/shell/mod.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let got = std::mem::replace(&mut query[last_index], video_result); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_got` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `got` [INFO] [stdout] --> src/shell/mod.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let got = std::mem::replace(&mut query[2], video_input); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_got` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shell/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut status = false; [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: unused variable: `got` [INFO] [stdout] --> src/shell/mod.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let got = std::mem::replace(&mut query[last_index], video_result); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_got` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `got` [INFO] [stdout] --> src/shell/mod.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let got = std::mem::replace(&mut query[2], video_input); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_got` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shell/mod.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut vr_tmp: String; [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/shell/mod.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut vr_tmp: String; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `media` [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let media = Path::new(&media_path).join("11 BITE OKOKOKOK XALAPA 22H.mxf").to_str().unwrap().to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine_conf` [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let engine_conf = TranscoderEngineConfig { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stratus_conf` [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let stratus_conf = StratusTranscoderConfig { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stratus_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `media` [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let media = Path::new(&media_path).join("11 BITE OKOKOKOK XALAPA 22H.mxf").to_str().unwrap().to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_media` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine_conf` [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let engine_conf = TranscoderEngineConfig { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_of` is never used [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn type_of(_: T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_env_vars` is never used [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn show_env_vars(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stratus_conf` [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let stratus_conf = StratusTranscoderConfig { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stratus_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/fs/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_date` is never used [INFO] [stdout] --> src/fs/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_date(f_time: SystemTime) -> DateTime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_date_fom_timestamp` is never used [INFO] [stdout] --> src/fs/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_date_fom_timestamp(timestamp: u64) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_timestamp` is never used [INFO] [stdout] --> src/fs/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_timestamp(f_time: SystemTime) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileInfo` is never constructed [INFO] [stdout] --> src/fs/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct FileInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_info` is never used [INFO] [stdout] --> src/fs/mod.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_file_info(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_of` is never used [INFO] [stdout] --> src/shell/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn type_of(_: T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ffmpeg` is never used [INFO] [stdout] --> src/shell/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn ffmpeg(ffmpeg_path: &str, media_path: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user` and `pass` are never read [INFO] [stdout] --> src/shell/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct FtpLoginConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 42 | pub user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | pub pass: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FtpLoginConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ftp_host`, `gxf`, `mxf`, and `danger` are never read [INFO] [stdout] --> src/shell/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct StratusTranscoderConfig { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 48 | pub ftp_host: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub gxf: FtpLoginConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | pub mxf: FtpLoginConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | pub danger: FtpLoginConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StratusTranscoderConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `dest_path` are never read [INFO] [stdout] --> src/shell/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct StratusTranscoder { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 62 | engine: TranscoderEngineConfig, [INFO] [stdout] 63 | config: StratusTranscoderConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | dest_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StratusTranscoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_args` is never used [INFO] [stdout] --> src/exearg/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_args() -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_of` is never used [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn type_of(_: T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_env_vars` is never used [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn show_env_vars(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/fs/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn size_B(&self) -> SpecificSize { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_date` is never used [INFO] [stdout] --> src/fs/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_date(f_time: SystemTime) -> DateTime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let size_B = self.size.to_string() + " B"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_date_fom_timestamp` is never used [INFO] [stdout] --> src/fs/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_date_fom_timestamp(timestamp: u64) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_timestamp` is never used [INFO] [stdout] --> src/fs/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_timestamp(f_time: SystemTime) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_Bi` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let size_Bi: SpecificSize = size_B.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_bi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileInfo` is never constructed [INFO] [stdout] --> src/fs/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct FileInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_info` is never used [INFO] [stdout] --> src/fs/mod.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_file_info(file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_KB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn size_KB(&self) -> SpecificSize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_kb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_of` is never used [INFO] [stdout] --> src/shell/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn type_of(_: T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let size_B = self.size.to_string() + " B"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ffmpeg` is never used [INFO] [stdout] --> src/shell/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn ffmpeg(ffmpeg_path: &str, media_path: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_KB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let size_KB: SpecificSize = size_B.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_kb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user` and `pass` are never read [INFO] [stdout] --> src/shell/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct FtpLoginConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 42 | pub user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | pub pass: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FtpLoginConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_MB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn size_MB(&self) -> SpecificSize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_mb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let size_B = self.size.to_string() + " B"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_MB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let size_MB: SpecificSize = size_B.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_mb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ftp_host`, `gxf`, `mxf`, and `danger` are never read [INFO] [stdout] --> src/shell/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct StratusTranscoderConfig { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 48 | pub ftp_host: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub gxf: FtpLoginConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | pub mxf: FtpLoginConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | pub danger: FtpLoginConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StratusTranscoderConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_GB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn size_GB(&self) -> SpecificSize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let size_B = self.size.to_string() + " B"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `dest_path` are never read [INFO] [stdout] --> src/shell/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct StratusTranscoder { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 62 | engine: TranscoderEngineConfig, [INFO] [stdout] 63 | config: StratusTranscoderConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | dest_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StratusTranscoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_GB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let size_GB: SpecificSize = size_B.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_args` is never used [INFO] [stdout] --> src/exearg/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_args() -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_PB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn size_PB(&self) -> SpecificSize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_pb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let size_B = self.size.to_string() + " B"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn size_B(&self) -> SpecificSize { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_PB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let size_PB: SpecificSize = size_B.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_pb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let size_B = self.size.to_string() + " B"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_Bi` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let size_Bi: SpecificSize = size_B.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_bi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell/mod.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | let mut video_result = video_result.as_str().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_KB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn size_KB(&self) -> SpecificSize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_kb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | let video_input = query[2].clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let size_B = self.size.to_string() + " B"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell/mod.rs:141:43 [INFO] [stdout] | [INFO] [stdout] 141 | video_result = vr_tmp.as_str().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_KB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let size_KB: SpecificSize = size_B.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_kb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_MB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn size_MB(&self) -> SpecificSize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_mb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let size_B = self.size.to_string() + " B"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_MB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let size_MB: SpecificSize = size_B.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_mb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_GB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn size_GB(&self) -> SpecificSize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let size_B = self.size.to_string() + " B"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_GB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let size_GB: SpecificSize = size_B.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size_PB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn size_PB(&self) -> SpecificSize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_pb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_B` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let size_B = self.size.to_string() + " B"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `size_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `size_PB` should have a snake case name [INFO] [stdout] --> src/fs/mod.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let size_PB: SpecificSize = size_B.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `size_pb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell/mod.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | let mut video_result = video_result.as_str().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | let video_input = query[2].clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell/mod.rs:141:43 [INFO] [stdout] | [INFO] [stdout] 141 | video_result = vr_tmp.as_str().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "dfd3af51b07366351ba85df84174f7eb9e2a8433ece3653c9e3d47d8774fe7ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfd3af51b07366351ba85df84174f7eb9e2a8433ece3653c9e3d47d8774fe7ec", kill_on_drop: false }` [INFO] [stdout] dfd3af51b07366351ba85df84174f7eb9e2a8433ece3653c9e3d47d8774fe7ec [INFO] checking proartmateur/ransom_heimdall against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproartmateur%2Fransom_heimdall" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/proartmateur/ransom_heimdall on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/proartmateur/ransom_heimdall [INFO] finished tweaking git repo https://github.com/proartmateur/ransom_heimdall [INFO] tweaked toml for git repo https://github.com/proartmateur/ransom_heimdall written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/proartmateur/ransom_heimdall 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9110f2d2b4aef6365b56483783190d164ec0d04a1b99ac5283eaabae78f50e3 [INFO] running `Command { std: "docker" "start" "-a" "a9110f2d2b4aef6365b56483783190d164ec0d04a1b99ac5283eaabae78f50e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9110f2d2b4aef6365b56483783190d164ec0d04a1b99ac5283eaabae78f50e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9110f2d2b4aef6365b56483783190d164ec0d04a1b99ac5283eaabae78f50e3", kill_on_drop: false }` [INFO] [stdout] a9110f2d2b4aef6365b56483783190d164ec0d04a1b99ac5283eaabae78f50e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de2178c3d7c81f0697bdd665ddff467cb548d1e5e4c961bd06b379e1993a61a0 [INFO] running `Command { std: "docker" "start" "-a" "de2178c3d7c81f0697bdd665ddff467cb548d1e5e4c961bd06b379e1993a61a0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking human-size v0.4.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 791 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 792 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 793 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 794 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 795 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 797 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "de2178c3d7c81f0697bdd665ddff467cb548d1e5e4c961bd06b379e1993a61a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2178c3d7c81f0697bdd665ddff467cb548d1e5e4c961bd06b379e1993a61a0", kill_on_drop: false }` [INFO] [stdout] de2178c3d7c81f0697bdd665ddff467cb548d1e5e4c961bd06b379e1993a61a0