[INFO] cloning repository https://github.com/qorost/rust_macro_plugin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qorost/rust_macro_plugin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqorost%2Frust_macro_plugin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqorost%2Frust_macro_plugin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b962ffe47d788615f0db57ed18fc53fec3aa85b5 [INFO] testing qorost/rust_macro_plugin against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqorost%2Frust_macro_plugin" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qorost/rust_macro_plugin 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/qorost/rust_macro_plugin [INFO] finished tweaking git repo https://github.com/qorost/rust_macro_plugin [INFO] tweaked toml for git repo https://github.com/qorost/rust_macro_plugin written to /workspace/builds/worker-44/source/Cargo.toml [INFO] crate git repo https://github.com/qorost/rust_macro_plugin 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] de5fa934c8afd0e4ee59ff44cea6d4e48e0dc4aebfbc92313eb323ddd559db77 [INFO] running `Command { std: "docker" "start" "-a" "de5fa934c8afd0e4ee59ff44cea6d4e48e0dc4aebfbc92313eb323ddd559db77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de5fa934c8afd0e4ee59ff44cea6d4e48e0dc4aebfbc92313eb323ddd559db77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5fa934c8afd0e4ee59ff44cea6d4e48e0dc4aebfbc92313eb323ddd559db77", kill_on_drop: false }` [INFO] [stdout] de5fa934c8afd0e4ee59ff44cea6d4e48e0dc4aebfbc92313eb323ddd559db77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] 42e163252cd259b9e8921b4462875d1521b93a04df9d90d9c84396ee36f2d1df [INFO] running `Command { std: "docker" "start" "-a" "42e163252cd259b9e8921b4462875d1521b93a04df9d90d9c84396ee36f2d1df", kill_on_drop: false }` [INFO] [stderr] Compiling myplugin_support v0.1.0 (/opt/rustwide/workdir/myplugin/support) [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> myplugin/support/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> myplugin/support/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling myplugin v0.1.0 (/opt/rustwide/workdir/myplugin) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> myplugin/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(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] --> myplugin/src/lib.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> myplugin/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> myplugin/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> myplugin/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | 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_pos` [INFO] [stdout] --> myplugin/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate syntax_pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | #[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[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> myplugin/src/lib.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | e@Expr {node: ExprKind::Mac(_), ..} => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fold` [INFO] [stdout] --> myplugin/src/lib.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | e => P(fold::noop_fold_expr(e,self)), [INFO] [stdout] | ^^^^ use of undeclared crate or module `fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fold` [INFO] [stdout] --> myplugin/src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | fold::noop_fold_stmt(s,self) [INFO] [stdout] | ^^^^ use of undeclared crate or module `fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fold` [INFO] [stdout] --> myplugin/src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | fold::noop_fold_item(i,self) [INFO] [stdout] | ^^^^ use of undeclared crate or module `fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fold` [INFO] [stdout] --> myplugin/src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | fold::noop_fold_item_simple(i,self) [INFO] [stdout] | ^^^^ use of undeclared crate or module `fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fold` [INFO] [stdout] --> myplugin/src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | fold::noop_fold_item_kind(i,self) [INFO] [stdout] | ^^^^ use of undeclared crate or module `fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fold` [INFO] [stdout] --> myplugin/src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | fold::noop_fold_block(b,self) [INFO] [stdout] | ^^^^ use of undeclared crate or module `fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fold` [INFO] [stdout] --> myplugin/src/lib.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | fold::noop_fold_fn_decl(d,self) [INFO] [stdout] | ^^^^ use of undeclared crate or module `fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `myplugin` due to 63 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fold` [INFO] [stdout] --> myplugin/src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | fold::noop_fold_mod(m, self) [INFO] [stdout] | ^^^^ use of undeclared crate or module `fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fold` [INFO] [stdout] --> myplugin/src/lib.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | fold::noop_fold_foreign_item(ni, self) [INFO] [stdout] | ^^^^ use of undeclared crate or module `fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> myplugin/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | Symbol::intern("check"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotatable` [INFO] [stdout] --> myplugin/src/lib.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | Annotatable::Item(i) => Annotatable::Item ( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Annotatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotatable` [INFO] [stdout] --> myplugin/src/lib.rs:119:41 [INFO] [stdout] | [INFO] [stdout] 119 | Annotatable::Item(i) => Annotatable::Item ( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Annotatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | cx: &'a mut ExtCtxt<'cx>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Folder` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a,'cx> Folder for Refchecker<'a, 'cx> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | fn fold_expr(&mut self, e: P) -> 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] --> myplugin/src/lib.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a,'cx> Folder for Refchecker<'a, 'cx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Expr` [INFO] [stdout] 49 | fn fold_expr(&mut self, e: P) -> 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] --> myplugin/src/lib.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | fn fold_expr(&mut self, e: P) -> 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] --> myplugin/src/lib.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a,'cx> Folder for Refchecker<'a, 'cx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Expr` [INFO] [stdout] 49 | fn fold_expr(&mut self, e: P) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expr` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | e@Expr {node: ExprKind::Mac(_), ..} => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:56:61 [INFO] [stdout] | [INFO] [stdout] 56 | let expanded = self.cx.expander().fold_expr(P(e)); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | e => P(fold::noop_fold_expr(e,self)), [INFO] [stdout] | ^ help: a local variable with a similar name exists: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn fold_stmt(&mut self, s: Stmt) -> SmallVector { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SmallVector` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | fn fold_stmt(&mut self, s: Stmt) -> SmallVector { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:63:53 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a,'cx> Folder for Refchecker<'a, 'cx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Stmt` [INFO] [stdout] ... [INFO] [stdout] 63 | fn fold_stmt(&mut self, s: Stmt) -> SmallVector { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn fold_item(&mut self, i: P) -> SmallVector> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a,'cx> Folder for Refchecker<'a, 'cx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Item` [INFO] [stdout] ... [INFO] [stdout] 69 | fn fold_item(&mut self, i: P) -> SmallVector> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SmallVector` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 69 | fn fold_item(&mut self, i: P) -> SmallVector> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 69 | fn fold_item(&mut self, i: P) -> SmallVector> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:69:58 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a,'cx> Folder for Refchecker<'a, 'cx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Item` [INFO] [stdout] ... [INFO] [stdout] 69 | fn fold_item(&mut self, i: P) -> SmallVector> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | fn fold_item_simple(&mut self, i: Item) -> Item { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | fn fold_item_simple(&mut self, i: Item) -> Item { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemKind` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | fn fold_item_kind(&mut self, i: ItemKind) -> ItemKind { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemKind` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | fn fold_item_kind(&mut self, i: ItemKind) -> ItemKind { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | fn fold_block(&mut self, b: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a,'cx> Folder for Refchecker<'a, 'cx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Block` [INFO] [stdout] ... [INFO] [stdout] 82 | fn fold_block(&mut self, b: P) -> 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] --> myplugin/src/lib.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | fn fold_block(&mut self, b: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a,'cx> Folder for Refchecker<'a, 'cx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Block` [INFO] [stdout] ... [INFO] [stdout] 82 | fn fold_block(&mut self, b: P) -> 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] --> myplugin/src/lib.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | fn fold_fn_decl(&mut self, d: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a,'cx> Folder for Refchecker<'a, 'cx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, FnDecl` [INFO] [stdout] ... [INFO] [stdout] 87 | fn fold_fn_decl(&mut self, d: P) -> 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] --> myplugin/src/lib.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | fn fold_fn_decl(&mut self, d: P) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'a,'cx> Folder for Refchecker<'a, 'cx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, FnDecl` [INFO] [stdout] ... [INFO] [stdout] 87 | fn fold_fn_decl(&mut self, d: P) -> P { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mac` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn fold_mac(&mut self, mac: Mac) -> Mac { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mac` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:91:41 [INFO] [stdout] | [INFO] [stdout] 91 | fn fold_mac(&mut self, mac: Mac) -> Mac { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mod` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | fn fold_mod(&mut self, m: Mod) -> Mod { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mod` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | fn fold_mod(&mut self, m: Mod) -> Mod { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignItem` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | fn fold_foreign_item(&mut self, ni: ForeignItem) -> ForeignItem { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignItem` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:99:57 [INFO] [stdout] | [INFO] [stdout] 99 | fn fold_foreign_item(&mut self, ni: ForeignItem) -> ForeignItem { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn plugin_registrar(reg: &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 `MultiModifier` in this scope [INFO] [stdout] --> myplugin/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | MultiModifier(Box::new(|cx: &mut ExtCtxt, _span: Span, _: &MetaItem, a: 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] --> myplugin/src/lib.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | MultiModifier(Box::new(|cx: &mut ExtCtxt, _span: Span, _: &MetaItem, a: 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] --> myplugin/src/lib.rs:113:58 [INFO] [stdout] | [INFO] [stdout] 113 | MultiModifier(Box::new(|cx: &mut ExtCtxt, _span: Span, _: &MetaItem, a: 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] --> myplugin/src/lib.rs:113:68 [INFO] [stdout] | [INFO] [stdout] 113 | MultiModifier(Box::new(|cx: &mut ExtCtxt, _span: Span, _: &MetaItem, a: 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] --> myplugin/src/lib.rs:113:81 [INFO] [stdout] | [INFO] [stdout] 113 | MultiModifier(Box::new(|cx: &mut ExtCtxt, _span: Span, _: &MetaItem, a: Annotatable| { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> myplugin/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "42e163252cd259b9e8921b4462875d1521b93a04df9d90d9c84396ee36f2d1df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e163252cd259b9e8921b4462875d1521b93a04df9d90d9c84396ee36f2d1df", kill_on_drop: false }` [INFO] [stdout] 42e163252cd259b9e8921b4462875d1521b93a04df9d90d9c84396ee36f2d1df