[INFO] cloning repository https://github.com/yonatan-reicher/fuzzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yonatan-reicher/fuzzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyonatan-reicher%2Ffuzzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyonatan-reicher%2Ffuzzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fbfd5d7377f34db840239ea82633dda02210f7c [INFO] checking yonatan-reicher/fuzzer against try#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyonatan-reicher%2Ffuzzer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yonatan-reicher/fuzzer on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yonatan-reicher/fuzzer [INFO] finished tweaking git repo https://github.com/yonatan-reicher/fuzzer [INFO] tweaked toml for git repo https://github.com/yonatan-reicher/fuzzer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yonatan-reicher/fuzzer 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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56aed70c3fcb25b9f94fb27db8b379f19d39c95b4412e844d5131680f4209129 [INFO] running `Command { std: "docker" "start" "-a" "56aed70c3fcb25b9f94fb27db8b379f19d39c95b4412e844d5131680f4209129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56aed70c3fcb25b9f94fb27db8b379f19d39c95b4412e844d5131680f4209129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56aed70c3fcb25b9f94fb27db8b379f19d39c95b4412e844d5131680f4209129", kill_on_drop: false }` [INFO] [stdout] 56aed70c3fcb25b9f94fb27db8b379f19d39c95b4412e844d5131680f4209129 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f28b50aa1dfaa3afbf046bcc84a6521b3c9c1853a6b03f045348bc5d3e03716 [INFO] running `Command { std: "docker" "start" "-a" "2f28b50aa1dfaa3afbf046bcc84a6521b3c9c1853a6b03f045348bc5d3e03716", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking shared_child v1.0.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fuzzer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/random_strings.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | let ret_non_negative: i64 = unsafe { std::mem::transmute(ret_non_negative) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::cast_signed(ret_non_negative)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoppableLoop` is never constructed [INFO] [stdout] --> src/stoppable_loop.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct StoppableLoop { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoppableLoop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Running` and `Stopped` are never constructed [INFO] [stdout] --> src/stoppable_loop.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Running(Stoppable), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | Stopped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LoopAction` is never used [INFO] [stdout] --> src/stoppable_loop.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait LoopAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_stopped` is never used [INFO] [stdout] --> src/stoppable_loop.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl State { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 32 | fn is_stopped(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_stop`, `start_action`, and `run` are never used [INFO] [stdout] --> src/stoppable_loop.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl StoppableLoop { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 38 | pub fn new(action: A) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_stop(&self) -> impl FnOnce() + Send + 'static { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn start_action(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn run(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty` is never used [INFO] [stdout] --> src/random_strings.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub const fn empty() -> ByteGenerator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_raised` is never used [INFO] [stdout] --> src/flag/waitable_flag.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl WaitableFlag { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn is_raised(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `until_raised` is never used [INFO] [stdout] --> src/flag/waitable_flag.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Wait { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 34 | pub fn until_raised(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mutations.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait FuzzingMutation { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 7 | fn apply(&self, target: &mut T, random_state: &mut SmallRng); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ALL_MUTATIONS` is never used [INFO] [stdout] --> src/mutations.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub static ALL_MUTATIONS: Lazy + Sync + Send>>> = [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/random_strings.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | let ret_non_negative: i64 = unsafe { std::mem::transmute(ret_non_negative) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::cast_signed(ret_non_negative)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty` is never used [INFO] [stdout] --> src/random_strings.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub const fn empty() -> ByteGenerator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mutations.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait FuzzingMutation { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 7 | fn apply(&self, target: &mut T, random_state: &mut SmallRng); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ALL_MUTATIONS` is never used [INFO] [stdout] --> src/mutations.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub static ALL_MUTATIONS: Lazy + Sync + Send>>> = [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.61s [INFO] running `Command { std: "docker" "inspect" "2f28b50aa1dfaa3afbf046bcc84a6521b3c9c1853a6b03f045348bc5d3e03716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f28b50aa1dfaa3afbf046bcc84a6521b3c9c1853a6b03f045348bc5d3e03716", kill_on_drop: false }` [INFO] [stdout] 2f28b50aa1dfaa3afbf046bcc84a6521b3c9c1853a6b03f045348bc5d3e03716