[INFO] fetching crate cereal_macros 0.3.5... [INFO] testing cereal_macros-0.3.5 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cereal_macros 0.3.5 into /workspace/builds/worker-58/source [INFO] validating manifest of crates.io crate cereal_macros 0.3.5 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cereal_macros 0.3.5 [INFO] finished tweaking crates.io crate cereal_macros 0.3.5 [INFO] tweaked toml for crates.io crate cereal_macros 0.3.5 written to /workspace/builds/worker-58/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9842fad7016fb1365c97406c7f1d501d9476246396b7f862cf1fda5fd5a6940f [INFO] running `Command { std: "docker" "start" "-a" "9842fad7016fb1365c97406c7f1d501d9476246396b7f862cf1fda5fd5a6940f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9842fad7016fb1365c97406c7f1d501d9476246396b7f862cf1fda5fd5a6940f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9842fad7016fb1365c97406c7f1d501d9476246396b7f862cf1fda5fd5a6940f", kill_on_drop: false }` [INFO] [stdout] 9842fad7016fb1365c97406c7f1d501d9476246396b7f862cf1fda5fd5a6940f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f496cc57948f9d14a9262a84eeca4840c924742f9034c0350c29251b97d1b26 [INFO] running `Command { std: "docker" "start" "-a" "2f496cc57948f9d14a9262a84eeca4840c924742f9034c0350c29251b97d1b26", kill_on_drop: false }` [INFO] [stderr] Compiling cereal_macros v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/plugin.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax, plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: a __rustc_plugin_registrar symbol must now be defined instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/plugin.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax, plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/plugin.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rustc_plugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/plugin.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_ext` [INFO] [stdout] --> src/plugin.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syntax_ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/plugin.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/plugin.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | quote_expr!(ecx, try!(::cereal::CerealData::read($reader))) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/plugin.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 116 | ecx.field_imm(span, ident, quote_expr!(ecx, try!(::cereal::CerealData::read($reader)))) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/plugin.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | ... quote_expr!(ecx, try!(::cereal::CerealData::read($reader))) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/plugin.rs:142:56 [INFO] [stdout] | [INFO] [stdout] 142 | ... ecx.field_imm(span, ident, quote_expr!(ecx, try!(::cereal::CerealData::read($reader)))) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/plugin.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | quote_expr!(ecx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/plugin.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let expr = quote_expr!(ecx, try!(::read($reader))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/plugin.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | quote_expr!(ecx, Ok($expr)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_stmt` in this scope [INFO] [stdout] --> src/plugin.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | quote_stmt!(ecx, { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/plugin.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | quote_expr!(ecx, { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_stmt` in this scope [INFO] [stdout] --> src/plugin.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | quote_stmt!(ecx, { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/plugin.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | quote_expr!(ecx, { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/plugin.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | registry.register_syntax_extension(token::intern("derive_CerealData"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | generic::TraitDef { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | path: generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | generics: generic::ty::LifetimeBounds::empty(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | generic::MethodDef { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | generics: generic::ty::LifetimeBounds::empty(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | ret_ty: generic::ty::Literal(generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | ret_ty: generic::ty::Literal(generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | box generic::ty::Self_, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | generic::ty::Ptr(box generic::ty::Literal(generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | generic::ty::Ptr(box generic::ty::Literal(generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:55:63 [INFO] [stdout] | [INFO] [stdout] 55 | generic::ty::Ptr(box generic::ty::Literal(generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | generic::ty::PtrTy::Borrowed(None, Mutability::Mutable) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/plugin.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | generic::ty::PtrTy::Borrowed(None, Mutability::Mutable) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | combine_substructure: generic::combine_substructure(box read_body), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | generic::MethodDef { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | generics: generic::ty::LifetimeBounds::empty(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | explicit_self: generic::ty::borrowed_explicit_self(), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | ret_ty: generic::ty::Literal(generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | ret_ty: generic::ty::Literal(generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | box generic::ty::Tuple(Vec::new()), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | generic::ty::Ptr(box generic::ty::Literal(generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | generic::ty::Ptr(box generic::ty::Literal(generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | generic::ty::Ptr(box generic::ty::Literal(generic::ty::Path { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | generic::ty::PtrTy::Borrowed(None, Mutability::Mutable) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/plugin.rs:88:60 [INFO] [stdout] | [INFO] [stdout] 88 | generic::ty::PtrTy::Borrowed(None, Mutability::Mutable) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | combine_substructure: generic::combine_substructure(box write_body), [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:98:58 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn read_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | generic::StaticStruct(_, generic::Unnamed(ref fields, _)) if fields.is_empty() => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | generic::StaticStruct(_, generic::Unnamed(ref fields, _)) if fields.is_empty() => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | generic::StaticStruct(_, generic::Named(ref fields)) if fields.is_empty() => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | generic::StaticStruct(_, generic::Named(ref fields)) if fields.is_empty() => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | generic::StaticStruct(_, generic::Unnamed(ref fields, _)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | generic::StaticStruct(_, generic::Unnamed(ref fields, _)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | generic::StaticStruct(_, generic::Named(ref fields)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | generic::StaticStruct(_, generic::Named(ref fields)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | generic::StaticEnum(_, ref variants) => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/plugin.rs:123:64 [INFO] [stdout] | [INFO] [stdout] 123 | let pat = ecx.pat_lit(span, ecx.expr_lit(span, ast::LitKind::Int(id as u64, ast::LitIntType::Unsigned(ast::UintTy::U64)))); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/plugin.rs:123:93 [INFO] [stdout] | [INFO] [stdout] 123 | let pat = ecx.pat_lit(span, ecx.expr_lit(span, ast::LitKind::Int(id as u64, ast::LitIntType::Unsigned(ast::UintTy::U64)))); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/plugin.rs:123:119 [INFO] [stdout] | [INFO] [stdout] 123 | let pat = ecx.pat_lit(span, ecx.expr_lit(span, ast::LitKind::Int(id as u64, ast::LitIntType::Unsigned(ast::UintTy::U64)))); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | generic::Unnamed(ref fields, _) if fields.is_empty() => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | generic::Named(ref fields) if fields.is_empty() => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | generic::Unnamed(ref fields, _) => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | generic::Named(ref fields) => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:166:59 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn write_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | generic::Struct(_, ref fields) => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `generic` [INFO] [stdout] --> src/plugin.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | generic::EnumMatching(var_id, _, ref fields) => { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/plugin.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn plugin_registrar(registry: &mut Registry) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MultiDecorator` in this scope [INFO] [stdout] --> src/plugin.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | MultiDecorator(box expand) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/plugin.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn expand(ecx: &mut ExtCtxt, span: Span, meta_item: &MetaItem, ann: &Annotatable, push: &mut FnMut(Annotatable)) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/plugin.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn expand(ecx: &mut ExtCtxt, span: Span, meta_item: &MetaItem, ann: &Annotatable, push: &mut FnMut(Annotatable)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetaItem` in this scope [INFO] [stdout] --> src/plugin.rs:24:58 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn expand(ecx: &mut ExtCtxt, span: Span, meta_item: &MetaItem, ann: &Annotatable, push: &mut FnMut(Annotatable)) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Annotatable` in this scope [INFO] [stdout] --> src/plugin.rs:24:74 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn expand(ecx: &mut ExtCtxt, span: Span, meta_item: &MetaItem, ann: &Annotatable, push: &mut FnMut(Annotatable)) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Annotatable` in this scope [INFO] [stdout] --> src/plugin.rs:24:104 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn expand(ecx: &mut ExtCtxt, span: Span, meta_item: &MetaItem, ann: &Annotatable, push: &mut FnMut(Annotatable)) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/plugin.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn read_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/plugin.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn read_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/plugin.rs:98:84 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn read_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/plugin.rs:98:86 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn read_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/plugin.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let all: Vec> = (0..fields.len()).map(|_| { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/plugin.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn read_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 108 | let all: Vec> = (0..fields.len()).map(|_| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/plugin.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn read_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 115 | let all: Vec = fields.iter().map(|&(ident, _)| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arm` in this scope [INFO] [stdout] --> src/plugin.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn read_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 122 | let mut arms: Vec = variants.iter().enumerate().map(|(id, &(ident, _, ref fields))| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/plugin.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | let all: Vec> = (0..fields.len()).map(|_| { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/plugin.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn read_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 134 | let all: Vec> = (0..fields.len()).map(|_| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/plugin.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn read_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 141 | let all: Vec = fields.iter().map(|&(ident, _)| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/plugin.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn write_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/plugin.rs:166:44 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn write_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/plugin.rs:166:85 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn write_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/plugin.rs:166:87 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn write_body(ecx: &mut ExtCtxt, span: Span, substr: &generic::Substructure) -> P { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/plugin.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax, plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugin.rs:24:98 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn expand(ecx: &mut ExtCtxt, span: Span, meta_item: &MetaItem, ann: &Annotatable, push: &mut FnMut(Annotatable)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn expand(ecx: &mut ExtCtxt, span: Span, meta_item: &MetaItem, ann: &Annotatable, push: &mut FnMut(Annotatable)) { [INFO] [stdout] 24 + pub fn expand(ecx: &mut ExtCtxt, span: Span, meta_item: &MetaItem, ann: &Annotatable, push: &mut dyn FnMut(Annotatable)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 87 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cereal_macros` due to 88 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2f496cc57948f9d14a9262a84eeca4840c924742f9034c0350c29251b97d1b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f496cc57948f9d14a9262a84eeca4840c924742f9034c0350c29251b97d1b26", kill_on_drop: false }` [INFO] [stdout] 2f496cc57948f9d14a9262a84eeca4840c924742f9034c0350c29251b97d1b26