[INFO] cloning repository https://github.com/Takashiidobe/rless [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Takashiidobe/rless" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakashiidobe%2Frless", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakashiidobe%2Frless'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78261df90845aef5eac753f19470d88e5eb2be1e [INFO] checking Takashiidobe/rless/78261df90845aef5eac753f19470d88e5eb2be1e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakashiidobe%2Frless" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Takashiidobe/rless on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Takashiidobe/rless [INFO] finished tweaking git repo https://github.com/Takashiidobe/rless [INFO] tweaked toml for git repo https://github.com/Takashiidobe/rless written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Takashiidobe/rless 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded man v0.3.0 [INFO] [stderr] Downloaded minus v5.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de1e01540cb134aa433d1cf56c6445f5404d75bfa8d3c5d93dbbf4a208c222ac [INFO] running `Command { std: "docker" "start" "-a" "de1e01540cb134aa433d1cf56c6445f5404d75bfa8d3c5d93dbbf4a208c222ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de1e01540cb134aa433d1cf56c6445f5404d75bfa8d3c5d93dbbf4a208c222ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1e01540cb134aa433d1cf56c6445f5404d75bfa8d3c5d93dbbf4a208c222ac", kill_on_drop: false }` [INFO] [stdout] de1e01540cb134aa433d1cf56c6445f5404d75bfa8d3c5d93dbbf4a208c222ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6300dec6ecb8d65530befe1de8113a752da2c2d1e241b9c581e8d2e44a1bc09a [INFO] running `Command { std: "docker" "start" "-a" "6300dec6ecb8d65530befe1de8113a752da2c2d1e241b9c581e8d2e44a1bc09a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking minus v5.6.1 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rless v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `file_list_clone` in this scope [INFO] [stdout] --> src/main.rs:68:60 [INFO] [stdout] | [INFO] [stdout] 68 | tokio::task::spawn_blocking(move || start_pager(pager, file_list_clone.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `file_list_clone` in this scope [INFO] [stdout] --> src/main.rs:68:60 [INFO] [stdout] | [INFO] [stdout] 68 | tokio::task::spawn_blocking(move || start_pager(pager, file_list_clone.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::JoinSet` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | task::JoinSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::JoinSet` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | task::JoinSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>` is not a future [INFO] [stdout] --> src/main.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | let mut fl_lock = file_list.lock().await; [INFO] [stdout] | -^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |`parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>` is not a future [INFO] [stdout] | help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>`, which is required by `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>: IntoFuture` [INFO] [stdout] = note: parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>` is not a future [INFO] [stdout] --> src/main.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | let mut fl_lock = file_list.lock().await; [INFO] [stdout] | -^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |`parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>` is not a future [INFO] [stdout] | help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>`, which is required by `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>: IntoFuture` [INFO] [stdout] = note: parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 100 | return InputEvent::Exit; [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 104 | move_to_next_file(filenames, &pager); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 100 | return InputEvent::Exit; [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 104 | move_to_next_file(filenames, &pager); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `move_next` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>` in the current scope [INFO] [stdout] --> src/main.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let data = fl_lock.move_next().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `MutexGuard<'_, RawMutex, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `move_next` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, Vec>` in the current scope [INFO] [stdout] --> src/main.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let data = fl_lock.move_next().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `MutexGuard<'_, RawMutex, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filenames` [INFO] [stdout] --> src/main.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | move_to_next_file(filenames, &pager); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filenames` [INFO] [stdout] --> src/main.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | move_to_next_file(filenames, &pager); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pager` [INFO] [stdout] --> src/main.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | move_to_next_file(filenames, &pager); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pager` [INFO] [stdout] --> src/main.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | move_to_next_file(filenames, &pager); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let mut guard = fl_clone.lock(); [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] --> src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let mut guard = fl_clone.lock(); [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] error[E0382]: borrow of moved value: `pager` [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 77 | let pager = Pager::new(); [INFO] [stdout] | ----- move occurs because `pager` has type `Pager`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 86 | input_register.add_key_events(&["space"], move |_, ps| { [INFO] [stdout] | ------------ value moved into closure here [INFO] [stdout] ... [INFO] [stdout] 104 | move_to_next_file(filenames, &pager); [INFO] [stdout] | ----- variable moved due to use in closure [INFO] [stdout] ... [INFO] [stdout] 112 | pager.set_input_classifier(Box::new(input_register))?; [INFO] [stdout] | ^^^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `pager` [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 77 | let pager = Pager::new(); [INFO] [stdout] | ----- move occurs because `pager` has type `Pager`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 86 | input_register.add_key_events(&["space"], move |_, ps| { [INFO] [stdout] | ------------ value moved into closure here [INFO] [stdout] ... [INFO] [stdout] 104 | move_to_next_file(filenames, &pager); [INFO] [stdout] | ----- variable moved due to use in closure [INFO] [stdout] ... [INFO] [stdout] 112 | pager.set_input_classifier(Box::new(input_register))?; [INFO] [stdout] | ^^^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0425, E0599. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rless` (bin "rless" test) due to 5 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rless` (bin "rless") due to 5 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6300dec6ecb8d65530befe1de8113a752da2c2d1e241b9c581e8d2e44a1bc09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6300dec6ecb8d65530befe1de8113a752da2c2d1e241b9c581e8d2e44a1bc09a", kill_on_drop: false }` [INFO] [stdout] 6300dec6ecb8d65530befe1de8113a752da2c2d1e241b9c581e8d2e44a1bc09a