[INFO] cloning repository https://github.com/aibarito/ParmesanProject [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aibarito/ParmesanProject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faibarito%2FParmesanProject", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faibarito%2FParmesanProject'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f7663c667329461831a6908ab48b39d2f73f360 [INFO] testing aibarito/ParmesanProject against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faibarito%2FParmesanProject" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 42% (1776/4179) Updating files: 43% (1797/4179) Updating files: 44% (1839/4179) Updating files: 44% (1856/4179) Updating files: 45% (1881/4179) Updating files: 46% (1923/4179) Updating files: 46% (1948/4179) Updating files: 47% (1965/4179) Updating files: 48% (2006/4179) Updating files: 48% (2031/4179) Updating files: 49% (2048/4179) Updating files: 50% (2090/4179) Updating files: 51% (2132/4179) Updating files: 52% (2174/4179) Updating files: 53% (2215/4179) Updating files: 54% (2257/4179) Updating files: 55% (2299/4179) Updating files: 56% (2341/4179) Updating files: 57% (2383/4179) Updating files: 58% (2424/4179) Updating files: 59% (2466/4179) Updating files: 60% (2508/4179) Updating files: 61% (2550/4179) Updating files: 62% (2591/4179) Updating files: 63% (2633/4179) Updating files: 64% (2675/4179) Updating files: 65% (2717/4179) Updating files: 66% (2759/4179) Updating files: 67% (2800/4179) Updating files: 68% (2842/4179) Updating files: 69% (2884/4179) Updating files: 70% (2926/4179) Updating files: 71% (2968/4179) Updating files: 72% (3009/4179) Updating files: 73% (3051/4179) Updating files: 73% (3066/4179) Updating files: 74% (3093/4179) Updating files: 75% (3135/4179) Updating files: 76% (3177/4179) Updating files: 77% (3218/4179) Updating files: 78% (3260/4179) Updating files: 79% (3302/4179) Updating files: 80% (3344/4179) Updating files: 81% (3385/4179) Updating files: 82% (3427/4179) Updating files: 83% (3469/4179) Updating files: 84% (3511/4179) Updating files: 85% (3553/4179) Updating files: 86% (3594/4179) Updating files: 87% (3636/4179) Updating files: 88% (3678/4179) Updating files: 89% (3720/4179) Updating files: 90% (3762/4179) Updating files: 91% (3803/4179) Updating files: 92% (3845/4179) Updating files: 93% (3887/4179) Updating files: 94% (3929/4179) Updating files: 95% (3971/4179) Updating files: 96% (4012/4179) Updating files: 97% (4054/4179) Updating files: 98% (4096/4179) Updating files: 99% (4138/4179) Updating files: 100% (4179/4179) Updating files: 100% (4179/4179), done. [INFO] validating manifest of git repo https://github.com/aibarito/ParmesanProject on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/rust-toolchain [INFO] started tweaking git repo https://github.com/aibarito/ParmesanProject [INFO] finished tweaking git repo https://github.com/aibarito/ParmesanProject [INFO] tweaked toml for git repo https://github.com/aibarito/ParmesanProject written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/aibarito/ParmesanProject already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.53 [INFO] [stderr] Downloaded indexmap v0.4.1 [INFO] [stderr] Downloaded derive_more v0.99.6 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.26.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.26.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.26.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.26.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.26.0 [INFO] [stderr] Downloaded priority-queue v0.6.0 [INFO] [stderr] Downloaded shared_memory v0.12.2 [INFO] [stderr] Downloaded win-sys v0.1.0 [INFO] [stderr] Downloaded disjoint-sets v0.4.2 [INFO] [stderr] Downloaded windows v0.26.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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba26710022c6fbaaf74a5d258eb261d361ff88226286321c2bd3dced69c10c11 [INFO] running `Command { std: "docker" "start" "-a" "ba26710022c6fbaaf74a5d258eb261d361ff88226286321c2bd3dced69c10c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba26710022c6fbaaf74a5d258eb261d361ff88226286321c2bd3dced69c10c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba26710022c6fbaaf74a5d258eb261d361ff88226286321c2bd3dced69c10c11", kill_on_drop: false }` [INFO] [stdout] ba26710022c6fbaaf74a5d258eb261d361ff88226286321c2bd3dced69c10c11 [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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9230d443c102d679e36cacddf4b047fd11a203c00b2f4edd213d58e97732fa6c [INFO] running `Command { std: "docker" "start" "-a" "9230d443c102d679e36cacddf4b047fd11a203c00b2f4edd213d58e97732fa6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling indexmap v0.4.1 [INFO] [stderr] Compiling disjoint-sets v0.4.2 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling priority-queue v0.6.0 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling runtime_fast v1.2.2 (/opt/rustwide/workdir/runtime_fast) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling libmath v0.2.1 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling ctrlc v3.1.4 [INFO] [stderr] Compiling shared_memory v0.12.2 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling derive_more v0.99.6 [INFO] [stderr] Compiling ctor v0.1.14 [INFO] [stderr] Compiling angora_common v1.2.2 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling runtime v1.2.2 (/opt/rustwide/workdir/runtime) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> runtime/src/logger.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block [INFO] [stdout] --> runtime_fast/src/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[link(name = "context", kind = "static")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub fn __angora_reset_context(); [INFO] [stdout] | -------------------------------- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> runtime/src/tag_set.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | const VEC_CAP: usize = (1 << 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1 - const VEC_CAP: usize = (1 << 16); [INFO] [stdout] 1 + const VEC_CAP: usize = 1 << 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> runtime/src/logger.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let mut f = fs::File::open(path)?; [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling angora v1.2.2 (/opt/rustwide/workdir/fuzzer) [INFO] [stderr] Compiling log_reader v0.1.0 (/opt/rustwide/workdir/tools/log_reader) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tools/log_reader/src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/executor/executor.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | if(ret == StatusType::Error){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if(ret == StatusType::Error){ [INFO] [stdout] 335 + if ret == StatusType::Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `PathBuf`, `Stdio`, `io::prelude::*` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | process::{Command, Stdio}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] 13 | io::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | if(!flag) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - if(!flag) { [INFO] [stdout] 37 + if !flag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | if(id == id_from_file){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - if(id == id_from_file){ [INFO] [stdout] 44 + if id == id_from_file { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | if(!flag) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if(!flag) { [INFO] [stdout] 66 + if !flag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | if(int0 == cmpid){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - if(int0 == cmpid){ [INFO] [stdout] 73 + if int0 == cmpid { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | if(cond.is_target){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - if(cond.is_target){ [INFO] [stdout] 192 + if cond.is_target { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | if(!skipShm && printIt){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - if(!skipShm && printIt){ [INFO] [stdout] 197 + if !skipShm && printIt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:201:15 [INFO] [stdout] | [INFO] [stdout] 201 | if(printIt && cond.is_target){println!("TARGET!!");} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - if(printIt && cond.is_target){println!("TARGET!!");} [INFO] [stdout] 201 + if printIt && cond.is_target {println!("TARGET!!");} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:205:15 [INFO] [stdout] | [INFO] [stdout] 205 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - if(!skipShm){ [INFO] [stdout] 205 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | if(!skipShm) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 - if(!skipShm) [INFO] [stdout] 214 + if !skipShm [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 228 - if(!skipShm){ [INFO] [stdout] 228 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 307 - if(!skipShm){ [INFO] [stdout] 307 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | if(res as u64 >= localCounter){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - if(res as u64 >= localCounter){ [INFO] [stdout] 315 + if res as u64 >= localCounter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | if(!skipShm && printIt){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 327 - if(!skipShm && printIt){ [INFO] [stdout] 327 + if !skipShm && printIt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | if((totalNotReached >= u64::MAX-diff) || (totalBinaryExecution >=u64::MAX-localCounter)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 333 - if((totalNotReached >= u64::MAX-diff) || (totalBinaryExecution >=u64::MAX-localCounter)){ [INFO] [stdout] 333 + if (totalNotReached >= u64::MAX-diff) || (totalBinaryExecution >=u64::MAX-localCounter) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:335:21 [INFO] [stdout] | [INFO] [stdout] 335 | if(totalNotReached>=u64::MAX-diff){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if(totalNotReached>=u64::MAX-diff){ [INFO] [stdout] 335 + if totalNotReached>=u64::MAX-diff { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:343:19 [INFO] [stdout] | [INFO] [stdout] 343 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 343 - if(!skipShm){ [INFO] [stdout] 343 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newLine` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let newLine = "\n"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newLine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newLine` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let newLine = "\n"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newLine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skipShm` is never read [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut skipShm = false; [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: value assigned to `nameCopy` is never read [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut nameCopy: String = "".to_owned(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nameCopyForDung` is assigned to, but never used [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut nameCopyForDung: String = "".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_nameCopyForDung` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nameCopyForDung` is never read [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | nameCopyForDung = fName.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diff` is never read [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | let mut diff: u64 = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let mut split = l.split(","); [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] --> fuzzer/src/fuzz_loop.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let mut split = l.split(","); [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] --> fuzzer/src/fuzz_loop.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut printIt = true; [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] --> fuzzer/src/fuzz_loop.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | let mut res_main = u32::from_le_bytes(n_main); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> fuzzer/src/executor/forksrv.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | let exit_code = unsafe { libc::WEXITSTATUS(status) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> fuzzer/src/executor/forksrv.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | let signaled = unsafe { libc::WIFSIGNALED(status) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_absolute` [INFO] [stdout] --> fuzzer/src/command.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn make_absolute(path: &Path) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `is_stdin` [INFO] [stdout] --> fuzzer/src/executor/forksrv.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | is_stdin: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Forksrv` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> fuzzer/src/executor/forksrv.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> fuzzer/src/check_dep.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | panic!(CHECK_CRASH_MSG); [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] 22 | panic!("{}", CHECK_CRASH_MSG); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeNameStart` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn writeNameStart(id: u64)->String{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_name_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newLine` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let newLine = "\n"; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fName` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | ... let fName: &str = vec[2]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `f_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getNameStart` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn getNameStart(cmpid: u32)->String{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_name_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newLine` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let newLine = "\n"; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `skipShm` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut skipShm = false; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `skip_shm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `printIt` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut printIt = true; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `print_it` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nameCopy` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut nameCopy: String = "".to_owned(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `name_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nameCopyForDung` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut nameCopyForDung: String = "".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `name_copy_for_dung` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `totalNotReached` should have an upper case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | static mut totalNotReached: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TOTAL_NOT_REACHED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `localCounter` should have an upper case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | static mut localCounter: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `LOCAL_COUNTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalBinaryExecution` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut totalBinaryExecution: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_binary_execution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalBinaryExecutionBucket` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut totalBinaryExecutionBucket: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_binary_execution_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalNotReachedBucket` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut totalNotReachedBucket: u32=0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_not_reached_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fName` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | let mut fName: String = "".to_owned(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `f_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `localCounter` should have a snake case name [INFO] [stdout] --> fuzzer/src/executor/executor.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub localCounter: &'static mut u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `local_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `toAddFuncName` should have a snake case name [INFO] [stdout] --> fuzzer/src/executor/executor.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub toAddFuncName: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_add_func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `funcName` should have a snake case name [INFO] [stdout] --> fuzzer/src/executor/executor.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub funcName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `temp_localCounter` should have an upper case name [INFO] [stdout] --> fuzzer/src/executor/executor.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | static mut temp_localCounter: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEMP_LOCAL_COUNTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.72s [INFO] running `Command { std: "docker" "inspect" "9230d443c102d679e36cacddf4b047fd11a203c00b2f4edd213d58e97732fa6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9230d443c102d679e36cacddf4b047fd11a203c00b2f4edd213d58e97732fa6c", kill_on_drop: false }` [INFO] [stdout] 9230d443c102d679e36cacddf4b047fd11a203c00b2f4edd213d58e97732fa6c [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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1324383d87f0efea84a8d61109a23c8623b0322002e97c2970d4eccaf819c20 [INFO] running `Command { std: "docker" "start" "-a" "e1324383d87f0efea84a8d61109a23c8623b0322002e97c2970d4eccaf819c20", kill_on_drop: false }` [INFO] [stderr] Compiling angora_common v1.2.2 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> runtime/src/logger.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> runtime/src/tag_set.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | const VEC_CAP: usize = (1 << 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1 - const VEC_CAP: usize = (1 << 16); [INFO] [stdout] 1 + const VEC_CAP: usize = 1 << 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling runtime v1.2.2 (/opt/rustwide/workdir/runtime) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> runtime/src/logger.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let mut f = fs::File::open(path)?; [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] [stderr] Compiling runtime_fast v1.2.2 (/opt/rustwide/workdir/runtime_fast) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/executor/executor.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | if(ret == StatusType::Error){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if(ret == StatusType::Error){ [INFO] [stdout] 335 + if ret == StatusType::Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `PathBuf`, `Stdio`, `io::prelude::*` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | process::{Command, Stdio}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] 13 | io::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | if(!flag) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - if(!flag) { [INFO] [stdout] 37 + if !flag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | if(id == id_from_file){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - if(id == id_from_file){ [INFO] [stdout] 44 + if id == id_from_file { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | if(!flag) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if(!flag) { [INFO] [stdout] 66 + if !flag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | if(int0 == cmpid){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - if(int0 == cmpid){ [INFO] [stdout] 73 + if int0 == cmpid { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | if(cond.is_target){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - if(cond.is_target){ [INFO] [stdout] 192 + if cond.is_target { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | if(!skipShm && printIt){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - if(!skipShm && printIt){ [INFO] [stdout] 197 + if !skipShm && printIt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:201:15 [INFO] [stdout] | [INFO] [stdout] 201 | if(printIt && cond.is_target){println!("TARGET!!");} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - if(printIt && cond.is_target){println!("TARGET!!");} [INFO] [stdout] 201 + if printIt && cond.is_target {println!("TARGET!!");} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:205:15 [INFO] [stdout] | [INFO] [stdout] 205 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - if(!skipShm){ [INFO] [stdout] 205 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | if(!skipShm) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 - if(!skipShm) [INFO] [stdout] 214 + if !skipShm [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 228 - if(!skipShm){ [INFO] [stdout] 228 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 307 - if(!skipShm){ [INFO] [stdout] 307 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | if(res as u64 >= localCounter){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - if(res as u64 >= localCounter){ [INFO] [stdout] 315 + if res as u64 >= localCounter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | if(!skipShm && printIt){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 327 - if(!skipShm && printIt){ [INFO] [stdout] 327 + if !skipShm && printIt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | if((totalNotReached >= u64::MAX-diff) || (totalBinaryExecution >=u64::MAX-localCounter)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 333 - if((totalNotReached >= u64::MAX-diff) || (totalBinaryExecution >=u64::MAX-localCounter)){ [INFO] [stdout] 333 + if (totalNotReached >= u64::MAX-diff) || (totalBinaryExecution >=u64::MAX-localCounter) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:335:21 [INFO] [stdout] | [INFO] [stdout] 335 | if(totalNotReached>=u64::MAX-diff){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if(totalNotReached>=u64::MAX-diff){ [INFO] [stdout] 335 + if totalNotReached>=u64::MAX-diff { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:343:19 [INFO] [stdout] | [INFO] [stdout] 343 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 343 - if(!skipShm){ [INFO] [stdout] 343 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newLine` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let newLine = "\n"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newLine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newLine` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let newLine = "\n"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newLine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skipShm` is never read [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut skipShm = false; [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: value assigned to `nameCopy` is never read [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut nameCopy: String = "".to_owned(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nameCopyForDung` is assigned to, but never used [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut nameCopyForDung: String = "".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_nameCopyForDung` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nameCopyForDung` is never read [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | nameCopyForDung = fName.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diff` is never read [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | let mut diff: u64 = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let mut split = l.split(","); [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] --> fuzzer/src/fuzz_loop.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let mut split = l.split(","); [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] --> fuzzer/src/fuzz_loop.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut printIt = true; [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] --> fuzzer/src/fuzz_loop.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | let mut res_main = u32::from_le_bytes(n_main); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> fuzzer/src/executor/forksrv.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | let exit_code = unsafe { libc::WEXITSTATUS(status) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> fuzzer/src/executor/forksrv.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | let signaled = unsafe { libc::WIFSIGNALED(status) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_absolute` [INFO] [stdout] --> fuzzer/src/command.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn make_absolute(path: &Path) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling log_reader v0.1.0 (/opt/rustwide/workdir/tools/log_reader) [INFO] [stdout] warning: field is never read: `is_stdin` [INFO] [stdout] --> fuzzer/src/executor/forksrv.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | is_stdin: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Forksrv` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> fuzzer/src/executor/forksrv.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling angora v1.2.2 (/opt/rustwide/workdir/fuzzer) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> fuzzer/src/check_dep.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | panic!(CHECK_CRASH_MSG); [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] 22 | panic!("{}", CHECK_CRASH_MSG); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeNameStart` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn writeNameStart(id: u64)->String{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_name_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newLine` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let newLine = "\n"; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fName` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | ... let fName: &str = vec[2]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `f_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getNameStart` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn getNameStart(cmpid: u32)->String{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_name_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newLine` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let newLine = "\n"; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `skipShm` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut skipShm = false; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `skip_shm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `printIt` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut printIt = true; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `print_it` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nameCopy` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut nameCopy: String = "".to_owned(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `name_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nameCopyForDung` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut nameCopyForDung: String = "".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `name_copy_for_dung` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `totalNotReached` should have an upper case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | static mut totalNotReached: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TOTAL_NOT_REACHED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `localCounter` should have an upper case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | static mut localCounter: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `LOCAL_COUNTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalBinaryExecution` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut totalBinaryExecution: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_binary_execution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalBinaryExecutionBucket` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut totalBinaryExecutionBucket: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_binary_execution_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalNotReachedBucket` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut totalNotReachedBucket: u32=0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_not_reached_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fName` should have a snake case name [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | let mut fName: String = "".to_owned(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `f_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `localCounter` should have a snake case name [INFO] [stdout] --> fuzzer/src/executor/executor.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub localCounter: &'static mut u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `local_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `toAddFuncName` should have a snake case name [INFO] [stdout] --> fuzzer/src/executor/executor.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub toAddFuncName: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_add_func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `funcName` should have a snake case name [INFO] [stdout] --> fuzzer/src/executor/executor.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub funcName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `temp_localCounter` should have an upper case name [INFO] [stdout] --> fuzzer/src/executor/executor.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | static mut temp_localCounter: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEMP_LOCAL_COUNTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tools/log_reader/src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> runtime/src/logger.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> runtime/src/tag_set.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | const VEC_CAP: usize = (1 << 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1 - const VEC_CAP: usize = (1 << 16); [INFO] [stdout] 1 + const VEC_CAP: usize = 1 << 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> runtime/src/logger.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let mut f = fs::File::open(path)?; [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: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/executor/executor.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | if(ret == StatusType::Error){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if(ret == StatusType::Error){ [INFO] [stdout] 335 + if ret == StatusType::Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `PathBuf`, `Stdio`, `io::prelude::*` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | process::{Command, Stdio}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] 13 | io::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | if(!flag) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - if(!flag) { [INFO] [stdout] 37 + if !flag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | if(id == id_from_file){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - if(id == id_from_file){ [INFO] [stdout] 44 + if id == id_from_file { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | if(!flag) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if(!flag) { [INFO] [stdout] 66 + if !flag { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | if(int0 == cmpid){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - if(int0 == cmpid){ [INFO] [stdout] 73 + if int0 == cmpid { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | if(cond.is_target){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - if(cond.is_target){ [INFO] [stdout] 192 + if cond.is_target { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | if(!skipShm && printIt){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - if(!skipShm && printIt){ [INFO] [stdout] 197 + if !skipShm && printIt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:201:15 [INFO] [stdout] | [INFO] [stdout] 201 | if(printIt && cond.is_target){println!("TARGET!!");} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - if(printIt && cond.is_target){println!("TARGET!!");} [INFO] [stdout] 201 + if printIt && cond.is_target {println!("TARGET!!");} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:205:15 [INFO] [stdout] | [INFO] [stdout] 205 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - if(!skipShm){ [INFO] [stdout] 205 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | if(!skipShm) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 - if(!skipShm) [INFO] [stdout] 214 + if !skipShm [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 228 - if(!skipShm){ [INFO] [stdout] 228 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 307 - if(!skipShm){ [INFO] [stdout] 307 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | if(res as u64 >= localCounter){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - if(res as u64 >= localCounter){ [INFO] [stdout] 315 + if res as u64 >= localCounter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | if(!skipShm && printIt){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 327 - if(!skipShm && printIt){ [INFO] [stdout] 327 + if !skipShm && printIt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | if((totalNotReached >= u64::MAX-diff) || (totalBinaryExecution >=u64::MAX-localCounter)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 333 - if((totalNotReached >= u64::MAX-diff) || (totalBinaryExecution >=u64::MAX-localCounter)){ [INFO] [stdout] 333 + if (totalNotReached >= u64::MAX-diff) || (totalBinaryExecution >=u64::MAX-localCounter) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:335:21 [INFO] [stdout] | [INFO] [stdout] 335 | if(totalNotReached>=u64::MAX-diff){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - if(totalNotReached>=u64::MAX-diff){ [INFO] [stdout] 335 + if totalNotReached>=u64::MAX-diff { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> fuzzer/src/fuzz_loop.rs:343:19 [INFO] [stdout] | [INFO] [stdout] 343 | if(!skipShm){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 343 - if(!skipShm){ [INFO] [stdout] 343 + if !skipShm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> fuzzer/src/branches.rs:213:40 [INFO] [stdout] | [INFO] [stdout] 213 | let global_branches = Arc::new(GlobalBranches::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> fuzzer/src/branches.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(cfg: RwLock) -> Self { [INFO] [stdout] | ^^^ ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> fuzzer/src/branches.rs:215:23 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(br.has_new(StatusType::Normal), (false, false, 0)); [INFO] [stdout] | ^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> fuzzer/src/branches.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn has_new(&mut self, status: StatusType, directed: bool) -> (bool, bool, usize) { [INFO] [stdout] | ^^^^^^^ --------- ------------------ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> fuzzer/src/branches.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(br.has_new(StatusType::Timeout), (false, false, 0)); [INFO] [stdout] | ^^^^^^^ ------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> fuzzer/src/branches.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn has_new(&mut self, status: StatusType, directed: bool) -> (bool, bool, usize) { [INFO] [stdout] | ^^^^^^^ --------- ------------------ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> fuzzer/src/branches.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(br.has_new(StatusType::Crash), (false, false, 0)); [INFO] [stdout] | ^^^^^^^ ----------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> fuzzer/src/branches.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn has_new(&mut self, status: StatusType, directed: bool) -> (bool, bool, usize) { [INFO] [stdout] | ^^^^^^^ --------- ------------------ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> fuzzer/src/branches.rs:223:40 [INFO] [stdout] | [INFO] [stdout] 223 | let global_branches = Arc::new(GlobalBranches::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> fuzzer/src/branches.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(cfg: RwLock) -> Self { [INFO] [stdout] | ^^^ ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> fuzzer/src/branches.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(br.has_new(StatusType::Normal), (false, false, 0)); [INFO] [stdout] | ^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> fuzzer/src/branches.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn has_new(&mut self, status: StatusType, directed: bool) -> (bool, bool, usize) { [INFO] [stdout] | ^^^^^^^ --------- ------------------ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> fuzzer/src/branches.rs:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | assert_eq!(br.has_new(StatusType::Normal), (true, true, 3)); [INFO] [stdout] | ^^^^^^^ ------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> fuzzer/src/branches.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn has_new(&mut self, status: StatusType, directed: bool) -> (bool, bool, usize) { [INFO] [stdout] | ^^^^^^^ --------- ------------------ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> fuzzer/src/dyncfg/cfg.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | let mut cfg = ControlFlowGraph::new(targets); [INFO] [stdout] | ^^^^^^^ expected struct `CfgFile`, found struct `std::collections::HashSet` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `CfgFile` [INFO] [stdout] found struct `std::collections::HashSet<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `angora` due to 9 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e1324383d87f0efea84a8d61109a23c8623b0322002e97c2970d4eccaf819c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1324383d87f0efea84a8d61109a23c8623b0322002e97c2970d4eccaf819c20", kill_on_drop: false }` [INFO] [stdout] e1324383d87f0efea84a8d61109a23c8623b0322002e97c2970d4eccaf819c20