[INFO] fetching crate dasn1-notation 0.1.1... [INFO] checking dasn1-notation-0.1.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate dasn1-notation 0.1.1 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dasn1-notation 0.1.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.47) [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.8) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding itertools v0.8.2 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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 unwrap_to v0.1.0 [INFO] [stderr] Downloaded dasn1-pest v0.1.1 [INFO] [stderr] Downloaded derefable v0.1.0 [INFO] [stderr] Downloaded variation v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6ebbf0580bb7daf84b83578eda6bfcf45279c5864352878253b3bacafc58cfc [INFO] running `Command { std: "docker" "start" "-a" "b6ebbf0580bb7daf84b83578eda6bfcf45279c5864352878253b3bacafc58cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6ebbf0580bb7daf84b83578eda6bfcf45279c5864352878253b3bacafc58cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ebbf0580bb7daf84b83578eda6bfcf45279c5864352878253b3bacafc58cfc", kill_on_drop: false }` [INFO] [stdout] b6ebbf0580bb7daf84b83578eda6bfcf45279c5864352878253b3bacafc58cfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d407a722ea3b0ec9f36a749a3ba33d82762255b5606a1a167052289db0641579 [INFO] running `Command { std: "docker" "start" "-a" "d407a722ea3b0ec9f36a749a3ba33d82762255b5606a1a167052289db0641579", kill_on_drop: false }` [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking unwrap_to v0.1.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling derefable v0.1.0 [INFO] [stderr] Compiling variation v0.1.1 [INFO] [stderr] Checking pest v2.8.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [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 a dyn-compatible 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 a dyn-compatible 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 - .into_iter() [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 - ["asn1", "types", "ObjectIdentifier"] [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 - .into_iter() [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 - ["asn1", "types", "OctetString"] [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 - .into_iter() [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 - ["asn1", "types", "Integer"] [INFO] [stdout] 109 + IntoIterator::into_iter(["asn1", "types", "Integer"]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | fn next(&mut self) -> Pair { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | fn next(&mut self) -> Pair<'_, Rule> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn take(&mut self, rule: Rule) -> Pair { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | fn take(&mut self, rule: Rule) -> Pair<'_, Rule> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | fn look(&mut self, rule: Rule) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn look(&mut self, rule: Rule) -> Option> { [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.into_iter().any(|rule| pair.as_rule() == *rule); [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 = VALID_RULES.into_iter().any(|rule| pair.as_rule() == *rule); [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 - .into_iter() [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 - ["asn1", "types", "ObjectIdentifier"] [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 - .into_iter() [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 - ["asn1", "types", "OctetString"] [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 - .into_iter() [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 - ["asn1", "types", "Integer"] [INFO] [stdout] 109 + IntoIterator::into_iter(["asn1", "types", "Integer"]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | fn next(&mut self) -> Pair { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | fn next(&mut self) -> Pair<'_, Rule> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn take(&mut self, rule: Rule) -> Pair { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | fn take(&mut self, rule: Rule) -> Pair<'_, Rule> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | fn look(&mut self, rule: Rule) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn look(&mut self, rule: Rule) -> Option> { [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.into_iter().any(|rule| pair.as_rule() == *rule); [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 = VALID_RULES.into_iter().any(|rule| pair.as_rule() == *rule); [INFO] [stdout] 896 + let is_valid = IntoIterator::into_iter(VALID_RULES).any(|rule| pair.as_rule() == *rule); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.08s [INFO] running `Command { std: "docker" "inspect" "d407a722ea3b0ec9f36a749a3ba33d82762255b5606a1a167052289db0641579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d407a722ea3b0ec9f36a749a3ba33d82762255b5606a1a167052289db0641579", kill_on_drop: false }` [INFO] [stdout] d407a722ea3b0ec9f36a749a3ba33d82762255b5606a1a167052289db0641579