[INFO] fetching crate shrs_core 0.0.2... [INFO] checking shrs_core-0.0.2 against master#74c3f5a146860c94ff4d179fc3bfa34f879adf41 for pr-120248 [INFO] extracting crate shrs_core 0.0.2 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate shrs_core 0.0.2 on toolchain 74c3f5a146860c94ff4d179fc3bfa34f879adf41 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shrs_core 0.0.2 [INFO] finished tweaking crates.io crate shrs_core 0.0.2 [INFO] tweaked toml for crates.io crate shrs_core 0.0.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shrs_utils v0.0.2 [INFO] [stderr] Downloaded shrs_job v0.0.2 [INFO] [stderr] Downloaded pino_deref v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9792ab011233ea00fdce06dc0f7dce325994182546144a6f626d2733d260f210 [INFO] running `Command { std: "docker" "start" "-a" "9792ab011233ea00fdce06dc0f7dce325994182546144a6f626d2733d260f210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9792ab011233ea00fdce06dc0f7dce325994182546144a6f626d2733d260f210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9792ab011233ea00fdce06dc0f7dce325994182546144a6f626d2733d260f210", kill_on_drop: false }` [INFO] [stdout] 9792ab011233ea00fdce06dc0f7dce325994182546144a6f626d2733d260f210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e1cc907838aae54ae73539f97509a3ec2c968b24466709db9d736209f82110f [INFO] running `Command { std: "docker" "start" "-a" "9e1cc907838aae54ae73539f97509a3ec2c968b24466709db9d736209f82110f", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking str_indices v0.4.3 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Compiling pino_deref v0.1.1 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking crossterm v0.26.1 [INFO] [stderr] Checking anymap v1.0.0-beta.2 [INFO] [stderr] Checking comma v1.0.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking thiserror v1.0.57 [INFO] [stderr] Checking shrs_job v0.0.2 [INFO] [stderr] Checking shrs_utils v0.0.2 [INFO] [stderr] Checking rexpect v0.5.0 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking multimap v0.9.1 [INFO] [stderr] Checking shrs_core v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/builtin/alias.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/builtin/cd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hooks::ChangeDirCtx` [INFO] [stdout] --> src/builtin/cd.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | hooks::ChangeDirCtx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/builtin/debug.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/builtin/alias.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/builtin/cd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/builtin/export.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hooks::ChangeDirCtx` [INFO] [stdout] --> src/builtin/cd.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | hooks::ChangeDirCtx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `env` [INFO] [stdout] --> src/builtin/help.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builtins` [INFO] [stdout] --> src/builtin/help.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{BuiltinCmd, BuiltinStatus, Builtins}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hooks::ChangeDirCtx` [INFO] [stdout] --> src/builtin/help.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | hooks::ChangeDirCtx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/builtin/debug.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/builtin/history.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/builtin/export.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `env` [INFO] [stdout] --> src/builtin/jobs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hooks::ChangeDirCtx` [INFO] [stdout] --> src/builtin/jobs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | hooks::ChangeDirCtx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `env` [INFO] [stdout] --> src/builtin/help.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path`, `env` [INFO] [stdout] --> src/builtin/source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | fs::read_to_string, [INFO] [stdout] 4 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builtins` [INFO] [stdout] --> src/builtin/help.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{BuiltinCmd, BuiltinStatus, Builtins}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/builtin/unalias.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hooks::ChangeDirCtx` [INFO] [stdout] --> src/builtin/help.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | hooks::ChangeDirCtx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/builtin/history.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `hashmap` [INFO] [stdout] --> src/builtin/mod.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | macro_rules! hashmap ( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `env` [INFO] [stdout] --> src/builtin/jobs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `Output`, `Write`, `default`, `self`, `stdout` [INFO] [stdout] --> src/cmd_output.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | io::{self, stdout, BufWriter, Write}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] 4 | os::unix::process::ExitStatusExt, [INFO] [stdout] 5 | process::{self, ExitStatus, Output}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hooks::ChangeDirCtx` [INFO] [stdout] --> src/builtin/jobs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | hooks::ChangeDirCtx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueueableCommand`, `style::Print` [INFO] [stdout] --> src/cmd_output.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use crossterm::{style::Print, QueueableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pino_deref::Deref` [INFO] [stdout] --> src/cmd_output.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pino_deref::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path`, `env` [INFO] [stdout] --> src/builtin/source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | fs::read_to_string, [INFO] [stdout] 4 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `ffi::OsString` [INFO] [stdout] --> src/env.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, env, ffi::OsString}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shrs_utils::warn_if_err` [INFO] [stdout] --> src/env.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shrs_utils::warn_if_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/builtin/unalias.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId`, `collections::HashMap`, `io::BufWriter`, `marker::PhantomData` [INFO] [stdout] --> src/hooks.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | any::{Any, TypeId}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] 15 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | io::BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueueableCommand`, `style::Print` [INFO] [stdout] --> src/hooks.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use crossterm::{style::Print, QueueableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pino_deref::Deref` [INFO] [stdout] --> src/jobs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use pino_deref::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `hashmap` [INFO] [stdout] --> src/builtin/mod.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | macro_rules! hashmap ( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::Cow`, `ffi::OsString` [INFO] [stdout] --> src/prompt.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::Cow, ffi::OsString, path::PathBuf, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/prompt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `Output`, `Write`, `default`, `self`, `stdout` [INFO] [stdout] --> src/cmd_output.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | io::{self, stdout, BufWriter, Write}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] 4 | os::unix::process::ExitStatusExt, [INFO] [stdout] 5 | process::{self, ExitStatus, Output}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueueableCommand`, `style::Print` [INFO] [stdout] --> src/cmd_output.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use crossterm::{style::Print, QueueableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pino_deref::Deref` [INFO] [stdout] --> src/cmd_output.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pino_deref::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `ffi::OsString` [INFO] [stdout] --> src/env.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, env, ffi::OsString}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shrs_utils::warn_if_err` [INFO] [stdout] --> src/env.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shrs_utils::warn_if_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId`, `collections::HashMap`, `io::BufWriter`, `marker::PhantomData` [INFO] [stdout] --> src/hooks.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | any::{Any, TypeId}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] 15 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | io::BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueueableCommand`, `style::Print` [INFO] [stdout] --> src/hooks.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use crossterm::{style::Print, QueueableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pino_deref::Deref` [INFO] [stdout] --> src/jobs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use pino_deref::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::Cow`, `ffi::OsString` [INFO] [stdout] --> src/prompt.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::Cow, ffi::OsString, path::PathBuf, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/prompt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `BufWriter`, `Child`, `Output`, `Stdio`, `Write`, `collections::HashMap`, `fs::File`, `os::unix::process::CommandExt`, `rc::Rc`, `stdin`, `stdout` [INFO] [stdout] --> src/shell.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | env, [INFO] [stdout] 7 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | io::{stdin, stdout, BufRead, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] 9 | os::unix::process::CommandExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | path::{Path, PathBuf}, [INFO] [stdout] 11 | process::{Child, Output, Stdio}, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] 12 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueueableCommand`, `style::Print` [INFO] [stdout] --> src/shell.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use crossterm::{style::Print, QueueableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/shell.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/shell.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AfterCommandCtx`, `BeforeCommandCtx`, `JobExitCtx`, `StartupCtx` [INFO] [stdout] --> src/shell.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | hooks::{AfterCommandCtx, BeforeCommandCtx, ChangeDirCtx, Hooks, JobExitCtx, StartupCtx}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `BufWriter`, `Child`, `Output`, `Stdio`, `Write`, `collections::HashMap`, `fs::File`, `os::unix::process::CommandExt`, `rc::Rc`, `stdin`, `stdout` [INFO] [stdout] --> src/shell.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | env, [INFO] [stdout] 7 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | io::{stdin, stdout, BufRead, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] 9 | os::unix::process::CommandExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | path::{Path, PathBuf}, [INFO] [stdout] 11 | process::{Child, Output, Stdio}, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] 12 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueueableCommand`, `style::Print` [INFO] [stdout] --> src/shell.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use crossterm::{style::Print, QueueableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/shell.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/shell.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AfterCommandCtx`, `BeforeCommandCtx`, `JobExitCtx`, `StartupCtx` [INFO] [stdout] --> src/shell.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | hooks::{AfterCommandCtx, BeforeCommandCtx, ChangeDirCtx, Hooks, JobExitCtx, StartupCtx}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/alias.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | rule: AliasRule(Box::new(|ctx| -> bool { true })), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/alias.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | rule: AliasRule(Box::new(|ctx| -> bool { true })), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/alias.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/alias.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/alias.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/alias.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/debug.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/debug.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/exit.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/exit.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/exit.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/builtin/exit.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | args: &Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/debug.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/debug.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/exit.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/exit.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/exit.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/builtin/exit.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | args: &Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/export.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/export.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/help.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/help.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/builtin/help.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | args: &Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/export.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/export.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/help.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/help.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/builtin/help.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | args: &Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/builtin/history.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | Some(Commands::Run { index }) => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/builtin/history.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | Some(Commands::Search { query }) => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `query: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/history.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/history.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/history.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/jobs.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/jobs.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/builtin/jobs.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | args: &Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/builtin/history.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | Some(Commands::Run { index }) => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/builtin/history.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | Some(Commands::Search { query }) => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `query: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/history.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/history.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/history.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/builtin/source.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut child = Command::new(interp.as_str()) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/source.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/source.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/jobs.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/source.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/jobs.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/builtin/jobs.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | args: &Vec, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/builtin/source.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut child = Command::new(interp.as_str()) [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: unused variable: `child` [INFO] [stdout] --> src/builtin/source.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut child = Command::new(interp.as_str()) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/source.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/builtin/source.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/source.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/builtin/unalias.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/unalias.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/builtin/source.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut child = Command::new(interp.as_str()) [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: unused variable: `sh` [INFO] [stdout] --> src/builtin/unalias.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> src/builtin/unalias.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | rt: &mut Runtime, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/hooks.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_ctx` [INFO] [stdout] --> src/hooks.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | sh_ctx: &mut Context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_rt` [INFO] [stdout] --> src/hooks.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | sh_rt: &mut Runtime, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/hooks.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_ctx` [INFO] [stdout] --> src/hooks.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | sh_ctx: &mut Context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_rt` [INFO] [stdout] --> src/hooks.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | sh_rt: &mut Runtime, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/hooks.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | ctx: &BeforeCommandCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/hooks.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_ctx` [INFO] [stdout] --> src/hooks.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | sh_ctx: &mut Context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_rt` [INFO] [stdout] --> src/hooks.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | sh_rt: &mut Runtime, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/hooks.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | ctx: &AfterCommandCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/hooks.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_ctx` [INFO] [stdout] --> src/hooks.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | sh_ctx: &mut Context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_rt` [INFO] [stdout] --> src/hooks.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | sh_rt: &mut Runtime, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/hooks.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | ctx: &ChangeDirCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/hooks.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_ctx` [INFO] [stdout] --> src/hooks.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | sh_ctx: &mut Context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_rt` [INFO] [stdout] --> src/hooks.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | sh_rt: &mut Runtime, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/jobs.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/jobs.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | self.jobs.retain(|k, v| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/hooks.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_ctx` [INFO] [stdout] --> src/hooks.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | sh_ctx: &mut Context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_rt` [INFO] [stdout] --> src/hooks.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | sh_rt: &mut Runtime, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/hooks.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_ctx` [INFO] [stdout] --> src/hooks.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | sh_ctx: &mut Context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_rt` [INFO] [stdout] --> src/hooks.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | sh_rt: &mut Runtime, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/hooks.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | ctx: &BeforeCommandCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/hooks.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_ctx` [INFO] [stdout] --> src/hooks.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | sh_ctx: &mut Context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_rt` [INFO] [stdout] --> src/hooks.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | sh_rt: &mut Runtime, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/hooks.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | ctx: &AfterCommandCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/hooks.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_ctx` [INFO] [stdout] --> src/hooks.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | sh_ctx: &mut Context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_rt` [INFO] [stdout] --> src/hooks.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | sh_rt: &mut Runtime, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/hooks.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | ctx: &ChangeDirCtx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/hooks.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | sh: &Shell, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_ctx` [INFO] [stdout] --> src/hooks.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | sh_ctx: &mut Context, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sh_rt` [INFO] [stdout] --> src/hooks.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | sh_rt: &mut Runtime, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sh_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/jobs.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/jobs.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | self.jobs.retain(|k, v| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyntaxTheme` is never constructed [INFO] [stdout] --> src/theme.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct SyntaxTheme { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/builtin/export.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | rt.env.remove(&var); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = rt.env.remove(&var); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/builtin/export.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | rt.env.set(var, val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = rt.env.set(var, val); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/hooks.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub type HookFn = [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 30 - pub type HookFn = [INFO] [stdout] 30 + pub type HookFn = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyntaxTheme` is never constructed [INFO] [stdout] --> src/theme.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct SyntaxTheme { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/builtin/export.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | rt.env.remove(&var); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = rt.env.remove(&var); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/builtin/export.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | rt.env.set(var, val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = rt.env.set(var, val); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 84 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/hooks.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub type HookFn = [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 30 - pub type HookFn = [INFO] [stdout] 30 + pub type HookFn = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 84 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.38s [INFO] running `Command { std: "docker" "inspect" "9e1cc907838aae54ae73539f97509a3ec2c968b24466709db9d736209f82110f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e1cc907838aae54ae73539f97509a3ec2c968b24466709db9d736209f82110f", kill_on_drop: false }` [INFO] [stdout] 9e1cc907838aae54ae73539f97509a3ec2c968b24466709db9d736209f82110f [INFO] checking shrs_core-0.0.2 against try#13cae6066db2d5e6c9bb508caceec8d34ca49980 for pr-120248 [INFO] extracting crate shrs_core 0.0.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate shrs_core 0.0.2 on toolchain 13cae6066db2d5e6c9bb508caceec8d34ca49980 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shrs_core 0.0.2 [INFO] finished tweaking crates.io crate shrs_core 0.0.2 [INFO] tweaked toml for crates.io crate shrs_core 0.0.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "generate-lockfile" "--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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ede9ca6b0fe96f6dccd6b69b19991352ea27dff1aa2343cc0ece1eac62bce821 [INFO] running `Command { std: "docker" "start" "-a" "ede9ca6b0fe96f6dccd6b69b19991352ea27dff1aa2343cc0ece1eac62bce821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ede9ca6b0fe96f6dccd6b69b19991352ea27dff1aa2343cc0ece1eac62bce821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ede9ca6b0fe96f6dccd6b69b19991352ea27dff1aa2343cc0ece1eac62bce821", kill_on_drop: false }` [INFO] [stdout] ede9ca6b0fe96f6dccd6b69b19991352ea27dff1aa2343cc0ece1eac62bce821 [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afe1136e6c38f0ce566e610a65105c408800353c5db151e58b8f654a7baaea20 [INFO] running `Command { std: "docker" "start" "-a" "afe1136e6c38f0ce566e610a65105c408800353c5db151e58b8f654a7baaea20", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking str_indices v0.4.3 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Compiling pino_deref v0.1.1 [INFO] [stderr] Checking crossterm v0.26.1 [INFO] [stderr] Checking comma v1.0.0 [INFO] [stderr] Checking anymap v1.0.0-beta.2 [INFO] [stdout] error[E0277]: the trait bound `dyn CloneAny: Unsize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anymap-1.0.0-beta.2/src/any.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { Box::from_raw(raw as *mut $t) } [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Unsize` is not implemented for `dyn CloneAny` [INFO] [stdout] ... [INFO] [stdout] 144 | impl_clone!(dyn CloneAny + Send); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: all implementations of `Unsize` are provided automatically by the compiler, see for more information [INFO] [stdout] = note: this error originates in the macro `impl_clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn CloneAny: Unsize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anymap-1.0.0-beta.2/src/any.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { Box::from_raw(raw as *mut $t) } [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Unsize` is not implemented for `dyn CloneAny` [INFO] [stdout] ... [INFO] [stdout] 145 | impl_clone!(dyn CloneAny + Send + Sync); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: all implementations of `Unsize` are provided automatically by the compiler, see for more information [INFO] [stdout] = note: this error originates in the macro `impl_clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anymap` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "afe1136e6c38f0ce566e610a65105c408800353c5db151e58b8f654a7baaea20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe1136e6c38f0ce566e610a65105c408800353c5db151e58b8f654a7baaea20", kill_on_drop: false }` [INFO] [stdout] afe1136e6c38f0ce566e610a65105c408800353c5db151e58b8f654a7baaea20