[INFO] cloning repository https://github.com/AumyF/haksh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AumyF/haksh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAumyF%2Fhaksh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAumyF%2Fhaksh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2850a1ee77ea7b6201f53f28405bb03d604fd1f2 [INFO] building AumyF/haksh against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAumyF%2Fhaksh" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/AumyF/haksh [INFO] finished tweaking git repo https://github.com/AumyF/haksh [INFO] tweaked toml for git repo https://github.com/AumyF/haksh written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AumyF/haksh on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AumyF/haksh already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inotify v0.9.6 [INFO] [stderr] Downloaded nom-recursive v0.5.0 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded nom-recursive-macros v0.5.0 [INFO] [stderr] Downloaded file-id v0.2.1 [INFO] [stderr] Downloaded nom_locate v4.2.0 [INFO] [stderr] Downloaded notify-debouncer-full v0.3.1 [INFO] [stderr] Downloaded bytecount v0.6.7 [INFO] [stderr] Downloaded notify v6.1.1 [INFO] [stderr] Downloaded clipboard-win v5.2.0 [INFO] [stderr] Downloaded nom-regex v0.2.0 [INFO] [stderr] Downloaded reqwest v0.12.1 [INFO] [stderr] Downloaded h2 v0.4.3 [INFO] [stderr] Downloaded syn v2.0.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 166b939409fe40bc863dbb0a102c1edbd98fdd7fb50eae8c26cc936da8141152 [INFO] running `Command { std: "docker" "start" "-a" "166b939409fe40bc863dbb0a102c1edbd98fdd7fb50eae8c26cc936da8141152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "166b939409fe40bc863dbb0a102c1edbd98fdd7fb50eae8c26cc936da8141152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "166b939409fe40bc863dbb0a102c1edbd98fdd7fb50eae8c26cc936da8141152", kill_on_drop: false }` [INFO] [stdout] 166b939409fe40bc863dbb0a102c1edbd98fdd7fb50eae8c26cc936da8141152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 789e72a98a9eb3103383b8982dc1de2720d8c2f2a02712e0c90b829cba70fc5e [INFO] running `Command { std: "docker" "start" "-a" "789e72a98a9eb3103383b8982dc1de2720d8c2f2a02712e0c90b829cba70fc5e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling file-id v0.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling notify-debouncer-full v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling nom-recursive-macros v0.5.0 [INFO] [stderr] Compiling nom-recursive v0.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling nom-regex v0.2.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.1 [INFO] [stderr] Compiling haksh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `notify_debouncer_full::DebouncedEvent` [INFO] [stdout] --> src/interpreter.rs:394:21 [INFO] [stdout] | [INFO] [stdout] 394 | use notify_debouncer_full::DebouncedEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/interpreter.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | use std::io::{self, BufRead, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `line_ending` and `preceded` [INFO] [stdout] --> src/parser.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | character::complete::{char, line_ending, multispace0, space0, space1, u64}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/interpreter.rs:397:37 [INFO] [stdout] | [INFO] [stdout] 397 | use std::io::{self, BufRead, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/interpreter.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | TaggedString::Regex(r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/interpreter.rs:285:68 [INFO] [stdout] | [INFO] [stdout] 285 | let current_dir = std::env::current_dir().map_err(|e| "IOError")?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_sub` is never used [INFO] [stdout] --> src/parser.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn add_sub(input: &str) -> IResult<&str, BinOp> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binop` is never used [INFO] [stdout] --> src/parser.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn binop<'t, Op: crate::interpreter::BinaryOperator, E: ParseError<&'t str>, G>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_div` is never used [INFO] [stdout] --> src/parser.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn mul_div(input: &str) -> IResult<&str, BinOp> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Option` is never constructed [INFO] [stdout] --> src/parser.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 102 | Option(String, PrimaryExpr), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/interpreter.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | bufr.seek(SeekFrom::End(0)); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = bufr.seek(SeekFrom::End(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "789e72a98a9eb3103383b8982dc1de2720d8c2f2a02712e0c90b829cba70fc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "789e72a98a9eb3103383b8982dc1de2720d8c2f2a02712e0c90b829cba70fc5e", kill_on_drop: false }` [INFO] [stdout] 789e72a98a9eb3103383b8982dc1de2720d8c2f2a02712e0c90b829cba70fc5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71f54e2092bf0e6392261d308854d69c740dbe7cc5ce8d3c2dca64fb9b3ee7bb [INFO] running `Command { std: "docker" "start" "-a" "71f54e2092bf0e6392261d308854d69c740dbe7cc5ce8d3c2dca64fb9b3ee7bb", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `notify_debouncer_full::DebouncedEvent` [INFO] [stdout] --> src/interpreter.rs:394:21 [INFO] [stdout] | [INFO] [stdout] 394 | use notify_debouncer_full::DebouncedEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/interpreter.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | use std::io::{self, BufRead, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `line_ending` and `preceded` [INFO] [stdout] --> src/parser.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | character::complete::{char, line_ending, multispace0, space0, space1, u64}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/interpreter.rs:397:37 [INFO] [stdout] | [INFO] [stdout] 397 | use std::io::{self, BufRead, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/interpreter.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | TaggedString::Regex(r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/interpreter.rs:285:68 [INFO] [stdout] | [INFO] [stdout] 285 | let current_dir = std::env::current_dir().map_err(|e| "IOError")?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_sub` is never used [INFO] [stdout] --> src/parser.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn add_sub(input: &str) -> IResult<&str, BinOp> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binop` is never used [INFO] [stdout] --> src/parser.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn binop<'t, Op: crate::interpreter::BinaryOperator, E: ParseError<&'t str>, G>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_div` is never used [INFO] [stdout] --> src/parser.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn mul_div(input: &str) -> IResult<&str, BinOp> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Option` is never constructed [INFO] [stdout] --> src/parser.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 102 | Option(String, PrimaryExpr), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/interpreter.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | bufr.seek(SeekFrom::End(0)); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = bufr.seek(SeekFrom::End(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling haksh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `notify_debouncer_full::DebouncedEvent` [INFO] [stdout] --> src/interpreter.rs:394:21 [INFO] [stdout] | [INFO] [stdout] 394 | use notify_debouncer_full::DebouncedEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/interpreter.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | use std::io::{self, BufRead, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `line_ending` and `preceded` [INFO] [stdout] --> src/parser.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | character::complete::{char, line_ending, multispace0, space0, space1, u64}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/interpreter.rs:397:37 [INFO] [stdout] | [INFO] [stdout] 397 | use std::io::{self, BufRead, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/interpreter.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | TaggedString::Regex(r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/interpreter.rs:285:68 [INFO] [stdout] | [INFO] [stdout] 285 | let current_dir = std::env::current_dir().map_err(|e| "IOError")?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_sub` is never used [INFO] [stdout] --> src/parser.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn add_sub(input: &str) -> IResult<&str, BinOp> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binop` is never used [INFO] [stdout] --> src/parser.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn binop<'t, Op: crate::interpreter::BinaryOperator, E: ParseError<&'t str>, G>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_div` is never used [INFO] [stdout] --> src/parser.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn mul_div(input: &str) -> IResult<&str, BinOp> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Option` is never constructed [INFO] [stdout] --> src/parser.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 102 | Option(String, PrimaryExpr), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/interpreter.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | bufr.seek(SeekFrom::End(0)); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = bufr.seek(SeekFrom::End(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "71f54e2092bf0e6392261d308854d69c740dbe7cc5ce8d3c2dca64fb9b3ee7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f54e2092bf0e6392261d308854d69c740dbe7cc5ce8d3c2dca64fb9b3ee7bb", kill_on_drop: false }` [INFO] [stdout] 71f54e2092bf0e6392261d308854d69c740dbe7cc5ce8d3c2dca64fb9b3ee7bb