[INFO] cloning repository https://github.com/hermantolim/mac_derive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hermantolim/mac_derive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhermantolim%2Fmac_derive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhermantolim%2Fmac_derive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 277ddfd5b720245148386a86bcf9f1b037ca0039 [INFO] testing hermantolim/mac_derive against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhermantolim%2Fmac_derive" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hermantolim/mac_derive on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hermantolim/mac_derive [INFO] finished tweaking git repo https://github.com/hermantolim/mac_derive [INFO] tweaked toml for git repo https://github.com/hermantolim/mac_derive written to /workspace/builds/worker-108/source/Cargo.toml [INFO] crate git repo https://github.com/hermantolim/mac_derive already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--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-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95db6b3ce7643ce9f1a58a645f1ab7f906c0a63b8e3c5ddebc75a08779aff408 [INFO] running `Command { std: "docker" "start" "-a" "95db6b3ce7643ce9f1a58a645f1ab7f906c0a63b8e3c5ddebc75a08779aff408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95db6b3ce7643ce9f1a58a645f1ab7f906c0a63b8e3c5ddebc75a08779aff408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95db6b3ce7643ce9f1a58a645f1ab7f906c0a63b8e3c5ddebc75a08779aff408", kill_on_drop: false }` [INFO] [stdout] 95db6b3ce7643ce9f1a58a645f1ab7f906c0a63b8e3c5ddebc75a08779aff408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce68cf4a01930a5cf433500f668d68e7b33e67f720008880bc2f541026f72fbf [INFO] running `Command { std: "docker" "start" "-a" "ce68cf4a01930a5cf433500f668d68e7b33e67f720008880bc2f541026f72fbf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling mac_derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `get_meta_items2`, `get_meta_items` [INFO] [stdout] --> src/ast/attr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | get_meta_items, get_meta_items2, token_from_lit, RenameRule, ATTR, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Literal`, `TokenStream`, `TokenTree` [INFO] [stdout] --> src/ast/attr.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2::{Literal, TokenStream, TokenTree}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/ast/attr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | collections::HashSet, convert::TryFrom, marker::PhantomData, str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute`, `Meta`, `NestedMeta`, `ParseStream`, `Parse` [INFO] [stdout] --> src/ast/attr.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | parse::{Parse, ParseStream}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 13 | spanned::Spanned, [INFO] [stdout] 14 | Attribute, Error, Ident, Lit, LitStr, Meta, MetaList, MetaNameValue, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] 15 | NestedMeta, Result, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `write` [INFO] [stdout] --> src/ast/enum_repr.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | fs::{write, File, OpenOptions}, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContainerAttr`, `VariantAttr` [INFO] [stdout] --> src/ast/parser.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use ast::{AttributesBucket, ContainerAttr, VariantAttr, ID}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/ast/parser.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{collections::HashSet, convert::TryFrom, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MetaList`, `MetaNameValue` [INFO] [stdout] --> src/ast/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | MetaList, MetaNameValue, NestedMeta, Path, Result, Type, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> src/ast/parser.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{collections::HashSet, convert::TryFrom, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/ast/attr.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | (id, list) if id == ATTR || id == ATTR_NEST || id == OTHER => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/ast/attr.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | (id, list) if id == OTHER => Ok(VariantAttr::Trans(PhantomData)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `attrs` [INFO] [stdout] --> src/attr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | attrs: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/attr.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `VarAttr` [INFO] [stdout] --> src/ast/attr.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct VarAttr<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.92s [INFO] running `Command { std: "docker" "inspect" "ce68cf4a01930a5cf433500f668d68e7b33e67f720008880bc2f541026f72fbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce68cf4a01930a5cf433500f668d68e7b33e67f720008880bc2f541026f72fbf", kill_on_drop: false }` [INFO] [stdout] ce68cf4a01930a5cf433500f668d68e7b33e67f720008880bc2f541026f72fbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63b785561de229fde4be8b929114061e36b8411151d14af4a51e9faf54e682ae [INFO] running `Command { std: "docker" "start" "-a" "63b785561de229fde4be8b929114061e36b8411151d14af4a51e9faf54e682ae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused imports: `get_meta_items2`, `get_meta_items` [INFO] [stdout] --> src/ast/attr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | get_meta_items, get_meta_items2, token_from_lit, RenameRule, ATTR, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Literal`, `TokenStream`, `TokenTree` [INFO] [stdout] --> src/ast/attr.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2::{Literal, TokenStream, TokenTree}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/ast/attr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | collections::HashSet, convert::TryFrom, marker::PhantomData, str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute`, `Meta`, `NestedMeta`, `ParseStream`, `Parse` [INFO] [stdout] --> src/ast/attr.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | parse::{Parse, ParseStream}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 13 | spanned::Spanned, [INFO] [stdout] 14 | Attribute, Error, Ident, Lit, LitStr, Meta, MetaList, MetaNameValue, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] 15 | NestedMeta, Result, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `write` [INFO] [stdout] --> src/ast/enum_repr.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | fs::{write, File, OpenOptions}, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContainerAttr`, `VariantAttr` [INFO] [stdout] --> src/ast/parser.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use ast::{AttributesBucket, ContainerAttr, VariantAttr, ID}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/ast/parser.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{collections::HashSet, convert::TryFrom, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MetaList`, `MetaNameValue` [INFO] [stdout] --> src/ast/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | MetaList, MetaNameValue, NestedMeta, Path, Result, Type, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> src/ast/parser.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{collections::HashSet, convert::TryFrom, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/ast/attr.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | (id, list) if id == ATTR || id == ATTR_NEST || id == OTHER => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/ast/attr.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | (id, list) if id == OTHER => Ok(VariantAttr::Trans(PhantomData)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mac_derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `attrs` [INFO] [stdout] --> src/attr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | attrs: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/attr.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `VarAttr` [INFO] [stdout] --> src/ast/attr.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct VarAttr<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> examples/derive.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[enum_repr(rename_all = "UPPERCASE", other(Meta1, Meta2))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | #[repr(C)] [INFO] [stdout] 9 | #[derive(Debug, EnumRepr)] [INFO] [stdout] | -------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [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 #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::identity` [INFO] [stdout] --> examples/derive.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | use std::convert::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> examples/derive.rs:173:6 [INFO] [stdout] | [INFO] [stdout] 173 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_meta_items2`, `get_meta_items` [INFO] [stdout] --> src/ast/attr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | get_meta_items, get_meta_items2, token_from_lit, RenameRule, ATTR, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Literal`, `TokenStream`, `TokenTree` [INFO] [stdout] --> src/ast/attr.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2::{Literal, TokenStream, TokenTree}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/ast/attr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | collections::HashSet, convert::TryFrom, marker::PhantomData, str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute`, `Meta`, `NestedMeta`, `ParseStream`, `Parse` [INFO] [stdout] --> src/ast/attr.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | parse::{Parse, ParseStream}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 13 | spanned::Spanned, [INFO] [stdout] 14 | Attribute, Error, Ident, Lit, LitStr, Meta, MetaList, MetaNameValue, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] 15 | NestedMeta, Result, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `write` [INFO] [stdout] --> src/ast/enum_repr.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | fs::{write, File, OpenOptions}, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContainerAttr`, `VariantAttr` [INFO] [stdout] --> src/ast/parser.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use ast::{AttributesBucket, ContainerAttr, VariantAttr, ID}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/ast/parser.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{collections::HashSet, convert::TryFrom, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MetaList`, `MetaNameValue` [INFO] [stdout] --> src/ast/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | MetaList, MetaNameValue, NestedMeta, Path, Result, Type, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/derive.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let e = MyEnum::Variant1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/derive.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let a = FullOpt::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> examples/derive.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let a = Red::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> examples/derive.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let b = Blue::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> examples/derive.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let r = c.r(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> examples/derive.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let b = c.b(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> examples/derive.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let g = c.g(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> examples/derive.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let y = c.c(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `c` [INFO] [stdout] --> examples/derive.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 212 | let c = Color::new(); [INFO] [stdout] | - move occurs because `c` has type `te::Color`, which does not implement the `Copy` trait [INFO] [stdout] 213 | let r = c.r(); [INFO] [stdout] | --- `c` moved due to this method call [INFO] [stdout] 214 | let b = c.b(); [INFO] [stdout] | ^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `c` [INFO] [stdout] --> examples/derive.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | fn r(self) -> Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `c` [INFO] [stdout] --> examples/derive.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 212 | let c = Color::new(); [INFO] [stdout] | - move occurs because `c` has type `te::Color`, which does not implement the `Copy` trait [INFO] [stdout] 213 | let r = c.r(); [INFO] [stdout] 214 | let b = c.b(); [INFO] [stdout] | --- `c` moved due to this method call [INFO] [stdout] 215 | let g = c.g(); [INFO] [stdout] | ^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `c` [INFO] [stdout] --> examples/derive.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | fn b(self) -> Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `c` [INFO] [stdout] --> examples/derive.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 212 | let c = Color::new(); [INFO] [stdout] | - move occurs because `c` has type `te::Color`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 215 | let g = c.g(); [INFO] [stdout] | --- `c` moved due to this method call [INFO] [stdout] 216 | let y = c.c(); [INFO] [stdout] | ^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `c` [INFO] [stdout] --> examples/derive.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | fn g(self) -> Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mac_derive` due to 4 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> src/ast/parser.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{collections::HashSet, convert::TryFrom, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/ast/attr.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | (id, list) if id == ATTR || id == ATTR_NEST || id == OTHER => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/ast/attr.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | (id, list) if id == OTHER => Ok(VariantAttr::Trans(PhantomData)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `attrs` [INFO] [stdout] --> src/attr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | attrs: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/attr.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `VarAttr` [INFO] [stdout] --> src/ast/attr.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct VarAttr<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "63b785561de229fde4be8b929114061e36b8411151d14af4a51e9faf54e682ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b785561de229fde4be8b929114061e36b8411151d14af4a51e9faf54e682ae", kill_on_drop: false }` [INFO] [stdout] 63b785561de229fde4be8b929114061e36b8411151d14af4a51e9faf54e682ae