[INFO] fetching crate runscript 2.0.0-alpha.2... [INFO] checking runscript-2.0.0-alpha.2 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate runscript 2.0.0-alpha.2 into /workspace/builds/worker-112/source [INFO] validating manifest of crates.io crate runscript 2.0.0-alpha.2 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate runscript 2.0.0-alpha.2 [INFO] finished tweaking crates.io crate runscript 2.0.0-alpha.2 [INFO] tweaked toml for crates.io crate runscript 2.0.0-alpha.2 written to /workspace/builds/worker-112/source/Cargo.toml [INFO] crate crates.io crate runscript 2.0.0-alpha.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b143b03f608204c6a8d200c6974aecc7e2113a384e0608d45449f88c585bf45 [INFO] running `Command { std: "docker" "start" "-a" "7b143b03f608204c6a8d200c6974aecc7e2113a384e0608d45449f88c585bf45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b143b03f608204c6a8d200c6974aecc7e2113a384e0608d45449f88c585bf45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b143b03f608204c6a8d200c6974aecc7e2113a384e0608d45449f88c585bf45", kill_on_drop: false }` [INFO] [stdout] 7b143b03f608204c6a8d200c6974aecc7e2113a384e0608d45449f88c585bf45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0acaa76b52f97fe999770e65fc87b36d5676d9c822041bf474e02df2b1e8326 [INFO] running `Command { std: "docker" "start" "-a" "a0acaa76b52f97fe999770e65fc87b36d5676d9c822041bf474e02df2b1e8326", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking conch-parser v0.1.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling enum-map-derive v0.4.6 [INFO] [stderr] Checking enum-map v0.6.4 [INFO] [stderr] Checking runscript v2.0.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ArcBuilder` [INFO] [stdout] --> src/parser.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use conch_parser::ast::builder::{ArcBuilder, AtomicDefaultBuilder, Builder, DefaultBuilder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TopLevelCommand` [INFO] [stdout] --> src/parser.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use conch_parser::ast::{AtomicTopLevelCommand, TopLevelCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultParser` [INFO] [stdout] --> src/parser.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use conch_parser::parse::{CommandGroupDelimiters, DefaultParser, ParseError, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TopLevelCommand` [INFO] [stdout] --> src/script.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use conch_parser::ast::{AtomicTopLevelCommand, TopLevelCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `run` [INFO] [stdout] --> src/exec.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{run, Script}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArcBuilder` [INFO] [stdout] --> src/parser.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use conch_parser::ast::builder::{ArcBuilder, AtomicDefaultBuilder, Builder, DefaultBuilder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TopLevelCommand` [INFO] [stdout] --> src/parser.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use conch_parser::ast::{AtomicTopLevelCommand, TopLevelCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultParser` [INFO] [stdout] --> src/parser.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use conch_parser::parse::{CommandGroupDelimiters, DefaultParser, ParseError, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TopLevelCommand` [INFO] [stdout] --> src/script.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use conch_parser::ast::{AtomicTopLevelCommand, TopLevelCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `run` [INFO] [stdout] --> src/exec.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{run, Script}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_output` [INFO] [stdout] --> src/exec.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut previous_output = exec_listable_command(&command.first, config, env, &interrupter); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negate` [INFO] [stdout] --> src/exec.rs:241:31 [INFO] [stdout] | [INFO] [stdout] 241 | ListableCommand::Pipe(negate, commands) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_negate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/exec.rs:241:39 [INFO] [stdout] | [INFO] [stdout] 241 | ListableCommand::Pipe(negate, commands) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/exec.rs:260:35 [INFO] [stdout] | [INFO] [stdout] 260 | PipeableCommand::Compound(command) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/exec.rs:264:38 [INFO] [stdout] | [INFO] [stdout] 264 | PipeableCommand::FunctionDef(name, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/exec.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | PipeableCommand::FunctionDef(name, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interrupter` [INFO] [stdout] --> src/exec.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | interrupter: &Interruptable, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_output` [INFO] [stdout] --> src/exec.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut previous_output = exec_listable_command(&command.first, config, env, &interrupter); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/exec.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let mut previous_output = exec_listable_command(&command.first, config, env, &interrupter); [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: `negate` [INFO] [stdout] --> src/exec.rs:241:31 [INFO] [stdout] | [INFO] [stdout] 241 | ListableCommand::Pipe(negate, commands) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_negate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/exec.rs:241:39 [INFO] [stdout] | [INFO] [stdout] 241 | ListableCommand::Pipe(negate, commands) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/exec.rs:260:35 [INFO] [stdout] | [INFO] [stdout] 260 | PipeableCommand::Compound(command) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/exec.rs:264:38 [INFO] [stdout] | [INFO] [stdout] 264 | PipeableCommand::FunctionDef(name, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/exec.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | PipeableCommand::FunctionDef(name, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interrupter` [INFO] [stdout] --> src/exec.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | interrupter: &Interruptable, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `was_interrupted` [INFO] [stdout] --> src/exec.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn was_interrupted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `strsignal` [INFO] [stdout] --> src/exec.rs:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | fn strsignal(sig: c_int) -> *const c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `signal` [INFO] [stdout] --> src/exec.rs:747:4 [INFO] [stdout] | [INFO] [stdout] 747 | fn signal(status: &ExitStatus) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/lib.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn run( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/exec.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | self.0.send(Interrupt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/exec.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | exec_andor_list(command, config, env, interruptable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/exec.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let mut previous_output = exec_listable_command(&command.first, config, env, &interrupter); [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `was_interrupted` [INFO] [stdout] --> src/exec.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn was_interrupted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `strsignal` [INFO] [stdout] --> src/exec.rs:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | fn strsignal(sig: c_int) -> *const c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `signal` [INFO] [stdout] --> src/exec.rs:747:4 [INFO] [stdout] | [INFO] [stdout] 747 | fn signal(status: &ExitStatus) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/lib.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn run( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/exec.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | self.0.send(Interrupt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/exec.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | exec_andor_list(command, config, env, interruptable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `run` [INFO] [stdout] --> src/exec.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{run, Script}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::ErrorKind::*` [INFO] [stdout] --> src/out.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::ErrorKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArcBuilder` [INFO] [stdout] --> src/parser.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use conch_parser::ast::builder::{ArcBuilder, AtomicDefaultBuilder, Builder, DefaultBuilder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TopLevelCommand` [INFO] [stdout] --> src/parser.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use conch_parser::ast::{AtomicTopLevelCommand, TopLevelCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultParser` [INFO] [stdout] --> src/parser.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use conch_parser::parse::{CommandGroupDelimiters, DefaultParser, ParseError, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TopLevelCommand` [INFO] [stdout] --> src/script.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use conch_parser::ast::{AtomicTopLevelCommand, TopLevelCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessExit` [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | use exec::{ProcessExit, ProcessOutput, Verbosity}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `run` [INFO] [stdout] --> src/exec.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::{run, Script}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::ErrorKind::*` [INFO] [stdout] --> src/out.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::ErrorKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArcBuilder` [INFO] [stdout] --> src/parser.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use conch_parser::ast::builder::{ArcBuilder, AtomicDefaultBuilder, Builder, DefaultBuilder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TopLevelCommand` [INFO] [stdout] --> src/parser.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use conch_parser::ast::{AtomicTopLevelCommand, TopLevelCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DefaultParser` [INFO] [stdout] --> src/parser.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use conch_parser::parse::{CommandGroupDelimiters, DefaultParser, ParseError, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TopLevelCommand` [INFO] [stdout] --> src/script.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use conch_parser::ast::{AtomicTopLevelCommand, TopLevelCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessExit` [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | use exec::{ProcessExit, ProcessOutput, Verbosity}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inherit_verbosity` [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | inherit_verbosity: Verbosity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inherit_verbosity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_output` [INFO] [stdout] --> src/exec.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut previous_output = exec_listable_command(&command.first, config, env, &interrupter); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negate` [INFO] [stdout] --> src/exec.rs:241:31 [INFO] [stdout] | [INFO] [stdout] 241 | ListableCommand::Pipe(negate, commands) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_negate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/exec.rs:241:39 [INFO] [stdout] | [INFO] [stdout] 241 | ListableCommand::Pipe(negate, commands) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/exec.rs:260:35 [INFO] [stdout] | [INFO] [stdout] 260 | PipeableCommand::Compound(command) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/exec.rs:264:38 [INFO] [stdout] | [INFO] [stdout] 264 | PipeableCommand::FunctionDef(name, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/exec.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | PipeableCommand::FunctionDef(name, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interrupter` [INFO] [stdout] --> src/exec.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | interrupter: &Interruptable, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/exec.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let mut previous_output = exec_listable_command(&command.first, config, env, &interrupter); [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: `inherit_verbosity` [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | inherit_verbosity: Verbosity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inherit_verbosity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_output` [INFO] [stdout] --> src/exec.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut previous_output = exec_listable_command(&command.first, config, env, &interrupter); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `negate` [INFO] [stdout] --> src/exec.rs:241:31 [INFO] [stdout] | [INFO] [stdout] 241 | ListableCommand::Pipe(negate, commands) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_negate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/exec.rs:241:39 [INFO] [stdout] | [INFO] [stdout] 241 | ListableCommand::Pipe(negate, commands) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/exec.rs:260:35 [INFO] [stdout] | [INFO] [stdout] 260 | PipeableCommand::Compound(command) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/exec.rs:264:38 [INFO] [stdout] | [INFO] [stdout] 264 | PipeableCommand::FunctionDef(name, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/exec.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | PipeableCommand::FunctionDef(name, body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interrupter` [INFO] [stdout] --> src/exec.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | interrupter: &Interruptable, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/exec.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let mut previous_output = exec_listable_command(&command.first, config, env, &interrupter); [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: variant is never constructed: `InvalidGlob` [INFO] [stdout] --> src/exec.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / InvalidGlob { [INFO] [stdout] 61 | | glob: String, [INFO] [stdout] 62 | | loc: RunscriptLocation, [INFO] [stdout] 63 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoGlobMatches` [INFO] [stdout] --> src/exec.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / NoGlobMatches { [INFO] [stdout] 65 | | glob: String, [INFO] [stdout] 66 | | loc: RunscriptLocation, [INFO] [stdout] 67 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadCommand` [INFO] [stdout] --> src/exec.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / BadCommand { [INFO] [stdout] 69 | | err: std::io::Error, [INFO] [stdout] 70 | | loc: RunscriptLocation, [INFO] [stdout] 71 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `was_interrupted` [INFO] [stdout] --> src/exec.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn was_interrupted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `strsignal` [INFO] [stdout] --> src/exec.rs:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | fn strsignal(sig: c_int) -> *const c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `signal` [INFO] [stdout] --> src/exec.rs:747:4 [INFO] [stdout] | [INFO] [stdout] 747 | fn signal(status: &ExitStatus) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_runfile` [INFO] [stdout] --> src/parser.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn parse_runfile(path: impl Into) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Punctuation` [INFO] [stdout] --> src/parser.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 444 | Punctuation(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_word_break_punctuation` [INFO] [stdout] --> src/parser.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn consume_word_break_punctuation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/exec.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | self.0.send(Interrupt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/exec.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | exec_andor_list(command, config, env, interruptable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidGlob` [INFO] [stdout] --> src/exec.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / InvalidGlob { [INFO] [stdout] 61 | | glob: String, [INFO] [stdout] 62 | | loc: RunscriptLocation, [INFO] [stdout] 63 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoGlobMatches` [INFO] [stdout] --> src/exec.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / NoGlobMatches { [INFO] [stdout] 65 | | glob: String, [INFO] [stdout] 66 | | loc: RunscriptLocation, [INFO] [stdout] 67 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadCommand` [INFO] [stdout] --> src/exec.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / BadCommand { [INFO] [stdout] 69 | | err: std::io::Error, [INFO] [stdout] 70 | | loc: RunscriptLocation, [INFO] [stdout] 71 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `was_interrupted` [INFO] [stdout] --> src/exec.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn was_interrupted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `strsignal` [INFO] [stdout] --> src/exec.rs:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | fn strsignal(sig: c_int) -> *const c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `signal` [INFO] [stdout] --> src/exec.rs:747:4 [INFO] [stdout] | [INFO] [stdout] 747 | fn signal(status: &ExitStatus) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_runfile` [INFO] [stdout] --> src/parser.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn parse_runfile(path: impl Into) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Punctuation` [INFO] [stdout] --> src/parser.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 444 | Punctuation(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_word_break_punctuation` [INFO] [stdout] --> src/parser.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn consume_word_break_punctuation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/exec.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | self.0.send(Interrupt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/exec.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | exec_andor_list(command, config, env, interruptable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.87s [INFO] running `Command { std: "docker" "inspect" "a0acaa76b52f97fe999770e65fc87b36d5676d9c822041bf474e02df2b1e8326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0acaa76b52f97fe999770e65fc87b36d5676d9c822041bf474e02df2b1e8326", kill_on_drop: false }` [INFO] [stdout] a0acaa76b52f97fe999770e65fc87b36d5676d9c822041bf474e02df2b1e8326