[INFO] cloning repository https://github.com/bencelaszlo/randoom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bencelaszlo/randoom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencelaszlo%2Frandoom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencelaszlo%2Frandoom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc7a9dab3a7f51dedaf6bba2c337f48f039c7bb1 [INFO] checking bencelaszlo/randoom against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencelaszlo%2Frandoom" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bencelaszlo/randoom [INFO] finished tweaking git repo https://github.com/bencelaszlo/randoom [INFO] tweaked toml for git repo https://github.com/bencelaszlo/randoom written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bencelaszlo/randoom on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bencelaszlo/randoom 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb80a3a44e3b3878298129545600c5543a847b246fc7eab4af577c52f5d8f5f1 [INFO] running `Command { std: "docker" "start" "-a" "fb80a3a44e3b3878298129545600c5543a847b246fc7eab4af577c52f5d8f5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb80a3a44e3b3878298129545600c5543a847b246fc7eab4af577c52f5d8f5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb80a3a44e3b3878298129545600c5543a847b246fc7eab4af577c52f5d8f5f1", kill_on_drop: false }` [INFO] [stdout] fb80a3a44e3b3878298129545600c5543a847b246fc7eab4af577c52f5d8f5f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4d90bf3fa22b69eaec5350259532336f60bea50722695612a43aca81a40e455 [INFO] running `Command { std: "docker" "start" "-a" "c4d90bf3fa22b69eaec5350259532336f60bea50722695612a43aca81a40e455", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking randoom v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut processed_line: String = line.split_whitespace().collect(); // Remove whitespaces from the string [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_letter_char` is never used [INFO] [stdout] --> src/generator.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_letter_char(c: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines_from_file` is never used [INFO] [stdout] --> src/io.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn read_lines_from_file(file_path: String, json_string: &mut String) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_json_schema` is never used [INFO] [stdout] --> src/io.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn deserialize_json_schema(file_path: String) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | option_output_filename = output.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `randoom` (bin "randoom") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/io.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut processed_line: String = line.split_whitespace().collect(); // Remove whitespaces from the string [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_letter_char` is never used [INFO] [stdout] --> src/generator.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_letter_char(c: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines_from_file` is never used [INFO] [stdout] --> src/io.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn read_lines_from_file(file_path: String, json_string: &mut String) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_json_schema` is never used [INFO] [stdout] --> src/io.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn deserialize_json_schema(file_path: String) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | option_output_filename = output.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `randoom` (bin "randoom" test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c4d90bf3fa22b69eaec5350259532336f60bea50722695612a43aca81a40e455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d90bf3fa22b69eaec5350259532336f60bea50722695612a43aca81a40e455", kill_on_drop: false }` [INFO] [stdout] c4d90bf3fa22b69eaec5350259532336f60bea50722695612a43aca81a40e455