[INFO] fetching crate vhdl_parser 0.13.0... [INFO] checking vhdl_parser-0.13.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate vhdl_parser 0.13.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate vhdl_parser 0.13.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dunce v1.0.0 [INFO] [stderr] Downloaded assert_matches v1.3.0 [INFO] [stderr] Downloaded ctor v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64b9e1ae2d7ba92ffa62b4aa313570e0eb03045e115cd042baf40860cdc63bec [INFO] running `Command { std: "docker" "start" "-a" "64b9e1ae2d7ba92ffa62b4aa313570e0eb03045e115cd042baf40860cdc63bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64b9e1ae2d7ba92ffa62b4aa313570e0eb03045e115cd042baf40860cdc63bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64b9e1ae2d7ba92ffa62b4aa313570e0eb03045e115cd042baf40860cdc63bec", kill_on_drop: false }` [INFO] [stdout] 64b9e1ae2d7ba92ffa62b4aa313570e0eb03045e115cd042baf40860cdc63bec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 793b3e692cbd9709cb6baaeaba56d8a11423eba829c974d2be7add1fc245cab1 [INFO] running `Command { std: "docker" "start" "-a" "793b3e692cbd9709cb6baaeaba56d8a11423eba829c974d2be7add1fc245cab1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking dunce v1.0.0 [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 crossbeam-queue v0.2.1 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.7.0 [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 crossbeam-deque v0.7.2 [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: 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: 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: `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: `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: 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: `NamedEntityKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] = note: `NamedEntityKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vhdl_parser` (lib test) due to 4 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "793b3e692cbd9709cb6baaeaba56d8a11423eba829c974d2be7add1fc245cab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "793b3e692cbd9709cb6baaeaba56d8a11423eba829c974d2be7add1fc245cab1", kill_on_drop: false }` [INFO] [stdout] 793b3e692cbd9709cb6baaeaba56d8a11423eba829c974d2be7add1fc245cab1