[INFO] cloning repository https://github.com/nrc/spans [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nrc/spans" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrc%2Fspans", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrc%2Fspans'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 004622fb050b4a86aae16aeb93db388386d2dc31 [INFO] testing nrc/spans against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrc%2Fspans" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nrc/spans on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nrc/spans [INFO] finished tweaking git repo https://github.com/nrc/spans [INFO] tweaked toml for git repo https://github.com/nrc/spans written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/nrc/spans 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bc738f046440550874d669f85f1cc7c55591686089e2a71c9499f69b948f5866 [INFO] running `Command { std: "docker" "start" "-a" "bc738f046440550874d669f85f1cc7c55591686089e2a71c9499f69b948f5866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc738f046440550874d669f85f1cc7c55591686089e2a71c9499f69b948f5866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc738f046440550874d669f85f1cc7c55591686089e2a71c9499f69b948f5866", kill_on_drop: false }` [INFO] [stdout] bc738f046440550874d669f85f1cc7c55591686089e2a71c9499f69b948f5866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 02ee5b24ce398c9dd0ab94824b25ae15567660d6b38eca548cb522cb00a020f1 [INFO] running `Command { std: "docker" "start" "-a" "02ee5b24ce398c9dd0ab94824b25ae15567660d6b38eca548cb522cb00a020f1", kill_on_drop: false }` [INFO] [stderr] Compiling spans v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate log; [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:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | 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[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/main.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a, 'v> visit::Visitor<'v> for Visitor<'a> { [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/main.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | fn visit_mac(&mut self, mac: &'v 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/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | visit::walk_mac(self, mac) [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/main.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | fn visit_mod(&mut self, m: &'v ast::Mod, s: Span, _n: 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/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | visit::walk_mod(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/main.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | fn visit_foreign_item(&mut self, i: &'v 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/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | 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/main.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_item(&mut self, i: &'v 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 `visit` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | 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/main.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | fn visit_local(&mut self, l: &'v 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/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | visit::walk_local(self, l) [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/main.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_block(&mut self, b: &'v 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 crate or module `visit` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | visit::walk_block(self, b) [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/main.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | fn visit_stmt(&mut self, s: &'v 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 `visit` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | visit::walk_stmt(self, 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/main.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | fn visit_arm(&mut self, a: &'v ast::Arm) { [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/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | visit::walk_arm(self, a) [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/main.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn visit_pat(&mut self, p: &'v 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/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | 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/main.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | fn visit_decl(&mut self, d: &'v ast::Decl) { [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/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | visit::walk_decl(self, d) [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/main.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | fn visit_expr(&mut self, ex: &'v 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 `visit` [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | 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/main.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn visit_ty(&mut self, t: &'v 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 crate or module `visit` [INFO] [stdout] --> src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | visit::walk_ty(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/main.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn visit_generics(&mut self, g: &'v 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/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | visit::walk_generics(self, g) [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/main.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | fn visit_fn(&mut self, fk: visit::FnKind<'v>, fd: &'v ast::FnDecl, b: &'v ast::Block, s: Span, _: 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 `ast` [INFO] [stdout] --> src/main.rs:99:59 [INFO] [stdout] | [INFO] [stdout] 99 | fn visit_fn(&mut self, fk: visit::FnKind<'v>, fd: &'v ast::FnDecl, b: &'v ast::Block, s: Span, _: 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/main.rs:99:79 [INFO] [stdout] | [INFO] [stdout] 99 | fn visit_fn(&mut self, fk: visit::FnKind<'v>, fd: &'v ast::FnDecl, b: &'v ast::Block, s: Span, _: 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/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | visit::walk_fn(self, fk, fd, b, 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/main.rs:103:44 [INFO] [stdout] | [INFO] [stdout] 103 | fn visit_trait_item(&mut self, ti: &'v ast::TraitItem) { [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/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | visit::walk_trait_item(self, ti) [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/main.rs:107:43 [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_impl_item(&mut self, ii: &'v ast::ImplItem) { [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/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | visit::walk_impl_item(self, ii) [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/main.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 111 | fn visit_trait_ref(&mut self, t: &'v ast::TraitRef) { [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/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | visit::walk_trait_ref(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/main.rs:114:52 [INFO] [stdout] | [INFO] [stdout] 114 | fn visit_ty_param_bound(&mut self, bounds: &'v ast::TyParamBound) { [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/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | visit::walk_ty_param_bound(self, bounds) [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/main.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | fn visit_poly_trait_ref(&mut self, t: &'v ast::PolyTraitRef, m: &'v ast::TraitBoundModifier) { [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/main.rs:117:73 [INFO] [stdout] | [INFO] [stdout] 117 | fn visit_poly_trait_ref(&mut self, t: &'v ast::PolyTraitRef, m: &'v ast::TraitBoundModifier) { [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/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | visit::walk_poly_trait_ref(self, t, 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/main.rs:121:43 [INFO] [stdout] | [INFO] [stdout] 121 | fn visit_struct_def(&mut self, s: &'v ast::StructDef, _: Ident, _g: &'v ast::Generics, _: 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/main.rs:121:77 [INFO] [stdout] | [INFO] [stdout] 121 | fn visit_struct_def(&mut self, s: &'v ast::StructDef, _: Ident, _g: &'v ast::Generics, _: 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/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | visit::walk_struct_def(self, 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/main.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | fn visit_struct_field(&mut self, s: &'v 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 `visit` [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | visit::walk_struct_field(self, 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/main.rs:128:55 [INFO] [stdout] | [INFO] [stdout] 128 | fn visit_enum_def(&mut self, enum_definition: &'v ast::EnumDef, [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/main.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | generics: &'v 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/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | visit::walk_enum_def(self, enum_definition, generics) [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/main.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | fn visit_variant(&mut self, v: &'v ast::Variant, g: &'v 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/main.rs:133:61 [INFO] [stdout] | [INFO] [stdout] 133 | fn visit_variant(&mut self, v: &'v ast::Variant, g: &'v 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/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | visit::walk_variant(self, v, g) [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/main.rs:140:56 [INFO] [stdout] | [INFO] [stdout] 140 | ... opt_lifetime: &'v Option) { [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/main.rs:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | fn visit_lifetime_bound(&mut self, lifetime: &'v ast::Lifetime) { [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/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | visit::walk_lifetime_bound(self, lifetime) [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/main.rs:151:52 [INFO] [stdout] | [INFO] [stdout] 151 | fn visit_lifetime_ref(&mut self, lifetime: &'v ast::Lifetime) { [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/main.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | visit::walk_lifetime_ref(self, lifetime) [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/main.rs:155:52 [INFO] [stdout] | [INFO] [stdout] 155 | fn visit_lifetime_def(&mut self, lifetime: &'v ast::LifetimeDef) { [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/main.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | visit::walk_lifetime_def(self, lifetime) [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/main.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | fn visit_explicit_self(&mut self, es: &'v ast::ExplicitSelf) { [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/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | visit::walk_explicit_self(self, es) [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/main.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 162 | fn visit_path(&mut self, path: &'v ast::Path, _id: 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/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | visit::walk_path(self, path) [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/main.rs:166:73 [INFO] [stdout] | [INFO] [stdout] 166 | fn visit_path_segment(&mut self, path_span: Span, path_segment: &'v ast::PathSegment) { [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/main.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | visit::walk_path_segment(self, path_span, path_segment) [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/main.rs:170:79 [INFO] [stdout] | [INFO] [stdout] 170 | fn visit_path_parameters(&mut self, path_span: Span, path_parameters: &'v ast::PathParameters) { [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/main.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | visit::walk_path_parameters(self, path_span, path_parameters) [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/main.rs:174:62 [INFO] [stdout] | [INFO] [stdout] 174 | fn visit_assoc_type_binding(&mut self, type_binding: &'v ast::TypeBinding) { [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/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | visit::walk_assoc_type_binding(self, type_binding) [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/main.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | fn visit_attribute(&mut self, attr: &'v ast::Attribute) { [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:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | fn build_controller(&mut self, _: &Session) -> driver::CompileController<'a> { [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 `driver` [INFO] [stdout] --> src/main.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | let mut control = driver::CompileController::basic(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compilation` [INFO] [stdout] --> src/main.rs:188:36 [INFO] [stdout] | [INFO] [stdout] 188 | control.after_parse.stop = Compilation::Stop; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Compilation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/main.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | visit::walk_crate(&mut v, krate); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CodeMap` in this scope [INFO] [stdout] --> src/main.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | codemap: &'a 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/main.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn print_span(&self, span: Span) { [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/main.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_name(&mut self, span: Span, _name: Name) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> src/main.rs:46:49 [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_name(&mut self, span: Span, _name: Name) { [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/main.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_ident(&mut self, span: Span, ident: Ident) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/main.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_ident(&mut self, span: Span, ident: Ident) { [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/main.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | fn visit_mod(&mut self, m: &'v ast::Mod, s: Span, _n: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/main.rs:53:59 [INFO] [stdout] | [INFO] [stdout] 53 | fn visit_mod(&mut self, m: &'v ast::Mod, s: Span, _n: 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/main.rs:99:94 [INFO] [stdout] | [INFO] [stdout] 99 | fn visit_fn(&mut self, fk: visit::FnKind<'v>, fd: &'v ast::FnDecl, b: &'v ast::Block, s: Span, _: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/main.rs:99:103 [INFO] [stdout] | [INFO] [stdout] 99 | fn visit_fn(&mut self, fk: visit::FnKind<'v>, fd: &'v ast::FnDecl, b: &'v ast::Block, s: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/main.rs:121:62 [INFO] [stdout] | [INFO] [stdout] 121 | fn visit_struct_def(&mut self, s: &'v ast::StructDef, _: Ident, _g: &'v ast::Generics, _: NodeId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/main.rs:121:95 [INFO] [stdout] | [INFO] [stdout] 121 | fn visit_struct_def(&mut self, s: &'v ast::StructDef, _: Ident, _g: &'v ast::Generics, _: 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/main.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | ... span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/main.rs:162:56 [INFO] [stdout] | [INFO] [stdout] 162 | fn visit_path(&mut self, path: &'v ast::Path, _id: 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/main.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 166 | fn visit_path_segment(&mut self, path_span: Span, path_segment: &'v ast::PathSegment) { [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/main.rs:170:52 [INFO] [stdout] | [INFO] [stdout] 170 | fn visit_path_parameters(&mut self, path_span: Span, path_parameters: &'v ast::PathParameters) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `CompilerCalls` in this scope [INFO] [stdout] --> src/main.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a> CompilerCalls<'a> for SpansCalls { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/main.rs:186:40 [INFO] [stdout] | [INFO] [stdout] 186 | fn build_controller(&mut self, _: &Session) -> driver::CompileController<'a> { [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/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 100 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spans` due to 101 previous errors [INFO] running `Command { std: "docker" "inspect" "02ee5b24ce398c9dd0ab94824b25ae15567660d6b38eca548cb522cb00a020f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02ee5b24ce398c9dd0ab94824b25ae15567660d6b38eca548cb522cb00a020f1", kill_on_drop: false }` [INFO] [stdout] 02ee5b24ce398c9dd0ab94824b25ae15567660d6b38eca548cb522cb00a020f1