[INFO] cloning repository https://github.com/scrabsha/static-rust-analysis-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scrabsha/static-rust-analysis-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrabsha%2Fstatic-rust-analysis-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrabsha%2Fstatic-rust-analysis-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac0480b6ab2ef5e78716bed88e5665936c499c99 [INFO] testing scrabsha/static-rust-analysis-code 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%2Fscrabsha%2Fstatic-rust-analysis-code" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scrabsha/static-rust-analysis-code 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/scrabsha/static-rust-analysis-code [INFO] finished tweaking git repo https://github.com/scrabsha/static-rust-analysis-code [INFO] tweaked toml for git repo https://github.com/scrabsha/static-rust-analysis-code written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/scrabsha/static-rust-analysis-code 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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 8f3debc45e88d08da4cea824471e8cec27961bdf11c830d92b9d9737b4ff9f89 [INFO] running `Command { std: "docker" "start" "-a" "8f3debc45e88d08da4cea824471e8cec27961bdf11c830d92b9d9737b4ff9f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f3debc45e88d08da4cea824471e8cec27961bdf11c830d92b9d9737b4ff9f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3debc45e88d08da4cea824471e8cec27961bdf11c830d92b9d9737b4ff9f89", kill_on_drop: false }` [INFO] [stdout] 8f3debc45e88d08da4cea824471e8cec27961bdf11c830d92b9d9737b4ff9f89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stdout] a10c29965e9ff1624aaa93ed374cc31edb358ff677c68e7a00d3250b85e94fcf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a10c29965e9ff1624aaa93ed374cc31edb358ff677c68e7a00d3250b85e94fcf", kill_on_drop: false }` [INFO] [stderr] Compiling simple_rustc_wrapper v0.1.0 (/opt/rustwide/workdir/simple_rustc_wrapper) [INFO] [stderr] Compiling bundled_rustc_wrapper v0.1.0 (/opt/rustwide/workdir/bundled_rustc_wrapper) [INFO] [stderr] Compiling analysis_compiler v0.1.0 (/opt/rustwide/workdir/analysis_compiler) [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast` [INFO] [stdout] --> analysis_compiler/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rustc_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> analysis_compiler/src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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_hir` [INFO] [stdout] --> analysis_compiler/src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rustc_hir; [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_interface` [INFO] [stdout] --> analysis_compiler/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate rustc_interface; [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_lint` [INFO] [stdout] --> analysis_compiler/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate rustc_lint; [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_middle` [INFO] [stdout] --> analysis_compiler/src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate rustc_middle; [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] --> bundled_rustc_wrapper/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | 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[E0433]: failed to resolve: use of undeclared type `RunCompiler` [INFO] [stdout] --> analysis_compiler/src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | RunCompiler::new(args.as_slice(), &mut StandardCompiler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RunCompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RunCompiler` [INFO] [stdout] --> analysis_compiler/src/main.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | RunCompiler::new(args.as_slice(), &mut instrumented_compiler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RunCompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visibility` [INFO] [stdout] --> analysis_compiler/src/main.rs:110:71 [INFO] [stdout] | [INFO] [stdout] 110 | .filter(|item| tcx.visibility(item.def_id.to_def_id()) == Visibility::Public) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> analysis_compiler/src/main.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | ItemKind::Fn(_, _, _) => self.add_fn(tcx, item.def_id.to_def_id()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> analysis_compiler/src/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | ItemKind::Mod(mod_) => self.visit_pub_mod(tcx, &mod_), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Level` [INFO] [stdout] --> analysis_compiler/src/main.rs:134:44 [INFO] [stdout] | [INFO] [stdout] 134 | .push(("warnings".to_string(), Level::Allow)); [INFO] [stdout] | ^^^^^ use of undeclared type `Level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compilation` [INFO] [stdout] --> analysis_compiler/src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | Compilation::Stop [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Compilation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Callbacks` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | impl Callbacks for StandardCompiler {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:102:36 [INFO] [stdout] | [INFO] [stdout] 102 | fn add_pub_fns(&mut self, tcx: TyCtxt) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:107:39 [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_pub_mod(&mut self, tcx: &TyCtxt, mod_: &Mod) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mod` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:107:54 [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_pub_mod(&mut self, tcx: &TyCtxt, mod_: &Mod) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:114:40 [INFO] [stdout] | [INFO] [stdout] 114 | fn visit_pub_item(&mut self, tcx: &TyCtxt, item: ItemId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemId` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:114:54 [INFO] [stdout] | [INFO] [stdout] 114 | fn visit_pub_item(&mut self, tcx: &TyCtxt, item: ItemId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RunCompiler` [INFO] [stdout] --> bundled_rustc_wrapper/src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | RunCompiler::new(args.as_slice(), &mut StandardCompiler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RunCompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | fn add_fn(&mut self, tcx: &TyCtxt, item: DefId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | fn add_fn(&mut self, tcx: &TyCtxt, item: DefId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Callbacks` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | impl Callbacks for InstrumentedCompiler { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Config` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | fn config(&mut self, config: &mut Config) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Callbacks` in this scope [INFO] [stdout] --> bundled_rustc_wrapper/src/main.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl Callbacks for StandardCompiler {} [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Compilation` in this scope [INFO] [stdout] --> analysis_compiler/src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | ) -> Compilation { [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] --> analysis_compiler/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> bundled_rustc_wrapper/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, 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 `analysis_compiler` due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bundled_rustc_wrapper` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "a10c29965e9ff1624aaa93ed374cc31edb358ff677c68e7a00d3250b85e94fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a10c29965e9ff1624aaa93ed374cc31edb358ff677c68e7a00d3250b85e94fcf", kill_on_drop: false }` [INFO] [stdout] a10c29965e9ff1624aaa93ed374cc31edb358ff677c68e7a00d3250b85e94fcf