[INFO] fetching crate jam_derive 0.0.1... [INFO] checking jam_derive-0.0.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate jam_derive 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate jam_derive 0.0.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 jam_derive 0.0.1 [INFO] finished tweaking crates.io crate jam_derive 0.0.1 [INFO] tweaked toml for crates.io crate jam_derive 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.37) [INFO] [stderr] Adding syn v0.11.11 (latest: v2.0.77) [INFO] [stderr] Adding unicode-xid v0.0.4 (latest: v0.2.5) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4765d7d96a9c004652ec845d341141dfc54260c722015b818f85e9405f914258 [INFO] running `Command { std: "docker" "start" "-a" "4765d7d96a9c004652ec845d341141dfc54260c722015b818f85e9405f914258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4765d7d96a9c004652ec845d341141dfc54260c722015b818f85e9405f914258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4765d7d96a9c004652ec845d341141dfc54260c722015b818f85e9405f914258", kill_on_drop: false }` [INFO] [stdout] 4765d7d96a9c004652ec845d341141dfc54260c722015b818f85e9405f914258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7fc071382f9188ed4bb7d2f4c9f4b962ac904d1a2033df8df06e9ea68bfd84c3 [INFO] running `Command { std: "docker" "start" "-a" "7fc071382f9188ed4bb7d2f4c9f4b962ac904d1a2033df8df06e9ea68bfd84c3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking unicode-xid v0.0.4 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Checking synom v0.11.3 [INFO] [stderr] Checking syn v0.11.11 [INFO] [stderr] Checking jam_derive v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Item` and `parse_items` [INFO] [stdout] --> src/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | use syn::{Item, parse_items}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | use syn::{Field, TokenTree, Variant, Ident, ItemKind, VariantData, Ty, Pat, Mutability, BindingMode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(proc_macro, proc_macro_lib)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro_lib` has been stable since 1.15.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(proc_macro, proc_macro_lib)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Item` and `parse_items` [INFO] [stdout] --> src/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | use syn::{Item, parse_items}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | use syn::{Field, TokenTree, Variant, Ident, ItemKind, VariantData, Ty, Pat, Mutability, BindingMode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(proc_macro, proc_macro_lib)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro_lib` has been stable since 1.15.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(proc_macro, proc_macro_lib)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lib.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let node = elms.node; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:291:65 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(syn::ConstExpr::Other(syn::Expr { ref node, ref attrs })) = first_variant.discriminant { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:293:44 [INFO] [stdout] | [INFO] [stdout] 293 | let &syn::Expr { ref node, ref attrs} = expr.as_ref(); [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:296:48 [INFO] [stdout] | [INFO] [stdout] 296 | let &syn::Expr { ref node, ref attrs} = exprs.first().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:298:59 [INFO] [stdout] | [INFO] [stdout] 298 | if let &syn::ExprKind::Mac(syn::Mac { ref path, ref tts }) = node { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lib.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let node = elms.node; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | ParseError(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 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] 53 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IdentNotFound` is never constructed [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 55 | IdentNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:102:59 [INFO] [stdout] | [INFO] [stdout] 102 | if let Ty::Path(_, syn::Path { global: _, segments: ref segments}) = field.ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref segments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:103:53 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(syn::Path { global: _, segments: segments }) = path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:130:51 [INFO] [stdout] | [INFO] [stdout] 130 | if let Ty::Path(_, syn::Path { global: _, segments: segments}) = *ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:167:67 [INFO] [stdout] | [INFO] [stdout] 167 | if let Ty::Path(_, syn::Path { global: _, segments: segments}) = ty.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:291:65 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(syn::ConstExpr::Other(syn::Expr { ref node, ref attrs })) = first_variant.discriminant { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:293:44 [INFO] [stdout] | [INFO] [stdout] 293 | let &syn::Expr { ref node, ref attrs} = expr.as_ref(); [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:296:48 [INFO] [stdout] | [INFO] [stdout] 296 | let &syn::Expr { ref node, ref attrs} = exprs.first().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:298:59 [INFO] [stdout] | [INFO] [stdout] 298 | if let &syn::ExprKind::Mac(syn::Mac { ref path, ref tts }) = node { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | ParseError(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 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] 53 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IdentNotFound` is never constructed [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 55 | IdentNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:326:4 [INFO] [stdout] | [INFO] [stdout] 326 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:102:59 [INFO] [stdout] | [INFO] [stdout] 102 | if let Ty::Path(_, syn::Path { global: _, segments: ref segments}) = field.ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref segments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:103:53 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(syn::Path { global: _, segments: segments }) = path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:130:51 [INFO] [stdout] | [INFO] [stdout] 130 | if let Ty::Path(_, syn::Path { global: _, segments: segments}) = *ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:167:67 [INFO] [stdout] | [INFO] [stdout] 167 | if let Ty::Path(_, syn::Path { global: _, segments: segments}) = ty.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.95s [INFO] running `Command { std: "docker" "inspect" "7fc071382f9188ed4bb7d2f4c9f4b962ac904d1a2033df8df06e9ea68bfd84c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc071382f9188ed4bb7d2f4c9f4b962ac904d1a2033df8df06e9ea68bfd84c3", kill_on_drop: false }` [INFO] [stdout] 7fc071382f9188ed4bb7d2f4c9f4b962ac904d1a2033df8df06e9ea68bfd84c3