[INFO] fetching crate tag_safe 0.2.25... [INFO] testing tag_safe-0.2.25 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate tag_safe 0.2.25 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate tag_safe 0.2.25 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 tag_safe 0.2.25 [INFO] finished tweaking crates.io crate tag_safe 0.2.25 [INFO] tweaked toml for crates.io crate tag_safe 0.2.25 written to /workspace/builds/worker-10/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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] cde8062ddabc4acf4524195c5648a2b6a706b82f9278e5dcacdf6210b2820ce2 [INFO] running `Command { std: "docker" "start" "-a" "cde8062ddabc4acf4524195c5648a2b6a706b82f9278e5dcacdf6210b2820ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cde8062ddabc4acf4524195c5648a2b6a706b82f9278e5dcacdf6210b2820ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde8062ddabc4acf4524195c5648a2b6a706b82f9278e5dcacdf6210b2820ce2", kill_on_drop: false }` [INFO] [stdout] cde8062ddabc4acf4524195c5648a2b6a706b82f9278e5dcacdf6210b2820ce2 [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=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] 89fa17cf5af673789fae70bc8d63f90df1c7a237aa6656654aec9a379346172f [INFO] running `Command { std: "docker" "start" "-a" "89fa17cf5af673789fae70bc8d63f90df1c7a237aa6656654aec9a379346172f", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tag_safe v0.2.25 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | #![feature(plugin_registrar, 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[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_expand` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | extern crate syntax_expand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.tsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_driver; [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: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/check.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | declare_lint!(NOT_TAGGED_SAFE, Warn, "Warn about use of non-tagged methods within tagged function"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/check.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | lint_array!(NOT_TAGGED_SAFE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[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 crate or module `ast` [INFO] [stdout] --> src/prescan.rs:21:62 [INFO] [stdout] | [INFO] [stdout] 21 | fn expand(&self, ecx: &mut ExtCtxt, span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotatable` [INFO] [stdout] --> src/prescan.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | Annotatable::Item(ref i) => [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Annotatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/prescan.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | ItemKind::ExternCrate(None) => i.ident.name, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/prescan.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | ItemKind::ExternCrate(Some(crate_name)) => crate_name, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/prescan.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if let MetaItemKind::NameValue( ast::Lit { kind: LitKind::Str(ref value, _), .. } ) = ptr.kind { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/prescan.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | if let MetaItemKind::NameValue( ast::Lit { kind: LitKind::Str(ref value, _), .. } ) = ptr.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/prescan.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | if let MetaItemKind::NameValue( ast::Lit { kind: LitKind::Str(ref value, _), .. } ) = ptr.kind { [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/prescan.rs:61:69 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_fn_node_id(name: &'static str, item: &Annotatable) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotatable` [INFO] [stdout] --> src/prescan.rs:64:2 [INFO] [stdout] | [INFO] [stdout] 64 | Annotatable::Item(ref i) => [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Annotatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/prescan.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | ItemKind::Fn(..) => Some(i.id), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotatable` [INFO] [stdout] --> src/prescan.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 73 | Annotatable::TraitItem(ref i) => [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Annotatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraitItemKind` [INFO] [stdout] --> src/prescan.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | TraitItemKind::Method(..) => Some(i.id), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TraitItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotatable` [INFO] [stdout] --> src/prescan.rs:82:2 [INFO] [stdout] | [INFO] [stdout] 82 | Annotatable::ImplItem(ref i) => [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Annotatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImplItemKind` [INFO] [stdout] --> src/prescan.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | ImplItemKind::Method(..) => Some(i.id), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ImplItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Annotatable` [INFO] [stdout] --> src/prescan.rs:91:2 [INFO] [stdout] | [INFO] [stdout] 91 | Annotatable::ForeignItem(..) [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] --> src/prescan.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | | Annotatable::Stmt(..) [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] --> src/prescan.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | | Annotatable::Expr(..) [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] --> src/prescan.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | | Annotatable::Arm(..) [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] --> src/prescan.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | | Annotatable::Field(..) [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] --> src/prescan.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | | Annotatable::FieldPat(..) [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] --> src/prescan.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | | Annotatable::GenericParam(..) [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] --> src/prescan.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | | Annotatable::Param(..) [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] --> src/prescan.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | | Annotatable::StructField(..) [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] --> src/prescan.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | | Annotatable::Variant(..) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Annotatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/prescan.rs:107:63 [INFO] [stdout] | [INFO] [stdout] 107 | fn expand(&self, ecx: &mut ExtCtxt, _span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:126:63 [INFO] [stdout] | [INFO] [stdout] 126 | fn expand(&self, ecx: &mut ExtCtxt, _span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:162:39 [INFO] [stdout] | [INFO] [stdout] 162 | fn get_inner_items<'a>(meta_item: &'a ast::MetaItem, attr_name: &'a str) -> impl Iterator+'a { [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/prescan.rs:162:100 [INFO] [stdout] | [INFO] [stdout] 162 | fn get_inner_items<'a>(meta_item: &'a ast::MetaItem, attr_name: &'a str) -> impl Iterator+'a { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/prescan.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | let it = if let MetaItemKind::List(ref v) = meta_item.kind { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedMetaItem` [INFO] [stdout] --> src/prescan.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | if let &NestedMetaItem::MetaItem(ref ptr) = tag_meta { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `NestedMetaItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/prescan.rs:181:50 [INFO] [stdout] | [INFO] [stdout] 181 | fn get_tags<'a>(_cx: &'a ExtCtxt, meta_item: &'a ast::MetaItem, attr_name: &'a str) -> impl Iterator+'a { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/prescan.rs:186:6 [INFO] [stdout] | [INFO] [stdout] 186 | (&MetaItemKind::Word, Some(i)) => Some(i.name), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | visit_stack: Vec, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/check.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | sym_issafe: Symbol::intern("is_safe"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/check.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | sym_notsafe: Symbol::intern("not_safe"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/check.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | sym_reqsafe: Symbol::intern("req_safe"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lint` [INFO] [stdout] --> src/check.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | fn check_fn(&mut self, cx: &lint::LateContext, _kind: hir::intravisit::FnKind, _decl: &hir::FnDecl, body: &hir::Body, _: Span, id: hi... [INFO] [stdout] | ^^^^ use of undeclared crate or module `lint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:43:59 [INFO] [stdout] | [INFO] [stdout] 43 | fn check_fn(&mut self, cx: &lint::LateContext, _kind: hir::intravisit::FnKind, _decl: &hir::FnDecl, body: &hir::Body, _: Span, id: hi... [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:43:92 [INFO] [stdout] | [INFO] [stdout] 43 | fn check_fn(&mut self, cx: &lint::LateContext, _kind: hir::intravisit::FnKind, _decl: &hir::FnDecl, body: &hir::Body, _: Span, id: hi... [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:43:112 [INFO] [stdout] | [INFO] [stdout] 43 | ...ravisit::FnKind, _decl: &hir::FnDecl, body: &hir::Body, _: Span, id: hir::HirId) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:43:136 [INFO] [stdout] | [INFO] [stdout] 43 | ...&hir::FnDecl, body: &hir::Body, _: Span, id: hir::HirId) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | hir::intravisit::walk_body(&mut v, body); [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | fn fill_cache_for(&mut self, tcx: &TyCtxt, node_id: hir::HirId) [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lint` [INFO] [stdout] --> src/check.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | fn recurse_fcn_body(&mut self, cx: &lint::LateContext, node_id: hir::HirId, tag: ::database::Tag) -> bool [INFO] [stdout] | ^^^^ use of undeclared crate or module `lint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:113:69 [INFO] [stdout] | [INFO] [stdout] 113 | fn recurse_fcn_body(&mut self, cx: &lint::LateContext, node_id: hir::HirId, tag: ::database::Tag) -> bool [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | hir::Node::Item(i) => [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/check.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | ItemKind::Fn(_, _, _, ref body) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | hir::intravisit::walk_body(&mut v, cx.tcx.hir().body(*body)); [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | hir::Node::ImplItem(i) => [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | hir::ImplItemKind::Method(_, ref body) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | hir::intravisit::walk_body(&mut v, cx.tcx.hir().body(*body)); [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lint` [INFO] [stdout] --> src/check.rs:173:43 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn method_is_safe(&mut self, cx: &lint::LateContext, id: DefId, tag: ::database::Tag) -> bool [INFO] [stdout] | ^^^^ use of undeclared crate or module `lint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lint` [INFO] [stdout] --> src/check.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 224 | cx: &'a lint::LateContext<'a,'tcx>, [INFO] [stdout] | ^^^^ use of undeclared crate or module `lint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, 'tcx: 'a, F: FnMut(&Span)> hir::intravisit::Visitor<'a> for Visitor<'a, 'tcx, F> [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | fn nested_visit_map<'this>(&'this mut self) -> hir::intravisit::NestedVisitorMap<'this, 'a> { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:232:3 [INFO] [stdout] | [INFO] [stdout] 232 | hir::intravisit::NestedVisitorMap::None [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:236:38 [INFO] [stdout] | [INFO] [stdout] 236 | fn visit_expr(&mut self, ex: &'a hir::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | ExprKind::Call(ref fcn, ..) => [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | ExprKind::Path(ref qp, ..) => [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `def` [INFO] [stdout] --> src/check.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | def::Res::Def(def::DefKind::Fn, did) | def::Res::Def(def::DefKind::Method, did) => [INFO] [stdout] | ^^^ use of undeclared crate or module `def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `def` [INFO] [stdout] --> src/check.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | def::Res::Def(def::DefKind::Fn, did) | def::Res::Def(def::DefKind::Method, did) => [INFO] [stdout] | ^^^ use of undeclared crate or module `def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `def` [INFO] [stdout] --> src/check.rs:247:44 [INFO] [stdout] | [INFO] [stdout] 247 | def::Res::Def(def::DefKind::Fn, did) | def::Res::Def(def::DefKind::Method, did) => [INFO] [stdout] | ^^^ use of undeclared crate or module `def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `def` [INFO] [stdout] --> src/check.rs:247:58 [INFO] [stdout] | [INFO] [stdout] 247 | def::Res::Def(def::DefKind::Fn, did) | def::Res::Def(def::DefKind::Method, did) => [INFO] [stdout] | ^^^ use of undeclared crate or module `def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/check.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | ExprKind::MethodCall(ref _id, ref _tys, ref _exprs) => [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/check.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | hir::intravisit::walk_expr(self, ex); [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/check.rs:287:34 [INFO] [stdout] | [INFO] [stdout] 287 | fn get_tags<'a>(meta_items: &'a [ast::Attribute], attr_name: Symbol) -> impl Iterator+'a { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/check.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 292 | if let MetaItemKind::List(v) = v.kind { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedMetaItem` [INFO] [stdout] --> src/check.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | if let NestedMetaItem::MetaItem(ref ptr) = tag_meta { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `NestedMetaItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/check.rs:307:7 [INFO] [stdout] | [INFO] [stdout] 307 | (&MetaItemKind::Word, Some(i)) => Some(i.name), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/database.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | map: HashMap, [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `def_id` [INFO] [stdout] --> src/database.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | id_map: RwLock< HashMap >, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `def_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/database.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn mark(&mut self, id: hir::HirId, tag: Tag, is_safe: bool) { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/database.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_local(&self, id: hir::HirId, tag: Tag) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `def_id` [INFO] [stdout] --> src/database.rs:122:48 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_extern(&self, tcx: &TyCtxt, krate: def_id::CrateNum, index: def_id::DefIndex, tag: Tag) -> Option { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `def_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `def_id` [INFO] [stdout] --> src/database.rs:122:73 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_extern(&self, tcx: &TyCtxt, krate: def_id::CrateNum, index: def_id::DefIndex, tag: Tag) -> Option { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `def_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `def_id` [INFO] [stdout] --> src/database.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | let name = tcx.def_path_str(def_id::DefId{krate:krate,index:index}); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `def_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/lib.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | reg.register_syntax_extension(Symbol::intern("tagged_safe"), { [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyntaxExtension` [INFO] [stdout] --> src/lib.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let v = SyntaxExtension::default(SyntaxExtensionKind::LegacyAttr( Box::new(prescan::HandlerTaggedSafe) ), Edition::Edition2015); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SyntaxExtension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyntaxExtensionKind` [INFO] [stdout] --> src/lib.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | let v = SyntaxExtension::default(SyntaxExtensionKind::LegacyAttr( Box::new(prescan::HandlerTaggedSafe) ), Edition::Edition2015); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SyntaxExtensionKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edition` [INFO] [stdout] --> src/lib.rs:49:119 [INFO] [stdout] | [INFO] [stdout] 49 | let v = SyntaxExtension::default(SyntaxExtensionKind::LegacyAttr( Box::new(prescan::HandlerTaggedSafe) ), Edition::Edition2015); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Edition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AttributeType` [INFO] [stdout] --> src/lib.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | reg.register_attribute(pass.sym_issafe .clone(), AttributeType::Whitelisted); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `AttributeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AttributeType` [INFO] [stdout] --> src/lib.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 59 | reg.register_attribute(pass.sym_notsafe.clone(), AttributeType::Whitelisted); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `AttributeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AttributeType` [INFO] [stdout] --> src/lib.rs:60:54 [INFO] [stdout] | [INFO] [stdout] 60 | reg.register_attribute(pass.sym_reqsafe.clone(), AttributeType::Whitelisted); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `AttributeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MultiItemModifier` in this scope [INFO] [stdout] --> src/prescan.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl MultiItemModifier for HandlerTaggedSafe [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/prescan.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | fn expand(&self, ecx: &mut ExtCtxt, span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn expand(&self, ecx: &mut ExtCtxt, span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:21:83 [INFO] [stdout] | [INFO] [stdout] 21 | fn expand(&self, ecx: &mut ExtCtxt, span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:21:103 [INFO] [stdout] | [INFO] [stdout] 19 | impl MultiItemModifier for HandlerTaggedSafe [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 20 | { [INFO] [stdout] 21 | fn expand(&self, ecx: &mut ExtCtxt, span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_fn_node_id(name: &'static str, item: &Annotatable) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MultiItemModifier` in this scope [INFO] [stdout] --> src/prescan.rs:105:6 [INFO] [stdout] | [INFO] [stdout] 105 | impl MultiItemModifier for HandlerIsSafe [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/prescan.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | fn expand(&self, ecx: &mut ExtCtxt, _span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:107:45 [INFO] [stdout] | [INFO] [stdout] 107 | fn expand(&self, ecx: &mut ExtCtxt, _span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:107:84 [INFO] [stdout] | [INFO] [stdout] 107 | fn expand(&self, ecx: &mut ExtCtxt, _span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:107:104 [INFO] [stdout] | [INFO] [stdout] 105 | impl MultiItemModifier for HandlerIsSafe [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 106 | { [INFO] [stdout] 107 | fn expand(&self, ecx: &mut ExtCtxt, _span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MultiItemModifier` in this scope [INFO] [stdout] --> src/prescan.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | impl MultiItemModifier for HandlerNotSafe [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/prescan.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | fn expand(&self, ecx: &mut ExtCtxt, _span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 126 | fn expand(&self, ecx: &mut ExtCtxt, _span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:126:84 [INFO] [stdout] | [INFO] [stdout] 126 | fn expand(&self, ecx: &mut ExtCtxt, _span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:126:104 [INFO] [stdout] | [INFO] [stdout] 124 | impl MultiItemModifier for HandlerNotSafe [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 125 | { [INFO] [stdout] 126 | fn expand(&self, ecx: &mut ExtCtxt, _span: Span, meta_item: &ast::MetaItem, item: Annotatable) -> Vec { [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/prescan.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | fn get_tags<'a>(_cx: &'a ExtCtxt, meta_item: &'a ast::MetaItem, attr_name: &'a str) -> impl Iterator+'a { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/check.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub sym_issafe: Symbol, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/check.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub sym_notsafe: Symbol, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/check.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub sym_reqsafe: Symbol, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> src/check.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl LintPass for Pass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> src/check.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LateLintPass` in this scope [INFO] [stdout] --> src/check.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a,'b> LateLintPass<'a,'b> for Pass { [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/check.rs:43:126 [INFO] [stdout] | [INFO] [stdout] 43 | ...t::FnKind, _decl: &hir::FnDecl, body: &hir::Body, _: Span, id: hir::HirId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOT_TAGGED_SAFE` in this scope [INFO] [stdout] --> src/check.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | ... cx.span_lint(NOT_TAGGED_SAFE, *span, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/check.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 92 | fn fill_cache_for(&mut self, tcx: &TyCtxt, node_id: hir::HirId) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/check.rs:173:66 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn method_is_safe(&mut self, cx: &lint::LateContext, id: DefId, tag: ::database::Tag) -> bool [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/check.rs:221:40 [INFO] [stdout] | [INFO] [stdout] 221 | struct Visitor<'a, 'tcx: 'a, F: FnMut(&Span) + 'a> [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/check.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a, 'tcx: 'a, F: FnMut(&Span)> hir::intravisit::Visitor<'a> for Visitor<'a, 'tcx, F> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/check.rs:287:62 [INFO] [stdout] | [INFO] [stdout] 287 | fn get_tags<'a>(meta_items: &'a [ast::Attribute], attr_name: Symbol) -> impl Iterator+'a { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/database.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_extern(&self, tcx: &TyCtxt, krate: def_id::CrateNum, index: def_id::DefIndex, tag: Tag) -> Option { [INFO] [stdout] | ^^^^^^ 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/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #![feature(plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/database.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! { [INFO] [stdout] 53 | | // RwLock becuase after building, this will be uncontended. [INFO] [stdout] 54 | | pub static ref CACHE: RwLock = Default::default(); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 123 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tag_safe` due to 124 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "89fa17cf5af673789fae70bc8d63f90df1c7a237aa6656654aec9a379346172f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89fa17cf5af673789fae70bc8d63f90df1c7a237aa6656654aec9a379346172f", kill_on_drop: false }` [INFO] [stdout] 89fa17cf5af673789fae70bc8d63f90df1c7a237aa6656654aec9a379346172f