[INFO] fetching crate vhdl_parser 0.13.0... [INFO] testing vhdl_parser-0.13.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate vhdl_parser 0.13.0 into /workspace/builds/worker-1-tc2/source [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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vhdl_parser 0.13.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00b6200bdc65aba4254a353c21f8a09cf96c4d476265a1cac848437c6aa22b1b [INFO] running `Command { std: "docker" "start" "-a" "00b6200bdc65aba4254a353c21f8a09cf96c4d476265a1cac848437c6aa22b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00b6200bdc65aba4254a353c21f8a09cf96c4d476265a1cac848437c6aa22b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b6200bdc65aba4254a353c21f8a09cf96c4d476265a1cac848437c6aa22b1b", kill_on_drop: false }` [INFO] [stdout] 00b6200bdc65aba4254a353c21f8a09cf96c4d476265a1cac848437c6aa22b1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 942778bd18162ce0a2539270c135419a220a31ea6287107410f98d1fdf349e07 [INFO] running `Command { std: "docker" "start" "-a" "942778bd18162ce0a2539270c135419a220a31ea6287107410f98d1fdf349e07", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling dunce v1.0.0 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling vhdl_parser v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] error: 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: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `return_if_found` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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(UnitId, Arc>), [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(UnitId, Arc>), [INFO] [stdout] 31 + Context((), Arc>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/lock.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn get(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/lock.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn expect_analyzed(&self) -> ReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn expect_analyzed(&self) -> ReadGuard<'_, T, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analysis/lock.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn entry(&self) -> AnalysisEntry { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn entry(&self) -> AnalysisEntry<'_, T, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data/source.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | fn contents(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | fn contents(&self) -> RwLockReadGuard<'_, Contents> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data/source.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn contents(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn contents(&self) -> RwLockReadGuard<'_, Contents> { [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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.into_iter() { [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] [stderr] error: could not compile `vhdl_parser` (lib) due to 14 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "942778bd18162ce0a2539270c135419a220a31ea6287107410f98d1fdf349e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "942778bd18162ce0a2539270c135419a220a31ea6287107410f98d1fdf349e07", kill_on_drop: false }` [INFO] [stdout] 942778bd18162ce0a2539270c135419a220a31ea6287107410f98d1fdf349e07