[INFO] fetching crate jam_derive 0.0.1... [INFO] checking jam_derive-0.0.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate jam_derive 0.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate jam_derive 0.0.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 58ef2ad895c794edf43e2a0eeded7a684a0d8299db3630553d85164acec2d82e [INFO] running `Command { std: "docker" "start" "-a" "58ef2ad895c794edf43e2a0eeded7a684a0d8299db3630553d85164acec2d82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58ef2ad895c794edf43e2a0eeded7a684a0d8299db3630553d85164acec2d82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ef2ad895c794edf43e2a0eeded7a684a0d8299db3630553d85164acec2d82e", kill_on_drop: false }` [INFO] [stdout] 58ef2ad895c794edf43e2a0eeded7a684a0d8299db3630553d85164acec2d82e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cca990a79e875cdac7cde89d27060f1d29b1fe37f8de78eb42d253f1a2831e3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8cca990a79e875cdac7cde89d27060f1d29b1fe37f8de78eb42d253f1a2831e3", kill_on_drop: false }` [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`, `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: unused imports: `Item`, `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: 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: 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: variant is never constructed: `IdentNotFound` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | IdentNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 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: variant is never constructed: `IdentNotFound` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | IdentNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/lib.rs:326:4 [INFO] [stdout] | [INFO] [stdout] 326 | fn main() { [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: 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `Command { std: "docker" "inspect" "8cca990a79e875cdac7cde89d27060f1d29b1fe37f8de78eb42d253f1a2831e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cca990a79e875cdac7cde89d27060f1d29b1fe37f8de78eb42d253f1a2831e3", kill_on_drop: false }` [INFO] [stdout] 8cca990a79e875cdac7cde89d27060f1d29b1fe37f8de78eb42d253f1a2831e3