[INFO] fetching crate liberty-db 0.3.1... [INFO] checking liberty-db-0.3.1 against try#19359abcd1be36c9ba1922a244cf9abf02af7a22 for pr-114716 [INFO] extracting crate liberty-db 0.3.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate liberty-db 0.3.1 on toolchain 19359abcd1be36c9ba1922a244cf9abf02af7a22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate liberty-db 0.3.1 [INFO] finished tweaking crates.io crate liberty-db 0.3.1 [INFO] tweaked toml for crates.io crate liberty-db 0.3.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:84cb280c7acaf12c1f874411053406050a24f846e52f817d4d9e64bcbe5ce959" "/opt/rustwide/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84f3cfae1bfa1599749407e2d3dedd02696be66e938ec83b6f72f6f8058f5633 [INFO] running `Command { std: "docker" "start" "-a" "84f3cfae1bfa1599749407e2d3dedd02696be66e938ec83b6f72f6f8058f5633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84f3cfae1bfa1599749407e2d3dedd02696be66e938ec83b6f72f6f8058f5633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f3cfae1bfa1599749407e2d3dedd02696be66e938ec83b6f72f6f8058f5633", kill_on_drop: false }` [INFO] [stdout] 84f3cfae1bfa1599749407e2d3dedd02696be66e938ec83b6f72f6f8058f5633 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:84cb280c7acaf12c1f874411053406050a24f846e52f817d4d9e64bcbe5ce959" "/opt/rustwide/cargo-home/bin/cargo" "+19359abcd1be36c9ba1922a244cf9abf02af7a22" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf64a533bf5cfb55bd362843b2fda0eb600fcea2e1e19a248c6ea1b1749a28ce [INFO] running `Command { std: "docker" "start" "-a" "bf64a533bf5cfb55bd362843b2fda0eb600fcea2e1e19a248c6ea1b1749a28ce", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking uom v0.34.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.46 [INFO] [stderr] Compiling liberty-macros v0.3.1 [INFO] [stderr] Compiling enum_dispatch v0.3.12 [INFO] [stderr] Checking thiserror v1.0.46 [INFO] [stderr] Checking liberty-db v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | const COMBINATIONAL: &str = "combinational"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | const COMBINATIONAL_RISE: &str = "combinational_rise"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | const COMBINATIONAL_FALL: &str = "combinational_fall"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | const THREE_STATE_DISABLE: &str = "three_state_disable"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | const THREE_STATE_DISABLE_RISE: &str = "three_state_disable_rise"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:155:35 [INFO] [stdout] | [INFO] [stdout] 155 | const THREE_STATE_DISABLE_FALL: &str = "three_state_disable_fall"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | const THREE_STATE_ENABLE: &str = "three_state_enable"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 157 | const THREE_STATE_ENABLE_RISE: &str = "three_state_enable_rise"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | const THREE_STATE_ENABLE_FALL: &str = "three_state_enable_fall"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:453:22 [INFO] [stdout] | [INFO] [stdout] 453 | const RISING_EDGE: &str = "rising_edge"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:454:23 [INFO] [stdout] | [INFO] [stdout] 454 | const FALLING_EDGE: &str = "falling_edge"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | const PRESET: &str = "preset"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:456:16 [INFO] [stdout] | [INFO] [stdout] 456 | const CLEAR: &str = "clear"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:457:22 [INFO] [stdout] | [INFO] [stdout] 457 | const HOLD_RISING: &str = "hold_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:458:23 [INFO] [stdout] | [INFO] [stdout] 458 | const HOLD_FALLING: &str = "hold_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:459:23 [INFO] [stdout] | [INFO] [stdout] 459 | const SETUP_RISING: &str = "setup_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:460:24 [INFO] [stdout] | [INFO] [stdout] 460 | const SETUP_FALLING: &str = "setup_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:461:26 [INFO] [stdout] | [INFO] [stdout] 461 | const RECOVERY_RISING: &str = "recovery_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:462:27 [INFO] [stdout] | [INFO] [stdout] 462 | const RECOVERY_FALLING: &str = "recovery_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:463:22 [INFO] [stdout] | [INFO] [stdout] 463 | const SKEW_RISING: &str = "skew_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:464:23 [INFO] [stdout] | [INFO] [stdout] 464 | const SKEW_FALLING: &str = "skew_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | const REMOVAL_RISING: &str = "removal_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:466:26 [INFO] [stdout] | [INFO] [stdout] 466 | const REMOVAL_FALLING: &str = "removal_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:467:26 [INFO] [stdout] | [INFO] [stdout] 467 | const MIN_PULSE_WIDTH: &str = "min_pulse_width"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:468:25 [INFO] [stdout] | [INFO] [stdout] 468 | const MINIMUM_PERIOD: &str = "minimum_period"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:469:30 [INFO] [stdout] | [INFO] [stdout] 469 | const MAX_CLOCK_TREE_PATH: &str = "max_clock_tree_path"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:470:30 [INFO] [stdout] | [INFO] [stdout] 470 | const MIN_CLOCK_TREE_PATH: &str = "min_clock_tree_path"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:589:31 [INFO] [stdout] | [INFO] [stdout] 589 | const NON_SEQ_SETUP_RISING: &str = "non_seq_setup_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:590:32 [INFO] [stdout] | [INFO] [stdout] 590 | const NON_SEQ_SETUP_FALLING: &str = "non_seq_setup_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:591:30 [INFO] [stdout] | [INFO] [stdout] 591 | const NON_SEQ_HOLD_RISING: &str = "non_seq_hold_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:592:31 [INFO] [stdout] | [INFO] [stdout] 592 | const NON_SEQ_HOLD_FALLING: &str = "non_seq_hold_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:666:29 [INFO] [stdout] | [INFO] [stdout] 666 | const NOCHANGE_HIGH_HIGH: &str = "nochange_high_high"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:667:28 [INFO] [stdout] | [INFO] [stdout] 667 | const NOCHANGE_HIGH_LOW: &str = "nochange_high_low"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:668:28 [INFO] [stdout] | [INFO] [stdout] 668 | const NOCHANGE_LOW_HIGH: &str = "nochange_low_high"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:669:27 [INFO] [stdout] | [INFO] [stdout] 669 | const NOCHANGE_LOW_LOW: &str = "nochange_low_low"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/cell/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashedGroup` [INFO] [stdout] --> src/cell/mod.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | ast::{AttributeList, GroupComments, GroupId, GroupMap, HashedGroup}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/common/items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/expression/boolean_expression/logic.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | impl std::hash::Hash for ChangePattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 55 - impl std::hash::Hash for ChangePattern { [INFO] [stdout] 55 + impl Hash for ChangePattern { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | const COMBINATIONAL: &str = "combinational"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/expression/boolean_expression/test.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, hash::Hasher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BooleanExpression` [INFO] [stdout] --> src/expression/boolean_expression/port.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | BooleanExpression, BooleanExpressionLike, LogicState, LogicTable, LogicVector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::*` [INFO] [stdout] --> src/expression/boolean_expression/port.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComplexAttri` [INFO] [stdout] --> src/library/items.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | ast::{AttributeList, ComplexAttri, GroupComments, GroupId}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashedGroup` [INFO] [stdout] --> src/library/mod.rs:8:67 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ast::{AttributeList, GroupComments, GroupId, GroupMap, HashedGroup}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pin::Pin` [INFO] [stdout] --> src/library/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CodeFormatter` [INFO] [stdout] --> src/library/mod.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | use crate::ast::{AttriComment, CodeFormatter, Format, GroupAttri, ParserError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupMap` [INFO] [stdout] --> src/pin/mod.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{AttributeList, GroupComments, GroupId, GroupMap, HashedGroup}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/timing/items.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bus::Bus` [INFO] [stdout] --> src/timing/mod.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | ast::GroupComments, bus::Bus, common::items::*, expression, library::Sensitization, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime parameter `'a` only used once [INFO] [stdout] --> src/ast/fmt.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a, F: Write> Write for CodeFormatter<'a, F> { [INFO] [stdout] | ^^ this lifetime... -- ...is used only here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | single_use_lifetimes, // TODO: fix lifetime names only used once [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: elide the single-use lifetime [INFO] [stdout] | [INFO] [stdout] 10 - impl<'a, F: Write> Write for CodeFormatter<'a, F> { [INFO] [stdout] 10 + impl Write for CodeFormatter<'_, F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VerboseError`, `many1`, `terminated` [INFO] [stdout] --> src/ast/parser.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | error::{ContextError, Error, ErrorKind, FromExternalError, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | multi::{many0, many1, separated_list0}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime parameter `'a` only used once [INFO] [stdout] --> src/ast/mod.rs:279:22 [INFO] [stdout] | [INFO] [stdout] 279 | pub enum ParserError<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | this lifetime... [INFO] [stdout] | ...is used only here [INFO] [stdout] | [INFO] [stdout] help: elide the single-use lifetime [INFO] [stdout] | [INFO] [stdout] 279 - pub enum ParserError<'a> { [INFO] [stdout] 279 + pub enum ParserError'_> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/lib.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | use std::{str::FromStr, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | const COMBINATIONAL_RISE: &str = "combinational_rise"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | const COMBINATIONAL_FALL: &str = "combinational_fall"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | const THREE_STATE_DISABLE: &str = "three_state_disable"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | const THREE_STATE_DISABLE_RISE: &str = "three_state_disable_rise"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:155:35 [INFO] [stdout] | [INFO] [stdout] 155 | const THREE_STATE_DISABLE_FALL: &str = "three_state_disable_fall"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | const THREE_STATE_ENABLE: &str = "three_state_enable"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 157 | const THREE_STATE_ENABLE_RISE: &str = "three_state_enable_rise"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | const THREE_STATE_ENABLE_FALL: &str = "three_state_enable_fall"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:453:22 [INFO] [stdout] | [INFO] [stdout] 453 | const RISING_EDGE: &str = "rising_edge"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:454:23 [INFO] [stdout] | [INFO] [stdout] 454 | const FALLING_EDGE: &str = "falling_edge"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | const PRESET: &str = "preset"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:456:16 [INFO] [stdout] | [INFO] [stdout] 456 | const CLEAR: &str = "clear"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:457:22 [INFO] [stdout] | [INFO] [stdout] 457 | const HOLD_RISING: &str = "hold_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:458:23 [INFO] [stdout] | [INFO] [stdout] 458 | const HOLD_FALLING: &str = "hold_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:459:23 [INFO] [stdout] | [INFO] [stdout] 459 | const SETUP_RISING: &str = "setup_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:460:24 [INFO] [stdout] | [INFO] [stdout] 460 | const SETUP_FALLING: &str = "setup_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:461:26 [INFO] [stdout] | [INFO] [stdout] 461 | const RECOVERY_RISING: &str = "recovery_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:462:27 [INFO] [stdout] | [INFO] [stdout] 462 | const RECOVERY_FALLING: &str = "recovery_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:463:22 [INFO] [stdout] | [INFO] [stdout] 463 | const SKEW_RISING: &str = "skew_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:464:23 [INFO] [stdout] | [INFO] [stdout] 464 | const SKEW_FALLING: &str = "skew_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | const REMOVAL_RISING: &str = "removal_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:466:26 [INFO] [stdout] | [INFO] [stdout] 466 | const REMOVAL_FALLING: &str = "removal_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:467:26 [INFO] [stdout] | [INFO] [stdout] 467 | const MIN_PULSE_WIDTH: &str = "min_pulse_width"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:468:25 [INFO] [stdout] | [INFO] [stdout] 468 | const MINIMUM_PERIOD: &str = "minimum_period"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:469:30 [INFO] [stdout] | [INFO] [stdout] 469 | const MAX_CLOCK_TREE_PATH: &str = "max_clock_tree_path"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:470:30 [INFO] [stdout] | [INFO] [stdout] 470 | const MIN_CLOCK_TREE_PATH: &str = "min_clock_tree_path"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:589:31 [INFO] [stdout] | [INFO] [stdout] 589 | const NON_SEQ_SETUP_RISING: &str = "non_seq_setup_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:590:32 [INFO] [stdout] | [INFO] [stdout] 590 | const NON_SEQ_SETUP_FALLING: &str = "non_seq_setup_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:591:30 [INFO] [stdout] | [INFO] [stdout] 591 | const NON_SEQ_HOLD_RISING: &str = "non_seq_hold_rising"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:592:31 [INFO] [stdout] | [INFO] [stdout] 592 | const NON_SEQ_HOLD_FALLING: &str = "non_seq_hold_falling"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:666:29 [INFO] [stdout] | [INFO] [stdout] 666 | const NOCHANGE_HIGH_HIGH: &str = "nochange_high_high"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:667:28 [INFO] [stdout] | [INFO] [stdout] 667 | const NOCHANGE_HIGH_LOW: &str = "nochange_high_low"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:668:28 [INFO] [stdout] | [INFO] [stdout] 668 | const NOCHANGE_LOW_HIGH: &str = "nochange_low_high"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/timing/timing_type.rs:669:27 [INFO] [stdout] | [INFO] [stdout] 669 | const NOCHANGE_LOW_LOW: &str = "nochange_low_low"; [INFO] [stdout] | ^ explicit lifetime name needed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/cell/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashedGroup` [INFO] [stdout] --> src/cell/mod.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | ast::{AttributeList, GroupComments, GroupId, GroupMap, HashedGroup}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/common/items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/expression/boolean_expression/logic.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | impl std::hash::Hash for ChangePattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 55 - impl std::hash::Hash for ChangePattern { [INFO] [stdout] 55 + impl Hash for ChangePattern { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/expression/boolean_expression/test.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | fn get_hash(s: T) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 106 - fn get_hash(s: T) -> u64 { [INFO] [stdout] 106 + fn get_hash(s: T) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BooleanExpression` [INFO] [stdout] --> src/expression/boolean_expression/port.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | BooleanExpression, BooleanExpressionLike, LogicState, LogicTable, LogicVector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::*` [INFO] [stdout] --> src/expression/boolean_expression/port.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComplexAttri` [INFO] [stdout] --> src/library/items.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | ast::{AttributeList, ComplexAttri, GroupComments, GroupId}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashedGroup` [INFO] [stdout] --> src/library/mod.rs:8:67 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ast::{AttributeList, GroupComments, GroupId, GroupMap, HashedGroup}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pin::Pin` [INFO] [stdout] --> src/library/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CodeFormatter` [INFO] [stdout] --> src/library/mod.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | use crate::ast::{AttriComment, CodeFormatter, Format, GroupAttri, ParserError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashedGroup` [INFO] [stdout] --> src/pin/mod.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{AttributeList, GroupComments, GroupId, GroupMap, HashedGroup}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/pin/mod.rs:805:7 [INFO] [stdout] | [INFO] [stdout] 805 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/timing/items.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bus::Bus` [INFO] [stdout] --> src/timing/mod.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | ast::GroupComments, bus::Bus, common::items::*, expression, library::Sensitization, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime parameter `'a` only used once [INFO] [stdout] --> src/ast/fmt.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a, F: Write> Write for CodeFormatter<'a, F> { [INFO] [stdout] | ^^ this lifetime... -- ...is used only here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | single_use_lifetimes, // TODO: fix lifetime names only used once [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: elide the single-use lifetime [INFO] [stdout] | [INFO] [stdout] 10 - impl<'a, F: Write> Write for CodeFormatter<'a, F> { [INFO] [stdout] 10 + impl Write for CodeFormatter<'_, F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many1`, `terminated` [INFO] [stdout] --> src/ast/parser.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | multi::{many0, many1, separated_list0}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime parameter `'a` only used once [INFO] [stdout] --> src/ast/mod.rs:279:22 [INFO] [stdout] | [INFO] [stdout] 279 | pub enum ParserError<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | this lifetime... [INFO] [stdout] | ...is used only here [INFO] [stdout] | [INFO] [stdout] help: elide the single-use lifetime [INFO] [stdout] | [INFO] [stdout] 279 - pub enum ParserError<'a> { [INFO] [stdout] 279 + pub enum ParserError'_> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/lib.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | use std::{str::FromStr, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupAttri` [INFO] [stdout] --> src/common/demo.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | ast::{AttributeList, GroupAttri, GroupComments, GroupId, GroupMap}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashedGroup` [INFO] [stdout] --> src/pin/mod.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{AttributeList, GroupComments, GroupId, GroupMap, HashedGroup}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0637`. [INFO] [stdout] [INFO] [stderr] error: could not compile `liberty-db` (lib) due to 36 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/expression/boolean_expression/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0637`. [INFO] [stdout] [INFO] [stderr] error: could not compile `liberty-db` (lib test) due to 36 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bf64a533bf5cfb55bd362843b2fda0eb600fcea2e1e19a248c6ea1b1749a28ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf64a533bf5cfb55bd362843b2fda0eb600fcea2e1e19a248c6ea1b1749a28ce", kill_on_drop: false }` [INFO] [stdout] bf64a533bf5cfb55bd362843b2fda0eb600fcea2e1e19a248c6ea1b1749a28ce