[INFO] fetching crate racer 2.2.2... [INFO] testing racer-2.2.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate racer 2.2.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate racer 2.2.2 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] removed /workspace/builds/worker-3/source/rust-toolchain.toml [INFO] started tweaking crates.io crate racer 2.2.2 [INFO] finished tweaking crates.io crate racer 2.2.2 [INFO] tweaked toml for crates.io crate racer 2.2.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate racer 2.2.2 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] Downloading crates ... [INFO] [stderr] Downloaded racer-testutils v0.1.0 [INFO] [stderr] Downloaded racer v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 5ee98d1edb9ef49a4794b5cfff79ad9c9656fbbcb5343eb8f3726fc50a3631c2 [INFO] running `Command { std: "docker" "start" "-a" "5ee98d1edb9ef49a4794b5cfff79ad9c9656fbbcb5343eb8f3726fc50a3631c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ee98d1edb9ef49a4794b5cfff79ad9c9656fbbcb5343eb8f3726fc50a3631c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee98d1edb9ef49a4794b5cfff79ad9c9656fbbcb5343eb8f3726fc50a3631c2", kill_on_drop: false }` [INFO] [stdout] 5ee98d1edb9ef49a4794b5cfff79ad9c9656fbbcb5343eb8f3726fc50a3631c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 73c40e65529d928e3e81db7a2565e28509ffd3d01ffd644e45fabdfb63ef0776 [INFO] running `Command { std: "docker" "start" "-a" "73c40e65529d928e3e81db7a2565e28509ffd3d01ffd644e45fabdfb63ef0776", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling racer-interner v0.1.0 [INFO] [stderr] Compiling rls-span v0.5.4 [INFO] [stderr] Compiling racer-cargo-metadata v0.1.2 [INFO] [stderr] Compiling racer v2.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast` [INFO] [stdout] --> src/racer/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate rustc_ast; [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 `rustc_ast_pretty` [INFO] [stdout] --> src/racer/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate rustc_ast_pretty; [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 `rustc_data_structures` [INFO] [stdout] --> src/racer/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate rustc_data_structures; [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 `rustc_errors` [INFO] [stdout] --> src/racer/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate rustc_errors; [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 `rustc_parse` [INFO] [stdout] --> src/racer/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate rustc_parse; [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 `rustc_session` [INFO] [stdout] --> src/racer/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate rustc_session; [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 `rustc_span` [INFO] [stdout] --> src/racer/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate rustc_span; [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[E0433]: failed to resolve: use of undeclared type `FileName` [INFO] [stdout] --> src/racer/ast.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | new_parser_from_source_str(ps, FileName::Custom("racer-file".to_owned()), source_str) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FileName` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Edition` [INFO] [stdout] --> src/racer/ast.rs:54:48 [INFO] [stdout] | [INFO] [stdout] 54 | rustc_span::create_session_if_not_set_then(Edition::Edition2018, |_| { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Edition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lrc` [INFO] [stdout] --> src/racer/ast.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | let codemap = Lrc::new(SourceMap::new(source_map::FilePathMapping::empty())); [INFO] [stdout] | ^^^ use of undeclared type `Lrc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourceMap` [INFO] [stdout] --> src/racer/ast.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let codemap = Lrc::new(SourceMap::new(source_map::FilePathMapping::empty())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SourceMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | let codemap = Lrc::new(SourceMap::new(source_map::FilePathMapping::empty())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Handler` [INFO] [stdout] --> src/racer/ast.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let handler = Handler::with_emitter(false, None, Box::new(DummyEmitter {})); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParseSess` [INFO] [stdout] --> src/racer/ast.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let parse_sess = ParseSess::with_span_handler(handler, codemap); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ParseSess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | F: FnOnce(&ast::Stmt), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForceCollect` [INFO] [stdout] --> src/racer/ast.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | let stmt = match p.parse_stmt(ForceCollect::No) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ForceCollect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let source_map::BytePos(lo) = span.lo(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let source_map::BytePos(hi) = span.hi(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let source_map::BytePos(lo) = span.lo(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl<'ast> visit::Visitor<'ast> for UseVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | fn visit_item(&mut self, i: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseTreeKind` [INFO] [stdout] --> src/racer/ast.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | UseTreeKind::Simple(rename, _, _) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UseTreeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseTreeKind` [INFO] [stdout] --> src/racer/ast.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | UseTreeKind::Nested(ref nested) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UseTreeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseTreeKind` [INFO] [stdout] --> src/racer/ast.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | UseTreeKind::Glob => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UseTreeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/racer/ast.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | if let ItemKind::Use(ref use_tree) = i.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'ast> visit::Visitor<'ast> for PatBindVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | fn visit_local(&mut self, local: &ast::Local) { [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/racer/ast.rs:180:35 [INFO] [stdout] | [INFO] [stdout] 180 | fn visit_expr(&mut self, ex: &ast::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/racer/ast.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | ExprKind::If(let_stmt, ..) | ExprKind::While(let_stmt, ..) => { [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/racer/ast.rs:183:42 [INFO] [stdout] | [INFO] [stdout] 183 | ExprKind::If(let_stmt, ..) | ExprKind::While(let_stmt, ..) => { [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/racer/ast.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | if let ExprKind::Let(pat, ..) = &let_stmt.kind { [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/racer/ast.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | ExprKind::ForLoop(pat, ..) => self.visit_pat(pat), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | _ => visit::walk_expr(self, ex), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:193:33 [INFO] [stdout] | [INFO] [stdout] 193 | fn visit_pat(&mut self, p: &ast::Pat) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | PatKind::Ident(_, ref spannedident, _) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | visit::walk_pat(self, p); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl<'ast> visit::Visitor<'ast> for PatVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | fn visit_pat(&mut self, p: &ast::Pat) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | PatKind::Ident(_, ref spannedident, _) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | visit::walk_pat(self, p); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'ast> visit::Visitor<'ast> for FnArgVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:230:32 [INFO] [stdout] | [INFO] [stdout] 230 | fn visit_fn(&mut self, fk: visit::FnKind<'_>, _: source_map::Span, _: ast::NodeId) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast.rs:230:54 [INFO] [stdout] | [INFO] [stdout] 230 | fn visit_fn(&mut self, fk: visit::FnKind<'_>, _: source_map::Span, _: ast::NodeId) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:230:75 [INFO] [stdout] | [INFO] [stdout] 230 | fn visit_fn(&mut self, fk: visit::FnKind<'_>, _: source_map::Span, _: ast::NodeId) { [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 `visit` [INFO] [stdout] --> src/racer/ast.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | visit::FnKind::Fn(_, _, ref fn_sig, _, _) => &*fn_sig.decl, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | visit::FnKind::Closure(ref fn_decl, _) => fn_decl, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | let source_map::BytePos(lo) = arg.pat.span.lo(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | let source_map::BytePos(hi) = arg.ty.span.hi(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:249:43 [INFO] [stdout] | [INFO] [stdout] 249 | fn visit_generics(&mut self, g: &'ast ast::Generics) { [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/racer/ast.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | pat: &ast::Pat, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | PatKind::Ident(_, ref spannedident, _) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | PatKind::Tuple(ref tuple_elements) => match *ty { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | PatKind::TupleStruct(_, ref path, ref children) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | PatKind::Struct(_, ref path, ref children, _) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 360 | impl<'c, 's, 'ast> visit::Visitor<'ast> for LetTypeVisitor<'c, 's> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:361:39 [INFO] [stdout] | [INFO] [stdout] 361 | fn visit_local(&mut self, local: &ast::Local) { [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 `visit` [INFO] [stdout] --> src/racer/ast.rs:387:20 [INFO] [stdout] | [INFO] [stdout] 387 | impl<'c, 's, 'ast> visit::Visitor<'ast> for MatchTypeVisitor<'c, 's> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:388:35 [INFO] [stdout] | [INFO] [stdout] 388 | fn visit_expr(&mut self, ex: &ast::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/racer/ast.rs:389:16 [INFO] [stdout] | [INFO] [stdout] 389 | if let ExprKind::Match(ref subexpression, ref arms) = ex.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | path: &ast::Path, [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 `visit` [INFO] [stdout] --> src/racer/ast.rs:500:20 [INFO] [stdout] | [INFO] [stdout] 500 | impl<'c, 's, 'ast> visit::Visitor<'ast> for ExprTypeVisitor<'c, 's> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:501:37 [INFO] [stdout] | [INFO] [stdout] 501 | fn visit_expr(&mut self, expr: &ast::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/racer/ast.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | ExprKind::Unary(_, ref expr) | ExprKind::AddrOf(_, _, ref expr) => { [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/racer/ast.rs:508:44 [INFO] [stdout] | [INFO] [stdout] 508 | ExprKind::Unary(_, ref expr) | ExprKind::AddrOf(_, _, ref expr) => { [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/racer/ast.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | ExprKind::Path(_, ref path) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast.rs:512:21 [INFO] [stdout] | [INFO] [stdout] 512 | let source_map::BytePos(lo) = path.span.lo(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/racer/ast.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | ExprKind::Call(ref callee_expression, ref caller_expr) => { [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/racer/ast.rs:610:13 [INFO] [stdout] | [INFO] [stdout] 610 | ExprKind::Struct(ref struct_expr) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:611:21 [INFO] [stdout] | [INFO] [stdout] 611 | let ast::StructExpr { ref path, .. } = **struct_expr; [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/racer/ast.rs:621:13 [INFO] [stdout] | [INFO] [stdout] 621 | ExprKind::MethodCall(ref method_def, ref arguments, _) => { [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/racer/ast.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | ExprKind::Field(ref subexpression, spannedident) => { [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/racer/ast.rs:681:13 [INFO] [stdout] | [INFO] [stdout] 681 | ExprKind::Tup(ref exprs) => { [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/racer/ast.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | ExprKind::Lit(ref lit) => self.result = Ty::from_lit(lit), [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/racer/ast.rs:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | ExprKind::Try(ref expr) => { [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/racer/ast.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | ExprKind::Match(_, ref arms) => { [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/racer/ast.rs:720:13 [INFO] [stdout] | [INFO] [stdout] 720 | ExprKind::If(_, ref block, ref else_block) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:723:21 [INFO] [stdout] | [INFO] [stdout] 723 | visit::walk_stmt(self, stmt); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/racer/ast.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | ExprKind::Block(ref block, ref _label) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:736:21 [INFO] [stdout] | [INFO] [stdout] 736 | visit::walk_stmt(self, stmt); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/racer/ast.rs:739:13 [INFO] [stdout] | [INFO] [stdout] 739 | ExprKind::Index(ref body, ref _index) => { [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/racer/ast.rs:748:13 [INFO] [stdout] | [INFO] [stdout] 748 | ExprKind::Array(ref exprs) => { [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/racer/ast.rs:763:13 [INFO] [stdout] | [INFO] [stdout] 763 | ExprKind::MacCall(ref m) => { [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/racer/ast.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 781 | ExprKind::Binary(bin, ref left, ref right) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:817:41 [INFO] [stdout] | [INFO] [stdout] 817 | fn visit_mac_call(&mut self, _mac: &ast::MacCall) {} [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 `visit` [INFO] [stdout] --> src/racer/ast.rs:883:12 [INFO] [stdout] | [INFO] [stdout] 883 | impl<'ast> visit::Visitor<'ast> for StructVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:884:58 [INFO] [stdout] | [INFO] [stdout] 884 | fn visit_variant_data(&mut self, struct_definition: &ast::VariantData) { [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 `visit` [INFO] [stdout] --> src/racer/ast.rs:904:16 [INFO] [stdout] | [INFO] [stdout] 904 | impl<'ast, 's> visit::Visitor<'ast> for TypeVisitor<'s> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:905:37 [INFO] [stdout] | [INFO] [stdout] 905 | fn visit_item(&mut self, item: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/racer/ast.rs:906:16 [INFO] [stdout] | [INFO] [stdout] 906 | if let ItemKind::TyAlias(ref ty_kind) = item.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:920:12 [INFO] [stdout] | [INFO] [stdout] 920 | impl<'ast> visit::Visitor<'ast> for TraitVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:921:37 [INFO] [stdout] | [INFO] [stdout] 921 | fn visit_item(&mut self, item: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/racer/ast.rs:922:16 [INFO] [stdout] | [INFO] [stdout] 922 | if let ItemKind::Trait(..) = item.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:949:16 [INFO] [stdout] | [INFO] [stdout] 949 | impl<'ast, 'p> visit::Visitor<'ast> for ImplVisitor<'p> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:950:37 [INFO] [stdout] | [INFO] [stdout] 950 | fn visit_item(&mut self, item: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/racer/ast.rs:951:16 [INFO] [stdout] | [INFO] [stdout] 951 | if let ItemKind::Impl(ref impl_kind) = item.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:952:17 [INFO] [stdout] | [INFO] [stdout] 952 | let ast::Impl { [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 `visit` [INFO] [stdout] --> src/racer/ast.rs:978:12 [INFO] [stdout] | [INFO] [stdout] 978 | impl<'ast> visit::Visitor<'ast> for ExternCrateVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:979:37 [INFO] [stdout] | [INFO] [stdout] 979 | fn visit_item(&mut self, item: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/racer/ast.rs:980:16 [INFO] [stdout] | [INFO] [stdout] 980 | if let ItemKind::ExternCrate(ref optional_s) = item.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:987:41 [INFO] [stdout] | [INFO] [stdout] 987 | fn visit_mac_call(&mut self, _mac: &ast::MacCall) {} [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 `visit` [INFO] [stdout] --> src/racer/ast.rs:996:28 [INFO] [stdout] | [INFO] [stdout] 996 | impl<'ast, P: AsRef> visit::Visitor<'ast> for GenericsVisitor

{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:997:38 [INFO] [stdout] | [INFO] [stdout] 997 | fn visit_generics(&mut self, g: &ast::Generics) { [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 `visit` [INFO] [stdout] --> src/racer/ast.rs:1011:12 [INFO] [stdout] | [INFO] [stdout] 1011 | impl<'ast> visit::Visitor<'ast> for EnumVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:1012:34 [INFO] [stdout] | [INFO] [stdout] 1012 | fn visit_item(&mut self, i: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/racer/ast.rs:1013:16 [INFO] [stdout] | [INFO] [stdout] 1013 | if let ItemKind::Enum(ref enum_definition, _) = i.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast.rs:1019:21 [INFO] [stdout] | [INFO] [stdout] 1019 | let source_map::BytePos(point) = variant.span.lo(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1043:12 [INFO] [stdout] | [INFO] [stdout] 1043 | impl<'ast> visit::Visitor<'ast> for StaticVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:1044:34 [INFO] [stdout] | [INFO] [stdout] 1044 | fn visit_item(&mut self, i: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/racer/ast.rs:1046:13 [INFO] [stdout] | [INFO] [stdout] 1046 | ItemKind::Const(_, ref ty, ref _expr) => self.ty = Ty::from_ast(ty, &self.scope), [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/racer/ast.rs:1047:13 [INFO] [stdout] | [INFO] [stdout] 1047 | ItemKind::Static(ref ty, m, ref _expr) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:1048:40 [INFO] [stdout] | [INFO] [stdout] 1048 | self.is_mutable = m == ast::Mutability::Mut; [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 `visit` [INFO] [stdout] --> src/racer/ast.rs:1063:25 [INFO] [stdout] | [INFO] [stdout] 1063 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1071:25 [INFO] [stdout] | [INFO] [stdout] 1071 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1080:25 [INFO] [stdout] | [INFO] [stdout] 1080 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1092:25 [INFO] [stdout] | [INFO] [stdout] 1092 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1098:25 [INFO] [stdout] | [INFO] [stdout] 1098 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1113:25 [INFO] [stdout] | [INFO] [stdout] 1113 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1122:25 [INFO] [stdout] | [INFO] [stdout] 1122 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1132:25 [INFO] [stdout] | [INFO] [stdout] 1132 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1147:25 [INFO] [stdout] | [INFO] [stdout] 1147 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1158:25 [INFO] [stdout] | [INFO] [stdout] 1158 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1166:25 [INFO] [stdout] | [INFO] [stdout] 1166 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1173:25 [INFO] [stdout] | [INFO] [stdout] 1173 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1183:25 [INFO] [stdout] | [INFO] [stdout] 1183 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1192:25 [INFO] [stdout] | [INFO] [stdout] 1192 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1198:25 [INFO] [stdout] | [INFO] [stdout] 1198 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1210:25 [INFO] [stdout] | [INFO] [stdout] 1210 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1222:25 [INFO] [stdout] | [INFO] [stdout] 1222 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1238:25 [INFO] [stdout] | [INFO] [stdout] 1238 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1258:12 [INFO] [stdout] | [INFO] [stdout] 1258 | impl<'ast> visit::Visitor<'ast> for FnOutputVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1259:34 [INFO] [stdout] | [INFO] [stdout] 1259 | fn visit_fn(&mut self, kind: visit::FnKind<'_>, _: source_map::Span, _: ast::NodeId) { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast.rs:1259:56 [INFO] [stdout] | [INFO] [stdout] 1259 | fn visit_fn(&mut self, kind: visit::FnKind<'_>, _: source_map::Span, _: ast::NodeId) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:1259:77 [INFO] [stdout] | [INFO] [stdout] 1259 | fn visit_fn(&mut self, kind: visit::FnKind<'_>, _: source_map::Span, _: ast::NodeId) { [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 `visit` [INFO] [stdout] --> src/racer/ast.rs:1261:13 [INFO] [stdout] | [INFO] [stdout] 1261 | visit::FnKind::Fn(_, _, ref fn_sig, _, _) => &*fn_sig.decl, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1262:13 [INFO] [stdout] | [INFO] [stdout] 1262 | visit::FnKind::Closure(ref fn_decl, _) => fn_decl, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnRetTy` [INFO] [stdout] --> src/racer/ast.rs:1269:13 [INFO] [stdout] | [INFO] [stdout] 1269 | FnRetTy::Ty(ref ty) => Ty::from_ast(ty, &self.scope), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FnRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnRetTy` [INFO] [stdout] --> src/racer/ast.rs:1270:13 [INFO] [stdout] | [INFO] [stdout] 1270 | FnRetTy::Default(_) => Some(Ty::Default), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FnRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1285:15 [INFO] [stdout] | [INFO] [stdout] 1285 | impl<'ast, P> visit::Visitor<'ast> for InheritedTraitsVisitor

[INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:1289:37 [INFO] [stdout] | [INFO] [stdout] 1289 | fn visit_item(&mut self, item: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/racer/ast.rs:1290:16 [INFO] [stdout] | [INFO] [stdout] 1290 | if let ItemKind::Trait(ref trait_kind) = item.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1308:20 [INFO] [stdout] | [INFO] [stdout] 1308 | impl<'ast, 'r, 's> visit::Visitor<'ast> for ForStmtVisitor<'r, 's> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:1309:40 [INFO] [stdout] | [INFO] [stdout] 1309 | fn visit_expr(&mut self, ex: &'ast ast::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/racer/ast.rs:1310:16 [INFO] [stdout] | [INFO] [stdout] 1310 | if let ExprKind::ForLoop(ref pat, ref expr, _, _) = ex.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1331:25 [INFO] [stdout] | [INFO] [stdout] 1331 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1343:20 [INFO] [stdout] | [INFO] [stdout] 1343 | impl<'ast, 'r, 's> visit::Visitor<'ast> for IfLetVisitor<'r, 's> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast.rs:1344:40 [INFO] [stdout] | [INFO] [stdout] 1344 | fn visit_expr(&mut self, ex: &'ast ast::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/racer/ast.rs:1346:13 [INFO] [stdout] | [INFO] [stdout] 1346 | ExprKind::If(let_stmt, ..) | ExprKind::While(let_stmt, ..) => { [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/racer/ast.rs:1346:42 [INFO] [stdout] | [INFO] [stdout] 1346 | ExprKind::If(let_stmt, ..) | ExprKind::While(let_stmt, ..) => { [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/racer/ast.rs:1347:24 [INFO] [stdout] | [INFO] [stdout] 1347 | if let ExprKind::Let(pat, expr, _span) = &let_stmt.kind { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/racer/ast.rs:1370:25 [INFO] [stdout] | [INFO] [stdout] 1370 | with_stmt(s, |stmt| visit::walk_stmt(&mut v, stmt)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/racer/ast_types.rs:105:43 [INFO] [stdout] | [INFO] [stdout] 105 | ty = Ty::RefPtr(Box::new(ty), Mutability::Not); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast_types.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn from_ast(ty: &ast::Ty, scope: &Scope) -> 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 `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | TyKind::Tup(ref items) => Some(Ty::Tuple( [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | TyKind::Rptr(ref _lifetime, ref ty) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | TyKind::Path(_, ref path) => Some(Ty::PathSearch(PathSearch { [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | TyKind::Array(ref ty, ref expr) => Ty::from_ast(ty, scope) [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/racer/ast_types.rs:130:63 [INFO] [stdout] | [INFO] [stdout] 130 | .map(|racer_ty| Ty::Array(Box::new(racer_ty), pprust::expr_to_string(&expr.value))), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | TyKind::Slice(ref ty) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | TyKind::Ptr(ref ty) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | TyKind::Never => None, [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | TyKind::TraitObject(ref traits, _) | TyKind::ImplTrait(_, ref traits) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:138:50 [INFO] [stdout] | [INFO] [stdout] 138 | TyKind::TraitObject(ref traits, _) | TyKind::ImplTrait(_, ref traits) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | TyKind::ImplicitSelf => Some(Ty::Self_(scope.clone())), [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast_types.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) fn from_lit(lit: &ast::Lit) -> 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 `LitKind` [INFO] [stdout] --> src/racer/ast_types.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | LitKind::Str(_, _) => make_match(PrimKind::Str), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/racer/ast_types.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | LitKind::ByteStr(ref bytes) => make_match(PrimKind::U8) [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/racer/ast_types.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | LitKind::Byte(_) => make_match(PrimKind::U8), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/racer/ast_types.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | LitKind::Char(_) => make_match(PrimKind::Char), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/racer/ast_types.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | LitKind::Int(_, int_ty) => make_match(PrimKind::from_litint(int_ty)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/racer/ast_types.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | LitKind::Float(_, ast::LitFloatType::Unsuffixed) => make_match(PrimKind::F32), [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/racer/ast_types.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | LitKind::Float(_, ast::LitFloatType::Unsuffixed) => make_match(PrimKind::F32), [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/racer/ast_types.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | LitKind::Float(_, ast::LitFloatType::Suffixed(float_ty)) => match float_ty { [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/racer/ast_types.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | LitKind::Float(_, ast::LitFloatType::Suffixed(float_ty)) => match float_ty { [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/racer/ast_types.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | ast::FloatTy::F32 => make_match(PrimKind::F32), [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/racer/ast_types.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | ast::FloatTy::F64 => make_match(PrimKind::F64), [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/racer/ast_types.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | LitKind::Bool(_) => make_match(PrimKind::Bool), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/racer/ast_types.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | LitKind::Err(_) => None, [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/racer/ast_types.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | Mutability::Not => write!(f, "&{}", ty), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/racer/ast_types.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | Mutability::Mut => write!(f, "&mut {}", ty), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/racer/ast_types.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | Mutability::Not => write!(f, "*const {}", ty), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/racer/ast_types.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | Mutability::Mut => write!(f, "*mut {}", ty), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | PatKind::Wild => Pat::Wild, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | PatKind::Ident(bi, ident, _) => Pat::Ident(*bi, ident.to_string()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | PatKind::Struct(_, path, fields, _) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | PatKind::TupleStruct(_, path, pats) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | PatKind::Path(_, path) => Pat::Path(Path::from_ast(&path, scope)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | PatKind::Tuple(pats) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | PatKind::Box(_) => Pat::Box, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | PatKind::Ref(pat, mut_) => Pat::Ref(Box::new(Pat::from_ast(&pat.kind, scope)), *mut_), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | PatKind::Lit(_) => Pat::Lit, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | PatKind::Range(..) => Pat::Range, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | PatKind::Slice(..) => Pat::Slice, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | PatKind::Paren(pat) => Pat::from_ast(&pat.kind, scope), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | PatKind::MacCall(_) => Pat::Mac, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | PatKind::Rest => Pat::Rest, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/racer/ast_types.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | PatKind::Or(_) => Pat::Or, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast_types.rs:355:28 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn from_ast(fpat: &ast::PatField, scope: &Scope) -> Self { [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/racer/ast_types.rs:420:34 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn from_ast_nogen(path: &ast::Path) -> Path { [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/racer/ast_types.rs:433:28 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn from_ast(path: &ast::Path, scope: &Scope) -> Path { [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/racer/ast_types.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | if let ast::GenericArgs::AngleBracketed(ref angle_args) = **params { [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/racer/ast_types.rs:443:32 [INFO] [stdout] | [INFO] [stdout] 443 | if let ast::AngleBracketedArg::Arg(ast::GenericArg::Type(ty)) = arg { [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/racer/ast_types.rs:443:60 [INFO] [stdout] | [INFO] [stdout] 443 | if let ast::AngleBracketedArg::Arg(ast::GenericArg::Type(ty)) = arg { [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/racer/ast_types.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | if let ast::GenericArgs::Parenthesized(ref paren_args) = **params { [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/racer/ast_types.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | if let ast::FnRetTy::Ty(ref ty) = paren_args.output { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericBound` [INFO] [stdout] --> src/racer/ast_types.rs:743:24 [INFO] [stdout] | [INFO] [stdout] 743 | if let GenericBound::Trait(ref ptrait_ref, _) = *bound { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GenericBound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast_types.rs:745:25 [INFO] [stdout] | [INFO] [stdout] 745 | let source_map::BytePos(point) = ast_path.span.lo(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast_types.rs:833:23 [INFO] [stdout] | [INFO] [stdout] 833 | generics: &'a ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericParamKind` [INFO] [stdout] --> src/racer/ast_types.rs:842:17 [INFO] [stdout] | [INFO] [stdout] 842 | GenericParamKind::Lifetime => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `GenericParamKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericParamKind` [INFO] [stdout] --> src/racer/ast_types.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | GenericParamKind::Type { default: _ } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `GenericParamKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/ast_types.rs:846:25 [INFO] [stdout] | [INFO] [stdout] 846 | let source_map::BytePos(point) = param.ident.span.lo(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericParamKind` [INFO] [stdout] --> src/racer/ast_types.rs:862:17 [INFO] [stdout] | [INFO] [stdout] 862 | GenericParamKind::Const { ty: _, .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `GenericParamKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WherePredicate` [INFO] [stdout] --> src/racer/ast_types.rs:867:17 [INFO] [stdout] | [INFO] [stdout] 867 | WherePredicate::BoundPredicate(bound) => match bound.bounded_ty.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `WherePredicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:868:21 [INFO] [stdout] | [INFO] [stdout] 868 | TyKind::Path(ref _qself, ref path) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/racer/ast_types.rs:870:40 [INFO] [stdout] | [INFO] [stdout] 870 | ... let name = pprust::path_segment_to_string(&seg); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:883:21 [INFO] [stdout] | [INFO] [stdout] 883 | TyKind::ImplicitSelf => {} [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WherePredicate` [INFO] [stdout] --> src/racer/ast_types.rs:887:17 [INFO] [stdout] | [INFO] [stdout] 887 | WherePredicate::RegionPredicate(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `WherePredicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/racer/ast_types.rs:991:20 [INFO] [stdout] | [INFO] [stdout] 991 | generics: &ast::Generics, [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/racer/ast_types.rs:994:21 [INFO] [stdout] | [INFO] [stdout] 994 | self_type: &ast::Ty, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:1062:9 [INFO] [stdout] | [INFO] [stdout] 1062 | TyKind::Rptr(_, ref ty) => get_self_path(&ty.ty.kind, scope), [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:1063:9 [INFO] [stdout] | [INFO] [stdout] 1063 | TyKind::Path(_, ref path) => Some(Path::from_ast(path, &scope)), [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TyKind` [INFO] [stdout] --> src/racer/ast_types.rs:1065:9 [INFO] [stdout] | [INFO] [stdout] 1065 | TyKind::Slice(_) => Some(Path::single("[T]".to_owned().into())), [INFO] [stdout] | ^^^^^^ use of undeclared type `TyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/core.rs:270:11 [INFO] [stdout] | [INFO] [stdout] 270 | impl From for ByteRange { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/racer/core.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | fn from(span: source_map::Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitIntType` [INFO] [stdout] --> src/racer/primitive.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | LitIntType::Signed(i) => match i { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LitIntType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/racer/primitive.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | IntTy::I8 => PrimKind::I8, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/racer/primitive.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | IntTy::I16 => PrimKind::I16, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/racer/primitive.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | IntTy::I32 => PrimKind::I32, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/racer/primitive.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | IntTy::I64 => PrimKind::I64, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/racer/primitive.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | IntTy::I128 => PrimKind::I128, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntTy` [INFO] [stdout] --> src/racer/primitive.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | IntTy::Isize => PrimKind::Isize, [INFO] [stdout] | ^^^^^ use of undeclared type `IntTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitIntType` [INFO] [stdout] --> src/racer/primitive.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | LitIntType::Unsigned(u) => match u { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LitIntType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/racer/primitive.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | UintTy::U8 => PrimKind::U8, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/racer/primitive.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | UintTy::U16 => PrimKind::U16, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/racer/primitive.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | UintTy::U32 => PrimKind::U32, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/racer/primitive.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | UintTy::U64 => PrimKind::U64, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/racer/primitive.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | UintTy::U128 => PrimKind::U128, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> src/racer/primitive.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | UintTy::Usize => PrimKind::Usize, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitIntType` [INFO] [stdout] --> src/racer/primitive.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | LitIntType::Unsuffixed => PrimKind::U32, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LitIntType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForceCollect` [INFO] [stdout] --> src/racer/snippets.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | if let Ok(Some(Some(method))) = p.parse_impl_item(ForceCollect::No) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ForceCollect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocItemKind` [INFO] [stdout] --> src/racer/snippets.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | if let AssocItemKind::Fn(ref fn_kind) = method.kind { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `AssocItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | BinOpKind::Add => "Add", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | BinOpKind::Sub => "Sub", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | BinOpKind::Mul => "Mul", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | BinOpKind::Div => "Div", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | BinOpKind::Rem => "Rem", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | BinOpKind::And => "And", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | BinOpKind::Or => "Or", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | BinOpKind::BitXor => "BitXor", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | BinOpKind::BitAnd => "BitAnd", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | BinOpKind::BitOr => "BitOr", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | BinOpKind::Shl => "Shl", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/racer/typeinf.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | BinOpKind::Shr => "Shr", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Emitter` in this scope [INFO] [stdout] --> src/racer/ast.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl Emitter for DummyEmitter { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Diagnostic` in this scope [INFO] [stdout] --> src/racer/ast.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | fn emit_diagnostic(&mut self, _db: &Diagnostic) {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lrc` in this scope [INFO] [stdout] --> src/racer/ast.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | fn source_map(&self) -> Option<&Lrc> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope [INFO] [stdout] --> src/racer/ast.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 25 | impl Emitter for DummyEmitter { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 26 | fn emit_diagnostic(&mut self, _db: &Diagnostic) {} [INFO] [stdout] 27 | fn source_map(&self) -> Option<&Lrc> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lrc` in this scope [INFO] [stdout] --> src/racer/ast.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | fn fluent_bundle(&self) -> Option<&Lrc> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lrc` in this scope [INFO] [stdout] --> src/racer/ast.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | fn fallback_fluent_bundle(&self) -> &Lrc { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseSess` in this scope [INFO] [stdout] --> src/racer/ast.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn string_to_parser(ps: &ParseSess, source_str: String) -> Parser<'_> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/racer/ast.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn string_to_parser(ps: &ParseSess, source_str: String) -> Parser<'_> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_parser_from_source_str` in this scope [INFO] [stdout] --> src/racer/ast.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | new_parser_from_source_str(ps, FileName::Custom("racer-file".to_owned()), source_str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/racer/ast.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | F: FnOnce(&mut Parser<'_>) -> Option, [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/racer/ast.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) fn destruct_span(span: Span) -> (u32, u32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rls_span::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/racer/ast.rs:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) fn get_span_start(span: Span) -> u32 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rls_span::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UseTree` in this scope [INFO] [stdout] --> src/racer/ast.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | use_tree: &UseTree, [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/racer/ast.rs:255:44 [INFO] [stdout] | [INFO] [stdout] 255 | fn point_is_in_span(point: BytePos, span: &Span) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rls_span::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutability` in this scope [INFO] [stdout] --> src/racer/ast_types.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | RefPtr(Box, Mutability), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutability` in this scope [INFO] [stdout] --> src/racer/ast_types.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | Ptr(Box, Mutability), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BindingMode` in this scope [INFO] [stdout] --> src/racer/ast_types.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 268 | Ident(BindingMode, String), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutability` in this scope [INFO] [stdout] --> src/racer/ast_types.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | Ref(Box, Mutability), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PatKind` in this scope [INFO] [stdout] --> src/racer/ast_types.rs:306:34 [INFO] [stdout] | [INFO] [stdout] 306 | pub(crate) fn from_ast(pat: &PatKind, scope: &Scope) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenericBounds` in this scope [INFO] [stdout] --> src/racer/ast_types.rs:736:18 [INFO] [stdout] | [INFO] [stdout] 736 | bounds: &GenericBounds, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitRef` in this scope [INFO] [stdout] --> src/racer/ast_types.rs:993:25 [INFO] [stdout] | [INFO] [stdout] 989 | impl ImplHeader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 993 | otrait: &Option, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyKind` in this scope [INFO] [stdout] --> src/racer/ast_types.rs:1060:34 [INFO] [stdout] | [INFO] [stdout] 1060 | pub(crate) fn get_self_path(ty: &TyKind, scope: &Scope) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOpKind` in this scope [INFO] [stdout] --> src/racer/nameres.rs:2721:11 [INFO] [stdout] | [INFO] [stdout] 2721 | node: BinOpKind, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> src/racer/primitive.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) fn from_litint(lit: LitIntType) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOpKind` in this scope [INFO] [stdout] --> src/racer/typeinf.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn get_operator_trait(op: BinOpKind) -> &'static str { [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] --> src/racer/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(control_flow_enum)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/racer/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(try_trait_v2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/racer/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 280 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `racer` due to 281 previous errors [INFO] running `Command { std: "docker" "inspect" "73c40e65529d928e3e81db7a2565e28509ffd3d01ffd644e45fabdfb63ef0776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73c40e65529d928e3e81db7a2565e28509ffd3d01ffd644e45fabdfb63ef0776", kill_on_drop: false }` [INFO] [stdout] 73c40e65529d928e3e81db7a2565e28509ffd3d01ffd644e45fabdfb63ef0776