[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] checking ruza-net/miful against master#f1ce0e6a00593493a12e0e3662119786c761f375 for pr-92413 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruza-net%2Fmiful" "/workspace/builds/worker-49/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-49/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ruza-net/miful on toolchain f1ce0e6a00593493a12e0e3662119786c761f375 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "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-49/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: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "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-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 256c351fd5e5cca4598ee5ad7c3718db8741529001d0d802a5b459ca5c4d61bf [INFO] running `Command { std: "docker" "start" "-a" "256c351fd5e5cca4598ee5ad7c3718db8741529001d0d802a5b459ca5c4d61bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "256c351fd5e5cca4598ee5ad7c3718db8741529001d0d802a5b459ca5c4d61bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256c351fd5e5cca4598ee5ad7c3718db8741529001d0d802a5b459ca5c4d61bf", kill_on_drop: false }` [INFO] [stdout] 256c351fd5e5cca4598ee5ad7c3718db8741529001d0d802a5b459ca5c4d61bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 219cde9a6e8afc6fcbab4f46115233930311853e8a9e6d4f471ca944cbb7022c [INFO] running `Command { std: "docker" "start" "-a" "219cde9a6e8afc6fcbab4f46115233930311853e8a9e6d4f471ca944cbb7022c", kill_on_drop: false }` [INFO] [stderr] Checking unicode-segmentation v1.2.1 [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Checking 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`, `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] = note: `#[warn(anonymous_parameters)]` on by default [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [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`, `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] = note: `#[warn(anonymous_parameters)]` on by default [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 <https://github.com/rust-lang/rust/issues/41686> [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: 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: associated function is never used: `empty` [INFO] [stdout] --> src/parsing/ast.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn empty() -> NodeWrapper { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_error` [INFO] [stdout] --> src/parsing/utils.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_error(message: &str, source: &Vec<String>, index: usize, position: (usize, usize)) -> MifulError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parsing/utils.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn new(message: &str, source: Vec<String>, index: usize, position: (usize, usize)) -> ParseError { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tokens` [INFO] [stdout] --> src/parsing/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tokens: Vec<Token>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `work_string` [INFO] [stdout] --> src/parsing/lexer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | work_string: &'outer str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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: `#[warn(non_fmt_panics)]` on by default [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [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: 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: associated function is never used: `empty` [INFO] [stdout] --> src/parsing/ast.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn empty() -> NodeWrapper { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_error` [INFO] [stdout] --> src/parsing/utils.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn parse_error(message: &str, source: &Vec<String>, index: usize, position: (usize, usize)) -> MifulError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parsing/utils.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn new(message: &str, source: Vec<String>, index: usize, position: (usize, usize)) -> ParseError { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tokens` [INFO] [stdout] --> src/parsing/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tokens: Vec<Token>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `work_string` [INFO] [stdout] --> src/parsing/lexer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | work_string: &'outer str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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: `#[warn(non_fmt_panics)]` on by default [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.92s [INFO] running `Command { std: "docker" "inspect" "219cde9a6e8afc6fcbab4f46115233930311853e8a9e6d4f471ca944cbb7022c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "219cde9a6e8afc6fcbab4f46115233930311853e8a9e6d4f471ca944cbb7022c", kill_on_drop: false }` [INFO] [stdout] 219cde9a6e8afc6fcbab4f46115233930311853e8a9e6d4f471ca944cbb7022c