[INFO] cloning repository https://github.com/bjorn3/rust_read_rlib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bjorn3/rust_read_rlib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjorn3%2Frust_read_rlib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjorn3%2Frust_read_rlib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ebfec0f6adc417496f7de9eb425ae78fbf89bf9e [INFO] testing bjorn3/rust_read_rlib 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%2Fbjorn3%2Frust_read_rlib" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bjorn3/rust_read_rlib 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/bjorn3/rust_read_rlib [INFO] finished tweaking git repo https://github.com/bjorn3/rust_read_rlib [INFO] tweaked toml for git repo https://github.com/bjorn3/rust_read_rlib written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/bjorn3/rust_read_rlib 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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 7b70ee661c5fb38946114db4ec8f10f6bce7c1366af5d2415f286bc6ea8c106c [INFO] running `Command { std: "docker" "start" "-a" "7b70ee661c5fb38946114db4ec8f10f6bce7c1366af5d2415f286bc6ea8c106c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b70ee661c5fb38946114db4ec8f10f6bce7c1366af5d2415f286bc6ea8c106c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b70ee661c5fb38946114db4ec8f10f6bce7c1366af5d2415f286bc6ea8c106c", kill_on_drop: false }` [INFO] [stdout] 7b70ee661c5fb38946114db4ec8f10f6bce7c1366af5d2415f286bc6ea8c106c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 6354c7e390bb803694fef8d6551fba3dafea96ad1c6d637925e2ab67896a191c [INFO] running `Command { std: "docker" "start" "-a" "6354c7e390bb803694fef8d6551fba3dafea96ad1c6d637925e2ab67896a191c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling termion v1.5.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling clap v2.29.1 [INFO] [stderr] Compiling rlib_view v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `flate2` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate flate2; [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:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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_errors` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_metadata` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate rustc_metadata; [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_incremental` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate rustc_incremental; [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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | 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_interface` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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_mir` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate rustc_mir; [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 `LangItem` [INFO] [stdout] --> src/print.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | format!("{:?}", LangItem::from_u32(lang_item.1 as u32).unwrap()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LangItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | Def::Macro(_def_id, macro_kind) => { [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacroKind` [INFO] [stdout] --> src/print.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | MacroKind::Bang => "macro!", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MacroKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacroKind` [INFO] [stdout] --> src/print.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | MacroKind::Attr => "#[macro]", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MacroKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacroKind` [INFO] [stdout] --> src/print.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | MacroKind::Derive => "#[derive(Macro)]", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MacroKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacroKind` [INFO] [stdout] --> src/print.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | MacroKind::ProcMacroStub => "", [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MacroKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportedSymbol` [INFO] [stdout] --> src/print.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | ExportedSymbol::NonGeneric(def_id) => println!(" {:>4?} {} ({:?})", export_level, tcx.def_path_str(def_id), def_id), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExportedSymbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportedSymbol` [INFO] [stdout] --> src/print.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | ... ExportedSymbol::Generic(def_id, substs) => println!(" {:>4?} {} ({:?}<{:?}>)", export_level, tcx.def_path_str(def_id), def_id, s... [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExportedSymbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExportedSymbol` [INFO] [stdout] --> src/print.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | ExportedSymbol::NoDefId(symbol_name) => println!(" {:>4?} ({:?})", export_level, symbol_name), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExportedSymbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | Def::Struct(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | Def::Union(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | Def::Enum(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | Def::Trait(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | Def::ForeignTy(_) => Some(export.def.kind_name()), [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | Def::TyAlias(_) => Some("type"), [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | Def::Fn(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | Def::Struct(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | Def::Union(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | Def::Enum(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | Def::Trait(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | Def::TyAlias(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | Def::ForeignTy(_) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | Def::Macro(_, _) => None, // Already handled [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | Def::Ctor(..) | [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | Def::Variant(_) => None, // Not very useful [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | Def::Const(_) => Some("const"), [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | Def::Static(_, _) => Some("static"), [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/print.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | Def::Mod(def_id) => { [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrateNum` [INFO] [stdout] --> src/print.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | let crate_num = CrateNum::new(caps.get(1).unwrap().as_str().parse::().unwrap()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CrateNum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefIndexAddressSpace` [INFO] [stdout] --> src/print.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 307 | 0 => DefIndexAddressSpace::Low, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `DefIndexAddressSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefIndexAddressSpace` [INFO] [stdout] --> src/print.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | 1 => DefIndexAddressSpace::High, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `DefIndexAddressSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefIndex` [INFO] [stdout] --> src/print.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | let def_index = DefIndex::from_array_index(index, address_space); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DefIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/driver.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | type Cb = for<'a, 'tcx> Fn(TyCtxt<'a, 'tcx, 'tcx>) + Send; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Callbacks` in this scope [INFO] [stdout] --> src/driver.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | impl Callbacks for MyCompilerCalls { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope [INFO] [stdout] --> src/driver.rs:76:45 [INFO] [stdout] | [INFO] [stdout] 76 | fn after_analysis(&mut self, compiler: &Compiler) -> bool { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use regex::internal::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/driver.rs:85:43 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn with_crate_metadata<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, f: impl for<'b> FnOnce(&'b CrateMetadata)) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/driver.rs:85:94 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn with_crate_metadata<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, f: impl for<'b> FnOnce(&'b CrateMetadata)) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/driver.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn with_crate_metadata<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, f: impl for<'b> FnOnce(&'b CrateMetadata)) { [INFO] [stdout] | - help: you might be missing a type parameter: `, CrateMetadata` [INFO] [stdout] ... [INFO] [stdout] 98 | f(crate_data.downcast_ref::().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/print.rs:51:75 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn print_for_matches<'a, 'tcx: 'a>(matches: &ArgMatches, tcx: TyCtxt<'a, 'tcx, 'tcx>, crate_data: &CrateMetadata) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 67 | / commands! { [INFO] [stdout] 68 | | metadata() = "print_metadata"; [INFO] [stdout] 69 | | lang_items() = "print declared lang items"; [INFO] [stdout] 70 | | deps() = "print dependencies"; [INFO] [stdout] ... | [INFO] [stdout] 73 | | mir(DEFID) = "print mir for fn of given def_id"; [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/print.rs:51:112 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn print_for_matches<'a, 'tcx: 'a>(matches: &ArgMatches, tcx: TyCtxt<'a, 'tcx, 'tcx>, crate_data: &CrateMetadata) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 67 | / commands! { [INFO] [stdout] 68 | | metadata() = "print_metadata"; [INFO] [stdout] 69 | | lang_items() = "print declared lang items"; [INFO] [stdout] 70 | | deps() = "print dependencies"; [INFO] [stdout] ... | [INFO] [stdout] 73 | | mir(DEFID) = "print mir for fn of given def_id"; [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/print.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | fn print_metadata(tcx: TyCtxt, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/print.rs:76:45 [INFO] [stdout] | [INFO] [stdout] 76 | fn print_metadata(tcx: TyCtxt, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/print.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | fn print_lang_items(tcx: TyCtxt, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/print.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | fn print_lang_items(tcx: TyCtxt, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/print.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | fn print_deps(tcx: TyCtxt, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/print.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | fn print_deps(tcx: TyCtxt, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/print.rs:167:60 [INFO] [stdout] | [INFO] [stdout] 145 | fn print_deps(tcx: TyCtxt, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 167 | let ext_crate_data = ext_crate_data.downcast_ref::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/print.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | fn print_macros(tcx: TyCtxt, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/print.rs:172:43 [INFO] [stdout] | [INFO] [stdout] 172 | fn print_macros(tcx: TyCtxt, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/print.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 195 | fn print_symbols<'a, 'tcx: 'a>(tcx: TyCtxt<'a, 'tcx, 'tcx>, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/print.rs:195:74 [INFO] [stdout] | [INFO] [stdout] 195 | fn print_symbols<'a, 'tcx: 'a>(tcx: TyCtxt<'a, 'tcx, 'tcx>, crate_data: &CrateMetadata, _matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/print.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | fn print_mir(tcx: TyCtxt, _crate_data: &CrateMetadata, matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/print.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | fn print_mir(tcx: TyCtxt, _crate_data: &CrateMetadata, matches: &ArgMatches) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Export` in this scope [INFO] [stdout] --> src/print.rs:260:26 [INFO] [stdout] | [INFO] [stdout] 260 | fn for_each_export Option<&'static str>>(tcx: TyCtxt, crate_data: &CrateMetadata, sess: &Session, callback: &F) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/print.rs:260:64 [INFO] [stdout] | [INFO] [stdout] 260 | fn for_each_export Option<&'static str>>(tcx: TyCtxt, crate_data: &CrateMetadata, sess: &Session, callback: &F) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/print.rs:260:85 [INFO] [stdout] | [INFO] [stdout] 260 | fn for_each_export Option<&'static str>>(tcx: TyCtxt, crate_data: &CrateMetadata, sess: &Session, callback: &F) { [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/print.rs:260:107 [INFO] [stdout] | [INFO] [stdout] 260 | fn for_each_export Option<&'static str>>(tcx: TyCtxt, crate_data: &CrateMetadata, sess: &Session, callback: &F) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Export` in this scope [INFO] [stdout] --> src/print.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | fn each_export_inner Option<&'static str>>(tcx: TyCtxt, crate_data: &CrateMetadata, id: DefIndex, callback: &F, sess... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/print.rs:262:70 [INFO] [stdout] | [INFO] [stdout] 262 | fn each_export_inner Option<&'static str>>(tcx: TyCtxt, crate_data: &CrateMetadata, id: DefIndex, callback: &F, sess... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CrateMetadata` in this scope [INFO] [stdout] --> src/print.rs:262:91 [INFO] [stdout] | [INFO] [stdout] 262 | fn each_export_inner Option<&'static str>>(tcx: TyCtxt, crate_data: &CrateMetadata, id: DefIndex, callback: &F, sess... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefIndex` in this scope [INFO] [stdout] --> src/print.rs:262:110 [INFO] [stdout] | [INFO] [stdout] 262 | ...str>>(tcx: TyCtxt, crate_data: &CrateMetadata, id: DefIndex, callback: &F, sess: &Session) { [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/print.rs:262:141 [INFO] [stdout] | [INFO] [stdout] 262 | ...&CrateMetadata, id: DefIndex, callback: &F, sess: &Session) { [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/print.rs:297:37 [INFO] [stdout] | [INFO] [stdout] 297 | fn parse_defid_from_str(s: &str) -> DefId { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DefId` in this scope [INFO] [stdout] --> src/print.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | DefId { [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/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rustc_private, concat_idents)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rustc_private, concat_idents)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/driver.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | type Cb = for<'a, 'tcx> Fn(TyCtxt<'a, 'tcx, 'tcx>) + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - type Cb = for<'a, 'tcx> Fn(TyCtxt<'a, 'tcx, 'tcx>) + Send; [INFO] [stdout] 71 + type Cb = dyn for<'a, 'tcx> Fn(TyCtxt<'a, 'tcx, 'tcx>) + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rlib_view` due to 78 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 77 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6354c7e390bb803694fef8d6551fba3dafea96ad1c6d637925e2ab67896a191c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6354c7e390bb803694fef8d6551fba3dafea96ad1c6d637925e2ab67896a191c", kill_on_drop: false }` [INFO] [stdout] 6354c7e390bb803694fef8d6551fba3dafea96ad1c6d637925e2ab67896a191c