[INFO] cloning repository https://github.com/ruza-net/miful [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruza-net/miful" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruza-net%2Fmiful", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruza-net%2Fmiful'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33fb3ca0caf112ad8a137501383109c9fdeafc32 [INFO] building ruza-net/miful against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruza-net%2Fmiful" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ruza-net/miful on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ruza-net/miful [INFO] finished tweaking git repo https://github.com/ruza-net/miful [INFO] tweaked toml for git repo https://github.com/ruza-net/miful written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ruza-net/miful 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aec0cb9605d177d9c4f7db99e75a29c87649549168c041a3eb5c8b46a10ba75f [INFO] running `Command { std: "docker" "start" "-a" "aec0cb9605d177d9c4f7db99e75a29c87649549168c041a3eb5c8b46a10ba75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aec0cb9605d177d9c4f7db99e75a29c87649549168c041a3eb5c8b46a10ba75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec0cb9605d177d9c4f7db99e75a29c87649549168c041a3eb5c8b46a10ba75f", kill_on_drop: false }` [INFO] [stdout] aec0cb9605d177d9c4f7db99e75a29c87649549168c041a3eb5c8b46a10ba75f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0caa515fc7d8215afe46c109aeaba55e4c3ebad9f7ffbc773570826cc8dbe4b2 [INFO] running `Command { std: "docker" "start" "-a" "0caa515fc7d8215afe46c109aeaba55e4c3ebad9f7ffbc773570826cc8dbe4b2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling text_io v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling miful v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/parsing/utils.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{ HashMap, HashSet }; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/parsing/utils.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | fn add_layer_top(&mut self, &str); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parsing/utils.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut temp_map = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/driver.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | functions: map!{}, [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parsing/utils.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut temp_map = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/driver.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | scope: map!{}, [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parsing/utils.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut temp_map = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/driver.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | functions: map!{}, [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_long` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let test_long = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_long` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/parsing/token.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub span: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/parsing/ast.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl NodeWrapper { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 152 | pub fn empty() -> NodeWrapper { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_error` is never used [INFO] [stdout] --> src/parsing/utils.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl MifulError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 179 | pub fn parse_error(message: &str, source: &Vec, index: usize, position: (usize, usize)) -> MifulError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parsing/utils.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 325 | impl ParseError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 326 | pub fn new(message: &str, source: Vec, index: usize, position: (usize, usize)) -> ParseError { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tokens` and `work_string` are never read [INFO] [stdout] --> src/parsing/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Lexer<'outer, 'inner> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | work_string: &'outer str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parsing/utils.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | panic!(format!("{} error occurred!", self.get_kind())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 121 - panic!(format!("{} error occurred!", self.get_kind())); [INFO] [stdout] 121 + panic!("{} error occurred!", self.get_kind()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | message [INFO] [stdout] | ________________________^ [INFO] [stdout] 334 | | .clone() [INFO] [stdout] | |____________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 344 | let lines = message.clone().split('\n').map(ToOwned::to_owned); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | message [INFO] [stdout] | ________________________^ [INFO] [stdout] 378 | | .clone() [INFO] [stdout] | |____________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:397:28 [INFO] [stdout] | [INFO] [stdout] 397 | let lines = message.clone().split('\n').map(ToOwned::to_owned); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:434:24 [INFO] [stdout] | [INFO] [stdout] 434 | message [INFO] [stdout] | ________________________^ [INFO] [stdout] 435 | | .clone() [INFO] [stdout] | |____________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:445:28 [INFO] [stdout] | [INFO] [stdout] 445 | let lines = message.clone().split('\n').map(ToOwned::to_owned); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "0caa515fc7d8215afe46c109aeaba55e4c3ebad9f7ffbc773570826cc8dbe4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0caa515fc7d8215afe46c109aeaba55e4c3ebad9f7ffbc773570826cc8dbe4b2", kill_on_drop: false }` [INFO] [stdout] 0caa515fc7d8215afe46c109aeaba55e4c3ebad9f7ffbc773570826cc8dbe4b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4be8c850f925539a3d3e5132505e86859b2bd7c33addee97a631a5599c0895e [INFO] running `Command { std: "docker" "start" "-a" "b4be8c850f925539a3d3e5132505e86859b2bd7c33addee97a631a5599c0895e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling miful v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/parsing/utils.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{ HashMap, HashSet }; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/parsing/utils.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | fn add_layer_top(&mut self, &str); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parsing/utils.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut temp_map = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/driver.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | functions: map!{}, [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parsing/utils.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut temp_map = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/driver.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | scope: map!{}, [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parsing/utils.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut temp_map = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/driver.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | functions: map!{}, [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_long` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let test_long = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_long` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/parsing/token.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub span: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/parsing/ast.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl NodeWrapper { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 152 | pub fn empty() -> NodeWrapper { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_error` is never used [INFO] [stdout] --> src/parsing/utils.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl MifulError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 179 | pub fn parse_error(message: &str, source: &Vec, index: usize, position: (usize, usize)) -> MifulError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parsing/utils.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 325 | impl ParseError { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 326 | pub fn new(message: &str, source: Vec, index: usize, position: (usize, usize)) -> ParseError { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tokens` and `work_string` are never read [INFO] [stdout] --> src/parsing/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Lexer<'outer, 'inner> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | work_string: &'outer str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parsing/utils.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | panic!(format!("{} error occurred!", self.get_kind())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 121 - panic!(format!("{} error occurred!", self.get_kind())); [INFO] [stdout] 121 + panic!("{} error occurred!", self.get_kind()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | message [INFO] [stdout] | ________________________^ [INFO] [stdout] 334 | | .clone() [INFO] [stdout] | |____________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 344 | let lines = message.clone().split('\n').map(ToOwned::to_owned); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | message [INFO] [stdout] | ________________________^ [INFO] [stdout] 378 | | .clone() [INFO] [stdout] | |____________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:397:28 [INFO] [stdout] | [INFO] [stdout] 397 | let lines = message.clone().split('\n').map(ToOwned::to_owned); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:434:24 [INFO] [stdout] | [INFO] [stdout] 434 | message [INFO] [stdout] | ________________________^ [INFO] [stdout] 435 | | .clone() [INFO] [stdout] | |____________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parsing/utils.rs:445:28 [INFO] [stdout] | [INFO] [stdout] 445 | let lines = message.clone().split('\n').map(ToOwned::to_owned); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "b4be8c850f925539a3d3e5132505e86859b2bd7c33addee97a631a5599c0895e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4be8c850f925539a3d3e5132505e86859b2bd7c33addee97a631a5599c0895e", kill_on_drop: false }` [INFO] [stdout] b4be8c850f925539a3d3e5132505e86859b2bd7c33addee97a631a5599c0895e