[INFO] fetching crate armalint 0.1.1... [INFO] checking armalint-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate armalint 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate armalint 0.1.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.16.0 [INFO] [stderr] Downloaded pest_generator v2.1.1 [INFO] [stderr] Downloaded pest v2.1.2 [INFO] [stderr] Downloaded strum v0.16.0 [INFO] [stderr] Downloaded rgb v0.8.14 [INFO] [stderr] Downloaded colored v1.8.0 [INFO] [stderr] Downloaded pest_meta v2.1.2 [INFO] [stderr] Downloaded winconsole v0.10.0 [INFO] [stderr] Downloaded ucd-trie v0.1.2 [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63686c5ecfd9bbb39897639de5507452a037fc235a95e04097f9095a262b1cd1 [INFO] running `Command { std: "docker" "start" "-a" "63686c5ecfd9bbb39897639de5507452a037fc235a95e04097f9095a262b1cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63686c5ecfd9bbb39897639de5507452a037fc235a95e04097f9095a262b1cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63686c5ecfd9bbb39897639de5507452a037fc235a95e04097f9095a262b1cd1", kill_on_drop: false }` [INFO] [stdout] 63686c5ecfd9bbb39897639de5507452a037fc235a95e04097f9095a262b1cd1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9304a4c6879a90ff346605dd8ae13da162261e4fb0df779c38cc9e387aebc66 [INFO] running `Command { std: "docker" "start" "-a" "f9304a4c6879a90ff346605dd8ae13da162261e4fb0df779c38cc9e387aebc66", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling unicode-xid v0.2.0 [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 memchr v2.2.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [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(()), [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((), ()), [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(()), [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(()), [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(()), [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(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning 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] warning: 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 warning 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: 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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning 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] warning: 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 warning 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: 3 warnings emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: armalint v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f9304a4c6879a90ff346605dd8ae13da162261e4fb0df779c38cc9e387aebc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9304a4c6879a90ff346605dd8ae13da162261e4fb0df779c38cc9e387aebc66", kill_on_drop: false }` [INFO] [stdout] f9304a4c6879a90ff346605dd8ae13da162261e4fb0df779c38cc9e387aebc66