[INFO] cloning repository https://github.com/fferegrino/clir [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fferegrino/clir" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffferegrino%2Fclir", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffferegrino%2Fclir'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 262b6e463e0fe99aa9bf3478163e2cac5ef748b0 [INFO] testing fferegrino/clir against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffferegrino%2Fclir" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fferegrino/clir [INFO] finished tweaking git repo https://github.com/fferegrino/clir [INFO] tweaked toml for git repo https://github.com/fferegrino/clir written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fferegrino/clir on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fferegrino/clir 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded users v0.11.0 [INFO] [stderr] Downloaded tabular v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 947a28e474f2ecf9d113484082de2c3dd490310251ceb2bdbcaab743b28376f1 [INFO] running `Command { std: "docker" "start" "-a" "947a28e474f2ecf9d113484082de2c3dd490310251ceb2bdbcaab743b28376f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "947a28e474f2ecf9d113484082de2c3dd490310251ceb2bdbcaab743b28376f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "947a28e474f2ecf9d113484082de2c3dd490310251ceb2bdbcaab743b28376f1", kill_on_drop: false }` [INFO] [stdout] 947a28e474f2ecf9d113484082de2c3dd490310251ceb2bdbcaab743b28376f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4aa8e30f9fe6a2c3f968099238f55593746d78a00caa30f207e4c71cd06c9f4a [INFO] running `Command { std: "docker" "start" "-a" "4aa8e30f9fe6a2c3f968099238f55593746d78a00caa30f207e4c71cd06c9f4a", kill_on_drop: false }` [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling clir v0.1.0 (/opt/rustwide/workdir/clir) [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling tabular v0.2.0 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling wcr v0.1.0 (/opt/rustwide/workdir/wcr) [INFO] [stderr] Compiling grepr v0.1.0 (/opt/rustwide/workdir/grepr) [INFO] [stderr] Compiling findr v0.1.0 (/opt/rustwide/workdir/findr) [INFO] [stderr] Compiling lsr v0.1.0 (/opt/rustwide/workdir/lsr) [INFO] [stderr] Compiling catr v0.1.0 (/opt/rustwide/workdir/catr) [INFO] [stderr] Compiling headr v0.1.0 (/opt/rustwide/workdir/headr) [INFO] [stderr] Compiling uniqr v0.1.0 (/opt/rustwide/workdir/uniqr) [INFO] [stderr] Compiling calr v0.1.0 (/opt/rustwide/workdir/calr) [INFO] [stderr] Compiling cutr v0.1.0 (/opt/rustwide/workdir/cutr) [INFO] [stderr] Compiling commr v0.1.0 (/opt/rustwide/workdir/commr) [INFO] [stderr] Compiling tailr v0.1.0 (/opt/rustwide/workdir/tailr) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> findr/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> calr/src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..weekday.day_in_week { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::read_dir` [INFO] [stdout] --> lsr/src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, fs::read_dir, 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: unreachable expression [INFO] [stdout] --> grepr/src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | return std::process::exit(1); [INFO] [stdout] | ^^^^^^^--------------------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> findr/src/main.rs:45:105 [INFO] [stdout] | [INFO] [stdout] 45 | matches_type = matches_type && (entry.file_type().is_dir() && args.entry_types.contains("d")) [INFO] [stdout] | -------- ^^^ expected `&String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/slice/mod.rs:2583:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> findr/src/main.rs:46:78 [INFO] [stdout] | [INFO] [stdout] 46 | || (entry.file_type().is_file() && args.entry_types.contains("f")) [INFO] [stdout] | -------- ^^^ expected `&String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/slice/mod.rs:2583:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> findr/src/main.rs:47:81 [INFO] [stdout] | [INFO] [stdout] 47 | || (entry.file_type().is_symlink() && args.entry_types.contains("l")); [INFO] [stdout] | -------- ^^^ expected `&String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/slice/mod.rs:2583:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `findr` (bin "findr") due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: unused variable: `file_count` [INFO] [stdout] --> grepr/src/main.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | fn process_dir(needle: &Regex, dir: &str, file_count: usize, show_counts: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> cutr/src/main.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let mut line = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cutr/src/main.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let mut line = String::new(); [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: field `0` is never read [INFO] [stdout] --> cutr/src/main.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | Fields(PosRanges), [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - Fields(PosRanges), [INFO] [stdout] 45 + Fields(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4aa8e30f9fe6a2c3f968099238f55593746d78a00caa30f207e4c71cd06c9f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aa8e30f9fe6a2c3f968099238f55593746d78a00caa30f207e4c71cd06c9f4a", kill_on_drop: false }` [INFO] [stdout] 4aa8e30f9fe6a2c3f968099238f55593746d78a00caa30f207e4c71cd06c9f4a