[INFO] cloning repository https://github.com/nrc/callgraph.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nrc/callgraph.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrc%2Fcallgraph.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrc%2Fcallgraph.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb4ed81106a5f03d3e82c410e7b9f961415dd3c1 [INFO] testing nrc/callgraph.rs 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%2Fnrc%2Fcallgraph.rs" "/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/callgraph.rs 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/nrc/callgraph.rs [INFO] finished tweaking git repo https://github.com/nrc/callgraph.rs [INFO] tweaked toml for git repo https://github.com/nrc/callgraph.rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/nrc/callgraph.rs 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] 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" "+beta-2022-04-10" "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] 60766a3de40ae4af275eea30f66273e927843d75c69acde6751fa78127531261 [INFO] running `Command { std: "docker" "start" "-a" "60766a3de40ae4af275eea30f66273e927843d75c69acde6751fa78127531261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60766a3de40ae4af275eea30f66273e927843d75c69acde6751fa78127531261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60766a3de40ae4af275eea30f66273e927843d75c69acde6751fa78127531261", kill_on_drop: false }` [INFO] [stdout] 60766a3de40ae4af275eea30f66273e927843d75c69acde6751fa78127531261 [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" "+beta-2022-04-10" "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] ec8babb3255b104c01df3b5388437953c242c6531b8d8fd2df730b5883188d23 [INFO] running `Command { std: "docker" "start" "-a" "ec8babb3255b104c01df3b5388437953c242c6531b8d8fd2df730b5883188d23", kill_on_drop: false }` [INFO] [stderr] Compiling callgraph v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `graphviz` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate graphviz as rustc_graphviz; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | 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.tsan.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.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.asan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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 `rustc_trans` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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 `syntax` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | 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 `ty` [INFO] [stdout] --> src/visitor.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(tcx: &'l ty::ctxt<'tcx>) -> FnVisitor<'l, 'tcx> { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SaveContext` [INFO] [stdout] --> src/visitor.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | save_cx: SaveContext::new(tcx), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SaveContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `save` [INFO] [stdout] --> src/visitor.rs:137:44 [INFO] [stdout] | [INFO] [stdout] 137 | fn record_method_call(&mut self, mrd: &save::MethodCallData) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/visitor.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | impl<'v, 'l, 'tcx: 'l> visit::Visitor<'v> for FnVisitor<'l, 'tcx> { [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/visitor.rs:178:40 [INFO] [stdout] | [INFO] [stdout] 178 | 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 `save` [INFO] [stdout] --> src/visitor.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if save::generated_code($span) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `save` [INFO] [stdout] ... [INFO] [stdout] 179 | skip_generated_code!(path.span); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `skip_generated_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `save` [INFO] [stdout] --> src/visitor.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | if let Some(save::Data::FunctionCallData(ref fcd)) = data { [INFO] [stdout] | ^^^^ use of undeclared crate or module `save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `save` [INFO] [stdout] --> src/visitor.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | if let Some(save::Data::MethodCallData(ref mrd)) = data { [INFO] [stdout] | ^^^^ use of undeclared crate or module `save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/visitor.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | 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/visitor.rs:198:38 [INFO] [stdout] | [INFO] [stdout] 198 | 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 `save` [INFO] [stdout] --> src/visitor.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if save::generated_code($span) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `save` [INFO] [stdout] ... [INFO] [stdout] 199 | skip_generated_code!(ex.span); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `skip_generated_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/visitor.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | 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/visitor.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | if let ast::Expr_::ExprMethodCall(..) = ex.node {} else { [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 `save` [INFO] [stdout] --> src/visitor.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | if let Some(save::Data::MethodCallData(ref mrd)) = data { [INFO] [stdout] | ^^^^ use of undeclared crate or module `save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:215:40 [INFO] [stdout] | [INFO] [stdout] 215 | fn visit_item(&mut self, item: &'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 `save` [INFO] [stdout] --> src/visitor.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if save::generated_code($span) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `save` [INFO] [stdout] ... [INFO] [stdout] 216 | skip_generated_code!(item.span); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `skip_generated_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | if let ast::Item_::ItemFn(..) = item.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 `save` [INFO] [stdout] --> src/visitor.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | if let save::Data::FunctionData(fd) = data { [INFO] [stdout] | ^^^^ use of undeclared crate or module `save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/visitor.rs:223:45 [INFO] [stdout] | [INFO] [stdout] 223 | push_walk_pop!(self, fd.id, visit::walk_item(self, item)); [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/visitor.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | visit::walk_item(self, item) [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/visitor.rs:232:44 [INFO] [stdout] | [INFO] [stdout] 232 | 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 `save` [INFO] [stdout] --> src/visitor.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if save::generated_code($span) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `save` [INFO] [stdout] ... [INFO] [stdout] 233 | skip_generated_code!(ti.span); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `skip_generated_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | ast::TraitItem_::MethodTraitItem(_, None) => { [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/visitor.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | ast::TraitItem_::MethodTraitItem(_, Some(_)) => { [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/visitor.rs:253:45 [INFO] [stdout] | [INFO] [stdout] 253 | push_walk_pop!(self, fd.id, 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 `visit` [INFO] [stdout] --> src/visitor.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | 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/visitor.rs:263:43 [INFO] [stdout] | [INFO] [stdout] 263 | 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 `save` [INFO] [stdout] --> src/visitor.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if save::generated_code($span) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `save` [INFO] [stdout] ... [INFO] [stdout] 264 | skip_generated_code!(ii.span); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `skip_generated_code` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | if let ast::ImplItem_::MethodImplItem(..) = ii.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 `visit` [INFO] [stdout] --> src/visitor.rs:278:41 [INFO] [stdout] | [INFO] [stdout] 278 | push_walk_pop!(self, fd.id, 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 `visit` [INFO] [stdout] --> src/visitor.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | 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 type `Style` [INFO] [stdout] --> src/graphviz.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | CallKind::Definite => Style::None, [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Style` [INFO] [stdout] --> src/graphviz.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | CallKind::Potential => Style::Dotted, [INFO] [stdout] | ^^^^^ use of undeclared type `Style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `driver` [INFO] [stdout] --> src/lib.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | 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/lib.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | 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/lib.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | control.after_analysis.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/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | visit::walk_crate(&mut visitor, ast); [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 `link` [INFO] [stdout] --> src/lib.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let crate_name = link::find_crate_name(Some(&state.session), [INFO] [stdout] | ^^^^ use of undeclared crate or module `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SaveContext` in this scope [INFO] [stdout] --> src/visitor.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | save_cx: SaveContext<'l, 'tcx>, [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/visitor.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FnVisitor<'l, 'tcx: 'l> { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] ... [INFO] [stdout] 29 | static_calls: HashSet<(NodeId, 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/visitor.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FnVisitor<'l, 'tcx: 'l> { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] ... [INFO] [stdout] 29 | static_calls: HashSet<(NodeId, 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/visitor.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FnVisitor<'l, 'tcx: 'l> { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] ... [INFO] [stdout] 31 | dynamic_calls: HashSet<(NodeId, 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/visitor.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FnVisitor<'l, 'tcx: 'l> { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] ... [INFO] [stdout] 31 | dynamic_calls: HashSet<(NodeId, 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/visitor.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FnVisitor<'l, 'tcx: 'l> { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] ... [INFO] [stdout] 33 | functions: HashMap, [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/visitor.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FnVisitor<'l, 'tcx: 'l> { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] ... [INFO] [stdout] 35 | method_decls: HashMap, [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/visitor.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FnVisitor<'l, 'tcx: 'l> { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] ... [INFO] [stdout] 37 | method_impls: HashMap>, [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/visitor.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FnVisitor<'l, 'tcx: 'l> { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] ... [INFO] [stdout] 37 | method_impls: HashMap>, [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/visitor.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FnVisitor<'l, 'tcx: 'l> { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] ... [INFO] [stdout] 40 | cur_fn: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> src/visitor.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | fn is_local(id: DefId) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOCAL_CRATE` in this scope [INFO] [stdout] --> src/visitor.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | id.krate == LOCAL_CRATE [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/visitor.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 74 | impl<'l, 'tcx: 'l> FnVisitor<'l, 'tcx> { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] ... [INFO] [stdout] 124 | fn append_fn(&self, map: &mut HashMap, id: 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/visitor.rs:124:64 [INFO] [stdout] | [INFO] [stdout] 124 | fn append_fn(&self, map: &mut HashMap, id: 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/visitor.rs:155:44 [INFO] [stdout] | [INFO] [stdout] 155 | fn append_method_impl(&mut self, decl: NodeId, def: 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/visitor.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | fn append_method_impl(&mut self, decl: NodeId, def: 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/visitor.rs:178:55 [INFO] [stdout] | [INFO] [stdout] 178 | 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 `NodeId` in this scope [INFO] [stdout] --> src/graphviz.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub type Edge = (NodeId, NodeId, CallKind); [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/graphviz.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | pub type Edge = (NodeId, NodeId, CallKind); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Labeller` in this scope [INFO] [stdout] --> src/graphviz.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | impl<'a> Labeller<'a, NodeId, Edge> for FnData { [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/graphviz.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | impl<'a> Labeller<'a, NodeId, Edge> for FnData { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/graphviz.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn node_id(&'a self, n: &NodeId) -> graphviz::Id<'a> { [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/graphviz.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | fn node_label(&'a self, n: &NodeId) -> graphviz::LabelText<'a> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Style` in this scope [INFO] [stdout] --> src/graphviz.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | fn edge_style(&'a self, e: &Edge) -> Style { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `GraphWalk` in this scope [INFO] [stdout] --> src/graphviz.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> GraphWalk<'a, NodeId, Edge> for FnData { [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/graphviz.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> GraphWalk<'a, NodeId, Edge> for FnData { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/graphviz.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> GraphWalk<'a, NodeId, Edge> for FnData { [INFO] [stdout] | - help: you might be missing a type parameter: `, NodeId` [INFO] [stdout] 67 | fn nodes(&'a self) -> graphviz::Nodes<'a, 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/graphviz.rs:81:50 [INFO] [stdout] | [INFO] [stdout] 81 | fn source(&'a self, &(from, _, _): &Edge) -> 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/graphviz.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | fn target(&'a self, &(_, to, _): &Edge) -> NodeId { [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/lib.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> CompilerCalls<'a> for CallGraphCalls { [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/lib.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | fn build_controller(&mut self, _: &Session) -> driver::CompileController<'a> { [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/lib.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 97 | struct FnData { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 98 | static_calls: HashSet<(NodeId, 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/lib.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 97 | struct FnData { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 98 | static_calls: HashSet<(NodeId, 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/lib.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 97 | struct FnData { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 100 | dynamic_calls: HashSet<(NodeId, 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/lib.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 97 | struct FnData { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 100 | dynamic_calls: HashSet<(NodeId, 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/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 97 | struct FnData { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 101 | functions: HashMap, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/graphviz.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 81 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `callgraph` due to 82 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ec8babb3255b104c01df3b5388437953c242c6531b8d8fd2df730b5883188d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec8babb3255b104c01df3b5388437953c242c6531b8d8fd2df730b5883188d23", kill_on_drop: false }` [INFO] [stdout] ec8babb3255b104c01df3b5388437953c242c6531b8d8fd2df730b5883188d23