[INFO] cloning repository https://github.com/klutzy/typo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/klutzy/typo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklutzy%2Ftypo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklutzy%2Ftypo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77a347f1a3c075f4064bed8c1599016c223b8ba2 [INFO] testing klutzy/typo against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklutzy%2Ftypo" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/klutzy/typo on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/klutzy/typo [INFO] finished tweaking git repo https://github.com/klutzy/typo [INFO] tweaked toml for git repo https://github.com/klutzy/typo written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate git repo https://github.com/klutzy/typo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b6fad18c4c66bb534e12e17d400da7e3aefc4466246be67170ca03859b9923a [INFO] running `Command { std: "docker" "start" "-a" "4b6fad18c4c66bb534e12e17d400da7e3aefc4466246be67170ca03859b9923a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b6fad18c4c66bb534e12e17d400da7e3aefc4466246be67170ca03859b9923a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6fad18c4c66bb534e12e17d400da7e3aefc4466246be67170ca03859b9923a", kill_on_drop: false }` [INFO] [stdout] 4b6fad18c4c66bb534e12e17d400da7e3aefc4466246be67170ca03859b9923a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17213c5151b558ab892aba524c3128c88a8e3c270608bc073c5244e4b8ea1696 [INFO] running `Command { std: "docker" "start" "-a" "17213c5151b558ab892aba524c3128c88a8e3c270608bc073c5244e4b8ea1696", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typo v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | 0us => { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 1us => { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/main.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tags.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | 0us => { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `arena` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate arena; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.tsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_resolve` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rustc_resolve; [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_typeck` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate rustc_typeck; [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_trans` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate rustc_trans; [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_driver` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/tags.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | 1us => { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/tags.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/node_id_map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/tags.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/type_map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/tags.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.tsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_trans` [INFO] [stdout] --> src/tags.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rustc_trans; [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_driver` [INFO] [stdout] --> src/tags.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Writer`, `std::io::IoResult` [INFO] [stdout] --> src/tags.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{self, Writer, IoResult}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `IoResult` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `Writer` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{self, Write, IoResult}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{self, Writer, Result}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/node_id_map.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | ... krate: &ast::Crate) -> IoResult<()> { [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/node_id_map.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | grepper.visit_mod(&krate.module, krate.span, ast::DUMMY_NODE_ID); [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/node_id_map.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | map: Vec<(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 `ast` [INFO] [stdout] --> src/node_id_map.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | fn grep_id(&mut self, id: ast::NodeId, sp: Span) { [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/node_id_map.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn visit_pat(&mut self, p: &'a 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 crate or module `visit` [INFO] [stdout] --> src/node_id_map.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | 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 `ast` [INFO] [stdout] --> src/node_id_map.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | fn visit_path(&mut self, p: &'a ast::Path, id: 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 `ast` [INFO] [stdout] --> src/node_id_map.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | fn visit_path(&mut self, p: &'a ast::Path, id: 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/node_id_map.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | visit::walk_path(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 `ast` [INFO] [stdout] --> src/node_id_map.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_expr(&mut self, ex: &'a 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 crate or module `ast` [INFO] [stdout] --> src/node_id_map.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ast::ExprPath(..) => (), [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 `config` [INFO] [stdout] --> src/tags.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let mut sopts = config::basic_options(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/node_id_map.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | 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/node_id_map.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_stmt(&mut self, st: &'a 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 crate or module `ast` [INFO] [stdout] --> src/node_id_map.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | ast::StmtDecl(_, id) | ast::StmtExpr(_, id) | ast::StmtSemi(_, id) => { [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/node_id_map.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ast::StmtDecl(_, id) | ast::StmtExpr(_, id) | ast::StmtSemi(_, id) => { [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/node_id_map.rs:63:59 [INFO] [stdout] | [INFO] [stdout] 63 | ast::StmtDecl(_, id) | ast::StmtExpr(_, id) | ast::StmtSemi(_, id) => { [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/node_id_map.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | visit::walk_stmt(self, st); [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 `config` [INFO] [stdout] --> src/tags.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | sopts.cfg = config::parse_cfgspecs(matches.opt_strs("cfg")); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/type_map.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | ... ty_cx: &ty::ctxt) -> IoResult<()> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ppaux` [INFO] [stdout] --> src/type_map.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let ty = ppaux::ty_to_string(ty_cx, ty); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `ppaux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> src/tags.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | (Input::Str(src), None) [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> src/tags.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | (Input::File(Path::new(ifile)), Some(Path::new(ifile))) [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `config` [INFO] [stdout] --> src/main.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let mut sopts = config::basic_options(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `config` [INFO] [stdout] --> src/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | sopts.cfg = config::parse_cfgspecs(matches.opt_strs("cfg")); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> src/main.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | (Input::Str(src), None) [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> src/main.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | (Input::File(Path::new(ifile)), Some(Path::new(ifile))) [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `config` [INFO] [stdout] --> src/tags.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | let cfg = config::build_configuration(&sess); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `config` [INFO] [stdout] --> src/main.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | let cfg = config::build_configuration(&sess); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `driver` [INFO] [stdout] --> src/tags.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let krate = driver::phase_1_parse_input(&sess, cfg, &input); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `link` [INFO] [stdout] --> src/tags.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | let id = link::find_crate_name(Some(&sess), krate.attrs.as_slice(), &input); [INFO] [stdout] | ^^^^ use of undeclared crate or module `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `driver` [INFO] [stdout] --> src/tags.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | let expanded_crate = driver::phase_2_configure_and_expand(&sess, krate, &*id, None); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | id: ast::Ident, [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 `driver` [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let krate = driver::phase_1_parse_input(&sess, cfg, &input); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `link` [INFO] [stdout] --> src/main.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | let id = link::find_crate_name(Some(&sess), krate.attrs.as_slice(), &input); [INFO] [stdout] | ^^^^ use of undeclared crate or module `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | ... krate: &ast::Crate) -> IoResult<()> { [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 `driver` [INFO] [stdout] --> src/main.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | let expanded_crate = driver::phase_2_configure_and_expand(&sess, krate, &*id, None); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast_map` [INFO] [stdout] --> src/main.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | let mut forest = ast_map::Forest::new(expanded_crate); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ast_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `driver` [INFO] [stdout] --> src/main.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let ast_map = driver::assign_node_ids_and_map(&sess, &mut forest); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CtxtArenas` [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let arena = CtxtArenas::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CtxtArenas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast_map` [INFO] [stdout] --> src/main.rs:105:47 [INFO] [stdout] | [INFO] [stdout] 105 | ... ast_map: ast_map::Map<'tcx>, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ast_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/main.rs:107:56 [INFO] [stdout] | [INFO] [stdout] 107 | ... _name: String) -> ty::ctxt<'tcx> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `creader` [INFO] [stdout] --> src/main.rs:110:6 [INFO] [stdout] | [INFO] [stdout] 110 | creader::CrateReader::new(&sess).read_crates(krate); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `creader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `middle` [INFO] [stdout] --> src/main.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let lang_items = middle::lang_items::collect_language_items(krate, &sess); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `middle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:150:50 [INFO] [stdout] | [INFO] [stdout] 150 | grepper.visit_mod(&krate.module, krate.span, ast::DUMMY_NODE_ID); [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/tags.rs:158:68 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn write_defs(writer: &mut W, cm: &CodeMap, krate: &ast::Crate) -> IoResult<()> { [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/tags.rs:163:50 [INFO] [stdout] | [INFO] [stdout] 163 | grepper.visit_mod(&krate.module, krate.span, ast::DUMMY_NODE_ID); [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/tags.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | pub macro_map: Vec<(ast::Ident, Span)>, [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/tags.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | fn visit_item(&mut self, i: &'a 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 crate or module `ast` [INFO] [stdout] --> src/tags.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | ast::ItemMac(ref mac) => { [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/tags.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | ast::MacInvocTT(ref p, _, _) => { [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/tags.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | visit::walk_item(self, i); [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/tags.rs:198:36 [INFO] [stdout] | [INFO] [stdout] 198 | fn visit_mac(&mut self, m: &'a ast::Mac) { [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/tags.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | visit::walk_mac(self, m); [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/tags.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | pub map: Vec<(ast::Ident, Span)>, [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/tags.rs:209:31 [INFO] [stdout] | [INFO] [stdout] 209 | fn grep_id(&mut self, id: ast::Ident, span: Span) { [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/tags.rs:215:45 [INFO] [stdout] | [INFO] [stdout] 215 | fn visit_foreign_item(&mut self, i: &'a ast::ForeignItem) { [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/tags.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | visit::walk_foreign_item(self, i); [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/tags.rs:220:42 [INFO] [stdout] | [INFO] [stdout] 220 | fn visit_view_item(&mut self, i: &'a ast::ViewItem) { [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/tags.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 222 | if let ast::ViewItemUse(ref vp) = i.node { [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/tags.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | if let ast::ViewPathSimple(renamed, ref p, _) = vp.node { [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 `middle` [INFO] [stdout] --> src/main.rs:132:28 [INFO] [stdout] | [INFO] [stdout] 132 | let named_region_map = middle::resolve_lifetime::krate(&sess, krate, &def_map); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `middle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `middle` [INFO] [stdout] --> src/main.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let region_map = middle::region::resolve_crate(&sess, krate); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `middle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `middle` [INFO] [stdout] --> src/main.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | middle::check_loop::check_crate(&sess, krate); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `middle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/main.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let ty_cx = ty::mk_ctxt(sess, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/node_id_map.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn write_node_id_dic(w: &mut W, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CodeMap` in this scope [INFO] [stdout] --> src/node_id_map.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | ... cm: &CodeMap, [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/node_id_map.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 29 | struct NodeIdGrepper { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 30 | map: Vec<(Span, ast::NodeId)>, [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/node_id_map.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | fn grep_id(&mut self, id: ast::NodeId, sp: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> src/node_id_map.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | impl<'a> Visitor<'a> for NodeIdGrepper { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/type_map.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn write_type_map(w: &mut W, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let args = std::os::args(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 14 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/tags.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | visit::walk_view_item(self, i); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts` [INFO] [stdout] --> src/main.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | getopts::optmulti("", "cfg", "Configure the compilation environment", "SPEC"), [INFO] [stdout] | ^^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts` [INFO] [stdout] --> src/main.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | getopts::optmulti("L", "", "Add a directory to the library search path", "PATH"), [INFO] [stdout] | ^^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:233:37 [INFO] [stdout] | [INFO] [stdout] 233 | fn visit_item(&mut self, i: &'a ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | getopts::optopt("", "sysroot", "Override the system root", "PATH"), [INFO] [stdout] | ^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | ast::ItemMod(ref m) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts` [INFO] [stdout] --> src/main.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | getopts::optmulti("", "node-id-map", "output path of NodeId map", "PATH"), [INFO] [stdout] | ^^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts` [INFO] [stdout] --> src/main.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | getopts::optmulti("", "type-map", "output path of NodeId-to-Type map", "PATH"), [INFO] [stdout] | ^^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/main.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | let matches = match getopts::getopts(&args[1..], &*optgroups) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `early_error` in this scope [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | Err(f) => early_error(&*f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:53:66 [INFO] [stdout] | [INFO] [stdout] 53 | sopts.maybe_sysroot = matches.opt_str("sysroot").map(|m| Path::new(m)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/main.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | println!("{}", getopts::usage("typo [OPTIONS] [INPUT]", &*optgroups)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `early_error` in this scope [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | early_error("no input filename given"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/tags.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | visit::walk_item(self, i); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | (Input::File(Path::new(ifile)), Some(Path::new(ifile))) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/tags.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | fk: visit::FnKind<'a>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | (Input::File(Path::new(ifile)), Some(Path::new(ifile))) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `early_error` in this scope [INFO] [stdout] --> src/main.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | _ => early_error("multiple input found") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | fd: &'a ast::FnDecl, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:75:77 [INFO] [stdout] | [INFO] [stdout] 75 | let node_id_map_path = matches.opt_str("node-id-map").and_then(|s| Some(Path::new(s))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | b: &'a ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:76:71 [INFO] [stdout] | [INFO] [stdout] 76 | let type_map_path = matches.opt_str("type-map").and_then(|s| Some(Path::new(s))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/main.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let mut f = io::File::create(&path).unwrap(); [INFO] [stdout] | ^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/main.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let mut f = io::File::create(&path).unwrap(); [INFO] [stdout] | ^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/main.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | fn phase_3_run_analysis_passes<'tcx>(sess: Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CtxtArenas` in this scope [INFO] [stdout] --> src/main.rs:106:51 [INFO] [stdout] | [INFO] [stdout] 106 | ... arena: &'tcx CtxtArenas<'tcx>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stability` [INFO] [stdout] --> src/main.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | let stability_index = stability::Index::build(krate); [INFO] [stdout] | ^^^^^ not found in `stability` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 14 | use std::ops::Index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | _: ast::NodeId) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/tags.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | visit::FkMethod(id, _, _) => { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/node_id_map.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | try!(w.write_line(&*line)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/type_map.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | try!(w.write_line(&*line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/tags.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | visit::walk_fn(self, fk, fd, b, sp); [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/tags.rs:274:42 [INFO] [stdout] | [INFO] [stdout] 274 | fn visit_ty_method(&mut self, t: &'a ast::TypeMethod) { [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/tags.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | visit::walk_ty_method(self, t); [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/tags.rs:279:43 [INFO] [stdout] | [INFO] [stdout] 279 | fn visit_trait_item(&mut self, t: &'a ast::TraitItem) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `typo` due to 79 previous errors; 4 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | ast::RequiredMethod(_) | ast::ProvidedMethod(_) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:281:38 [INFO] [stdout] | [INFO] [stdout] 281 | ast::RequiredMethod(_) | ast::ProvidedMethod(_) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate getopts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | ast::TypeTraitItem(ref at) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/tags.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | visit::walk_trait_item(self, t); [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/tags.rs:292:45 [INFO] [stdout] | [INFO] [stdout] 292 | fn visit_struct_field(&mut self, s: &'a ast::StructField) { [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/tags.rs:294:16 [INFO] [stdout] | [INFO] [stdout] 294 | if let ast::NamedField(ref id, _) = s.node.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 78 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0463, E0554, E0658. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/tags.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | visit::walk_struct_field(self, s); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/tags.rs:300:40 [INFO] [stdout] | [INFO] [stdout] 300 | fn visit_variant(&mut self, v: &'a ast::Variant, g: &'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 crate or module `ast` [INFO] [stdout] --> src/tags.rs:300:61 [INFO] [stdout] | [INFO] [stdout] 300 | fn visit_variant(&mut self, v: &'a ast::Variant, g: &'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 crate or module `visit` [INFO] [stdout] --> src/tags.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | visit::walk_variant(self, v, g); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/tags.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | let args = std::os::args(); [INFO] [stdout] | ^^^^ not found in `std::os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts` [INFO] [stdout] --> src/tags.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | getopts::optmulti("", "cfg", "Configure the compilation environment", "SPEC"), [INFO] [stdout] | ^^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts` [INFO] [stdout] --> src/tags.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | getopts::optmulti("L", "", "Add a directory to the library search path", "PATH"), [INFO] [stdout] | ^^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stdout] --> src/tags.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | getopts::optopt("", "sysroot", "Override the system root", "PATH"), [INFO] [stdout] | ^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts` [INFO] [stdout] --> src/tags.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | getopts::optmulti("", "tags", "output path of ctags", "PATH"), [INFO] [stdout] | ^^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/tags.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | getopts::optflag("", "tags-append", "append to existing tags"), [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/tags.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let matches = match getopts::getopts(&args[1..], &*optgroups) { [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `early_error` in this scope [INFO] [stdout] --> src/tags.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | Err(f) => early_error(&*f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tags.rs:46:66 [INFO] [stdout] | [INFO] [stdout] 46 | sopts.maybe_sysroot = matches.opt_str("sysroot").map(|m| Path::new(m)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/tags.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | println!("{}", getopts::usage("typo-tags [OPTIONS] [INPUT]", &*optgroups)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `early_error` in this scope [INFO] [stdout] --> src/tags.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | early_error("no input filename given"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `typo` due to 90 previous errors; 14 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tags.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | (Input::File(Path::new(ifile)), Some(Path::new(ifile))) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tags.rs:62:54 [INFO] [stdout] | [INFO] [stdout] 62 | (Input::File(Path::new(ifile)), Some(Path::new(ifile))) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `early_error` in this scope [INFO] [stdout] --> src/tags.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | _ => early_error("multiple input found") [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/tags.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | let tag_path = Path::new(tag_path); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/tags.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | io::File::open_mode(&tag_path, io::Append, io::Write).unwrap() [INFO] [stdout] | ^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Append` in module `io` [INFO] [stdout] --> src/tags.rs:79:44 [INFO] [stdout] | [INFO] [stdout] 79 | io::File::open_mode(&tag_path, io::Append, io::Write).unwrap() [INFO] [stdout] | ^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `io::Write` [INFO] [stdout] --> src/tags.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | io::File::open_mode(&tag_path, io::Append, io::Write).unwrap() [INFO] [stdout] | ^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant instead [INFO] [stdout] | [INFO] [stdout] 12 | use std::net::Shutdown::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/tags.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | let mut f = io::File::create(&tag_path).unwrap(); [INFO] [stdout] | ^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CodeMap` in this scope [INFO] [stdout] --> src/tags.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | cm: &CodeMap, [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/tags.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | sp: Span) -> IoResult<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CodeMap` in this scope [INFO] [stdout] --> src/tags.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | ... cm: &CodeMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CodeMap` in this scope [INFO] [stdout] --> src/tags.rs:158:51 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn write_defs(writer: &mut W, cm: &CodeMap, krate: &ast::Crate) -> IoResult<()> { [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/tags.rs:174:37 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct MacroTagGrepper { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 174 | pub macro_map: Vec<(ast::Ident, Span)>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> src/tags.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> Visitor<'a> for MacroTagGrepper { [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/tags.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct TagGrepper<'b> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Span` [INFO] [stdout] 204 | pub map: Vec<(ast::Ident, Span)>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CodeMap` in this scope [INFO] [stdout] --> src/tags.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | cm: &'b CodeMap, [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/tags.rs:209:49 [INFO] [stdout] | [INFO] [stdout] 209 | fn grep_id(&mut self, id: ast::Ident, span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> src/tags.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | impl<'a, 'b> Visitor<'a> for TagGrepper<'b> { [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/tags.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | sp: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/tags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | try!(writer.write_line(&*line)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | try!(writer.write_str(id.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | try!(writer.write_u8(b'\t')); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | try!(writer.write_str(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | try!(writer.write_u8(b'\t')); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | try!(writer.write(b"/^")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | try!(writer.write(b"$/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | try!(writer.write_u8(b'\n')); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | try!(writer.write_char(c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | try!(writer.write_u8(b'\\')); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | try!(write_line(writer, cm, id, sp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tags.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | try!(write_line(writer, cm, id, sp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/tags.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate getopts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/tags.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 89 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0425, E0432, E0433, E0463, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "17213c5151b558ab892aba524c3128c88a8e3c270608bc073c5244e4b8ea1696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17213c5151b558ab892aba524c3128c88a8e3c270608bc073c5244e4b8ea1696", kill_on_drop: false }` [INFO] [stdout] 17213c5151b558ab892aba524c3128c88a8e3c270608bc073c5244e4b8ea1696