[INFO] cloning repository https://github.com/rmanoka/tygres-macros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rmanoka/tygres-macros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmanoka%2Ftygres-macros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmanoka%2Ftygres-macros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b22905c0eb1951b2e61297af7ab88fa3d3d417bd [INFO] checking rmanoka/tygres-macros against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmanoka%2Ftygres-macros" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rmanoka/tygres-macros on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rmanoka/tygres-macros [INFO] finished tweaking git repo https://github.com/rmanoka/tygres-macros [INFO] tweaked toml for git repo https://github.com/rmanoka/tygres-macros written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/rmanoka/tygres-macros already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef5d62c86c00a91c940d611389fac85ecacb5fa5331a7a98c36ba9221a32732f [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" "ef5d62c86c00a91c940d611389fac85ecacb5fa5331a7a98c36ba9221a32732f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef5d62c86c00a91c940d611389fac85ecacb5fa5331a7a98c36ba9221a32732f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef5d62c86c00a91c940d611389fac85ecacb5fa5331a7a98c36ba9221a32732f", kill_on_drop: false }` [INFO] [stdout] ef5d62c86c00a91c940d611389fac85ecacb5fa5331a7a98c36ba9221a32732f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99b19986faef0f3b361bd37a466a976847c9078d0ac9afea68f098acaa42f5d5 [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" "99b19986faef0f3b361bd37a466a976847c9078d0ac9afea68f098acaa42f5d5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.25 [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ident_case v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking quote v0.6.10 [INFO] [stderr] Checking syn v0.15.26 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking Inflector v0.11.3 [INFO] [stderr] Checking darling_core v0.8.2 [INFO] [stderr] Compiling darling_macro v0.8.2 [INFO] [stderr] Checking darling v0.8.2 [INFO] [stderr] Checking tygres-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Field`, `Type` [INFO] [stdout] --> src/builder.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | Ident, TypeParamBound, Field, Type, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `TypeParamBound` [INFO] [stdout] --> src/schema.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | Ident, TypeParamBound, Field, Type, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token` [INFO] [stdout] --> src/setter.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | *, token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token` [INFO] [stdout] --> src/getter.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | *, token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `punctuated::Punctuated`, `token` [INFO] [stdout] --> src/data.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | *, token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | punctuated::Punctuated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/attrs.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if (path.segments.len() != 1) { return false; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStream` [INFO] [stdout] --> src/attrs.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | use proc_macro2::{TokenStream, Literal}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `TypeParamBound`, `Type`, `token` [INFO] [stdout] --> src/attrs.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | *, Ident, TypeParamBound, Field, Type, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] 93 | punctuated::Punctuated, [INFO] [stdout] 94 | token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `Type` [INFO] [stdout] --> src/builder.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | Ident, TypeParamBound, Field, Type, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `TypeParamBound` [INFO] [stdout] --> src/schema.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | Ident, TypeParamBound, Field, Type, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token` [INFO] [stdout] --> src/setter.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | *, token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token` [INFO] [stdout] --> src/getter.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | *, token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `punctuated::Punctuated`, `token` [INFO] [stdout] --> src/data.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | *, token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | punctuated::Punctuated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/attrs.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if (path.segments.len() != 1) { return false; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStream` [INFO] [stdout] --> src/attrs.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | use proc_macro2::{TokenStream, Literal}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `TypeParamBound`, `Type`, `token` [INFO] [stdout] --> src/attrs.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | *, Ident, TypeParamBound, Field, Type, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] 93 | punctuated::Punctuated, [INFO] [stdout] 94 | token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrap` [INFO] [stdout] --> src/getter.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let wrap = &f.wrap; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_wrap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> src/attrs.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let eq: Token![=] = input.parse()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lookahead` [INFO] [stdout] --> src/attrs.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let lookahead = input.lookahead1(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lookahead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colon` [INFO] [stdout] --> src/builder.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | colon: Token![:], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_crate_item_prelude` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extern_crate_item_prelude, arbitrary_self_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/attrs.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 77 | Err(e) => panic!("{}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrap` [INFO] [stdout] --> src/getter.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let wrap = &f.wrap; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_wrap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq` [INFO] [stdout] --> src/attrs.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let eq: Token![=] = input.parse()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lookahead` [INFO] [stdout] --> src/attrs.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let lookahead = input.lookahead1(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lookahead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colon` [INFO] [stdout] --> src/builder.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | colon: Token![:], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_crate_item_prelude` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extern_crate_item_prelude, arbitrary_self_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/attrs.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | Err(e) => panic!(format!("{}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 77 | Err(e) => panic!("{}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.46s [INFO] running `Command { std: "docker" "inspect" "99b19986faef0f3b361bd37a466a976847c9078d0ac9afea68f098acaa42f5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b19986faef0f3b361bd37a466a976847c9078d0ac9afea68f098acaa42f5d5", kill_on_drop: false }` [INFO] [stdout] 99b19986faef0f3b361bd37a466a976847c9078d0ac9afea68f098acaa42f5d5