[INFO] fetching crate jam_derive 0.0.1... [INFO] checking jam_derive-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate jam_derive 0.0.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate jam_derive 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c99eaf7c86cccda34ee93b4f404516dbe0325db9e08312a5754d8d5fa028417 [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" "3c99eaf7c86cccda34ee93b4f404516dbe0325db9e08312a5754d8d5fa028417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c99eaf7c86cccda34ee93b4f404516dbe0325db9e08312a5754d8d5fa028417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c99eaf7c86cccda34ee93b4f404516dbe0325db9e08312a5754d8d5fa028417", kill_on_drop: false }` [INFO] [stdout] 3c99eaf7c86cccda34ee93b4f404516dbe0325db9e08312a5754d8d5fa028417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e241e3eb01001c65f480d778eba3e0491408d44dce79d2586e0ffdf0b89fcc42 [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" "e241e3eb01001c65f480d778eba3e0491408d44dce79d2586e0ffdf0b89fcc42", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.01s [INFO] running `Command { std: "docker" "inspect" "e241e3eb01001c65f480d778eba3e0491408d44dce79d2586e0ffdf0b89fcc42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e241e3eb01001c65f480d778eba3e0491408d44dce79d2586e0ffdf0b89fcc42", kill_on_drop: false }` [INFO] [stdout] e241e3eb01001c65f480d778eba3e0491408d44dce79d2586e0ffdf0b89fcc42