[INFO] fetching crate vhdl_parser 0.13.0... [INFO] checking vhdl_parser-0.13.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate vhdl_parser 0.13.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate vhdl_parser 0.13.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vhdl_parser 0.13.0 [INFO] finished tweaking crates.io crate vhdl_parser 0.13.0 [INFO] tweaked toml for crates.io crate vhdl_parser 0.13.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate vhdl_parser 0.13.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.5.5 [INFO] [stderr] Downloaded hermit-abi v0.1.6 [INFO] [stderr] Downloaded dunce v1.0.0 [INFO] [stderr] Downloaded ctor v0.1.12 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded smallvec v1.1.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.7 [INFO] [stderr] Downloaded blake2b_simd v0.5.9 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded backtrace v0.3.40 [INFO] [stderr] Downloaded syn v1.0.13 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded getrandom v0.1.13 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5090f73d880ee0ae1e491896cf41f8cb8301a5ebfcf022fdd8f5fefb2754e24 [INFO] running `Command { std: "docker" "start" "-a" "e5090f73d880ee0ae1e491896cf41f8cb8301a5ebfcf022fdd8f5fefb2754e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5090f73d880ee0ae1e491896cf41f8cb8301a5ebfcf022fdd8f5fefb2754e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5090f73d880ee0ae1e491896cf41f8cb8301a5ebfcf022fdd8f5fefb2754e24", kill_on_drop: false }` [INFO] [stdout] e5090f73d880ee0ae1e491896cf41f8cb8301a5ebfcf022fdd8f5fefb2754e24 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 145081b541c2aef5f80f947365c69dbbf5a688ca171fac46c81015039fdac50e [INFO] running `Command { std: "docker" "start" "-a" "145081b541c2aef5f80f947365c69dbbf5a688ca171fac46c81015039fdac50e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking dunce v1.0.0 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking assert_matches v1.3.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking vhdl_parser v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/analysis/tests/../../../../vhdl_libraries/std/standard.vhd`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/tests/util.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | &Latin1String::new(include_bytes!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 89 | | "../../../../vhdl_libraries/std/standard.vhd" [INFO] [stdout] 90 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/tests/../../../../vhdl_libraries/std/textio.vhd`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/tests/util.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | &Latin1String::new(include_bytes!("../../../../vhdl_libraries/std/textio.vhd")).to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/analysis/tests/../../../../vhdl_libraries/std/env.vhd`: No such file or directory (os error 2) [INFO] [stdout] --> src/analysis/tests/util.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | &Latin1String::new(include_bytes!("../../../../vhdl_libraries/std/env.vhd")).to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 804 | Declaration::Type(typ) => return_if_found!(typ.search(searcher)), [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 828 | Declaration::Use(use_clause) => return_if_found!(searcher [INFO] [stdout] | _____________________________________________- [INFO] [stdout] 829 | | .search_with_pos(&use_clause.pos) [INFO] [stdout] 830 | | .or_else(|| use_clause.item.name_list.search(searcher))), [INFO] [stdout] | |________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 882 | SubprogramDeclaration::Function(ref decl) => return_if_found!(decl.search(searcher)), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 883 | SubprogramDeclaration::Procedure(ref decl) => return_if_found!(decl.search(searcher)), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 922 | return_if_found!(use_clause.name_list.search(searcher)) [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `return_if_found` [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 925 | return_if_found!(library_clause.search(searcher)) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `return_if_found` [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 928 | return_if_found!(context_clause.name_list.search(searcher)) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `return_if_found` [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::display::*` [INFO] [stdout] --> src/ast.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use self::display::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/config.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::data::*; [INFO] [stdout] | -------------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/data/diagnostic.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::{AsRef, Into}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/data/diagnostic.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::{AsRef, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/data/source.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/project.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data::*; [INFO] [stdout] | -------------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 14 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/project.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data::*; [INFO] [stdout] | -------------- the item `PathBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 14 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/syntax/tokens/tokenizer.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/syntax/tokens/tokenizer.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/syntax/tokens/tokenizer.rs:585:28 [INFO] [stdout] | [INFO] [stdout] 585 | b'0'..=b'9' => (b - b'0'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 585 - b'0'..=b'9' => (b - b'0'), [INFO] [stdout] 585 + b'0'..=b'9' => b - b'0', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/syntax/tokens/tokenizer.rs:586:28 [INFO] [stdout] | [INFO] [stdout] 586 | b'a'..=b'f' => (10 + b - b'a'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 586 - b'a'..=b'f' => (10 + b - b'a'), [INFO] [stdout] 586 + b'a'..=b'f' => 10 + b - b'a', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/syntax/tokens/tokenizer.rs:587:28 [INFO] [stdout] | [INFO] [stdout] 587 | b'A'..=b'F' => (10 + b - b'A'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - b'A'..=b'F' => (10 + b - b'A'), [INFO] [stdout] 587 + b'A'..=b'F' => 10 + b - b'A', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/syntax/declarative_part.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 804 | Declaration::Type(typ) => return_if_found!(typ.search(searcher)), [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 828 | Declaration::Use(use_clause) => return_if_found!(searcher [INFO] [stdout] | _____________________________________________- [INFO] [stdout] 829 | | .search_with_pos(&use_clause.pos) [INFO] [stdout] 830 | | .or_else(|| use_clause.item.name_list.search(searcher))), [INFO] [stdout] | |________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 882 | SubprogramDeclaration::Function(ref decl) => return_if_found!(decl.search(searcher)), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 883 | SubprogramDeclaration::Procedure(ref decl) => return_if_found!(decl.search(searcher)), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 922 | return_if_found!(use_clause.name_list.search(searcher)) [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `return_if_found` [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 925 | return_if_found!(library_clause.search(searcher)) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `return_if_found` [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ast/search.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 928 | return_if_found!(context_clause.name_list.search(searcher)) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `return_if_found` [INFO] [stdout] = note: this warning originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::display::*` [INFO] [stdout] --> src/ast.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use self::display::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/config.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | use tempfile; [INFO] [stdout] | ^^^^^^^^ the item `tempfile` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/data/diagnostic.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::{AsRef, Into}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/data/diagnostic.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::{AsRef, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/data/source.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/data/source.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | use tempfile; [INFO] [stdout] | ^^^^^^^^ the item `tempfile` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/project.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data::*; [INFO] [stdout] | -------------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 14 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/project.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data::*; [INFO] [stdout] | -------------- the item `PathBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 14 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/syntax/tokens/tokenizer.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/syntax/tokens/tokenizer.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/syntax/tokens/tokenizer.rs:585:28 [INFO] [stdout] | [INFO] [stdout] 585 | b'0'..=b'9' => (b - b'0'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 585 - b'0'..=b'9' => (b - b'0'), [INFO] [stdout] 585 + b'0'..=b'9' => b - b'0', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/syntax/tokens/tokenizer.rs:586:28 [INFO] [stdout] | [INFO] [stdout] 586 | b'a'..=b'f' => (10 + b - b'a'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 586 - b'a'..=b'f' => (10 + b - b'a'), [INFO] [stdout] 586 + b'a'..=b'f' => 10 + b - b'a', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/syntax/tokens/tokenizer.rs:587:28 [INFO] [stdout] | [INFO] [stdout] 587 | b'A'..=b'F' => (10 + b - b'A'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - b'A'..=b'F' => (10 + b - b'A'), [INFO] [stdout] 587 + b'A'..=b'F' => 10 + b - b'A', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Alternative` is imported redundantly [INFO] [stdout] --> src/syntax/concurrent_statement.rs:604:22 [INFO] [stdout] | [INFO] [stdout] 603 | use super::*; [INFO] [stdout] | -------- the item `Alternative` is already imported here [INFO] [stdout] 604 | use crate::ast::{Alternative, AssertStatement, DelayMechanism, Selection}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AssertStatement` is imported redundantly [INFO] [stdout] --> src/syntax/concurrent_statement.rs:604:35 [INFO] [stdout] | [INFO] [stdout] 603 | use super::*; [INFO] [stdout] | -------- the item `AssertStatement` is already imported here [INFO] [stdout] 604 | use crate::ast::{Alternative, AssertStatement, DelayMechanism, Selection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DelayMechanism` is imported redundantly [INFO] [stdout] --> src/syntax/concurrent_statement.rs:604:52 [INFO] [stdout] | [INFO] [stdout] 603 | use super::*; [INFO] [stdout] | -------- the item `DelayMechanism` is already imported here [INFO] [stdout] 604 | use crate::ast::{Alternative, AssertStatement, DelayMechanism, Selection}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Selection` is imported redundantly [INFO] [stdout] --> src/syntax/concurrent_statement.rs:604:68 [INFO] [stdout] | [INFO] [stdout] 603 | use super::*; [INFO] [stdout] | -------- the item `Selection` is already imported here [INFO] [stdout] 604 | use crate::ast::{Alternative, AssertStatement, DelayMechanism, Selection}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Diagnostic` is imported redundantly [INFO] [stdout] --> src/syntax/context.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 143 | use super::*; [INFO] [stdout] | -------- the item `Diagnostic` is already imported here [INFO] [stdout] 144 | [INFO] [stdout] 145 | use crate::data::Diagnostic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/syntax/declarative_part.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Diagnostic` is imported redundantly [INFO] [stdout] --> src/syntax/design_unit.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 280 | use super::*; [INFO] [stdout] | -------- the item `Diagnostic` is already imported here [INFO] [stdout] 281 | [INFO] [stdout] 282 | use crate::data::Diagnostic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Range` is ambiguous [INFO] [stdout] --> src/syntax/expression.rs:910:46 [INFO] [stdout] | [INFO] [stdout] 910 | let range = DiscreteRange::Range(Range::Range(RangeConstraint { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Range` could refer to the enum imported here [INFO] [stdout] --> src/syntax/expression.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] note: `Range` could also refer to the variant imported here [INFO] [stdout] --> src/syntax/expression.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use super::tokens::{Kind, Kind::*, Token, TokenStream}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] = note: `#[warn(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Name` is imported redundantly [INFO] [stdout] --> src/syntax/expression.rs:427:39 [INFO] [stdout] | [INFO] [stdout] 426 | use super::*; [INFO] [stdout] | -------- the item `Name` is already imported here [INFO] [stdout] 427 | use crate::ast::{AbstractLiteral, Name}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `kinds_error` is imported redundantly [INFO] [stdout] --> src/syntax/interface_declaration.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 397 | use super::*; [INFO] [stdout] | -------- the item `kinds_error` is already imported here [INFO] [stdout] 398 | use crate::syntax::test::Code; [INFO] [stdout] 399 | use crate::syntax::tokens::kinds_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Range` is ambiguous [INFO] [stdout] --> src/syntax/range.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | Range::Range(RangeConstraint { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Range` could refer to the enum imported here [INFO] [stdout] --> src/syntax/range.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] note: `Range` could also refer to the variant imported here [INFO] [stdout] --> src/syntax/range.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use super::tokens::{Kind::*, TokenStream}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Range` is ambiguous [INFO] [stdout] --> src/syntax/range.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | Range::Attribute(Box::new(code.s1("foo.bar'range").attribute_name())), [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Range` could refer to the enum imported here [INFO] [stdout] --> src/syntax/range.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] note: `Range` could also refer to the variant imported here [INFO] [stdout] --> src/syntax/range.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use super::tokens::{Kind::*, TokenStream}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Range` is ambiguous [INFO] [stdout] --> src/syntax/range.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | Range::Attribute(Box::new(code.s1("foo.bar'reverse_range").attribute_name())), [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Range` could refer to the enum imported here [INFO] [stdout] --> src/syntax/range.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] note: `Range` could also refer to the variant imported here [INFO] [stdout] --> src/syntax/range.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use super::tokens::{Kind::*, TokenStream}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Range` is ambiguous [INFO] [stdout] --> src/syntax/range.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | Range::Range(RangeConstraint { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Range` could refer to the enum imported here [INFO] [stdout] --> src/syntax/range.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] note: `Range` could also refer to the variant imported here [INFO] [stdout] --> src/syntax/range.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use super::tokens::{Kind::*, TokenStream}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Range` is ambiguous [INFO] [stdout] --> src/syntax/range.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 183 | DiscreteRange::Range(Range::Range(RangeConstraint { [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Range` could refer to the enum imported here [INFO] [stdout] --> src/syntax/range.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] note: `Range` could also refer to the variant imported here [INFO] [stdout] --> src/syntax/range.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use super::tokens::{Kind::*, TokenStream}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `Range` is ambiguous [INFO] [stdout] --> src/syntax/range.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | DiscreteRange::Range(Range::Attribute(Box::new( [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Range` could refer to the enum imported here [INFO] [stdout] --> src/syntax/range.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] note: `Range` could also refer to the variant imported here [INFO] [stdout] --> src/syntax/range.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use super::tokens::{Kind::*, TokenStream}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Range` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DelayMechanism` is imported redundantly [INFO] [stdout] --> src/syntax/sequential_statement.rs:597:22 [INFO] [stdout] | [INFO] [stdout] 596 | use super::*; [INFO] [stdout] | -------- the item `DelayMechanism` is already imported here [INFO] [stdout] 597 | use crate::ast::{DelayMechanism, Ident}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ident` is imported redundantly [INFO] [stdout] --> src/syntax/sequential_statement.rs:597:38 [INFO] [stdout] | [INFO] [stdout] 596 | use super::*; [INFO] [stdout] | -------- the item `Ident` is already imported here [INFO] [stdout] 597 | use crate::ast::{DelayMechanism, Ident}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Latin1String` is imported redundantly [INFO] [stdout] --> src/syntax/subprogram.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 185 | use super::*; [INFO] [stdout] | -------- the item `Latin1String` is already imported here [INFO] [stdout] 186 | [INFO] [stdout] 187 | use crate::data::Latin1String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DiscreteRange` is imported redundantly [INFO] [stdout] --> src/syntax/type_declaration.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 288 | use super::*; [INFO] [stdout] | -------- the item `DiscreteRange` is already imported here [INFO] [stdout] 289 | [INFO] [stdout] 290 | use crate::ast::{DiscreteRange, Ident}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ident` is imported redundantly [INFO] [stdout] --> src/syntax/type_declaration.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 288 | use super::*; [INFO] [stdout] | -------- the item `Ident` is already imported here [INFO] [stdout] 289 | [INFO] [stdout] 290 | use crate::ast::{DiscreteRange, Ident}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/analysis/region.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Configuration(UnitId, Arc>), [INFO] [stdout] | ------------- ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 27 | Configuration((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/analysis/region.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Context(UnitId, Arc>), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | Context((), Arc>), [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/syntax/tokens/tokenizer.rs:1264:46 [INFO] [stdout] | [INFO] [stdout] 1264 | for (keyword, kind) in keywords_init.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] 1264 | for (keyword, kind) in keywords_init.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 1264 - for (keyword, kind) in keywords_init.into_iter() { [INFO] [stdout] 1264 + for (keyword, kind) in keywords_init { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vhdl_parser` (lib test) due to 4 previous errors; 48 warnings emitted [INFO] running `Command { std: "docker" "inspect" "145081b541c2aef5f80f947365c69dbbf5a688ca171fac46c81015039fdac50e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145081b541c2aef5f80f947365c69dbbf5a688ca171fac46c81015039fdac50e", kill_on_drop: false }` [INFO] [stdout] 145081b541c2aef5f80f947365c69dbbf5a688ca171fac46c81015039fdac50e