[INFO] fetching crate msh-rw 0.1.0... [INFO] checking msh-rw-0.1.0 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate msh-rw 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate msh-rw 0.1.0 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate msh-rw 0.1.0 [INFO] finished tweaking crates.io crate msh-rw 0.1.0 [INFO] tweaked toml for crates.io crate msh-rw 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate msh-rw 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11d3fb4d801d7737c115641562856f7ce1c8a1bd0c0a8372a8e47a0d1297f776 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "11d3fb4d801d7737c115641562856f7ce1c8a1bd0c0a8372a8e47a0d1297f776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11d3fb4d801d7737c115641562856f7ce1c8a1bd0c0a8372a8e47a0d1297f776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11d3fb4d801d7737c115641562856f7ce1c8a1bd0c0a8372a8e47a0d1297f776", kill_on_drop: false }` [INFO] [stdout] 11d3fb4d801d7737c115641562856f7ce1c8a1bd0c0a8372a8e47a0d1297f776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d8343835f35b820d60af1f95c46b43e76ad171d7d26a7bd1b6c917c626df246 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6d8343835f35b820d60af1f95c46b43e76ad171d7d26a7bd1b6c917c626df246", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking terminal_size v0.1.12 [INFO] [stderr] Checking console v0.10.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Checking thiserror v1.0.15 [INFO] [stderr] Checking msh-rw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anychar` [INFO] [stdout] --> src/parser.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::character::complete::{anychar, char, line_ending, digit1, one_of, space0, space1}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::error::context` [INFO] [stdout] --> src/parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use nom::error::context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `preceded` [INFO] [stdout] --> src/parser.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use nom::sequence::{delimited, preceded, terminated}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | let ((input, _)) = format_header(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let ((input, _)) = terminated(tag("2.2 0 8"), end_of_line)(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let ((input, _)) = format_footer(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let ((input, _)) = format_header(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let ((input, _)) = terminated(tag("4.1 0 8"), end_of_line)(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let ((input, _)) = format_footer(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bstr::ByteSlice` [INFO] [stdout] --> src/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use bstr::ByteSlice; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/lib.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let (input, header) = msh_header(&first_four_lines(path)?.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/parser.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let (input, header) = msh_header(&first_four_lines(path)?.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/mesh.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_points(a: Node, b: Node, c: Node, d: Node) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/mesh.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_points(a: Node, b: Node, c: Node, d: Node) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/mesh.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_points(a: Node, b: Node, c: Node, d: Node) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/mesh.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_points(a: Node, b: Node, c: Node, d: Node) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/parser.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn from_file>(path: P) -> MshResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first_four_lines` [INFO] [stdout] --> src/parser.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn first_four_lines>(path: P) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_unknown_section` [INFO] [stdout] --> src/parser.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn parse_unknown_section(input: &str) -> IResult<&str, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | None => panic!(format!("unknown mesh element type: {}", label)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 334 | None => panic!("unknown mesh element type: {}", label), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking insta v0.16.0 [INFO] [stdout] warning: unused import: `anychar` [INFO] [stdout] --> src/parser.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::character::complete::{anychar, char, line_ending, digit1, one_of, space0, space1}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::error::context` [INFO] [stdout] --> src/parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use nom::error::context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `preceded` [INFO] [stdout] --> src/parser.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use nom::sequence::{delimited, preceded, terminated}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | let ((input, _)) = format_header(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let ((input, _)) = terminated(tag("2.2 0 8"), end_of_line)(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let ((input, _)) = format_footer(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let ((input, _)) = format_header(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let ((input, _)) = terminated(tag("4.1 0 8"), end_of_line)(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let ((input, _)) = format_footer(input)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/mesh.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_display_snapshot` [INFO] [stdout] --> src/lib.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | use insta::{assert_debug_snapshot, assert_display_snapshot}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bstr::ByteSlice` [INFO] [stdout] --> src/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use bstr::ByteSlice; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/lib.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | other => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let (input, header) = msh_header(&first_four_lines(path)?.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/parser.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let (input, header) = msh_header(&first_four_lines(path)?.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/mesh.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_points(a: Node, b: Node, c: Node, d: Node) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/mesh.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_points(a: Node, b: Node, c: Node, d: Node) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/mesh.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_points(a: Node, b: Node, c: Node, d: Node) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/mesh.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_points(a: Node, b: Node, c: Node, d: Node) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let mut msh = std::fs::read_to_string("props/v2/basic.msh").unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let mut msh_input = input; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/parser.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn from_file>(path: P) -> MshResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | None => panic!(format!("unknown mesh element type: {}", label)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 334 | None => panic!("unknown mesh element type: {}", label), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 500 | _else => {std::dbg!(_else); panic!("bad mesh header")}, [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | _else => {std::dbg!(_else); panic!("bad mesh header")}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.97s [INFO] running `Command { std: "docker" "inspect" "6d8343835f35b820d60af1f95c46b43e76ad171d7d26a7bd1b6c917c626df246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8343835f35b820d60af1f95c46b43e76ad171d7d26a7bd1b6c917c626df246", kill_on_drop: false }` [INFO] [stdout] 6d8343835f35b820d60af1f95c46b43e76ad171d7d26a7bd1b6c917c626df246