[INFO] fetching crate canparse 0.1.4... [INFO] checking canparse-0.1.4 against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] extracting crate canparse 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate canparse 0.1.4 on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate canparse 0.1.4 [INFO] finished tweaking crates.io crate canparse 0.1.4 [INFO] tweaked toml for crates.io crate canparse 0.1.4 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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex v0.2.0 [INFO] [stderr] Downloaded socketcan v1.7.0 [INFO] [stderr] Downloaded try_from v0.2.2 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded nix v0.5.1 [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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f7d99d6ccc81d70a38a9219b995a9a715feb12a197a84ed7fc27bdfb3233f3f [INFO] running `Command { std: "docker" "start" "-a" "7f7d99d6ccc81d70a38a9219b995a9a715feb12a197a84ed7fc27bdfb3233f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f7d99d6ccc81d70a38a9219b995a9a715feb12a197a84ed7fc27bdfb3233f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7d99d6ccc81d70a38a9219b995a9a715feb12a197a84ed7fc27bdfb3233f3f", kill_on_drop: false }` [INFO] [stdout] 7f7d99d6ccc81d70a38a9219b995a9a715feb12a197a84ed7fc27bdfb3233f3f [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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a303631ecc36b7baa6990f42172608f5f3e72c97b47fa6d938631b42250869c [INFO] running `Command { std: "docker" "start" "-a" "2a303631ecc36b7baa6990f42172608f5f3e72c97b47fa6d938631b42250869c", kill_on_drop: false }` [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking canparse v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dbc/mod.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | /// Internal type for DBC `Entry` line. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Entry` is imported redundantly [INFO] [stdout] --> src/dbc/library.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | use dbc::Entry; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | use super::{nom as nomparse, *}; [INFO] [stdout] | - the item `Entry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Entry` is imported redundantly [INFO] [stdout] --> src/dbc/library.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | use dbc::Entry; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | use super::{nom as nomparse, *}; [INFO] [stdout] | - the item `Entry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Entry` is imported redundantly [INFO] [stdout] --> src/dbc/library.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | use dbc::Entry; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | use super::{nom as nomparse, *}; [INFO] [stdout] | - the item `Entry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Entry` is imported redundantly [INFO] [stdout] --> src/dbc/library.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | use dbc::Entry; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | use super::{nom as nomparse, *}; [INFO] [stdout] | - the item `Entry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CodecError` [INFO] [stdout] --> src/pgn.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use encoding::{CodecError, DecoderTrap, Encoding}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dbc/mod.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | /// Internal type for DBC `Entry` line. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Entry` is imported redundantly [INFO] [stdout] --> src/dbc/library.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | use dbc::Entry; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | use super::{nom as nomparse, *}; [INFO] [stdout] | - the item `Entry` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Entry` is imported redundantly [INFO] [stdout] --> src/dbc/library.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | use dbc::Entry; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | use super::{nom as nomparse, *}; [INFO] [stdout] | - the item `Entry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Entry` is imported redundantly [INFO] [stdout] --> src/dbc/library.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | use dbc::Entry; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | use super::{nom as nomparse, *}; [INFO] [stdout] | - the item `Entry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Entry` is imported redundantly [INFO] [stdout] --> src/dbc/library.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | use dbc::Entry; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | use super::{nom as nomparse, *}; [INFO] [stdout] | - the item `Entry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/dbc/mod.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CodecError` [INFO] [stdout] --> src/pgn.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use encoding::{CodecError, DecoderTrap, Encoding}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dbc::*` [INFO] [stdout] --> src/pgn.rs:852:9 [INFO] [stdout] | [INFO] [stdout] 852 | use dbc::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbc/mod.rs:202:38 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn __cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 | pub fn __cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbc/mod.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 218 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbc/mod.rs:246:38 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn __cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 | pub fn __cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:563:29 [INFO] [stdout] | [INFO] [stdout] 563 | fn parser(&self) -> Box Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 563 | fn parser(&self) -> Box Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:257:38 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn __cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 | pub fn __cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:273:32 [INFO] [stdout] | [INFO] [stdout] 273 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:299:38 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn __cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 | pub fn __cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:613:29 [INFO] [stdout] | [INFO] [stdout] 613 | fn parser(&self) -> Box Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 613 | fn parser(&self) -> Box Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:639:29 [INFO] [stdout] | [INFO] [stdout] 639 | fn parser(&self) -> Box Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 639 | fn parser(&self) -> Box Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbc/mod.rs:202:38 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn __cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 | pub fn __cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbc/mod.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 218 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dbc/mod.rs:246:38 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn __cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 | pub fn __cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:563:29 [INFO] [stdout] | [INFO] [stdout] 563 | fn parser(&self) -> Box Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 563 | fn parser(&self) -> Box Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:257:38 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn __cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 | pub fn __cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:273:32 [INFO] [stdout] | [INFO] [stdout] 273 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:299:38 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn __cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 | pub fn __cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:613:29 [INFO] [stdout] | [INFO] [stdout] 613 | fn parser(&self) -> Box Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 613 | fn parser(&self) -> Box Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pgn.rs:639:29 [INFO] [stdout] | [INFO] [stdout] 639 | fn parser(&self) -> Box Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 639 | fn parser(&self) -> Box Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dbc/library.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | .and_then(|mut contents| { [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/dbc/library.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | .and_then(|mut contents| { [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/pgn.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | .and_then(|mut contents| { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/pgn.rs:302:46 [INFO] [stdout] | [INFO] [stdout] 302 | DefinitionErrorKind::UnusedEntry(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_len` [INFO] [stdout] --> src/pgn.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | message_len, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `message_len: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sending_node` [INFO] [stdout] --> src/pgn.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | sending_node, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `sending_node: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_name` [INFO] [stdout] --> src/pgn.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | signal_name, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `signal_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pgn.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_name` [INFO] [stdout] --> src/pgn.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | signal_name, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `signal_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/pgn.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pgn.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sending_node` [INFO] [stdout] --> src/pgn.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | sending_node, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `sending_node: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_name` [INFO] [stdout] --> src/pgn.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | signal_name, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `signal_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pgn.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_name` [INFO] [stdout] --> src/pgn.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | signal_name, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `signal_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/pgn.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 427 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_value` [INFO] [stdout] --> src/pgn.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | max_value, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `max_value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pgn.rs:749:17 [INFO] [stdout] | [INFO] [stdout] 749 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pgn.rs:825:13 [INFO] [stdout] | [INFO] [stdout] 825 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnknownEntryType` and `RegexCapture` are never constructed [INFO] [stdout] --> src/dbc/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 225 | enum EntryErrorKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 229 | UnknownEntryType(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 230 | /// Failure to combine all values from regex capture [INFO] [stdout] 231 | RegexCapture, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryErrorKind` 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: constant `SHIFT_BYTE_LOOKUP` is never used [INFO] [stdout] --> src/pgn.rs:501:7 [INFO] [stdout] | [INFO] [stdout] 501 | const SHIFT_BYTE_LOOKUP: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pgn.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | .and_then(|mut contents| { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/pgn.rs:302:46 [INFO] [stdout] | [INFO] [stdout] 302 | DefinitionErrorKind::UnusedEntry(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_len` [INFO] [stdout] --> src/pgn.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | message_len, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `message_len: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sending_node` [INFO] [stdout] --> src/pgn.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | sending_node, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `sending_node: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_name` [INFO] [stdout] --> src/pgn.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | signal_name, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `signal_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pgn.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_name` [INFO] [stdout] --> src/pgn.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | signal_name, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `signal_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/pgn.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pgn.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sending_node` [INFO] [stdout] --> src/pgn.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | sending_node, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `sending_node: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_name` [INFO] [stdout] --> src/pgn.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | signal_name, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `signal_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pgn.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_name` [INFO] [stdout] --> src/pgn.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | signal_name, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `signal_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/pgn.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 427 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_value` [INFO] [stdout] --> src/pgn.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | max_value, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `max_value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pgn.rs:749:17 [INFO] [stdout] | [INFO] [stdout] 749 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pgn.rs:825:13 [INFO] [stdout] | [INFO] [stdout] 825 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnknownEntryType` and `RegexCapture` are never constructed [INFO] [stdout] --> src/dbc/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 225 | enum EntryErrorKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 229 | UnknownEntryType(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 230 | /// Failure to combine all values from regex capture [INFO] [stdout] 231 | RegexCapture, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryErrorKind` 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: constant `SHIFT_BYTE_LOOKUP` is never used [INFO] [stdout] --> src/pgn.rs:501:7 [INFO] [stdout] | [INFO] [stdout] 501 | const SHIFT_BYTE_LOOKUP: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dbc/library.rs:434:31 [INFO] [stdout] | [INFO] [stdout] 434 | assert!(res.is_err(), "Unsupported entry: Version".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 434 | assert!(res.is_err(), "{}", "Unsupported entry: Version".to_string()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pgn.rs:907:31 [INFO] [stdout] | [INFO] [stdout] 907 | assert!(res.is_err(), "Unsupported entry: Version".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 907 | assert!(res.is_err(), "{}", "Unsupported entry: Version".to_string()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "2a303631ecc36b7baa6990f42172608f5f3e72c97b47fa6d938631b42250869c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a303631ecc36b7baa6990f42172608f5f3e72c97b47fa6d938631b42250869c", kill_on_drop: false }` [INFO] [stdout] 2a303631ecc36b7baa6990f42172608f5f3e72c97b47fa6d938631b42250869c