[INFO] fetching crate armalint 0.1.1... [INFO] checking armalint-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate armalint 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate armalint 0.1.1 [INFO] finished tweaking crates.io crate armalint 0.1.1 [INFO] tweaked toml for crates.io crate armalint 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate armalint 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate armalint 0.1.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha-1 v0.8.1 [INFO] [stderr] Downloaded strum v0.16.0 [INFO] [stderr] Downloaded strum_macros v0.16.0 [INFO] [stderr] Downloaded block-padding v0.1.4 [INFO] [stderr] Downloaded pest_meta v2.1.2 [INFO] [stderr] Downloaded pest_generator v2.1.1 [INFO] [stderr] Downloaded pest v2.1.2 [INFO] [stderr] Downloaded ucd-trie v0.1.2 [INFO] [stderr] Downloaded rgb v0.8.14 [INFO] [stderr] Downloaded winconsole v0.10.0 [INFO] [stderr] Downloaded colored v1.8.0 [INFO] [stderr] Downloaded unicode-segmentation v1.5.0 [INFO] [stderr] Downloaded syn v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44c653147019a33282036cd959ca09621b718de20453cb314f945e5d6db188d5 [INFO] running `Command { std: "docker" "start" "-a" "44c653147019a33282036cd959ca09621b718de20453cb314f945e5d6db188d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44c653147019a33282036cd959ca09621b718de20453cb314f945e5d6db188d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c653147019a33282036cd959ca09621b718de20453cb314f945e5d6db188d5", kill_on_drop: false }` [INFO] [stdout] 44c653147019a33282036cd959ca09621b718de20453cb314f945e5d6db188d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b08fda3affe5a5e3837e7568d62c46a53c192da53ef6f1c20fbd225d49928bc [INFO] running `Command { std: "docker" "start" "-a" "5b08fda3affe5a5e3837e7568d62c46a53c192da53ef6f1c20fbd225d49928bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling armalint v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> build.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let f = File::create(&dest_path).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> build.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct CMD { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 16 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CMD` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> build.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | Unary(Type), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Signature` has a derived impl for the trait `Debug`, 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] 23 - Unary(Type), [INFO] [stdout] 23 + Unary(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> build.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Binary(Type, Type), [INFO] [stdout] | ------ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Signature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 24 - Binary(Type, Type), [INFO] [stdout] 24 + Binary((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> build.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | _Array(Vec), [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, 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] 29 - _Array(Vec), [INFO] [stdout] 29 + _Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> build.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | _Optional(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, 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] 30 - _Optional(String), [INFO] [stdout] 30 + _Optional(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> build.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | _Multiple(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, 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 - _Multiple(String), [INFO] [stdout] 31 + _Multiple(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> build.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | _Single(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, 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] 32 - _Single(String), [INFO] [stdout] 32 + _Single(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | format!($e, $($p = $p,)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/lint.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | node_warning!(processed.files, warning); [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)]` on by default [INFO] [stdout] = note: this error originates in the macro `crate::iformat` which comes from the expansion of the macro `node_warning` (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/macros.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | format!($e, $($p = $p,)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/lint.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | node_error!(processed.files, error); [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 `crate::iformat` which comes from the expansion of the macro `node_error` (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/macros.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | format!($e, $($p = $p,)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/lint.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | node_warning!(processed.files, warning); [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)]` on by default [INFO] [stdout] = note: this error originates in the macro `crate::iformat` which comes from the expansion of the macro `node_warning` (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/macros.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | format!($e, $($p = $p,)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/lint.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | node_error!(processed.files, error); [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 `crate::iformat` which comes from the expansion of the macro `node_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/parser/mod.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | panic!(message); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 113 | panic!("{}", message); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commands/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | fn register(&self) -> clap::App; [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 8 | fn register(&self) -> clap::App<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commands/lint.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | fn register(&self) -> clap::App { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 8 | fn register(&self) -> clap::App<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `armalint` (lib) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config/parser/mod.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | panic!(message); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 113 | panic!("{}", message); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commands/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | fn register(&self) -> clap::App; [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 8 | fn register(&self) -> clap::App<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commands/lint.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | fn register(&self) -> clap::App { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 8 | fn register(&self) -> clap::App<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `armalint` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b08fda3affe5a5e3837e7568d62c46a53c192da53ef6f1c20fbd225d49928bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b08fda3affe5a5e3837e7568d62c46a53c192da53ef6f1c20fbd225d49928bc", kill_on_drop: false }` [INFO] [stdout] 5b08fda3affe5a5e3837e7568d62c46a53c192da53ef6f1c20fbd225d49928bc