[INFO] fetching crate dasn1-notation 0.1.1... [INFO] checking dasn1-notation-0.1.1 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate dasn1-notation 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate dasn1-notation 0.1.1 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dasn1-notation 0.1.1 [INFO] finished tweaking crates.io crate dasn1-notation 0.1.1 [INFO] tweaked toml for crates.io crate dasn1-notation 0.1.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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.5) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding itertools v0.8.2 (latest: v0.13.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.76) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.76) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dasn1-pest v0.1.1 [INFO] [stderr] Downloaded derefable v0.1.0 [INFO] [stderr] Downloaded variation v0.1.1 [INFO] [stderr] Downloaded unwrap_to v0.1.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b65a66304edcbe1c6d889ab006c17af99a446605d18351604b268e41dbede4a6 [INFO] running `Command { std: "docker" "start" "-a" "b65a66304edcbe1c6d889ab006c17af99a446605d18351604b268e41dbede4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b65a66304edcbe1c6d889ab006c17af99a446605d18351604b268e41dbede4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b65a66304edcbe1c6d889ab006c17af99a446605d18351604b268e41dbede4a6", kill_on_drop: false }` [INFO] [stdout] b65a66304edcbe1c6d889ab006c17af99a446605d18351604b268e41dbede4a6 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dd166b1ec106f806c5ff7ebb0c95923d38e61bdc41fa0d109ac5715e1b6dec4 [INFO] running `Command { std: "docker" "start" "-a" "9dd166b1ec106f806c5ff7ebb0c95923d38e61bdc41fa0d109ac5715e1b6dec4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking unwrap_to v0.1.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling derefable v0.1.0 [INFO] [stderr] Compiling variation v0.1.1 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking dasn1-pest v0.1.1 [INFO] [stderr] Checking dasn1-notation v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:1434:20 [INFO] [stdout] | [INFO] [stdout] 1434 | parse_fn: &Fn(&mut Self) -> T, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1434 | parse_fn: &dyn Fn(&mut Self) -> T, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:1434:20 [INFO] [stdout] | [INFO] [stdout] 1434 | parse_fn: &Fn(&mut Self) -> T, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1434 | parse_fn: &dyn Fn(&mut Self) -> T, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/codegen/constant.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Constant { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn generate(self, backend: &mut Rust) -> Fallible { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Crate` is never constructed [INFO] [stdout] --> src/codegen/imports.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Visibility { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 30 | Public, [INFO] [stdout] 31 | Crate, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Visibility` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct Parser<'a>(Peekable>, &'a str); [INFO] [stdout] | ------ field in this struct ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_header` and `parse_external_value_reference` are never used [INFO] [stdout] --> src/parser.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn parse_header(source: &'a str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1458 | fn parse_external_value_reference(&mut self) -> ReferenceType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parameters` is never read [INFO] [stdout] --> src/parser.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1543 | pub struct Assignment { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1546 | pub parameters: Option, String)>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag`, `extension`, and `exports` are never read [INFO] [stdout] --> src/parser/module.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Module { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | pub identifier: ModuleIdentifier, [INFO] [stdout] 10 | pub tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | pub extension: Option<()>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub exports: Exports, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_identifier`, `has_identification`, and `identification_uses_defined_value` are never used [INFO] [stdout] --> src/parser/module.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ModuleReference { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn as_identifier(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn has_identification(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn identification_uses_defined_value(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parameterized` is never constructed [INFO] [stdout] --> src/parser/object.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ObjectClass { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Parameterized(DefinedObjectClass, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_absolute`, `is_relative`, and `replace` are never used [INFO] [stdout] --> src/parser/oid.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ObjectIdentifier { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_absolute(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn is_relative(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn replace(&mut self, map: &BTreeMap) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Object` and `ObjectClassField` are never constructed [INFO] [stdout] --> src/parser/values.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Object(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | ObjectClassField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parameterized` is never constructed [INFO] [stdout] --> src/parser/values.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum DefinedValue { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Parameterized(ReferenceType, ParameterList), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefinedValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Containing` is never constructed [INFO] [stdout] --> src/parser/values.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum BitString { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Containing(Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitString` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resolve_object_identifiers` and `get_object_identifiers_mut` are never used [INFO] [stdout] --> src/registry.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl SymbolTable<(Type, Value)> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 72 | pub fn resolve_object_identifiers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_object_identifiers_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/registry.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl SymbolTable { [INFO] [stdout] | ------------------------------------------- associated function in this implementation [INFO] [stdout] 132 | pub fn new(dependencies: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/codegen.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 87 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 86 | IntoIterator::into_iter(["asn1", "types", "ObjectIdentifier"]) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/codegen.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 99 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 98 | IntoIterator::into_iter(["asn1", "types", "OctetString"]) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/codegen.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 110 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 109 | IntoIterator::into_iter(["asn1", "types", "Integer"]) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/parser.rs:896:36 [INFO] [stdout] | [INFO] [stdout] 896 | let is_valid = VALID_RULES.into_iter().any(|rule| pair.as_rule() == *rule); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 896 | let is_valid = VALID_RULES.iter().any(|rule| pair.as_rule() == *rule); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 896 | let is_valid = IntoIterator::into_iter(VALID_RULES).any(|rule| pair.as_rule() == *rule); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/codegen/constant.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Constant { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn generate(self, backend: &mut Rust) -> Fallible { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Crate` is never constructed [INFO] [stdout] --> src/codegen/imports.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Visibility { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 30 | Public, [INFO] [stdout] 31 | Crate, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Visibility` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct Parser<'a>(Peekable>, &'a str); [INFO] [stdout] | ------ field in this struct ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_header` and `parse_external_value_reference` are never used [INFO] [stdout] --> src/parser.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn parse_header(source: &'a str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1458 | fn parse_external_value_reference(&mut self) -> ReferenceType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parameters` is never read [INFO] [stdout] --> src/parser.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1543 | pub struct Assignment { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1546 | pub parameters: Option, String)>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag`, `extension`, and `exports` are never read [INFO] [stdout] --> src/parser/module.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Module { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | pub identifier: ModuleIdentifier, [INFO] [stdout] 10 | pub tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | pub extension: Option<()>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub exports: Exports, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_identifier`, `has_identification`, and `identification_uses_defined_value` are never used [INFO] [stdout] --> src/parser/module.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ModuleReference { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn as_identifier(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn has_identification(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn identification_uses_defined_value(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parameterized` is never constructed [INFO] [stdout] --> src/parser/object.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ObjectClass { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Parameterized(DefinedObjectClass, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_absolute`, `is_relative`, and `replace` are never used [INFO] [stdout] --> src/parser/oid.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ObjectIdentifier { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_absolute(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn is_relative(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn replace(&mut self, map: &BTreeMap) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Object` and `ObjectClassField` are never constructed [INFO] [stdout] --> src/parser/values.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Object(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | ObjectClassField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parameterized` is never constructed [INFO] [stdout] --> src/parser/values.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum DefinedValue { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Parameterized(ReferenceType, ParameterList), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefinedValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Containing` is never constructed [INFO] [stdout] --> src/parser/values.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum BitString { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | Containing(Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitString` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resolve_object_identifiers` and `get_object_identifiers_mut` are never used [INFO] [stdout] --> src/registry.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl SymbolTable<(Type, Value)> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 72 | pub fn resolve_object_identifiers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_object_identifiers_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/registry.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl SymbolTable { [INFO] [stdout] | ------------------------------------------- associated function in this implementation [INFO] [stdout] 132 | pub fn new(dependencies: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/codegen.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 87 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 86 | IntoIterator::into_iter(["asn1", "types", "ObjectIdentifier"]) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/codegen.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 99 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 98 | IntoIterator::into_iter(["asn1", "types", "OctetString"]) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/codegen.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 110 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 109 | IntoIterator::into_iter(["asn1", "types", "Integer"]) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/parser.rs:896:36 [INFO] [stdout] | [INFO] [stdout] 896 | let is_valid = VALID_RULES.into_iter().any(|rule| pair.as_rule() == *rule); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 896 | let is_valid = VALID_RULES.iter().any(|rule| pair.as_rule() == *rule); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 896 | let is_valid = IntoIterator::into_iter(VALID_RULES).any(|rule| pair.as_rule() == *rule); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.40s [INFO] running `Command { std: "docker" "inspect" "9dd166b1ec106f806c5ff7ebb0c95923d38e61bdc41fa0d109ac5715e1b6dec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dd166b1ec106f806c5ff7ebb0c95923d38e61bdc41fa0d109ac5715e1b6dec4", kill_on_drop: false }` [INFO] [stdout] 9dd166b1ec106f806c5ff7ebb0c95923d38e61bdc41fa0d109ac5715e1b6dec4