[INFO] fetching crate nastran 0.0.1... [INFO] checking nastran-0.0.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate nastran 0.0.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate nastran 0.0.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nastran 0.0.1 [INFO] finished tweaking crates.io crate nastran 0.0.1 [INFO] tweaked toml for crates.io crate nastran 0.0.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages [INFO] [stderr] Adding ascii v0.8.7 (latest: v1.1.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding dtoa v0.4.8 (latest: v1.0.9) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding itertools v0.6.5 (latest: v0.12.1) [INFO] [stderr] Adding memchr v1.0.2 (latest: v2.7.2) [INFO] [stderr] Adding memmap v0.5.2 (latest: v0.7.0) [INFO] [stderr] Adding nom v3.2.1 (latest: v7.1.3) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.4) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.5) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.18) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ascii v0.8.7 [INFO] [stderr] Downloaded memmap v0.5.2 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0cc46d0234fd6efc827fb10532d9c597a8efe2e7f98b690c1e39156cc21325b [INFO] running `Command { std: "docker" "start" "-a" "f0cc46d0234fd6efc827fb10532d9c597a8efe2e7f98b690c1e39156cc21325b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0cc46d0234fd6efc827fb10532d9c597a8efe2e7f98b690c1e39156cc21325b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0cc46d0234fd6efc827fb10532d9c597a8efe2e7f98b690c1e39156cc21325b", kill_on_drop: false }` [INFO] [stdout] f0cc46d0234fd6efc827fb10532d9c597a8efe2e7f98b690c1e39156cc21325b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad89719fd627e30f114b091ce3be0050bdab06e5fa83ece8c0286f507fa84011 [INFO] running `Command { std: "docker" "start" "-a" "ad89719fd627e30f114b091ce3be0050bdab06e5fa83ece8c0286f507fa84011", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking memmap v0.5.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking nastran v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:275:27 [INFO] [stdout] | [INFO] [stdout] 275 | b'+' | b'-' | b'0'...b'9' | b'.' => maybe_number(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:290:27 [INFO] [stdout] | [INFO] [stdout] 290 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | b'+' | b'-' | b'0'...b'9' | b'.' => maybe_number(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dtoa` is imported redundantly [INFO] [stdout] --> src/datfile/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use dtoa; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate dtoa; [INFO] [stdout] | ------------------ the item `dtoa` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(write!(f, "Card(")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(write!(f, "{:?},", self.first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | try!(write!(f, "{:?},", field)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(write!(f, "+{:?}", self.continuation)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(write!(f, "Comment='{}',", String::from_utf8_lossy(comment))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!(write!(f, "comma,")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(write!(f, "double,")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | try!(write!(f, "{}", first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | try!(write!(f, "+ \n* ")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | try!(write!(f, "{:16}", field)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | try!(write!(f, "+ \n+ ")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | try!(write!(f, "{}", field)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | try!(write!(f, "{}", String::from_utf8_lossy(comment))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | try!(write!(f, "$")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | try!(write!(f, "Deck(\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | try!(write!(f, " {},\n", card)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/datfile/mod.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 577 | _ => (false), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - _ => (false), [INFO] [stdout] 577 + _ => false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:275:27 [INFO] [stdout] | [INFO] [stdout] 275 | b'+' | b'-' | b'0'...b'9' | b'.' => maybe_number(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:290:27 [INFO] [stdout] | [INFO] [stdout] 290 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | b'+' | b'-' | b'0'...b'9' | b'.' => maybe_number(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dtoa` is imported redundantly [INFO] [stdout] --> src/datfile/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use dtoa; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate dtoa; [INFO] [stdout] | ------------------ the item `dtoa` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(write!(f, "Card(")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(write!(f, "{:?},", self.first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | try!(write!(f, "{:?},", field)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(write!(f, "+{:?}", self.continuation)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(write!(f, "Comment='{}',", String::from_utf8_lossy(comment))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!(write!(f, "comma,")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(write!(f, "double,")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | try!(write!(f, "{}", first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | try!(write!(f, "+ \n* ")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | try!(write!(f, "{:16}", field)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | try!(write!(f, "+ \n+ ")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | try!(write!(f, "{}", field)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | try!(write!(f, "{}", String::from_utf8_lossy(comment))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | try!(write!(f, "$")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | try!(write!(f, "Deck(\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | try!(write!(f, " {},\n", card)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/datfile/mod.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 577 | _ => (false), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - _ => (false), [INFO] [stdout] 577 + _ => false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/datfile/mod.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let mut existing = self.deck.cards.index_mut(index); [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/datfile/mod.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let mut existing = self.deck.cards.index_mut(index); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/datfile/mod.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let mut existing = self.deck.cards.index_mut(index); [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/datfile/mod.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let mut existing = self.deck.cards.index_mut(index); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/op2/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | whole_file!($i, call!($f)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/op2/mod.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | whole_file!(buffer,parse_op2) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `whole_file` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `whole_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:275:27 [INFO] [stdout] | [INFO] [stdout] 275 | b'+' | b'-' | b'0'...b'9' | b'.' => maybe_number(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:290:27 [INFO] [stdout] | [INFO] [stdout] 290 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | b'+' | b'-' | b'0'...b'9' | b'.' => maybe_number(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dtoa` is imported redundantly [INFO] [stdout] --> src/datfile/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use dtoa; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate dtoa; [INFO] [stdout] | ------------------ the item `dtoa` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `maybe_any_field`, `maybe_field` [INFO] [stdout] --> src/datfile/mod.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::field::{maybe_field, maybe_any_field}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(write!(f, "Card(")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(write!(f, "{:?},", self.first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | try!(write!(f, "{:?},", field)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(write!(f, "+{:?}", self.continuation)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(write!(f, "Comment='{}',", String::from_utf8_lossy(comment))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!(write!(f, "comma,")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(write!(f, "double,")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | try!(write!(f, "{}", first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | try!(write!(f, "+ \n* ")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | try!(write!(f, "{:16}", field)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | try!(write!(f, "+ \n+ ")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | try!(write!(f, "{}", field)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | try!(write!(f, "{}", String::from_utf8_lossy(comment))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | try!(write!(f, "$")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | try!(write!(f, "Deck(\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | try!(write!(f, " {},\n", card)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/datfile/mod.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 577 | _ => (false), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - _ => (false), [INFO] [stdout] 577 + _ => false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/op2/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | whole_file!($i, call!($f)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/op2/mod.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | whole_file!(buffer,parse_op2) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `whole_file` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `whole_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:275:27 [INFO] [stdout] | [INFO] [stdout] 275 | b'+' | b'-' | b'0'...b'9' | b'.' => maybe_number(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:290:27 [INFO] [stdout] | [INFO] [stdout] 290 | b'a'...b'z' | b'A'...b'Z' => maybe_string(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datfile/field.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | b'+' | b'-' | b'0'...b'9' | b'.' => maybe_number(buffer), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dtoa` is imported redundantly [INFO] [stdout] --> src/datfile/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use dtoa; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate dtoa; [INFO] [stdout] | ------------------ the item `dtoa` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `maybe_any_field`, `maybe_field` [INFO] [stdout] --> src/datfile/mod.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::field::{maybe_field, maybe_any_field}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(write!(f, "Card(")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(write!(f, "{:?},", self.first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | try!(write!(f, "{:?},", field)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(write!(f, "+{:?}", self.continuation)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(write!(f, "Comment='{}',", String::from_utf8_lossy(comment))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!(write!(f, "comma,")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(write!(f, "double,")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | try!(write!(f, "{}", first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | try!(write!(f, "+ \n* ")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | try!(write!(f, "{:16}", field)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | try!(write!(f, "+ \n+ ")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | try!(write!(f, "{}", field)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | try!(write!(f, "{}", String::from_utf8_lossy(comment))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | try!(write!(f, "$")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | try!(write!(f, "Deck(\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datfile/mod.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | try!(write!(f, " {},\n", card)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/datfile/mod.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 577 | _ => (false), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 - _ => (false), [INFO] [stdout] 577 + _ => false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/errors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/datfile/mod.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let mut existing = self.deck.cards.index_mut(index); [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/datfile/mod.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let mut existing = self.deck.cards.index_mut(index); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/datfile/mod.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let mut existing = self.deck.cards.index_mut(index); [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/datfile/mod.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let mut existing = self.deck.cards.index_mut(index); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nastran v0.0.1 (/opt/rustwide/workdir), nom v3.2.1, num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "ad89719fd627e30f114b091ce3be0050bdab06e5fa83ece8c0286f507fa84011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad89719fd627e30f114b091ce3be0050bdab06e5fa83ece8c0286f507fa84011", kill_on_drop: false }` [INFO] [stdout] ad89719fd627e30f114b091ce3be0050bdab06e5fa83ece8c0286f507fa84011