[INFO] cloning repository https://github.com/udayj/fortuner
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/udayj/fortuner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudayj%2Ffortuner", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudayj%2Ffortuner'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a0553891684a2eb0823a37c378a23872dceecffd
[INFO] checking udayj/fortuner against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudayj%2Ffortuner" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/udayj/fortuner
[INFO] finished tweaking git repo https://github.com/udayj/fortuner
[INFO] tweaked toml for git repo https://github.com/udayj/fortuner written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/udayj/fortuner on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/udayj/fortuner 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e7f8e872463aaf6b33792215b61f0572e3d925b4670b8d35fbc86a091548e6a2
[INFO] running `Command { std: "docker" "start" "e7f8e872463aaf6b33792215b61f0572e3d925b4670b8d35fbc86a091548e6a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7f8e872463aaf6b33792215b61f0572e3d925b4670b8d35fbc86a091548e6a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7f8e872463aaf6b33792215b61f0572e3d925b4670b8d35fbc86a091548e6a2" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7f8e872463aaf6b33792215b61f0572e3d925b4670b8d35fbc86a091548e6a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7f8e872463aaf6b33792215b61f0572e3d925b4670b8d35fbc86a091548e6a2" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.141
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking predicates-core v1.0.6
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking walkdir v2.3.3
[INFO] [stderr]     Checking once_cell v1.17.1
[INFO] [stderr]     Checking anstyle v1.0.0
[INFO] [stderr]     Checking termtree v0.4.1
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking predicates-tree v1.0.9
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking bstr v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking regex v1.7.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking predicates v3.0.3
[INFO] [stderr]     Checking assert_cmd v2.0.11
[INFO] [stderr]     Checking predicates v2.1.5
[INFO] [stderr]     Checking fortuner v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]    --> src/lib.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |     use std::path::PathBuf;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num_bytes` is never read
[INFO] [stdout]    --> src/lib.rs:135:29
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let mut num_bytes = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] 136 |         loop {
[INFO] [stdout] 137 |             num_bytes = file.read_until(b'%', &mut buffer)?;
[INFO] [stdout]     |             ----------------------------------------------- `num_bytes` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pattern` and `seed` are never read
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 13 |     sources: Vec<String>,
[INFO] [stdout] 14 |     pattern: Option<Regex>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 15 |     seed: Option<u64>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source` and `text` are never read
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Fortune {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 20 |     source: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     text: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Fortune` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_fortunes` is never used
[INFO] [stdout]    --> src/lib.rs:128:4
[INFO] [stdout]     |
[INFO] [stdout] 128 | fn read_fortunes(paths: &[PathBuf]) -> MyResult<Vec<Fortune>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num_bytes` is never read
[INFO] [stdout]    --> src/lib.rs:135:29
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let mut num_bytes = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] 136 |         loop {
[INFO] [stdout] 137 |             num_bytes = file.read_until(b'%', &mut buffer)?;
[INFO] [stdout]     |             ----------------------------------------------- `num_bytes` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pattern` and `seed` are never read
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 13 |     sources: Vec<String>,
[INFO] [stdout] 14 |     pattern: Option<Regex>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 15 |     seed: Option<u64>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source` and `text` are never read
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Fortune {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 20 |     source: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     text: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Fortune` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_fortunes` is never used
[INFO] [stdout]    --> src/lib.rs:128:4
[INFO] [stdout]     |
[INFO] [stdout] 128 | fn read_fortunes(paths: &[PathBuf]) -> MyResult<Vec<Fortune>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.96s
[INFO] running `Command { std: "docker" "inspect" "e7f8e872463aaf6b33792215b61f0572e3d925b4670b8d35fbc86a091548e6a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7f8e872463aaf6b33792215b61f0572e3d925b4670b8d35fbc86a091548e6a2", kill_on_drop: false }`
[INFO] [stdout] e7f8e872463aaf6b33792215b61f0572e3d925b4670b8d35fbc86a091548e6a2
